Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaActionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/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.



3782
3783
3784
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3782

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>)


3773
3774
3775
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3773

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)


3779
3780
3781
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3779

def is_action_configured
  @is_action_configured
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3787
3788
3789
3790
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3787

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