Skip to content

Commit 3b69cb2

Browse files
Google APIscopybara-github
authored andcommitted
feat: add additional_bindings to Dialogflow v2beta1 ListIntents API
docs: update copyrights and session docs PiperOrigin-RevId: 358315006
1 parent 56c65ed commit 3b69cb2

14 files changed

Lines changed: 44 additions & 38 deletions

google/cloud/dialogflow/v2beta1/BUILD.bazel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was automatically generated by BuildFileGenerator
2-
# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
2+
# https://github.com/googleapis/rules_gapic/tree/master/bazel
33

44
# Most of the manual changes to this file will be overwritten.
55
# It's **only** allowed to change the following rule attribute values:
@@ -141,6 +141,7 @@ go_gapic_library(
141141
srcs = [":dialogflow_proto_with_info"],
142142
grpc_service_config = "dialogflow_grpc_service_config.json",
143143
importpath = "cloud.google.com/go/dialogflow/apiv2beta1;dialogflow",
144+
metadata = True,
144145
service_yaml = "dialogflow_v2beta1.yaml",
145146
deps = [
146147
":dialogflow_go_proto",
@@ -164,6 +165,7 @@ go_gapic_assembly_pkg(
164165
name = "gapi-cloud-dialogflow-v2beta1-go",
165166
deps = [
166167
":dialogflow_go_gapic",
168+
":dialogflow_go_gapic_srcjar-metadata.srcjar",
167169
":dialogflow_go_gapic_srcjar-test.srcjar",
168170
":dialogflow_go_proto",
169171
],

google/cloud/dialogflow/v2beta1/agent.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/v2beta1/audio_config.proto

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -268,23 +268,6 @@ message VoiceSelectionParams {
268268
SsmlVoiceGender ssml_gender = 2;
269269
}
270270

271-
// Gender of the voice as described in
272-
// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
273-
enum SsmlVoiceGender {
274-
// An unspecified gender, which means that the client doesn't care which
275-
// gender the selected voice will have.
276-
SSML_VOICE_GENDER_UNSPECIFIED = 0;
277-
278-
// A male voice.
279-
SSML_VOICE_GENDER_MALE = 1;
280-
281-
// A female voice.
282-
SSML_VOICE_GENDER_FEMALE = 2;
283-
284-
// A gender-neutral voice.
285-
SSML_VOICE_GENDER_NEUTRAL = 3;
286-
}
287-
288271
// Configuration of how speech should be synthesized.
289272
message SynthesizeSpeechConfig {
290273
// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
@@ -317,6 +300,23 @@ message SynthesizeSpeechConfig {
317300
VoiceSelectionParams voice = 4;
318301
}
319302

303+
// Gender of the voice as described in
304+
// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
305+
enum SsmlVoiceGender {
306+
// An unspecified gender, which means that the client doesn't care which
307+
// gender the selected voice will have.
308+
SSML_VOICE_GENDER_UNSPECIFIED = 0;
309+
310+
// A male voice.
311+
SSML_VOICE_GENDER_MALE = 1;
312+
313+
// A female voice.
314+
SSML_VOICE_GENDER_FEMALE = 2;
315+
316+
// A gender-neutral voice.
317+
SSML_VOICE_GENDER_NEUTRAL = 3;
318+
}
319+
320320
// Instructs the speech synthesizer how to generate the output audio content.
321321
// If this audio config is supplied in a request, it overrides all existing
322322
// text-to-speech settings applied to the agent.
@@ -335,6 +335,12 @@ message OutputAudioConfig {
335335
SynthesizeSpeechConfig synthesize_speech_config = 3;
336336
}
337337

338+
// A wrapper of repeated TelephonyDtmf digits.
339+
message TelephonyDtmfEvents {
340+
// A sequence of TelephonyDtmf digits.
341+
repeated TelephonyDtmf dtmf_events = 1;
342+
}
343+
338344
// Audio encoding of the output audio format in Text-To-Speech.
339345
enum OutputAudioEncoding {
340346
// Not specified.
@@ -354,12 +360,6 @@ enum OutputAudioEncoding {
354360
OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3;
355361
}
356362

357-
// A wrapper of repeated TelephonyDtmf digits.
358-
message TelephonyDtmfEvents {
359-
// A sequence of TelephonyDtmf digits.
360-
repeated TelephonyDtmf dtmf_events = 1;
361-
}
362-
363363
// [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling)
364364
// digit in Telephony Gateway.
365365
enum TelephonyDtmf {

google/cloud/dialogflow/v2beta1/context.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/v2beta1/document.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/v2beta1/entity_type.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/v2beta1/environment.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/v2beta1/gcs.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/v2beta1/intent.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -50,6 +50,9 @@ service Intents {
5050
additional_bindings {
5151
get: "/v2beta1/{parent=projects/*/locations/*/agent}/intents"
5252
}
53+
additional_bindings {
54+
get: "/v2beta1/{parent=projects/*/agent/environments/*}/intents"
55+
}
5356
};
5457
option (google.api.method_signature) = "parent";
5558
option (google.api.method_signature) = "parent,language_code";

google/cloud/dialogflow/v2beta1/knowledge_base.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)