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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/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.



2275
2276
2277
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2275

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

Instance Attribute Details

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

A list of domain alias objects. Corresponds to the JSON property domainAliases



2263
2264
2265
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2263

def domain_aliases
  @domain_aliases
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2268
2269
2270
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2268

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


2273
2274
2275
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2273

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2280
2281
2282
2283
2284
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2280

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