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.



2856
2857
2858
# File 'lib/google/apis/connectors_v1/classes.rb', line 2856

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)


2841
2842
2843
# File 'lib/google/apis/connectors_v1/classes.rb', line 2841

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)


2847
2848
2849
# File 'lib/google/apis/connectors_v1/classes.rb', line 2847

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)


2853
2854
2855
# File 'lib/google/apis/connectors_v1/classes.rb', line 2853

def sql_query
  @sql_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2861
2862
2863
2864
2865
# File 'lib/google/apis/connectors_v1/classes.rb', line 2861

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