com.google.api.services.dialogflow.v3.model.GoogleCloudDialogflowCxV3ExportIntentsRequest Maven / Gradle / Ivy
The 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.dialogflow.v3.model;
/**
* The request message for Intents.ExportIntents.
*
* 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 Dialogflow 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 GoogleCloudDialogflowCxV3ExportIntentsRequest extends com.google.api.client.json.GenericJson {
/**
* Optional. The data format of the exported intents. If not specified, `BLOB` is assumed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String dataFormat;
/**
* Required. The name of the intents to export. Format: `projects//locations//agents//intents/`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List intents;
/**
* Optional. The option to return the serialized intents inline.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean intentsContentInline;
/**
* Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the
* intents to. The format of this URI must be `gs:`. Dialogflow performs a write operation for the
* Cloud Storage object on the caller's behalf, so your request authentication must have write
* permissions for the object. For more information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String intentsUri;
/**
* Optional. The data format of the exported intents. If not specified, `BLOB` is assumed.
* @return value or {@code null} for none
*/
public java.lang.String getDataFormat() {
return dataFormat;
}
/**
* Optional. The data format of the exported intents. If not specified, `BLOB` is assumed.
* @param dataFormat dataFormat or {@code null} for none
*/
public GoogleCloudDialogflowCxV3ExportIntentsRequest setDataFormat(java.lang.String dataFormat) {
this.dataFormat = dataFormat;
return this;
}
/**
* Required. The name of the intents to export. Format: `projects//locations//agents//intents/`.
* @return value or {@code null} for none
*/
public java.util.List getIntents() {
return intents;
}
/**
* Required. The name of the intents to export. Format: `projects//locations//agents//intents/`.
* @param intents intents or {@code null} for none
*/
public GoogleCloudDialogflowCxV3ExportIntentsRequest setIntents(java.util.List intents) {
this.intents = intents;
return this;
}
/**
* Optional. The option to return the serialized intents inline.
* @return value or {@code null} for none
*/
public java.lang.Boolean getIntentsContentInline() {
return intentsContentInline;
}
/**
* Optional. The option to return the serialized intents inline.
* @param intentsContentInline intentsContentInline or {@code null} for none
*/
public GoogleCloudDialogflowCxV3ExportIntentsRequest setIntentsContentInline(java.lang.Boolean intentsContentInline) {
this.intentsContentInline = intentsContentInline;
return this;
}
/**
* Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the
* intents to. The format of this URI must be `gs:`. Dialogflow performs a write operation for the
* Cloud Storage object on the caller's behalf, so your request authentication must have write
* permissions for the object. For more information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
* @return value or {@code null} for none
*/
public java.lang.String getIntentsUri() {
return intentsUri;
}
/**
* Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the
* intents to. The format of this URI must be `gs:`. Dialogflow performs a write operation for the
* Cloud Storage object on the caller's behalf, so your request authentication must have write
* permissions for the object. For more information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
* @param intentsUri intentsUri or {@code null} for none
*/
public GoogleCloudDialogflowCxV3ExportIntentsRequest setIntentsUri(java.lang.String intentsUri) {
this.intentsUri = intentsUri;
return this;
}
@Override
public GoogleCloudDialogflowCxV3ExportIntentsRequest set(String fieldName, Object value) {
return (GoogleCloudDialogflowCxV3ExportIntentsRequest) super.set(fieldName, value);
}
@Override
public GoogleCloudDialogflowCxV3ExportIntentsRequest clone() {
return (GoogleCloudDialogflowCxV3ExportIntentsRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy