com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest Maven / Gradle / Ivy
/*
* 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;
/**
* The request to ingest conversations.
*
* 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 GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest extends com.google.api.client.json.GenericJson {
/**
* Configuration that applies to all conversations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig conversationConfig;
/**
* A cloud storage bucket source. Note that any previously ingested objects from the source will
* be skipped to avoid duplication.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource gcsSource;
/**
* Required. The parent resource for new conversations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
/**
* Optional. DLP settings for transcript redaction. Optional, will default to the config specified
* in Settings.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudContactcenterinsightsV1alpha1RedactionConfig redactionConfig;
/**
* Optional. Default Speech-to-Text configuration. Optional, will default to the config specified
* in Settings.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudContactcenterinsightsV1alpha1SpeechConfig speechConfig;
/**
* Configuration for when `source` contains conversation transcripts.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig transcriptObjectConfig;
/**
* Configuration that applies to all conversations.
* @return value or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig getConversationConfig() {
return conversationConfig;
}
/**
* Configuration that applies to all conversations.
* @param conversationConfig conversationConfig or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest setConversationConfig(GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig conversationConfig) {
this.conversationConfig = conversationConfig;
return this;
}
/**
* A cloud storage bucket source. Note that any previously ingested objects from the source will
* be skipped to avoid duplication.
* @return value or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource getGcsSource() {
return gcsSource;
}
/**
* A cloud storage bucket source. Note that any previously ingested objects from the source will
* be skipped to avoid duplication.
* @param gcsSource gcsSource or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest setGcsSource(GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource gcsSource) {
this.gcsSource = gcsSource;
return this;
}
/**
* Required. The parent resource for new conversations.
* @return value or {@code null} for none
*/
public java.lang.String getParent() {
return parent;
}
/**
* Required. The parent resource for new conversations.
* @param parent parent or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest setParent(java.lang.String parent) {
this.parent = parent;
return this;
}
/**
* Optional. DLP settings for transcript redaction. Optional, 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. Optional, will default to the config specified
* in Settings.
* @param redactionConfig redactionConfig or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest setRedactionConfig(GoogleCloudContactcenterinsightsV1alpha1RedactionConfig redactionConfig) {
this.redactionConfig = redactionConfig;
return this;
}
/**
* Optional. Default Speech-to-Text configuration. Optional, will default to the config specified
* in Settings.
* @return value or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1SpeechConfig getSpeechConfig() {
return speechConfig;
}
/**
* Optional. Default Speech-to-Text configuration. Optional, will default to the config specified
* in Settings.
* @param speechConfig speechConfig or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest setSpeechConfig(GoogleCloudContactcenterinsightsV1alpha1SpeechConfig speechConfig) {
this.speechConfig = speechConfig;
return this;
}
/**
* Configuration for when `source` contains conversation transcripts.
* @return value or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig getTranscriptObjectConfig() {
return transcriptObjectConfig;
}
/**
* Configuration for when `source` contains conversation transcripts.
* @param transcriptObjectConfig transcriptObjectConfig or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest setTranscriptObjectConfig(GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig transcriptObjectConfig) {
this.transcriptObjectConfig = transcriptObjectConfig;
return this;
}
@Override
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest set(String fieldName, Object value) {
return (GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest) super.set(fieldName, value);
}
@Override
public GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest clone() {
return (GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy