Class: Google::Apis::AdminDirectoryV1::Schemas
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Schemas
- 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 for List Schema operation in Directory API.
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Kind of resource this is.
-
#schemas ⇒ Array<Google::Apis::AdminDirectoryV1::Schema>
List of UserSchema objects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Schemas
constructor
A new instance of Schemas.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Schemas
Returns a new instance of Schemas
2215 2216 2217 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
2203 2204 2205 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2203 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
2208 2209 2210 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2208 def kind @kind end |
#schemas ⇒ Array<Google::Apis::AdminDirectoryV1::Schema>
List of UserSchema objects.
Corresponds to the JSON property schemas
2213 2214 2215 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2213 def schemas @schemas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2220 2221 2222 2223 2224 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2220 def update!(**args) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @schemas = args[:schemas] if args.key?(:schemas) end |