Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig

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

Overview

Configuration that applies to all conversations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig.



5236
5237
5238
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5236

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

Instance Attribute Details

#agent_channelFixnum

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed. Corresponds to the JSON property agentChannel

Returns:

  • (Fixnum)


5221
5222
5223
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5221

def agent_channel
  @agent_channel
end

#agent_idString

An opaque, user-specified string representing the human agent who handled the conversations. Corresponds to the JSON property agentId

Returns:

  • (String)


5227
5228
5229
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5227

def agent_id
  @agent_id
end

#customer_channelFixnum

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed. Corresponds to the JSON property customerChannel

Returns:

  • (Fixnum)


5234
5235
5236
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5234

def customer_channel
  @customer_channel
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5241
5242
5243
5244
5245
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5241

def update!(**args)
  @agent_channel = args[:agent_channel] if args.key?(:agent_channel)
  @agent_id = args[:agent_id] if args.key?(:agent_id)
  @customer_channel = args[:customer_channel] if args.key?(:customer_channel)
end