com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest 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 delete conversations in bulk.
*
* 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 GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest extends com.google.api.client.json.GenericJson {
/**
* Filter used to select the subset of conversations to delete.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String filter;
/**
* If set to true, all of this conversation's analyses will also be deleted. Otherwise, the
* request will only succeed if the conversation has no analyses.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean force;
/**
* Maximum number of conversations to delete.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxDeleteCount;
/**
* Required. The parent resource to delete conversations from. Format:
* projects/{project}/locations/{location}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
/**
* Filter used to select the subset of conversations to delete.
* @return value or {@code null} for none
*/
public java.lang.String getFilter() {
return filter;
}
/**
* Filter used to select the subset of conversations to delete.
* @param filter filter or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest setFilter(java.lang.String filter) {
this.filter = filter;
return this;
}
/**
* If set to true, all of this conversation's analyses will also be deleted. Otherwise, the
* request will only succeed if the conversation has no analyses.
* @return value or {@code null} for none
*/
public java.lang.Boolean getForce() {
return force;
}
/**
* If set to true, all of this conversation's analyses will also be deleted. Otherwise, the
* request will only succeed if the conversation has no analyses.
* @param force force or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest setForce(java.lang.Boolean force) {
this.force = force;
return this;
}
/**
* Maximum number of conversations to delete.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxDeleteCount() {
return maxDeleteCount;
}
/**
* Maximum number of conversations to delete.
* @param maxDeleteCount maxDeleteCount or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest setMaxDeleteCount(java.lang.Integer maxDeleteCount) {
this.maxDeleteCount = maxDeleteCount;
return this;
}
/**
* Required. The parent resource to delete conversations from. Format:
* projects/{project}/locations/{location}
* @return value or {@code null} for none
*/
public java.lang.String getParent() {
return parent;
}
/**
* Required. The parent resource to delete conversations from. Format:
* projects/{project}/locations/{location}
* @param parent parent or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest setParent(java.lang.String parent) {
this.parent = parent;
return this;
}
@Override
public GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest set(String fieldName, Object value) {
return (GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest) super.set(fieldName, value);
}
@Override
public GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest clone() {
return (GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy