Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaRuntimeEntitySchema

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.



8036
8037
8038
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8036

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)


8024
8025
8026
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8024

def array_field_schema
  @array_field_schema
end

#entityString

Name of the entity. Corresponds to the JSON property entity

Returns:

  • (String)


8029
8030
8031
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8029

def entity
  @entity
end

#field_schemaString

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

Returns:

  • (String)


8034
8035
8036
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8034

def field_schema
  @field_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8041
8042
8043
8044
8045
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8041

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