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.



2404
2405
2406
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2404

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



2392
2393
2394
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2392

def domains
  @domains
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2397
2398
2399
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2397

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


2402
2403
2404
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2402

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2409
2410
2411
2412
2413
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2409

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