Class: Google::Apis::AdminDirectoryV1::Domains2
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Domains2
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb
Overview
JSON response template to list Domains in Directory API.
Instance Attribute Summary collapse
-
#domains ⇒ Array<Google::Apis::AdminDirectoryV1::Domains>
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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Domains2
Returns a new instance of Domains2
1296 1297 1298 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domains ⇒ Array<Google::Apis::AdminDirectoryV1::Domains>
List of domain objects.
Corresponds to the JSON property domains
1284 1285 1286 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1284 def domains @domains end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
1289 1290 1291 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1289 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
1294 1295 1296 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1294 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1301 1302 1303 1304 1305 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1301 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 |