Class: Google::Apis::AdminDirectoryV1::Aliases
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Aliases
- 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 aliases in Directory API.
Instance Attribute Summary collapse
-
#aliases ⇒ Array<Object>
List of alias objects.
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Aliases
constructor
A new instance of Aliases.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Aliases
Returns a new instance of Aliases.
87 88 89 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 87 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aliases ⇒ Array<Object>
List of alias objects.
Corresponds to the JSON property aliases
75 76 77 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 75 def aliases @aliases end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
80 81 82 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 80 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
85 86 87 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 85 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
92 93 94 95 96 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 92 def update!(**args) @aliases = args[:aliases] if args.key?(:aliases) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) end |