class Google::Apis::AdminDirectoryV1::Schema

JSON template for Schema resource in Directory API.

Attributes

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

fields[RW]

Fields of Schema Corresponds to the JSON property `fields` @return [Array<Google::Apis::AdminDirectoryV1::SchemaFieldSpec>]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

schema_id[RW]

Unique identifier of Schema (Read-only) Corresponds to the JSON property `schemaId` @return [String]

schema_name[RW]

Schema name Corresponds to the JSON property `schemaName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 1973
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 1978
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @fields = args[:fields] if args.key?(:fields)
  @kind = args[:kind] if args.key?(:kind)
  @schema_id = args[:schema_id] if args.key?(:schema_id)
  @schema_name = args[:schema_name] if args.key?(:schema_name)
end