Class: Google::Apis::AdminDirectoryV1::Domains2

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) ⇒ Domains2

Returns a new instance of Domains2.



2364
2365
2366
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2364

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

Instance Attribute Details

#domainsArray<Google::Apis::AdminDirectoryV1::Domains>

A list of domain objects. Corresponds to the JSON property domains



2352
2353
2354
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2352

def domains
  @domains
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2357
2358
2359
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2357

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


2362
2363
2364
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2362

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2369
2370
2371
2372
2373
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2369

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