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.



1897
1898
1899
# File 'lib/google/apis/connectors_v1/classes.rb', line 1897

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

Instance Attribute Details

#entityString

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

Returns:

  • (String)


1890
1891
1892
# File 'lib/google/apis/connectors_v1/classes.rb', line 1890

def entity
  @entity
end

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

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



1895
1896
1897
# File 'lib/google/apis/connectors_v1/classes.rb', line 1895

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1902
1903
1904
1905
# File 'lib/google/apis/connectors_v1/classes.rb', line 1902

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