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.



10791
10792
10793
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10791

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


10782
10783
10784
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10782

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)


10788
10789
10790
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10788

def is_action_configured
  @is_action_configured
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10796
10797
10798
10799
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10796

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