Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest
- 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
Request to upload a conversation.
Instance Attribute Summary collapse
-
#conversation ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
The conversation resource.
-
#conversation_id ⇒ String
Optional.
-
#parent ⇒ String
Required.
-
#redaction_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig
DLP resources used for redaction while ingesting conversations.
-
#speech_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig
Speech-to-Text configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1UploadConversationRequest
constructor
A new instance of GoogleCloudContactcenterinsightsV1UploadConversationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1UploadConversationRequest
Returns a new instance of GoogleCloudContactcenterinsightsV1UploadConversationRequest.
7413 7414 7415 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
The conversation resource.
Corresponds to the JSON property conversation
7379 7380 7381 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7379 def conversation @conversation end |
#conversation_id ⇒ String
Optional. A unique ID for the new conversation. This ID will become the final
component of the conversation's resource name. If no ID is specified, a server-
generated ID will be used. This value should be 4-64 characters and must match
the regular expression ^[a-z0-9-]4,64$. Valid characters are a-z-
Corresponds to the JSON property conversationId
7387 7388 7389 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7387 def conversation_id @conversation_id end |
#parent ⇒ String
Required. The parent resource of the conversation.
Corresponds to the JSON property parent
7392 7393 7394 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7392 def parent @parent end |
#redaction_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig
DLP resources used for redaction while ingesting conversations. DLP settings
are applied to conversations ingested from the UploadConversation and
IngestConversations endpoints, including conversation coming from CCAI
Platform. They are not applied to conversations ingested from the
CreateConversation endpoint or the Dialogflow / Agent Assist runtime
integrations. When using Dialogflow / Agent Assist runtime integrations,
redaction should be performed in Dialogflow / Agent Assist.
Corresponds to the JSON property redactionConfig
7403 7404 7405 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7403 def redaction_config @redaction_config end |
#speech_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig
Speech-to-Text configuration. Speech-to-Text settings are applied to
conversations ingested from the UploadConversation and IngestConversations
endpoints, including conversation coming from CCAI Platform. They are not
applied to conversations ingested from the CreateConversation endpoint.
Corresponds to the JSON property speechConfig
7411 7412 7413 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7411 def speech_config @speech_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7418 7419 7420 7421 7422 7423 7424 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7418 def update!(**args) @conversation = args[:conversation] if args.key?(:conversation) @conversation_id = args[:conversation_id] if args.key?(:conversation_id) @parent = args[:parent] if args.key?(:parent) @redaction_config = args[:redaction_config] if args.key?(:redaction_config) @speech_config = args[:speech_config] if args.key?(:speech_config) end |