class Google::Apis::AdminDirectoryV1::Schema

The type of API resource. For Schema resources, this is always `admin# directory#schema`.

Attributes

display_name[RW]

Display name for the schema. Corresponds to the JSON property `displayName` @return [String]

etag[RW]

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

fields[RW]

A list of fields in the 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]

The unique identifier of the schema (Read-only) Corresponds to the JSON property `schemaId` @return [String]

schema_name[RW]

The schema's name. Corresponds to the JSON property `schemaName` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 3351
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @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