Class: Google::Apis::AdminDirectoryV1::DomainAliases

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DomainAliases

Returns a new instance of DomainAliases.


1440
1441
1442
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1440

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#domain_aliasesArray<Google::Apis::AdminDirectoryV1::DomainAlias>

List of domain alias objects. Corresponds to the JSON property domainAliases


1428
1429
1430
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1428

def domain_aliases
  @domain_aliases
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

1433
1434
1435
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1433

def etag
  @etag
end

#kindString

Kind of resource this is. Corresponds to the JSON property kind

Returns:

  • (String)

1438
1439
1440
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1438

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1445
1446
1447
1448
1449
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1445

def update!(**args)
  @domain_aliases = args[:domain_aliases] if args.key?(:domain_aliases)
  @etag = args[:etag] if args.key?(:etag)
  @kind = args[:kind] if args.key?(:kind)
end