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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Schemas

Returns a new instance of Schemas.



4232
4233
4234
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4232

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


4220
4221
4222
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4220

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


4225
4226
4227
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4225

def kind
  @kind
end

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

A list of UserSchema objects. Corresponds to the JSON property schemas



4230
4231
4232
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4230

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4237
4238
4239
4240
4241
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4237

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