Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaRuntimeEntitySchema

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

Metadata of an entity, including a schema for its properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaRuntimeEntitySchema

Returns a new instance of GoogleCloudIntegrationsV1alphaRuntimeEntitySchema.



10031
10032
10033
# File 'lib/google/apis/integrations_v1/classes.rb', line 10031

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

Instance Attribute Details

#array_field_schemaString

The above schema, but for an array of the associated entity. Corresponds to the JSON property arrayFieldSchema

Returns:

  • (String)


10019
10020
10021
# File 'lib/google/apis/integrations_v1/classes.rb', line 10019

def array_field_schema
  @array_field_schema
end

#entityString

Name of the entity. Corresponds to the JSON property entity

Returns:

  • (String)


10024
10025
10026
# File 'lib/google/apis/integrations_v1/classes.rb', line 10024

def entity
  @entity
end

#field_schemaString

List of fields in the entity. Corresponds to the JSON property fieldSchema

Returns:

  • (String)


10029
10030
10031
# File 'lib/google/apis/integrations_v1/classes.rb', line 10029

def field_schema
  @field_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10036
10037
10038
10039
10040
# File 'lib/google/apis/integrations_v1/classes.rb', line 10036

def update!(**args)
  @array_field_schema = args[:array_field_schema] if args.key?(:array_field_schema)
  @entity = args[:entity] if args.key?(:entity)
  @field_schema = args[:field_schema] if args.key?(:field_schema)
end