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.



2315
2316
2317
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2315

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



2303
2304
2305
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2303

def domain_aliases
  @domain_aliases
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2308
2309
2310
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2308

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


2313
2314
2315
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2313

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2320
2321
2322
2323
2324
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2320

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