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.



8555
8556
8557
# File 'lib/google/apis/integrations_v1/classes.rb', line 8555

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)


8543
8544
8545
# File 'lib/google/apis/integrations_v1/classes.rb', line 8543

def array_field_schema
  @array_field_schema
end

#entityString

Name of the entity. Corresponds to the JSON property entity

Returns:

  • (String)


8548
8549
8550
# File 'lib/google/apis/integrations_v1/classes.rb', line 8548

def entity
  @entity
end

#field_schemaString

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

Returns:

  • (String)


8553
8554
8555
# File 'lib/google/apis/integrations_v1/classes.rb', line 8553

def field_schema
  @field_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8560
8561
8562
8563
8564
# File 'lib/google/apis/integrations_v1/classes.rb', line 8560

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