Class: Google::Apis::AdminDirectoryV1::Schemas
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Schemas
- 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
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>
A 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.
Constructor Details
#initialize(**args) ⇒ Schemas
Returns a new instance of Schemas.
4296 4297 4298 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
4284 4285 4286 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4284 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
4289 4290 4291 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4289 def kind @kind end |
#schemas ⇒ Array<Google::Apis::AdminDirectoryV1::Schema>
A list of UserSchema objects.
Corresponds to the JSON property schemas
4294 4295 4296 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4294 def schemas @schemas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4301 4302 4303 4304 4305 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4301 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 |