Class: Google::Apis::ConnectorsV1::RuntimeEntitySchema

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

Overview

Schema of a runtime entity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeEntitySchema

Returns a new instance of RuntimeEntitySchema.



4906
4907
4908
# File 'lib/google/apis/connectors_v1/classes.rb', line 4906

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

Instance Attribute Details

#entityString

Output only. Name of the entity. Corresponds to the JSON property entity

Returns:

  • (String)


4889
4890
4891
# File 'lib/google/apis/connectors_v1/classes.rb', line 4889

def entity
  @entity
end

#fieldsArray<Google::Apis::ConnectorsV1::Field>

Output only. List of fields in the entity. Corresponds to the JSON property fields



4894
4895
4896
# File 'lib/google/apis/connectors_v1/classes.rb', line 4894

def fields
  @fields
end

#json_schemaGoogle::Apis::ConnectorsV1::JsonSchema

JsonSchema representation of schema metadata Corresponds to the JSON property jsonSchema



4899
4900
4901
# File 'lib/google/apis/connectors_v1/classes.rb', line 4899

def json_schema
  @json_schema
end

#operationsArray<String>

List of operations supported by this entity Corresponds to the JSON property operations

Returns:

  • (Array<String>)


4904
4905
4906
# File 'lib/google/apis/connectors_v1/classes.rb', line 4904

def operations
  @operations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4911
4912
4913
4914
4915
4916
# File 'lib/google/apis/connectors_v1/classes.rb', line 4911

def update!(**args)
  @entity = args[:entity] if args.key?(:entity)
  @fields = args[:fields] if args.key?(:fields)
  @json_schema = args[:json_schema] if args.key?(:json_schema)
  @operations = args[:operations] if args.key?(:operations)
end