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

Constructor Details

#initialize(**args) ⇒ DomainAliases

Returns a new instance of DomainAliases.



1581
1582
1583
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1581

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



1569
1570
1571
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1569

def domain_aliases
  @domain_aliases
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


1574
1575
1576
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1574

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


1579
1580
1581
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1579

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1586
1587
1588
1589
1590
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1586

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