Skip to content

Commit

Permalink
feat: add additional_bindings to Dialogflow v2beta1 ListIntents API
Browse files Browse the repository at this point in the history
docs: update copyrights and session docs

PiperOrigin-RevId: 358315006
  • Loading branch information
Google APIs authored and copybara-github committed Feb 19, 2021
1 parent 56c65ed commit 3b69cb2
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 38 deletions.
4 changes: 3 additions & 1 deletion google/cloud/dialogflow/v2beta1/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was automatically generated by BuildFileGenerator
# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
# https://github.com/googleapis/rules_gapic/tree/master/bazel

# Most of the manual changes to this file will be overwritten.
# It's **only** allowed to change the following rule attribute values:
Expand Down Expand Up @@ -141,6 +141,7 @@ go_gapic_library(
srcs = [":dialogflow_proto_with_info"],
grpc_service_config = "dialogflow_grpc_service_config.json",
importpath = "cloud.google.com/go/dialogflow/apiv2beta1;dialogflow",
metadata = True,
service_yaml = "dialogflow_v2beta1.yaml",
deps = [
":dialogflow_go_proto",
Expand All @@ -164,6 +165,7 @@ go_gapic_assembly_pkg(
name = "gapi-cloud-dialogflow-v2beta1-go",
deps = [
":dialogflow_go_gapic",
":dialogflow_go_gapic_srcjar-metadata.srcjar",
":dialogflow_go_gapic_srcjar-test.srcjar",
":dialogflow_go_proto",
],
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/agent.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
48 changes: 24 additions & 24 deletions google/cloud/dialogflow/v2beta1/audio_config.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -268,23 +268,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
Expand Down Expand Up @@ -317,6 +300,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 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.
Expand All @@ -335,6 +335,12 @@ message OutputAudioConfig {
SynthesizeSpeechConfig synthesize_speech_config = 3;
}

// A wrapper of repeated TelephonyDtmf digits.
message TelephonyDtmfEvents {
// A sequence of TelephonyDtmf digits.
repeated TelephonyDtmf dtmf_events = 1;
}

// Audio encoding of the output audio format in Text-To-Speech.
enum OutputAudioEncoding {
// Not specified.
Expand All @@ -354,12 +360,6 @@ enum OutputAudioEncoding {
OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3;
}

// A wrapper of repeated TelephonyDtmf digits.
message TelephonyDtmfEvents {
// A sequence of TelephonyDtmf digits.
repeated TelephonyDtmf dtmf_events = 1;
}

// [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling)
// digit in Telephony Gateway.
enum TelephonyDtmf {
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/context.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/document.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/entity_type.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/environment.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/gcs.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 4 additions & 1 deletion google/cloud/dialogflow/v2beta1/intent.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -50,6 +50,9 @@ service Intents {
additional_bindings {
get: "/v2beta1/{parent=projects/*/locations/*/agent}/intents"
}
additional_bindings {
get: "/v2beta1/{parent=projects/*/agent/environments/*}/intents"
}
};
option (google.api.method_signature) = "parent";
option (google.api.method_signature) = "parent,language_code";
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/knowledge_base.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions google/cloud/dialogflow/v2beta1/session.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -108,7 +108,8 @@ message DetectIntentRequest {
// ID>`,
//
// If `Location ID` is not specified we assume default 'us' location. If
// `Environment ID` is not specified, we assume default 'draft' environment.
// `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).
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/session_entity_type.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/validation_result.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/dialogflow/v2beta1/webhook.proto
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 3b69cb2

Please sign in to comment.