diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java index 017389e04..b4f2c0345 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java @@ -163,11 +163,12 @@ public SessionsStub getStub() { * @param session Required. The name of the session this query is sent to. Format: * `projects/<Project ID>/agent/sessions/<Session ID>`, or `projects/<Project * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session - * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If - * `User ID` is not specified, we are using "-". It's up to the API caller to choose an - * appropriate `Session ID` and `User Id`. They can be a random number or some type of user - * and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` - * must not exceed 36 characters. + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment + * (`Environment ID` might be referred to as environment name at some places). If `User ID` is + * not specified, we are using "-". It's up to the API caller to choose an appropriate + * `Session ID` and `User Id`. They can be a random number or some type of user and session + * identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not + * exceed 36 characters. *
For more information, see the [API interactions * guide](https://cloud.google.com/dialogflow/docs/api-overview). *
Note: Always use agent versions for production traffic. See [Versions and @@ -210,11 +211,12 @@ public final DetectIntentResponse detectIntent(SessionName session, QueryInput q * @param session Required. The name of the session this query is sent to. Format: * `projects/<Project ID>/agent/sessions/<Session ID>`, or `projects/<Project * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session - * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If - * `User ID` is not specified, we are using "-". It's up to the API caller to choose an - * appropriate `Session ID` and `User Id`. They can be a random number or some type of user - * and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` - * must not exceed 36 characters. + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment + * (`Environment ID` might be referred to as environment name at some places). If `User ID` is + * not specified, we are using "-". It's up to the API caller to choose an appropriate + * `Session ID` and `User Id`. They can be a random number or some type of user and session + * identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not + * exceed 36 characters. *
For more information, see the [API interactions * guide](https://cloud.google.com/dialogflow/docs/api-overview). *
Note: Always use agent versions for production traffic. See [Versions and diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java index fe314657c..cbcbd97b9 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java @@ -169,11 +169,12 @@ public SessionsStub getStub() { * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session * ID>`, *
If `Location ID` is not specified we assume default 'us' location. If `Environment ID` - * is not specified, we assume default 'draft' environment. If `User ID` is not specified, we - * are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User - * Id`. They can be a random number or some type of user and session identifiers (preferably - * hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For - * more information, see the [API interactions + * is not specified, we assume default 'draft' environment (`Environment ID` might be referred + * to as environment name at some places). If `User ID` is not specified, we are using "-". + * It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be + * a random number or some type of user and session identifiers (preferably hashed). The + * length of the `Session ID` and `User ID` must not exceed 36 characters. For more + * information, see the [API interactions * guide](https://cloud.google.com/dialogflow/docs/api-overview). *
Note: Always use agent versions for production traffic. See [Versions and * environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). @@ -220,11 +221,12 @@ public final DetectIntentResponse detectIntent(SessionName session, QueryInput q * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session * ID>`, *
If `Location ID` is not specified we assume default 'us' location. If `Environment ID` - * is not specified, we assume default 'draft' environment. If `User ID` is not specified, we - * are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User - * Id`. They can be a random number or some type of user and session identifiers (preferably - * hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For - * more information, see the [API interactions + * is not specified, we assume default 'draft' environment (`Environment ID` might be referred + * to as environment name at some places). If `User ID` is not specified, we are using "-". + * It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be + * a random number or some type of user and session identifiers (preferably hashed). The + * length of the `Session ID` and `User ID` must not exceed 36 characters. For more + * information, see the [API interactions * guide](https://cloud.google.com/dialogflow/docs/api-overview). *
Note: Always use agent versions for production traffic. See [Versions and
* environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java
index b41b9f990..6de636618 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java
@@ -190,9 +190,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
@@ -228,9 +229,10 @@ public java.lang.String getSession() {
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
@@ -962,9 +964,10 @@ public Builder mergeFrom(
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
@@ -999,9 +1002,10 @@ public java.lang.String getSession() {
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
@@ -1036,9 +1040,10 @@ public com.google.protobuf.ByteString getSessionBytes() {
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
@@ -1072,9 +1077,10 @@ public Builder setSession(java.lang.String value) {
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
@@ -1104,9 +1110,10 @@ public Builder clearSession() {
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java
index 3937cb315..3bbe69d16 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java
@@ -31,9 +31,10 @@ public interface DetectIntentRequestOrBuilder
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
@@ -58,9 +59,10 @@ public interface DetectIntentRequestOrBuilder
* `projects/<Project ID>/agent/sessions/<Session ID>`, or
* `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
- * default 'draft' environment. If `User ID` is not specified, we are using
- * "-". It's up to the API caller to choose an appropriate `Session ID` and
- * `User Id`. They can be a random number or some type of user and session
+ * default 'draft' environment (`Environment ID` might be referred to as
+ * environment name at some places). If `User ID` is not specified, we are
+ * using "-". It's up to the API caller to choose an appropriate `Session ID`
+ * and `User Id`. They can be a random number or some type of user and session
* identifiers (preferably hashed). The length of the `Session ID` and
* `User ID` must not exceed 36 characters.
* For more information, see the [API interactions
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java
index 13b998cc0..c5994681c 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java
@@ -440,52 +440,53 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".IntentB\003\340A\002\"B\n\013IntentBatch\0223\n\007intents\030\001"
+ " \003(\0132\".google.cloud.dialogflow.v2.Intent"
+ "*?\n\nIntentView\022\033\n\027INTENT_VIEW_UNSPECIFIE"
- + "D\020\000\022\024\n\020INTENT_VIEW_FULL\020\0012\312\014\n\007Intents\022\275\001"
+ + "D\020\000\022\024\n\020INTENT_VIEW_FULL\020\0012\203\r\n\007Intents\022\366\001"
+ "\n\013ListIntents\022..google.cloud.dialogflow."
+ "v2.ListIntentsRequest\032/.google.cloud.dia"
- + "logflow.v2.ListIntentsResponse\"M\202\323\344\223\002\'\022%"
- + "/v2/{parent=projects/*/agent}/intents\332A\006"
- + "parent\332A\024parent,language_code\022\250\001\n\tGetInt"
- + "ent\022,.google.cloud.dialogflow.v2.GetInte"
- + "ntRequest\032\".google.cloud.dialogflow.v2.I"
- + "ntent\"I\202\323\344\223\002\'\022%/v2/{name=projects/*/agen"
- + "t/intents/*}\332A\004name\332A\022name,language_code"
- + "\022\310\001\n\014CreateIntent\022/.google.cloud.dialogf"
- + "low.v2.CreateIntentRequest\032\".google.clou"
- + "d.dialogflow.v2.Intent\"c\202\323\344\223\002/\"%/v2/{par"
- + "ent=projects/*/agent}/intents:\006intent\332A\r"
- + "parent,intent\332A\033parent,intent,language_c"
- + "ode\022\333\001\n\014UpdateIntent\022/.google.cloud.dial"
- + "ogflow.v2.UpdateIntentRequest\032\".google.c"
- + "loud.dialogflow.v2.Intent\"v\202\323\344\223\00262,/v2/{"
- + "intent.name=projects/*/agent/intents/*}:"
- + "\006intent\332A\024intent,language_code\332A intent,"
- + "language_code,update_mask\022\215\001\n\014DeleteInte"
- + "nt\022/.google.cloud.dialogflow.v2.DeleteIn"
- + "tentRequest\032\026.google.protobuf.Empty\"4\202\323\344"
- + "\223\002\'*%/v2/{name=projects/*/agent/intents/"
- + "*}\332A\004name\022\262\002\n\022BatchUpdateIntents\0225.googl"
- + "e.cloud.dialogflow.v2.BatchUpdateIntents"
- + "Request\032\035.google.longrunning.Operation\"\305"
- + "\001\202\323\344\223\0026\"1/v2/{parent=projects/*/agent}/i"
- + "ntents:batchUpdate:\001*\332A\027parent,intent_ba"
- + "tch_uri\332A\032parent,intent_batch_inline\312AO\n"
- + "5google.cloud.dialogflow.v2.BatchUpdateI"
- + "ntentsResponse\022\026google.protobuf.Struct\022\353"
- + "\001\n\022BatchDeleteIntents\0225.google.cloud.dia"
- + "logflow.v2.BatchDeleteIntentsRequest\032\035.g"
- + "oogle.longrunning.Operation\"\177\202\323\344\223\0026\"1/v2"
- + "/{parent=projects/*/agent}/intents:batch"
- + "Delete:\001*\332A\016parent,intents\312A/\n\025google.pr"
- + "otobuf.Empty\022\026google.protobuf.Struct\032x\312A"
- + "\031dialogflow.googleapis.com\322AYhttps://www"
- + ".googleapis.com/auth/cloud-platform,http"
- + "s://www.googleapis.com/auth/dialogflowB\232"
- + "\001\n\036com.google.cloud.dialogflow.v2B\013Inten"
- + "tProtoP\001ZDgoogle.golang.org/genproto/goo"
- + "gleapis/cloud/dialogflow/v2;dialogflow\370\001"
- + "\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b\006pro"
- + "to3"
+ + "logflow.v2.ListIntentsResponse\"\205\001\202\323\344\223\002_\022"
+ + "%/v2/{parent=projects/*/agent}/intentsZ6"
+ + "\0224/v2/{parent=projects/*/agent/environme"
+ + "nts/*}/intents\332A\006parent\332A\024parent,languag"
+ + "e_code\022\250\001\n\tGetIntent\022,.google.cloud.dial"
+ + "ogflow.v2.GetIntentRequest\032\".google.clou"
+ + "d.dialogflow.v2.Intent\"I\202\323\344\223\002\'\022%/v2/{nam"
+ + "e=projects/*/agent/intents/*}\332A\004name\332A\022n"
+ + "ame,language_code\022\310\001\n\014CreateIntent\022/.goo"
+ + "gle.cloud.dialogflow.v2.CreateIntentRequ"
+ + "est\032\".google.cloud.dialogflow.v2.Intent\""
+ + "c\202\323\344\223\002/\"%/v2/{parent=projects/*/agent}/i"
+ + "ntents:\006intent\332A\rparent,intent\332A\033parent,"
+ + "intent,language_code\022\333\001\n\014UpdateIntent\022/."
+ + "google.cloud.dialogflow.v2.UpdateIntentR"
+ + "equest\032\".google.cloud.dialogflow.v2.Inte"
+ + "nt\"v\202\323\344\223\00262,/v2/{intent.name=projects/*/"
+ + "agent/intents/*}:\006intent\332A\024intent,langua"
+ + "ge_code\332A intent,language_code,update_ma"
+ + "sk\022\215\001\n\014DeleteIntent\022/.google.cloud.dialo"
+ + "gflow.v2.DeleteIntentRequest\032\026.google.pr"
+ + "otobuf.Empty\"4\202\323\344\223\002\'*%/v2/{name=projects"
+ + "/*/agent/intents/*}\332A\004name\022\262\002\n\022BatchUpda"
+ + "teIntents\0225.google.cloud.dialogflow.v2.B"
+ + "atchUpdateIntentsRequest\032\035.google.longru"
+ + "nning.Operation\"\305\001\202\323\344\223\0026\"1/v2/{parent=pr"
+ + "ojects/*/agent}/intents:batchUpdate:\001*\332A"
+ + "\027parent,intent_batch_uri\332A\032parent,intent"
+ + "_batch_inline\312AO\n5google.cloud.dialogflo"
+ + "w.v2.BatchUpdateIntentsResponse\022\026google."
+ + "protobuf.Struct\022\353\001\n\022BatchDeleteIntents\0225"
+ + ".google.cloud.dialogflow.v2.BatchDeleteI"
+ + "ntentsRequest\032\035.google.longrunning.Opera"
+ + "tion\"\177\202\323\344\223\0026\"1/v2/{parent=projects/*/age"
+ + "nt}/intents:batchDelete:\001*\332A\016parent,inte"
+ + "nts\312A/\n\025google.protobuf.Empty\022\026google.pr"
+ + "otobuf.Struct\032x\312A\031dialogflow.googleapis."
+ + "com\322AYhttps://www.googleapis.com/auth/cl"
+ + "oud-platform,https://www.googleapis.com/"
+ + "auth/dialogflowB\232\001\n\036com.google.cloud.dia"
+ + "logflow.v2B\013IntentProtoP\001ZDgoogle.golang"
+ + ".org/genproto/googleapis/cloud/dialogflo"
+ + "w/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.D"
+ + "ialogflow.V2b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto
index 82c1426c7..4ac05cd2a 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto
+++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto
index 19b1e09b9..8a6777c93 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto
+++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -264,23 +264,6 @@ message VoiceSelectionParams {
SsmlVoiceGender ssml_gender = 2;
}
-// Gender of the voice as described in
-// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
-enum SsmlVoiceGender {
- // An unspecified gender, which means that the client doesn't care which
- // gender the selected voice will have.
- SSML_VOICE_GENDER_UNSPECIFIED = 0;
-
- // A male voice.
- SSML_VOICE_GENDER_MALE = 1;
-
- // A female voice.
- SSML_VOICE_GENDER_FEMALE = 2;
-
- // A gender-neutral voice.
- SSML_VOICE_GENDER_NEUTRAL = 3;
-}
-
// Configuration of how speech should be synthesized.
message SynthesizeSpeechConfig {
// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
@@ -313,6 +296,23 @@ message SynthesizeSpeechConfig {
VoiceSelectionParams voice = 4;
}
+// Gender of the voice as described in
+// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
+enum SsmlVoiceGender {
+ // An unspecified gender, which means that the client doesn't care which
+ // gender the selected voice will have.
+ SSML_VOICE_GENDER_UNSPECIFIED = 0;
+
+ // A male voice.
+ SSML_VOICE_GENDER_MALE = 1;
+
+ // A female voice.
+ SSML_VOICE_GENDER_FEMALE = 2;
+
+ // A gender-neutral voice.
+ SSML_VOICE_GENDER_NEUTRAL = 3;
+}
+
// Instructs the speech synthesizer on how to generate the output audio content.
// If this audio config is supplied in a request, it overrides all existing
// text-to-speech settings applied to the agent.
diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto
index 41f88aa43..246ee7be4 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto
+++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto
index 13fcdb050..f8a69ec58 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto
+++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto
index d48c210fc..ef094c71e 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto
+++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto
index f4f78acad..3c7fa4aa9 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto
+++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -47,6 +47,9 @@ service Intents {
rpc ListIntents(ListIntentsRequest) returns (ListIntentsResponse) {
option (google.api.http) = {
get: "/v2/{parent=projects/*/agent}/intents"
+ additional_bindings {
+ get: "/v2/{parent=projects/*/agent/environments/*}/intents"
+ }
};
option (google.api.method_signature) = "parent";
option (google.api.method_signature) = "parent,language_code";
diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto
index 2f6562bfe..338489652 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto
+++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -90,9 +90,10 @@ message DetectIntentRequest {
// `projects/