All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest Maven / Gradle / Ivy

There is a newer version: v1-rev20240701-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.contactcenterinsights.v1.model;

/**
 * Request to upload a conversation.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Contact Center AI Insights API. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest extends com.google.api.client.json.GenericJson { /** * Required. The conversation resource to create. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudContactcenterinsightsV1alpha1Conversation conversation; /** * 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-` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String conversationId; /** * Required. The parent resource of the conversation. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String parent; /** * Optional. DLP settings for transcript redaction. Will default to the config specified in * Settings. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudContactcenterinsightsV1alpha1RedactionConfig redactionConfig; /** * Optional. Speech-to-Text configuration. Will default to the config specified in Settings. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudContactcenterinsightsV1alpha1SpeechConfig speechConfig; /** * Required. The conversation resource to create. * @return value or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1Conversation getConversation() { return conversation; } /** * Required. The conversation resource to create. * @param conversation conversation or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest setConversation(GoogleCloudContactcenterinsightsV1alpha1Conversation conversation) { this.conversation = conversation; return this; } /** * 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-` * @return value or {@code null} for none */ public java.lang.String getConversationId() { return conversationId; } /** * 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-` * @param conversationId conversationId or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest setConversationId(java.lang.String conversationId) { this.conversationId = conversationId; return this; } /** * Required. The parent resource of the conversation. * @return value or {@code null} for none */ public java.lang.String getParent() { return parent; } /** * Required. The parent resource of the conversation. * @param parent parent or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest setParent(java.lang.String parent) { this.parent = parent; return this; } /** * Optional. DLP settings for transcript redaction. Will default to the config specified in * Settings. * @return value or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1RedactionConfig getRedactionConfig() { return redactionConfig; } /** * Optional. DLP settings for transcript redaction. Will default to the config specified in * Settings. * @param redactionConfig redactionConfig or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest setRedactionConfig(GoogleCloudContactcenterinsightsV1alpha1RedactionConfig redactionConfig) { this.redactionConfig = redactionConfig; return this; } /** * Optional. Speech-to-Text configuration. Will default to the config specified in Settings. * @return value or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1SpeechConfig getSpeechConfig() { return speechConfig; } /** * Optional. Speech-to-Text configuration. Will default to the config specified in Settings. * @param speechConfig speechConfig or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest setSpeechConfig(GoogleCloudContactcenterinsightsV1alpha1SpeechConfig speechConfig) { this.speechConfig = speechConfig; return this; } @Override public GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest set(String fieldName, Object value) { return (GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest) super.set(fieldName, value); } @Override public GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest clone() { return (GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy