Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Informations to support actions on the connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaActionConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaActionConfig.



10653
10654
10655
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10653

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

Instance Attribute Details

#action_paramsHash<String,Object>

Required. Params needed to support actions in the format of (Key, Value) pairs. Required parameters for sources that support OAUTH, i.e. gmail, google_calendar, jira, workday, salesforce, confluence: * Key: client_id * Value: type STRING. The client id for the service provider to identify your application. * Key: client_secret * Value:type STRING. The client secret generated by the application's authorization server. Corresponds to the JSON property actionParams

Returns:

  • (Hash<String,Object>)


10644
10645
10646
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10644

def action_params
  @action_params
end

#is_action_configuredBoolean Also known as: is_action_configured?

Output only. The connector contains the necessary parameters and is configured to support actions. Corresponds to the JSON property isActionConfigured

Returns:

  • (Boolean)


10650
10651
10652
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10650

def is_action_configured
  @is_action_configured
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10658
10659
10660
10661
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10658

def update!(**args)
  @action_params = args[:action_params] if args.key?(:action_params)
  @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
end