Class: Google::Apis::AdminDirectoryV1::Domains2
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Domains2
- 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
-
#domains ⇒ Array<Google::Apis::AdminDirectoryV1::Domains>
A list of domain objects.
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Domains2
constructor
A new instance of Domains2.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#domains ⇒ Array<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 |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
2357 2358 2359 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2357 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
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 |