Class: Google::Apis::AdminDirectoryV1::DomainAliases
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::DomainAliases
- 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
-
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
A 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.
Constructor Details
#initialize(**args) ⇒ DomainAliases
Returns a new instance of DomainAliases.
2275 2276 2277 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
A list of domain alias objects.
Corresponds to the JSON property domainAliases
2263 2264 2265 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2263 def domain_aliases @domain_aliases end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
2268 2269 2270 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2268 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
2273 2274 2275 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2273 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2280 2281 2282 2283 2284 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2280 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 |