Class: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::SupportedRuntimeFeatures
- 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
Supported runtime features of a connector version. This is passed to the management layer to add a new connector version by the connector developer. Details about how this proto is passed to the management layer is covered in this doc - go/runtime-manifest.
Instance Attribute Summary collapse
-
#action_apis ⇒ Boolean
(also: #action_apis?)
Specifies if the connector supports action apis like 'executeAction'.
-
#entity_apis ⇒ Boolean
(also: #entity_apis?)
Specifies if the connector supports entity apis like 'createEntity'.
-
#sql_query ⇒ Boolean
(also: #sql_query?)
Specifies if the connector supports 'ExecuteSqlQuery' operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SupportedRuntimeFeatures
constructor
A new instance of SupportedRuntimeFeatures.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SupportedRuntimeFeatures
Returns a new instance of SupportedRuntimeFeatures.
2659 2660 2661 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_apis ⇒ Boolean Also known as: action_apis?
Specifies if the connector supports action apis like 'executeAction'.
Corresponds to the JSON property actionApis
2644 2645 2646 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2644 def action_apis @action_apis end |
#entity_apis ⇒ Boolean Also known as: entity_apis?
Specifies if the connector supports entity apis like 'createEntity'.
Corresponds to the JSON property entityApis
2650 2651 2652 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2650 def entity_apis @entity_apis end |
#sql_query ⇒ Boolean Also known as: sql_query?
Specifies if the connector supports 'ExecuteSqlQuery' operation.
Corresponds to the JSON property sqlQuery
2656 2657 2658 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2656 def sql_query @sql_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2664 2665 2666 2667 2668 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2664 def update!(**args) @action_apis = args[:action_apis] if args.key?(:action_apis) @entity_apis = args[:entity_apis] if args.key?(:entity_apis) @sql_query = args[:sql_query] if args.key?(:sql_query) end |