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.



3606
3607
3608
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3606

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


3594
3595
3596
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3594

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


3599
3600
3601
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3599

def kind
  @kind
end

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

List of UserSchema objects. Corresponds to the JSON property schemas



3604
3605
3606
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3604

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3611
3612
3613
3614
3615
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3611

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