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.



10453
10454
10455
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10453

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

Instance Attribute Details

#agent_channelFixnum

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

Returns:

  • (Fixnum)


10438
10439
10440
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10438

def agent_channel
  @agent_channel
end

#agent_idString

Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the metadata_bucket_uri. Corresponds to the JSON property agentId

Returns:

  • (String)


10445
10446
10447
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10445

def agent_id
  @agent_id
end

#customer_channelFixnum

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

Returns:

  • (Fixnum)


10451
10452
10453
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10451

def customer_channel
  @customer_channel
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10458
10459
10460
10461
10462
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10458

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