Class: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SupportedRuntimeFeatures

Returns a new instance of SupportedRuntimeFeatures.



3618
3619
3620
# File 'lib/google/apis/connectors_v1/classes.rb', line 3618

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

Instance Attribute Details

#action_apisBoolean Also known as: action_apis?

Specifies if the connector supports action apis like 'executeAction'. Corresponds to the JSON property actionApis

Returns:

  • (Boolean)


3603
3604
3605
# File 'lib/google/apis/connectors_v1/classes.rb', line 3603

def action_apis
  @action_apis
end

#entity_apisBoolean Also known as: entity_apis?

Specifies if the connector supports entity apis like 'createEntity'. Corresponds to the JSON property entityApis

Returns:

  • (Boolean)


3609
3610
3611
# File 'lib/google/apis/connectors_v1/classes.rb', line 3609

def entity_apis
  @entity_apis
end

#sql_queryBoolean Also known as: sql_query?

Specifies if the connector supports 'ExecuteSqlQuery' operation. Corresponds to the JSON property sqlQuery

Returns:

  • (Boolean)


3615
3616
3617
# File 'lib/google/apis/connectors_v1/classes.rb', line 3615

def sql_query
  @sql_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3623
3624
3625
3626
3627
# File 'lib/google/apis/connectors_v1/classes.rb', line 3623

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