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.
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.
6137 6138 6139 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 6137 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
6122 6123 6124 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 6122 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
6128 6129 6130 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 6128 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
6134 6135 6136 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 6134 def sql_query @sql_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6142 6143 6144 6145 6146 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 6142 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 |