Class: Google::Apis::AdminDirectoryV1::DomainAliases
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::DomainAliases
- 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 domain aliases in Directory API.
Instance Attribute Summary collapse
-
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
List of domain alias objects.
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainAliases
constructor
A new instance of DomainAliases.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DomainAliases
Returns a new instance of DomainAliases
1363 1364 1365 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
List of domain alias objects.
Corresponds to the JSON property domainAliases
1351 1352 1353 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1351 def domain_aliases @domain_aliases end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
1356 1357 1358 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1356 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
1361 1362 1363 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1361 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1368 1369 1370 1371 1372 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1368 def update!(**args) @domain_aliases = args[:domain_aliases] if args.key?(:domain_aliases) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) end |