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.



2298
2299
2300
# File 'lib/google/apis/connectors_v1/classes.rb', line 2298

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)


2283
2284
2285
# File 'lib/google/apis/connectors_v1/classes.rb', line 2283

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)


2289
2290
2291
# File 'lib/google/apis/connectors_v1/classes.rb', line 2289

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)


2295
2296
2297
# File 'lib/google/apis/connectors_v1/classes.rb', line 2295

def sql_query
  @sql_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2303
2304
2305
2306
2307
# File 'lib/google/apis/connectors_v1/classes.rb', line 2303

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