Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig

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

Overview

Configuration specific to Salesforce Live Agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig

Returns a new instance of GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig.



9240
9241
9242
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9240

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

Instance Attribute Details

#button_idString

Required. Live Agent chat button ID. Corresponds to the JSON property buttonId

Returns:

  • (String)


9220
9221
9222
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9220

def button_id
  @button_id
end

#deployment_idString

Required. Live Agent deployment ID. Corresponds to the JSON property deploymentId

Returns:

  • (String)


9225
9226
9227
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9225

def deployment_id
  @deployment_id
end

#endpoint_domainString

Required. Domain of the Live Agent endpoint for this agent. You can find the endpoint URL in the Live Agent settings page. For example if URL has the form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d. la4-c2-phx.salesforceliveagent.com. Corresponds to the JSON property endpointDomain

Returns:

  • (String)


9233
9234
9235
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9233

def endpoint_domain
  @endpoint_domain
end

#organization_idString

Required. The organization ID of the Salesforce account. Corresponds to the JSON property organizationId

Returns:

  • (String)


9238
9239
9240
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9238

def organization_id
  @organization_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9245
9246
9247
9248
9249
9250
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9245

def update!(**args)
  @button_id = args[:button_id] if args.key?(:button_id)
  @deployment_id = args[:deployment_id] if args.key?(:deployment_id)
  @endpoint_domain = args[:endpoint_domain] if args.key?(:endpoint_domain)
  @organization_id = args[:organization_id] if args.key?(:organization_id)
end