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.



2460
2461
2462
# File 'lib/google/apis/connectors_v1/classes.rb', line 2460

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)


2445
2446
2447
# File 'lib/google/apis/connectors_v1/classes.rb', line 2445

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)


2451
2452
2453
# File 'lib/google/apis/connectors_v1/classes.rb', line 2451

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)


2457
2458
2459
# File 'lib/google/apis/connectors_v1/classes.rb', line 2457

def sql_query
  @sql_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2465
2466
2467
2468
2469
# File 'lib/google/apis/connectors_v1/classes.rb', line 2465

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