Class: Google::Apis::AdminDirectoryV1::Schemas

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Schemas

Returns a new instance of Schemas.



2195
2196
2197
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2195

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2183
2184
2185
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2183

def etag
  @etag
end

#kindString

Kind of resource this is. Corresponds to the JSON property kind

Returns:

  • (String)


2188
2189
2190
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2188

def kind
  @kind
end

#schemasArray<Google::Apis::AdminDirectoryV1::Schema>

List of UserSchema objects. Corresponds to the JSON property schemas



2193
2194
2195
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2193

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2200
2201
2202
2203
2204
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2200

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