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.
2404 2405 2406 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2404 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
2392 2393 2394 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2392 def domains @domains end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
2397 2398 2399 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2397 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
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 |