Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest
- 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::GoogleCloudContactcenterinsightsV1alpha1Conversation
The conversation resource.
-
#conversation_id ⇒ String
Optional.
-
#parent ⇒ String
Required.
-
#redaction_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig
DLP resources used for redaction while ingesting conversations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest.
5679 5680 5681 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Conversation
The conversation resource.
Corresponds to the JSON property conversation
5659 5660 5661 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5659 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
5667 5668 5669 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5667 def conversation_id @conversation_id end |
#parent ⇒ String
Required. The parent resource of the conversation.
Corresponds to the JSON property parent
5672 5673 5674 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5672 def parent @parent end |
#redaction_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig
DLP resources used for redaction while ingesting conversations.
Corresponds to the JSON property redactionConfig
5677 5678 5679 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5677 def redaction_config @redaction_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5684 5685 5686 5687 5688 5689 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5684 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) end |