Class: Google::Apis::ConnectorsV1::SearchConnectionInstance

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

SearchConnectionInstance represents an instance of connector with specific fields

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchConnectionInstance

Returns a new instance of SearchConnectionInstance.



5636
5637
5638
# File 'lib/google/apis/connectors_v1/classes.rb', line 5636

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

Instance Attribute Details

#action_schemaGoogle::Apis::ConnectorsV1::RuntimeActionSchema

Schema of a runtime action. Corresponds to the JSON property actionSchema



5624
5625
5626
# File 'lib/google/apis/connectors_v1/classes.rb', line 5624

def action_schema
  @action_schema
end

#connectionGoogle::Apis::ConnectorsV1::Connection

Connection represents an instance of connector. Corresponds to the JSON property connection



5629
5630
5631
# File 'lib/google/apis/connectors_v1/classes.rb', line 5629

def connection
  @connection
end

#entity_schemaGoogle::Apis::ConnectorsV1::RuntimeEntitySchema

Schema of a runtime entity. Corresponds to the JSON property entitySchema



5634
5635
5636
# File 'lib/google/apis/connectors_v1/classes.rb', line 5634

def entity_schema
  @entity_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5641
5642
5643
5644
5645
# File 'lib/google/apis/connectors_v1/classes.rb', line 5641

def update!(**args)
  @action_schema = args[:action_schema] if args.key?(:action_schema)
  @connection = args[:connection] if args.key?(:connection)
  @entity_schema = args[:entity_schema] if args.key?(:entity_schema)
end