diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/agent.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/agent.proto index dec8dde092a..3d28324ac72 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/agent.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/agent.proto @@ -194,6 +194,9 @@ service Agents { rpc GetValidationResult(GetValidationResultRequest) returns (ValidationResult) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*}/agent/validationResult" + additional_bindings { + get: "/v2beta1/{parent=projects/*/locations/*}/agent/validationResult" + } }; } } @@ -259,7 +262,8 @@ message Agent { } // Required. The project of this agent. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/` string parent = 1; // Required. The name of this agent. @@ -320,7 +324,8 @@ message Agent { // The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent]. message GetAgentRequest { // Required. The project that the agent to fetch is associated with. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -341,7 +346,8 @@ message SetAgentRequest { // The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent]. message DeleteAgentRequest { // Required. The project that the agent to delete is associated with. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -353,7 +359,8 @@ message DeleteAgentRequest { // Contains basic configuration for a sub-agent. message SubAgent { // Required. The project of this agent. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string project = 1; // Optional. The unique identifier (`environment name` in dialogflow console) @@ -365,7 +372,8 @@ message SubAgent { // The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents]. message SearchAgentsRequest { // Required. The project to list agents from. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -395,7 +403,8 @@ message SearchAgentsResponse { // The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent]. message TrainAgentRequest { // Required. The project that the agent to train is associated with. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -407,7 +416,8 @@ message TrainAgentRequest { // The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent]. message ExportAgentRequest { // Required. The project that the agent to export is associated with. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -439,7 +449,8 @@ message ExportAgentResponse { // The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent]. message ImportAgentRequest { // Required. The project that the agent to import is associated with. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -461,7 +472,8 @@ message ImportAgentRequest { // The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent]. message RestoreAgentRequest { // Required. The project that the agent to restore is associated with. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -483,7 +495,8 @@ message RestoreAgentRequest { // The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult]. message GetValidationResultRequest { // Required. The project that the agent is associated with. - // Format: `projects/`. + // Format: `projects/` or + // `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/audio_config.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/audio_config.proto index 0d3c3acf450..7afa9bbc6e9 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/audio_config.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/audio_config.proto @@ -30,36 +30,6 @@ option java_outer_classname = "AudioConfigProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; option objc_class_prefix = "DF"; -// Hints for the speech recognizer to help with recognition in a specific -// conversation state. -message SpeechContext { - // Optional. A list of strings containing words and phrases that the speech - // recognizer should recognize with higher likelihood. - // - // This list can be used to: - // - // * improve accuracy for words and phrases you expect the user to say, - // e.g. typical commands for your Dialogflow agent - // * add additional words to the speech recognizer vocabulary - // * ... - // - // See the [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/quotas) for usage - // limits. - repeated string phrases = 1; - - // Optional. Boost for this context compared to other contexts: - // - // * If the boost is positive, Dialogflow will increase the probability that - // the phrases in this context are recognized over similar sounding phrases. - // * If the boost is unspecified or non-positive, Dialogflow will not apply - // any boost. - // - // Dialogflow recommends that you use boosts in the range (0, 20] and that you - // find a value that fits your use case with binary search. - float boost = 2; -} - // Audio encoding of the audio content sent in the conversational query request. // Refer to the // [Cloud Speech API @@ -109,6 +79,36 @@ enum AudioEncoding { AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; } +// Hints for the speech recognizer to help with recognition in a specific +// conversation state. +message SpeechContext { + // Optional. A list of strings containing words and phrases that the speech + // recognizer should recognize with higher likelihood. + // + // This list can be used to: + // + // * improve accuracy for words and phrases you expect the user to say, + // e.g. typical commands for your Dialogflow agent + // * add additional words to the speech recognizer vocabulary + // * ... + // + // See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/quotas) for usage + // limits. + repeated string phrases = 1; + + // Optional. Boost for this context compared to other contexts: + // + // * If the boost is positive, Dialogflow will increase the probability that + // the phrases in this context are recognized over similar sounding phrases. + // * If the boost is unspecified or non-positive, Dialogflow will not apply + // any boost. + // + // Dialogflow recommends that you use boosts in the range (0, 20] and that you + // find a value that fits your use case with binary search. + float boost = 2; +} + // Information for a word recognized by the speech recognizer. message SpeechWordInfo { // The word this info is for. @@ -350,3 +350,64 @@ enum OutputAudioEncoding { // than MP3 while using approximately the same bitrate. 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 { + // Not specified. This value may be used to indicate an absent digit. + TELEPHONY_DTMF_UNSPECIFIED = 0; + + // Number: '1'. + DTMF_ONE = 1; + + // Number: '2'. + DTMF_TWO = 2; + + // Number: '3'. + DTMF_THREE = 3; + + // Number: '4'. + DTMF_FOUR = 4; + + // Number: '5'. + DTMF_FIVE = 5; + + // Number: '6'. + DTMF_SIX = 6; + + // Number: '7'. + DTMF_SEVEN = 7; + + // Number: '8'. + DTMF_EIGHT = 8; + + // Number: '9'. + DTMF_NINE = 9; + + // Number: '0'. + DTMF_ZERO = 10; + + // Letter: 'A'. + DTMF_A = 11; + + // Letter: 'B'. + DTMF_B = 12; + + // Letter: 'C'. + DTMF_C = 13; + + // Letter: 'D'. + DTMF_D = 14; + + // Asterisk/star: '*'. + DTMF_STAR = 15; + + // Pound/diamond/hash/square/gate/octothorpe: '#'. + DTMF_POUND = 16; +} diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/context.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/context.proto index e829882d9c4..949552057d2 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/context.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/context.proto @@ -176,10 +176,16 @@ message Context { pattern: "projects/{project}/locations/{location}/agent/sessions/{session}/contexts/{context}" }; - // Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`, - // or `projects//agent/environments//users//sessions//contexts/`. + // Required. The unique identifier of the context. Supported formats: + // - `projects//agent/sessions//contexts/`, + // - `projects//locations//agent/sessions//contexts/`, + // - `projects//agent/environments//users//sessions//contexts/`, + // - `projects//locations//agent/environments//users//sessions//contexts/`, // // The `Context ID` is always converted to lowercase, may only contain // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. @@ -221,12 +227,19 @@ message Context { // The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts]. message ListContextsRequest { - // Required. The session to list all contexts from. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we assume - // default '-' user. + // Required. The session to list all contexts from. Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, + // + // 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 assume default '-' user. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -255,12 +268,20 @@ message ListContextsResponse { // The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext]. message GetContextRequest { - // Required. The name of the context. Format: - // `projects//agent/sessions//contexts/` - // or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is - // not specified, we assume default 'draft' environment. If `User ID` is not - // specified, we assume default '-' user. + // Required. The name of the context. Supported formats: + // - `projects//agent/sessions//contexts/`, + // - `projects//locations//agent/sessions//contexts/`, + // - `projects//agent/environments//users//sessions//contexts/`, + // - `projects//locations//agent/environments//users//sessions//contexts/`, + // + // 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 assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -271,12 +292,19 @@ message GetContextRequest { // The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext]. message CreateContextRequest { - // Required. The session to create a context for. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we assume - // default '-' user. + // Required. The session to create a context for. Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, + // + // 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 assume default '-' user. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -299,12 +327,20 @@ message UpdateContextRequest { // The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext]. message DeleteContextRequest { - // Required. The name of the context to delete. Format: - // `projects//agent/sessions//contexts/` - // or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is - // not specified, we assume default 'draft' environment. If `User ID` is not - // specified, we assume default '-' user. + // Required. The name of the context to delete. Supported formats: + // - `projects//agent/sessions//contexts/`, + // - `projects//locations//agent/sessions//contexts/`, + // - `projects//agent/environments//users//sessions//contexts/`, + // - `projects//locations//agent/environments//users//sessions//contexts/`, + // + // 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 assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -315,11 +351,19 @@ message DeleteContextRequest { // The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts]. message DeleteAllContextsRequest { - // Required. The name of the session to delete all contexts from. Format: - // `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. + // Required. The name of the session to delete all contexts from. Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, + // + // 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 assume default '-' user. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/entity_type.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/entity_type.proto index 457c85916de..5c9838a8f84 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/entity_type.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/entity_type.proto @@ -280,7 +280,10 @@ message EntityType { // The unique identifier of the entity type. // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and // [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods. - // Format: `projects//agent/entityTypes/`. + // Supported formats: + // - `projects//agent/entityTypes/` + // - `projects//locations//agent/entityTypes/` string name = 1; // Required. The name of the entity type. @@ -303,7 +306,9 @@ message EntityType { // The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes]. message ListEntityTypesRequest { // Required. The agent to list all entity types from. - // Format: `projects//agent`. + // Supported formats: + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -340,7 +345,10 @@ message ListEntityTypesResponse { // The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType]. message GetEntityTypeRequest { // Required. The name of the entity type. - // Format: `projects//agent/entityTypes/`. + // Supported formats: + // - `projects//agent/entityTypes/` + // - `projects//locations//agent/entityTypes/` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -359,7 +367,9 @@ message GetEntityTypeRequest { // The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType]. message CreateEntityTypeRequest { // Required. The agent to create a entity type for. - // Format: `projects//agent`. + // Supported formats: + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -397,7 +407,10 @@ message UpdateEntityTypeRequest { // The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType]. message DeleteEntityTypeRequest { // Required. The name of the entity type to delete. - // Format: `projects//agent/entityTypes/`. + // Supported formats: + // - `projects//agent/entityTypes/` + // - `projects//locations//agent/entityTypes/` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -409,7 +422,9 @@ message DeleteEntityTypeRequest { // The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]. message BatchUpdateEntityTypesRequest { // Required. The name of the agent to update or create entity types in. - // Format: `projects//agent`. + // Supported formats: + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -453,8 +468,10 @@ message BatchUpdateEntityTypesResponse { // The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes]. message BatchDeleteEntityTypesRequest { - // Required. The name of the agent to delete all entities types for. Format: - // `projects//agent`. + // Required. The name of the agent to delete all entities types for. + // Supported formats: + // - `projects//agent`, + // - `projects//locations//agent`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -469,8 +486,11 @@ message BatchDeleteEntityTypesRequest { // The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities]. message BatchCreateEntitiesRequest { - // Required. The name of the entity type to create entities in. Format: - // `projects//agent/entityTypes/`. + // Required. The name of the entity type to create entities in. + // Supported formats: + // - `projects//agent/entityTypes/` + // - `projects//locations//agent/entityTypes/` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -492,7 +512,10 @@ message BatchCreateEntitiesRequest { // The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities]. message BatchUpdateEntitiesRequest { // Required. The name of the entity type to update or create entities in. - // Format: `projects//agent/entityTypes/`. + // Supported formats: + // - `projects//agent/entityTypes/` + // - `projects//locations//agent/entityTypes/` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -516,8 +539,11 @@ message BatchUpdateEntitiesRequest { // The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities]. message BatchDeleteEntitiesRequest { - // Required. The name of the entity type to delete entries for. Format: - // `projects//agent/entityTypes/`. + // Required. The name of the entity type to delete entries for. + // Supported formats: + // - `projects//agent/entityTypes/` + // - `projects//locations//agent/entityTypes/` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto index 73f4e298053..49efe6ff520 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto @@ -97,10 +97,10 @@ message Environment { } // Output only. The unique identifier of this agent environment. - // Format: + // Supported formats: // - `projects//agent/environments/` // - `projects//locations//agent/environments/` + // ID>/agent/environments/` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The developer-provided description for this environment. @@ -108,7 +108,10 @@ message Environment { string description = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The agent version loaded into this environment. - // Format: `projects//agent/versions/`. + // Supported formats: + // - `projects//agent/versions/` + // - `projects//locations//agent/versions/` string agent_version = 3 [(google.api.field_behavior) = OPTIONAL]; // Output only. The state of this environment. This field is read-only, i.e., it cannot be @@ -125,8 +128,7 @@ message ListEnvironmentsRequest { // Required. The agent to list all environments from. // Format: // - `projects//agent` - // - `projects//locations//agent + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/intent.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/intent.proto index cfecbc142ed..b592354593a 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/intent.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/intent.proto @@ -1064,7 +1064,10 @@ message Intent { // Optional. The unique identifier of this intent. // Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] // methods. - // Format: `projects//agent/intents/`. + // Supported formats: + // + // - `projects//agent/intents/` + // - `projects//locations//agent/intents/` string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Required. The name of this intent. @@ -1093,6 +1096,7 @@ message Intent { // DEPRECATED! Please use `ml_disabled` field instead. // NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, // then the default value is determined as follows: + // // - Before April 15th, 2018 the default is: // ml_enabled = false / ml_disabled = true. // - After April 15th, 2018 the default is: @@ -1115,7 +1119,11 @@ message Intent { // Optional. The list of context names required for this intent to be // triggered. - // Format: `projects//agent/sessions/-/contexts/`. + // Formats: + // + // - `projects//agent/sessions/-/contexts/` + // - `projects//locations//agent/sessions/-/contexts/` repeated string input_context_names = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. The collection of event names that trigger the intent. @@ -1219,7 +1227,10 @@ message ListIntentsResponse { // The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent]. message GetIntentRequest { // Required. The name of the intent. - // Format: `projects//agent/intents/`. + // Supported formats: + // + // - `projects//agent/intents/` + // - `projects//locations//agent/intents/` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1241,7 +1252,10 @@ message GetIntentRequest { // The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent]. message CreateIntentRequest { // Required. The agent to create a intent for. - // Format: `projects//agent`. + // Supported formats: + // + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1287,7 +1301,10 @@ message DeleteIntentRequest { // Required. The name of the intent to delete. If this intent has direct or // indirect followup intents, we also delete them. // - // Format: `projects//agent/intents/`. + // Supported formats: + // + // - `projects//agent/intents/` + // - `projects//locations//agent/intents/` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1299,7 +1316,10 @@ message DeleteIntentRequest { // The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]. message BatchUpdateIntentsRequest { // Required. The name of the agent to update or create intents in. - // Format: `projects//agent`. + // Supported formats: + // + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1345,8 +1365,11 @@ message BatchUpdateIntentsResponse { // The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents]. message BatchDeleteIntentsRequest { - // Required. The name of the agent to delete all entities types for. Format: - // `projects//agent`. + // Required. The name of the agent to delete all entities types for. + // Supported formats: + // + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session.proto index ef882e19005..2505b6760fd 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session.proto @@ -88,16 +88,22 @@ service Sessions { // The request to detect user's intent. message DetectIntentRequest { - // Required. The name of the session this query is sent to. Format: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. 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. + // Required. The name of the session this query is sent to. Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, // + // 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 // guide](https://cloud.google.com/dialogflow/docs/api-overview). string session = 1 [ @@ -216,7 +222,7 @@ message QueryParameters { // Configures the type of sentiment analysis to perform. If not // provided, sentiment analysis is not performed. - // Note: Sentiment Analysis is only currently available for Enterprise Edition + // Note: Sentiment Analysis is only currently available for Essentials Edition // agents. SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10; @@ -461,15 +467,22 @@ message KnowledgeAnswers { // After you sent all input, you must half-close or abort the request stream. message StreamingDetectIntentRequest { // Required. The name of the session the query is sent to. - // Format of the session name: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. 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. + // Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, + // + // 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 // guide](https://cloud.google.com/dialogflow/docs/api-overview). @@ -668,6 +681,9 @@ message StreamingRecognitionResult { // Time offset of the end of this Speech recognition result relative to the // beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`. google.protobuf.Duration speech_end_offset = 8; + + // DTMF digits. Populated if and only if `message_type` = `DTMF_DIGITS`. + TelephonyDtmfEvents dtmf_digits = 5; } // Represents the natural language text to be processed. diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session_entity_type.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session_entity_type.proto index 07b73530e07..c80497aa003 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session_entity_type.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session_entity_type.proto @@ -194,14 +194,21 @@ message SessionEntityType { ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2; } - // Required. The unique identifier of this session entity type. Format: - // `projects//agent/sessions//entityTypes/`, or - // `projects//agent/environments//users//sessions//entityTypes/`. - // If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. + // Required. The unique identifier of this session entity type. Supported + // formats: + // - `projects//agent/sessions//entityTypes/` + // - `projects//locations//agent/sessions//entityTypes/` + // - `projects//agent/environments//users//sessions//entityTypes/` + // - `projects//locations//agent/environments/ + // /users//sessions//entityTypes/` // + // 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 assume default '-' user. // `` must be the display name of an existing entity // type in the same agent that will be overridden or supplemented. string name = 1; @@ -218,11 +225,19 @@ message SessionEntityType { // The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes]. message ListSessionEntityTypesRequest { // Required. The session to list all session entity types from. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users// - // sessions/`. - // If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. + // Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, + // + // 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 assume default '-' user. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -251,12 +266,20 @@ message ListSessionEntityTypesResponse { // The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType]. message GetSessionEntityTypeRequest { - // Required. The name of the session entity type. Format: - // `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. + // Required. The name of the session entity type. Supported formats: + // - `projects//agent/sessions//entityTypes/` + // - `projects//locations//agent/sessions//entityTypes/` + // - `projects//agent/environments//users//sessions//entityTypes/` + // - `projects//locations//agent/environments/ + // /users//sessions//entityTypes/` + // + // 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 assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -268,11 +291,19 @@ message GetSessionEntityTypeRequest { // The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType]. message CreateSessionEntityTypeRequest { // Required. The session to create a session entity type for. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users// - // sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we assume - // default '-' user. + // Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, + // + // 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 assume default '-' user. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -295,12 +326,21 @@ message UpdateSessionEntityTypeRequest { // The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType]. message DeleteSessionEntityTypeRequest { - // Required. The name of the entity type to delete. Format: - // `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. + // Required. The name of the entity type to delete. + // Supported formats: + // - `projects//agent/sessions//entityTypes/` + // - `projects//locations//agent/sessions//entityTypes/` + // - `projects//agent/environments//users//sessions//entityTypes/` + // - `projects//locations//agent/environments/ + // /users//sessions//entityTypes/` + // + // 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 assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/webhook.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/webhook.proto index 9e5d2a4c466..83f9d70a1c3 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/webhook.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/webhook.proto @@ -35,9 +35,15 @@ option objc_class_prefix = "DF"; message WebhookRequest { // The unique identifier of detectIntent request session. // Can be used to identify end-user inside webhook implementation. - // Format: `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. + // Supported formats: + // - `projects//agent/sessions/, + // - `projects//locations//agent/sessions/`, + // - `projects//agent/environments//users//sessions/`, + // - `projects//locations//agent/environments//users//sessions/`, string session = 4; // The unique identifier of the response. Contains the same value as @@ -146,8 +152,8 @@ message OriginalDetectIntentRequest { // "caller_id": "+18558363987" // } // } - // Note: The caller ID field (`caller_id`) will be redacted for Standard + // Note: The caller ID field (`caller_id`) will be redacted for Trial // Edition agents and populated with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents. + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents. google.protobuf.Struct payload = 3; } diff --git a/packages/google-cloud-dialogflow/protos/protos.d.ts b/packages/google-cloud-dialogflow/protos/protos.d.ts index ae63567e307..8d007b04e48 100644 --- a/packages/google-cloud-dialogflow/protos/protos.d.ts +++ b/packages/google-cloud-dialogflow/protos/protos.d.ts @@ -14839,6 +14839,18 @@ export namespace google { public toJSON(): { [k: string]: any }; } + /** AudioEncoding enum. */ + enum AudioEncoding { + AUDIO_ENCODING_UNSPECIFIED = 0, + AUDIO_ENCODING_LINEAR_16 = 1, + AUDIO_ENCODING_FLAC = 2, + AUDIO_ENCODING_MULAW = 3, + AUDIO_ENCODING_AMR = 4, + AUDIO_ENCODING_AMR_WB = 5, + AUDIO_ENCODING_OGG_OPUS = 6, + AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7 + } + /** Properties of a SpeechContext. */ interface ISpeechContext { @@ -14935,18 +14947,6 @@ export namespace google { public toJSON(): { [k: string]: any }; } - /** AudioEncoding enum. */ - enum AudioEncoding { - AUDIO_ENCODING_UNSPECIFIED = 0, - AUDIO_ENCODING_LINEAR_16 = 1, - AUDIO_ENCODING_FLAC = 2, - AUDIO_ENCODING_MULAW = 3, - AUDIO_ENCODING_AMR = 4, - AUDIO_ENCODING_AMR_WB = 5, - AUDIO_ENCODING_OGG_OPUS = 6, - AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7 - } - /** Properties of a SpeechWordInfo. */ interface ISpeechWordInfo { @@ -15529,6 +15529,117 @@ export namespace google { OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3 } + /** Properties of a TelephonyDtmfEvents. */ + interface ITelephonyDtmfEvents { + + /** TelephonyDtmfEvents dtmfEvents */ + dtmfEvents?: (google.cloud.dialogflow.v2beta1.TelephonyDtmf[]|null); + } + + /** Represents a TelephonyDtmfEvents. */ + class TelephonyDtmfEvents implements ITelephonyDtmfEvents { + + /** + * Constructs a new TelephonyDtmfEvents. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents); + + /** TelephonyDtmfEvents dtmfEvents. */ + public dtmfEvents: google.cloud.dialogflow.v2beta1.TelephonyDtmf[]; + + /** + * Creates a new TelephonyDtmfEvents instance using the specified properties. + * @param [properties] Properties to set + * @returns TelephonyDtmfEvents instance + */ + public static create(properties?: google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents): google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents; + + /** + * Encodes the specified TelephonyDtmfEvents message. Does not implicitly {@link google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.verify|verify} messages. + * @param message TelephonyDtmfEvents message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TelephonyDtmfEvents message, length delimited. Does not implicitly {@link google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.verify|verify} messages. + * @param message TelephonyDtmfEvents message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TelephonyDtmfEvents message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TelephonyDtmfEvents + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents; + + /** + * Decodes a TelephonyDtmfEvents message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TelephonyDtmfEvents + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents; + + /** + * Verifies a TelephonyDtmfEvents message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TelephonyDtmfEvents message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TelephonyDtmfEvents + */ + public static fromObject(object: { [k: string]: any }): google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents; + + /** + * Creates a plain object from a TelephonyDtmfEvents message. Also converts values to other types if specified. + * @param message TelephonyDtmfEvents + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TelephonyDtmfEvents to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + + /** TelephonyDtmf enum. */ + enum TelephonyDtmf { + TELEPHONY_DTMF_UNSPECIFIED = 0, + DTMF_ONE = 1, + DTMF_TWO = 2, + DTMF_THREE = 3, + DTMF_FOUR = 4, + DTMF_FIVE = 5, + DTMF_SIX = 6, + DTMF_SEVEN = 7, + DTMF_EIGHT = 8, + DTMF_NINE = 9, + DTMF_ZERO = 10, + DTMF_A = 11, + DTMF_B = 12, + DTMF_C = 13, + DTMF_D = 14, + DTMF_STAR = 15, + DTMF_POUND = 16 + } + /** Properties of a ValidationError. */ interface IValidationError { @@ -28040,6 +28151,9 @@ export namespace google { /** StreamingRecognitionResult speechEndOffset */ speechEndOffset?: (google.protobuf.IDuration|null); + + /** StreamingRecognitionResult dtmfDigits */ + dtmfDigits?: (google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents|null); } /** Represents a StreamingRecognitionResult. */ @@ -28072,6 +28186,9 @@ export namespace google { /** StreamingRecognitionResult speechEndOffset. */ public speechEndOffset?: (google.protobuf.IDuration|null); + /** StreamingRecognitionResult dtmfDigits. */ + public dtmfDigits?: (google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents|null); + /** * Creates a new StreamingRecognitionResult instance using the specified properties. * @param [properties] Properties to set diff --git a/packages/google-cloud-dialogflow/protos/protos.js b/packages/google-cloud-dialogflow/protos/protos.js index e658675ca25..05dbc646406 100644 --- a/packages/google-cloud-dialogflow/protos/protos.js +++ b/packages/google-cloud-dialogflow/protos/protos.js @@ -35629,6 +35629,32 @@ return ListEnvironmentsResponse; })(); + /** + * AudioEncoding enum. + * @name google.cloud.dialogflow.v2beta1.AudioEncoding + * @enum {number} + * @property {number} AUDIO_ENCODING_UNSPECIFIED=0 AUDIO_ENCODING_UNSPECIFIED value + * @property {number} AUDIO_ENCODING_LINEAR_16=1 AUDIO_ENCODING_LINEAR_16 value + * @property {number} AUDIO_ENCODING_FLAC=2 AUDIO_ENCODING_FLAC value + * @property {number} AUDIO_ENCODING_MULAW=3 AUDIO_ENCODING_MULAW value + * @property {number} AUDIO_ENCODING_AMR=4 AUDIO_ENCODING_AMR value + * @property {number} AUDIO_ENCODING_AMR_WB=5 AUDIO_ENCODING_AMR_WB value + * @property {number} AUDIO_ENCODING_OGG_OPUS=6 AUDIO_ENCODING_OGG_OPUS value + * @property {number} AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE=7 AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE value + */ + v2beta1.AudioEncoding = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "AUDIO_ENCODING_UNSPECIFIED"] = 0; + values[valuesById[1] = "AUDIO_ENCODING_LINEAR_16"] = 1; + values[valuesById[2] = "AUDIO_ENCODING_FLAC"] = 2; + values[valuesById[3] = "AUDIO_ENCODING_MULAW"] = 3; + values[valuesById[4] = "AUDIO_ENCODING_AMR"] = 4; + values[valuesById[5] = "AUDIO_ENCODING_AMR_WB"] = 5; + values[valuesById[6] = "AUDIO_ENCODING_OGG_OPUS"] = 6; + values[valuesById[7] = "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] = 7; + return values; + })(); + v2beta1.SpeechContext = (function() { /** @@ -35855,32 +35881,6 @@ return SpeechContext; })(); - /** - * AudioEncoding enum. - * @name google.cloud.dialogflow.v2beta1.AudioEncoding - * @enum {number} - * @property {number} AUDIO_ENCODING_UNSPECIFIED=0 AUDIO_ENCODING_UNSPECIFIED value - * @property {number} AUDIO_ENCODING_LINEAR_16=1 AUDIO_ENCODING_LINEAR_16 value - * @property {number} AUDIO_ENCODING_FLAC=2 AUDIO_ENCODING_FLAC value - * @property {number} AUDIO_ENCODING_MULAW=3 AUDIO_ENCODING_MULAW value - * @property {number} AUDIO_ENCODING_AMR=4 AUDIO_ENCODING_AMR value - * @property {number} AUDIO_ENCODING_AMR_WB=5 AUDIO_ENCODING_AMR_WB value - * @property {number} AUDIO_ENCODING_OGG_OPUS=6 AUDIO_ENCODING_OGG_OPUS value - * @property {number} AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE=7 AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE value - */ - v2beta1.AudioEncoding = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "AUDIO_ENCODING_UNSPECIFIED"] = 0; - values[valuesById[1] = "AUDIO_ENCODING_LINEAR_16"] = 1; - values[valuesById[2] = "AUDIO_ENCODING_FLAC"] = 2; - values[valuesById[3] = "AUDIO_ENCODING_MULAW"] = 3; - values[valuesById[4] = "AUDIO_ENCODING_AMR"] = 4; - values[valuesById[5] = "AUDIO_ENCODING_AMR_WB"] = 5; - values[valuesById[6] = "AUDIO_ENCODING_OGG_OPUS"] = 6; - values[valuesById[7] = "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] = 7; - return values; - })(); - v2beta1.SpeechWordInfo = (function() { /** @@ -37459,6 +37459,351 @@ return values; })(); + v2beta1.TelephonyDtmfEvents = (function() { + + /** + * Properties of a TelephonyDtmfEvents. + * @memberof google.cloud.dialogflow.v2beta1 + * @interface ITelephonyDtmfEvents + * @property {Array.|null} [dtmfEvents] TelephonyDtmfEvents dtmfEvents + */ + + /** + * Constructs a new TelephonyDtmfEvents. + * @memberof google.cloud.dialogflow.v2beta1 + * @classdesc Represents a TelephonyDtmfEvents. + * @implements ITelephonyDtmfEvents + * @constructor + * @param {google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents=} [properties] Properties to set + */ + function TelephonyDtmfEvents(properties) { + this.dtmfEvents = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TelephonyDtmfEvents dtmfEvents. + * @member {Array.} dtmfEvents + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @instance + */ + TelephonyDtmfEvents.prototype.dtmfEvents = $util.emptyArray; + + /** + * Creates a new TelephonyDtmfEvents instance using the specified properties. + * @function create + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents=} [properties] Properties to set + * @returns {google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents} TelephonyDtmfEvents instance + */ + TelephonyDtmfEvents.create = function create(properties) { + return new TelephonyDtmfEvents(properties); + }; + + /** + * Encodes the specified TelephonyDtmfEvents message. Does not implicitly {@link google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.verify|verify} messages. + * @function encode + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents} message TelephonyDtmfEvents message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TelephonyDtmfEvents.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.dtmfEvents != null && message.dtmfEvents.length) { + writer.uint32(/* id 1, wireType 2 =*/10).fork(); + for (var i = 0; i < message.dtmfEvents.length; ++i) + writer.int32(message.dtmfEvents[i]); + writer.ldelim(); + } + return writer; + }; + + /** + * Encodes the specified TelephonyDtmfEvents message, length delimited. Does not implicitly {@link google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents} message TelephonyDtmfEvents message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TelephonyDtmfEvents.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TelephonyDtmfEvents message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents} TelephonyDtmfEvents + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TelephonyDtmfEvents.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.dtmfEvents && message.dtmfEvents.length)) + message.dtmfEvents = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.dtmfEvents.push(reader.int32()); + } else + message.dtmfEvents.push(reader.int32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TelephonyDtmfEvents message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents} TelephonyDtmfEvents + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TelephonyDtmfEvents.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TelephonyDtmfEvents message. + * @function verify + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TelephonyDtmfEvents.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.dtmfEvents != null && message.hasOwnProperty("dtmfEvents")) { + if (!Array.isArray(message.dtmfEvents)) + return "dtmfEvents: array expected"; + for (var i = 0; i < message.dtmfEvents.length; ++i) + switch (message.dtmfEvents[i]) { + default: + return "dtmfEvents: enum value[] expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + break; + } + } + return null; + }; + + /** + * Creates a TelephonyDtmfEvents message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents} TelephonyDtmfEvents + */ + TelephonyDtmfEvents.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents) + return object; + var message = new $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents(); + if (object.dtmfEvents) { + if (!Array.isArray(object.dtmfEvents)) + throw TypeError(".google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.dtmfEvents: array expected"); + message.dtmfEvents = []; + for (var i = 0; i < object.dtmfEvents.length; ++i) + switch (object.dtmfEvents[i]) { + default: + case "TELEPHONY_DTMF_UNSPECIFIED": + case 0: + message.dtmfEvents[i] = 0; + break; + case "DTMF_ONE": + case 1: + message.dtmfEvents[i] = 1; + break; + case "DTMF_TWO": + case 2: + message.dtmfEvents[i] = 2; + break; + case "DTMF_THREE": + case 3: + message.dtmfEvents[i] = 3; + break; + case "DTMF_FOUR": + case 4: + message.dtmfEvents[i] = 4; + break; + case "DTMF_FIVE": + case 5: + message.dtmfEvents[i] = 5; + break; + case "DTMF_SIX": + case 6: + message.dtmfEvents[i] = 6; + break; + case "DTMF_SEVEN": + case 7: + message.dtmfEvents[i] = 7; + break; + case "DTMF_EIGHT": + case 8: + message.dtmfEvents[i] = 8; + break; + case "DTMF_NINE": + case 9: + message.dtmfEvents[i] = 9; + break; + case "DTMF_ZERO": + case 10: + message.dtmfEvents[i] = 10; + break; + case "DTMF_A": + case 11: + message.dtmfEvents[i] = 11; + break; + case "DTMF_B": + case 12: + message.dtmfEvents[i] = 12; + break; + case "DTMF_C": + case 13: + message.dtmfEvents[i] = 13; + break; + case "DTMF_D": + case 14: + message.dtmfEvents[i] = 14; + break; + case "DTMF_STAR": + case 15: + message.dtmfEvents[i] = 15; + break; + case "DTMF_POUND": + case 16: + message.dtmfEvents[i] = 16; + break; + } + } + return message; + }; + + /** + * Creates a plain object from a TelephonyDtmfEvents message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents} message TelephonyDtmfEvents + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TelephonyDtmfEvents.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.dtmfEvents = []; + if (message.dtmfEvents && message.dtmfEvents.length) { + object.dtmfEvents = []; + for (var j = 0; j < message.dtmfEvents.length; ++j) + object.dtmfEvents[j] = options.enums === String ? $root.google.cloud.dialogflow.v2beta1.TelephonyDtmf[message.dtmfEvents[j]] : message.dtmfEvents[j]; + } + return object; + }; + + /** + * Converts this TelephonyDtmfEvents to JSON. + * @function toJSON + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @instance + * @returns {Object.} JSON object + */ + TelephonyDtmfEvents.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return TelephonyDtmfEvents; + })(); + + /** + * TelephonyDtmf enum. + * @name google.cloud.dialogflow.v2beta1.TelephonyDtmf + * @enum {number} + * @property {number} TELEPHONY_DTMF_UNSPECIFIED=0 TELEPHONY_DTMF_UNSPECIFIED value + * @property {number} DTMF_ONE=1 DTMF_ONE value + * @property {number} DTMF_TWO=2 DTMF_TWO value + * @property {number} DTMF_THREE=3 DTMF_THREE value + * @property {number} DTMF_FOUR=4 DTMF_FOUR value + * @property {number} DTMF_FIVE=5 DTMF_FIVE value + * @property {number} DTMF_SIX=6 DTMF_SIX value + * @property {number} DTMF_SEVEN=7 DTMF_SEVEN value + * @property {number} DTMF_EIGHT=8 DTMF_EIGHT value + * @property {number} DTMF_NINE=9 DTMF_NINE value + * @property {number} DTMF_ZERO=10 DTMF_ZERO value + * @property {number} DTMF_A=11 DTMF_A value + * @property {number} DTMF_B=12 DTMF_B value + * @property {number} DTMF_C=13 DTMF_C value + * @property {number} DTMF_D=14 DTMF_D value + * @property {number} DTMF_STAR=15 DTMF_STAR value + * @property {number} DTMF_POUND=16 DTMF_POUND value + */ + v2beta1.TelephonyDtmf = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "TELEPHONY_DTMF_UNSPECIFIED"] = 0; + values[valuesById[1] = "DTMF_ONE"] = 1; + values[valuesById[2] = "DTMF_TWO"] = 2; + values[valuesById[3] = "DTMF_THREE"] = 3; + values[valuesById[4] = "DTMF_FOUR"] = 4; + values[valuesById[5] = "DTMF_FIVE"] = 5; + values[valuesById[6] = "DTMF_SIX"] = 6; + values[valuesById[7] = "DTMF_SEVEN"] = 7; + values[valuesById[8] = "DTMF_EIGHT"] = 8; + values[valuesById[9] = "DTMF_NINE"] = 9; + values[valuesById[10] = "DTMF_ZERO"] = 10; + values[valuesById[11] = "DTMF_A"] = 11; + values[valuesById[12] = "DTMF_B"] = 12; + values[valuesById[13] = "DTMF_C"] = 13; + values[valuesById[14] = "DTMF_D"] = 14; + values[valuesById[15] = "DTMF_STAR"] = 15; + values[valuesById[16] = "DTMF_POUND"] = 16; + return values; + })(); + v2beta1.ValidationError = (function() { /** @@ -67712,6 +68057,7 @@ * @property {number|null} [stability] StreamingRecognitionResult stability * @property {Array.|null} [speechWordInfo] StreamingRecognitionResult speechWordInfo * @property {google.protobuf.IDuration|null} [speechEndOffset] StreamingRecognitionResult speechEndOffset + * @property {google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents|null} [dtmfDigits] StreamingRecognitionResult dtmfDigits */ /** @@ -67786,6 +68132,14 @@ */ StreamingRecognitionResult.prototype.speechEndOffset = null; + /** + * StreamingRecognitionResult dtmfDigits. + * @member {google.cloud.dialogflow.v2beta1.ITelephonyDtmfEvents|null|undefined} dtmfDigits + * @memberof google.cloud.dialogflow.v2beta1.StreamingRecognitionResult + * @instance + */ + StreamingRecognitionResult.prototype.dtmfDigits = null; + /** * Creates a new StreamingRecognitionResult instance using the specified properties. * @function create @@ -67818,6 +68172,8 @@ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isFinal); if (message.confidence != null && Object.hasOwnProperty.call(message, "confidence")) writer.uint32(/* id 4, wireType 5 =*/37).float(message.confidence); + if (message.dtmfDigits != null && Object.hasOwnProperty.call(message, "dtmfDigits")) + $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.encode(message.dtmfDigits, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); if (message.stability != null && Object.hasOwnProperty.call(message, "stability")) writer.uint32(/* id 6, wireType 5 =*/53).float(message.stability); if (message.speechWordInfo != null && message.speechWordInfo.length) @@ -67882,6 +68238,9 @@ case 8: message.speechEndOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; + case 5: + message.dtmfDigits = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -67952,6 +68311,11 @@ if (error) return "speechEndOffset." + error; } + if (message.dtmfDigits != null && message.hasOwnProperty("dtmfDigits")) { + var error = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.verify(message.dtmfDigits); + if (error) + return "dtmfDigits." + error; + } return null; }; @@ -68004,6 +68368,11 @@ throw TypeError(".google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.speechEndOffset: object expected"); message.speechEndOffset = $root.google.protobuf.Duration.fromObject(object.speechEndOffset); } + if (object.dtmfDigits != null) { + if (typeof object.dtmfDigits !== "object") + throw TypeError(".google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.dtmfDigits: object expected"); + message.dtmfDigits = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.fromObject(object.dtmfDigits); + } return message; }; @@ -68027,6 +68396,7 @@ object.transcript = ""; object.isFinal = false; object.confidence = 0; + object.dtmfDigits = null; object.stability = 0; object.speechEndOffset = null; } @@ -68038,6 +68408,8 @@ object.isFinal = message.isFinal; if (message.confidence != null && message.hasOwnProperty("confidence")) object.confidence = options.json && !isFinite(message.confidence) ? String(message.confidence) : message.confidence; + if (message.dtmfDigits != null && message.hasOwnProperty("dtmfDigits")) + object.dtmfDigits = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.toObject(message.dtmfDigits, options); if (message.stability != null && message.hasOwnProperty("stability")) object.stability = options.json && !isFinite(message.stability) ? String(message.stability) : message.stability; if (message.speechWordInfo && message.speechWordInfo.length) { diff --git a/packages/google-cloud-dialogflow/protos/protos.json b/packages/google-cloud-dialogflow/protos/protos.json index 827588496de..525fa09f4dc 100644 --- a/packages/google-cloud-dialogflow/protos/protos.json +++ b/packages/google-cloud-dialogflow/protos/protos.json @@ -3514,7 +3514,8 @@ "requestType": "GetValidationResultRequest", "responseType": "ValidationResult", "options": { - "(google.api.http).get": "/v2beta1/{parent=projects/*}/agent/validationResult" + "(google.api.http).get": "/v2beta1/{parent=projects/*}/agent/validationResult", + "(google.api.http).additional_bindings.get": "/v2beta1/{parent=projects/*/locations/*}/agent/validationResult" } } } @@ -3917,6 +3918,18 @@ } } }, + "AudioEncoding": { + "values": { + "AUDIO_ENCODING_UNSPECIFIED": 0, + "AUDIO_ENCODING_LINEAR_16": 1, + "AUDIO_ENCODING_FLAC": 2, + "AUDIO_ENCODING_MULAW": 3, + "AUDIO_ENCODING_AMR": 4, + "AUDIO_ENCODING_AMR_WB": 5, + "AUDIO_ENCODING_OGG_OPUS": 6, + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7 + } + }, "SpeechContext": { "fields": { "phrases": { @@ -3930,18 +3943,6 @@ } } }, - "AudioEncoding": { - "values": { - "AUDIO_ENCODING_UNSPECIFIED": 0, - "AUDIO_ENCODING_LINEAR_16": 1, - "AUDIO_ENCODING_FLAC": 2, - "AUDIO_ENCODING_MULAW": 3, - "AUDIO_ENCODING_AMR": 4, - "AUDIO_ENCODING_AMR_WB": 5, - "AUDIO_ENCODING_OGG_OPUS": 6, - "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7 - } - }, "SpeechWordInfo": { "fields": { "word": { @@ -4087,6 +4088,36 @@ "OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3 } }, + "TelephonyDtmfEvents": { + "fields": { + "dtmfEvents": { + "rule": "repeated", + "type": "TelephonyDtmf", + "id": 1 + } + } + }, + "TelephonyDtmf": { + "values": { + "TELEPHONY_DTMF_UNSPECIFIED": 0, + "DTMF_ONE": 1, + "DTMF_TWO": 2, + "DTMF_THREE": 3, + "DTMF_FOUR": 4, + "DTMF_FIVE": 5, + "DTMF_SIX": 6, + "DTMF_SEVEN": 7, + "DTMF_EIGHT": 8, + "DTMF_NINE": 9, + "DTMF_ZERO": 10, + "DTMF_A": 11, + "DTMF_B": 12, + "DTMF_C": 13, + "DTMF_D": 14, + "DTMF_STAR": 15, + "DTMF_POUND": 16 + } + }, "ValidationError": { "fields": { "severity": { @@ -7109,6 +7140,10 @@ "speechEndOffset": { "type": "google.protobuf.Duration", "id": 8 + }, + "dtmfDigits": { + "type": "TelephonyDtmfEvents", + "id": 5 } }, "nested": { diff --git a/packages/google-cloud-dialogflow/src/v2beta1/agents_client.ts b/packages/google-cloud-dialogflow/src/v2beta1/agents_client.ts index 525bdaddc91..8d374ad1cc6 100644 --- a/packages/google-cloud-dialogflow/src/v2beta1/agents_client.ts +++ b/packages/google-cloud-dialogflow/src/v2beta1/agents_client.ts @@ -467,7 +467,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project that the agent to fetch is associated with. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -646,7 +647,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project that the agent to delete is associated with. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -739,7 +741,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project that the agent is associated with. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {string} [request.languageCode] * Optional. The language for which you want a validation result. If not * specified, the agent's default language is used. [Many @@ -846,7 +849,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project that the agent to train is associated with. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -981,7 +985,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project that the agent to export is associated with. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {string} request.agentUri * Optional. The * [Google Cloud Storage](https://cloud.google.com/storage/docs/) @@ -1135,7 +1140,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project that the agent to import is associated with. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {string} request.agentUri * The URI to a Google Cloud Storage file containing the agent to import. * Note: The URI must start with "gs://". @@ -1284,7 +1290,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project that the agent to restore is associated with. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {string} request.agentUri * The URI to a Google Cloud Storage file containing the agent to restore. * Note: The URI must start with "gs://". @@ -1421,7 +1428,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project to list agents from. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. @@ -1507,7 +1515,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project to list agents from. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. @@ -1549,7 +1558,8 @@ export class AgentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The project to list agents from. - * Format: `projects/`. + * Format: `projects/` or + * `projects//locations/`. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. diff --git a/packages/google-cloud-dialogflow/src/v2beta1/contexts_client.ts b/packages/google-cloud-dialogflow/src/v2beta1/contexts_client.ts index 4f5ca1668de..262e8801b1a 100644 --- a/packages/google-cloud-dialogflow/src/v2beta1/contexts_client.ts +++ b/packages/google-cloud-dialogflow/src/v2beta1/contexts_client.ts @@ -397,12 +397,20 @@ export class ContextsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.name - * Required. The name of the context. Format: - * `projects//agent/sessions//contexts/` - * or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is - * not specified, we assume default 'draft' environment. If `User ID` is not - * specified, we assume default '-' user. + * Required. The name of the context. Supported formats: + * - `projects//agent/sessions//contexts/`, + * - `projects//locations//agent/sessions//contexts/`, + * - `projects//agent/environments//users//sessions//contexts/`, + * - `projects//locations//agent/environments//users//sessions//contexts/`, + * + * 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 assume default '-' user. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -492,12 +500,19 @@ export class ContextsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The session to create a context for. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - * default 'draft' environment. If `User ID` is not specified, we assume - * default '-' user. + * Required. The session to create a context for. Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {google.cloud.dialogflow.v2beta1.Context} request.context * Required. The context to create. * @param {object} [options] @@ -677,12 +692,20 @@ export class ContextsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.name - * Required. The name of the context to delete. Format: - * `projects//agent/sessions//contexts/` - * or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is - * not specified, we assume default 'draft' environment. If `User ID` is not - * specified, we assume default '-' user. + * Required. The name of the context to delete. Supported formats: + * - `projects//agent/sessions//contexts/`, + * - `projects//locations//agent/sessions//contexts/`, + * - `projects//agent/environments//users//sessions//contexts/`, + * - `projects//locations//agent/environments//users//sessions//contexts/`, + * + * 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 assume default '-' user. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -773,11 +796,19 @@ export class ContextsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The name of the session to delete all contexts from. Format: - * `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified we assume default 'draft' - * environment. If `User ID` is not specified, we assume default '-' user. + * Required. The name of the session to delete all contexts from. Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -869,12 +900,19 @@ export class ContextsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The session to list all contexts from. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - * default 'draft' environment. If `User ID` is not specified, we assume - * default '-' user. + * Required. The session to list all contexts from. Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. @@ -959,12 +997,19 @@ export class ContextsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The session to list all contexts from. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - * default 'draft' environment. If `User ID` is not specified, we assume - * default '-' user. + * Required. The session to list all contexts from. Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. @@ -1005,12 +1050,19 @@ export class ContextsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The session to list all contexts from. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - * default 'draft' environment. If `User ID` is not specified, we assume - * default '-' user. + * Required. The session to list all contexts from. Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. diff --git a/packages/google-cloud-dialogflow/src/v2beta1/entity_types_client.ts b/packages/google-cloud-dialogflow/src/v2beta1/entity_types_client.ts index d0ac633ee8a..06724f531c1 100644 --- a/packages/google-cloud-dialogflow/src/v2beta1/entity_types_client.ts +++ b/packages/google-cloud-dialogflow/src/v2beta1/entity_types_client.ts @@ -487,7 +487,10 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.name * Required. The name of the entity type. - * Format: `projects//agent/entityTypes/`. + * Supported formats: + * - `projects//agent/entityTypes/` + * - `projects//locations//agent/entityTypes/` * @param {string} [request.languageCode] * Optional. The language used to access language-specific data. * If not specified, the agent's default language is used. @@ -585,7 +588,9 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The agent to create a entity type for. - * Format: `projects//agent`. + * Supported formats: + * - `projects//agent` + * - `projects//locations//agent` * @param {google.cloud.dialogflow.v2beta1.EntityType} request.entityType * Required. The entity type to create. * @param {string} [request.languageCode] @@ -790,7 +795,10 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.name * Required. The name of the entity type to delete. - * Format: `projects//agent/entityTypes/`. + * Supported formats: + * - `projects//agent/entityTypes/` + * - `projects//locations//agent/entityTypes/` * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -889,7 +897,9 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The name of the agent to update or create entity types in. - * Format: `projects//agent`. + * Supported formats: + * - `projects//agent` + * - `projects//locations//agent` * @param {string} request.entityTypeBatchUri * The URI to a Google Cloud Storage file containing entity types to update * or create. The file format can either be a serialized proto (of @@ -1043,8 +1053,10 @@ export class EntityTypesClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The name of the agent to delete all entities types for. Format: - * `projects//agent`. + * Required. The name of the agent to delete all entities types for. + * Supported formats: + * - `projects//agent`, + * - `projects//locations//agent`. * @param {string[]} request.entityTypeNames * Required. The names entity types to delete. All names must point to the * same agent as `parent`. @@ -1184,8 +1196,11 @@ export class EntityTypesClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The name of the entity type to create entities in. Format: - * `projects//agent/entityTypes/`. + * Required. The name of the entity type to create entities in. + * Supported formats: + * - `projects//agent/entityTypes/` + * - `projects//locations//agent/entityTypes/` * @param {number[]} request.entities * Required. The entities to create. * @param {string} [request.languageCode] @@ -1329,7 +1344,10 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The name of the entity type to update or create entities in. - * Format: `projects//agent/entityTypes/`. + * Supported formats: + * - `projects//agent/entityTypes/` + * - `projects//locations//agent/entityTypes/` * @param {number[]} request.entities * Required. The entities to update or create. * @param {string} [request.languageCode] @@ -1472,8 +1490,11 @@ export class EntityTypesClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The name of the entity type to delete entries for. Format: - * `projects//agent/entityTypes/`. + * Required. The name of the entity type to delete entries for. + * Supported formats: + * - `projects//agent/entityTypes/` + * - `projects//locations//agent/entityTypes/` * @param {string[]} request.entityValues * Required. The reference `values` of the entities to delete. Note that * these are not fully-qualified names, i.e. they don't start with @@ -1610,7 +1631,9 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The agent to list all entity types from. - * Format: `projects//agent`. + * Supported formats: + * - `projects//agent` + * - `projects//locations//agent` * @param {string} [request.languageCode] * Optional. The language used to access language-specific data. * If not specified, the agent's default language is used. @@ -1702,7 +1725,9 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The agent to list all entity types from. - * Format: `projects//agent`. + * Supported formats: + * - `projects//agent` + * - `projects//locations//agent` * @param {string} [request.languageCode] * Optional. The language used to access language-specific data. * If not specified, the agent's default language is used. @@ -1750,7 +1775,9 @@ export class EntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The agent to list all entity types from. - * Format: `projects//agent`. + * Supported formats: + * - `projects//agent` + * - `projects//locations//agent` * @param {string} [request.languageCode] * Optional. The language used to access language-specific data. * If not specified, the agent's default language is used. diff --git a/packages/google-cloud-dialogflow/src/v2beta1/environments_client.ts b/packages/google-cloud-dialogflow/src/v2beta1/environments_client.ts index 0b5fe0036ea..6767ba7ba94 100644 --- a/packages/google-cloud-dialogflow/src/v2beta1/environments_client.ts +++ b/packages/google-cloud-dialogflow/src/v2beta1/environments_client.ts @@ -391,8 +391,7 @@ export class EnvironmentsClient { * Required. The agent to list all environments from. * Format: * - `projects//agent` - * - `projects//locations//agent + * - `projects//locations//agent` * @param {number} [request.pageSize] * Optional. The maximum number of items to return in a single page. By default 100 and * at most 1000. @@ -480,8 +479,7 @@ export class EnvironmentsClient { * Required. The agent to list all environments from. * Format: * - `projects//agent` - * - `projects//locations//agent + * - `projects//locations//agent` * @param {number} [request.pageSize] * Optional. The maximum number of items to return in a single page. By default 100 and * at most 1000. @@ -525,8 +523,7 @@ export class EnvironmentsClient { * Required. The agent to list all environments from. * Format: * - `projects//agent` - * - `projects//locations//agent + * - `projects//locations//agent` * @param {number} [request.pageSize] * Optional. The maximum number of items to return in a single page. By default 100 and * at most 1000. diff --git a/packages/google-cloud-dialogflow/src/v2beta1/intents_client.ts b/packages/google-cloud-dialogflow/src/v2beta1/intents_client.ts index 1391504f151..6c3cc409822 100644 --- a/packages/google-cloud-dialogflow/src/v2beta1/intents_client.ts +++ b/packages/google-cloud-dialogflow/src/v2beta1/intents_client.ts @@ -443,7 +443,10 @@ export class IntentsClient { * The request object that will be sent. * @param {string} request.name * Required. The name of the intent. - * Format: `projects//agent/intents/`. + * Supported formats: + * + * - `projects//agent/intents/` + * - `projects//locations//agent/intents/` * @param {string} [request.languageCode] * Optional. The language used to access language-specific data. * If not specified, the agent's default language is used. @@ -540,7 +543,10 @@ export class IntentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The agent to create a intent for. - * Format: `projects//agent`. + * Supported formats: + * + * - `projects//agent` + * - `projects//locations//agent` * @param {google.cloud.dialogflow.v2beta1.Intent} request.intent * Required. The intent to create. * @param {string} [request.languageCode] @@ -739,7 +745,10 @@ export class IntentsClient { * Required. The name of the intent to delete. If this intent has direct or * indirect followup intents, we also delete them. * - * Format: `projects//agent/intents/`. + * Supported formats: + * + * - `projects//agent/intents/` + * - `projects//locations//agent/intents/` * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -836,7 +845,10 @@ export class IntentsClient { * The request object that will be sent. * @param {string} request.parent * Required. The name of the agent to update or create intents in. - * Format: `projects//agent`. + * Supported formats: + * + * - `projects//agent` + * - `projects//locations//agent` * @param {string} request.intentBatchUri * The URI to a Google Cloud Storage file containing intents to update or * create. The file format can either be a serialized proto (of IntentBatch @@ -988,8 +1000,11 @@ export class IntentsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.parent - * Required. The name of the agent to delete all entities types for. Format: - * `projects//agent`. + * Required. The name of the agent to delete all entities types for. + * Supported formats: + * + * - `projects//agent` + * - `projects//locations//agent` * @param {number[]} request.intents * Required. The collection of intents to delete. Only intent `name` must be * filled in. diff --git a/packages/google-cloud-dialogflow/src/v2beta1/session_entity_types_client.ts b/packages/google-cloud-dialogflow/src/v2beta1/session_entity_types_client.ts index 997eb33ae58..e86e4ab70b1 100644 --- a/packages/google-cloud-dialogflow/src/v2beta1/session_entity_types_client.ts +++ b/packages/google-cloud-dialogflow/src/v2beta1/session_entity_types_client.ts @@ -404,12 +404,20 @@ export class SessionEntityTypesClient { * @param {Object} request * The request object that will be sent. * @param {string} request.name - * Required. The name of the session entity type. Format: - * `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - * environment. If `User ID` is not specified, we assume default '-' user. + * Required. The name of the session entity type. Supported formats: + * - `projects//agent/sessions//entityTypes/` + * - `projects//locations//agent/sessions//entityTypes/` + * - `projects//agent/environments//users//sessions//entityTypes/` + * - `projects//locations//agent/environments/ + * /users//sessions//entityTypes/` + * + * 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 assume default '-' user. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -511,11 +519,19 @@ export class SessionEntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The session to create a session entity type for. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users// - * sessions/`. If `Environment ID` is not specified, we assume - * default 'draft' environment. If `User ID` is not specified, we assume - * default '-' user. + * Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {google.cloud.dialogflow.v2beta1.SessionEntityType} request.sessionEntityType * Required. The session entity type to create. * @param {object} [options] @@ -723,12 +739,21 @@ export class SessionEntityTypesClient { * @param {Object} request * The request object that will be sent. * @param {string} request.name - * Required. The name of the entity type to delete. Format: - * `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - * environment. If `User ID` is not specified, we assume default '-' user. + * Required. The name of the entity type to delete. + * Supported formats: + * - `projects//agent/sessions//entityTypes/` + * - `projects//locations//agent/sessions//entityTypes/` + * - `projects//agent/environments//users//sessions//entityTypes/` + * - `projects//locations//agent/environments/ + * /users//sessions//entityTypes/` + * + * 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 assume default '-' user. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -829,11 +854,19 @@ export class SessionEntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The session to list all session entity types from. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users// - * sessions/`. - * If `Environment ID` is not specified, we assume default 'draft' - * environment. If `User ID` is not specified, we assume default '-' user. + * Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. @@ -923,11 +956,19 @@ export class SessionEntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The session to list all session entity types from. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users// - * sessions/`. - * If `Environment ID` is not specified, we assume default 'draft' - * environment. If `User ID` is not specified, we assume default '-' user. + * Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. @@ -969,11 +1010,19 @@ export class SessionEntityTypesClient { * The request object that will be sent. * @param {string} request.parent * Required. The session to list all session entity types from. - * Format: `projects//agent/sessions/` or - * `projects//agent/environments//users// - * sessions/`. - * If `Environment ID` is not specified, we assume default 'draft' - * environment. If `User ID` is not specified, we assume default '-' user. + * Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 assume default '-' user. * @param {number} request.pageSize * Optional. The maximum number of items to return in a single page. By * default 100 and at most 1000. diff --git a/packages/google-cloud-dialogflow/src/v2beta1/sessions_client.ts b/packages/google-cloud-dialogflow/src/v2beta1/sessions_client.ts index a03d2fae306..d59f11b82f1 100644 --- a/packages/google-cloud-dialogflow/src/v2beta1/sessions_client.ts +++ b/packages/google-cloud-dialogflow/src/v2beta1/sessions_client.ts @@ -387,16 +387,22 @@ export class SessionsClient { * @param {Object} request * The request object that will be sent. * @param {string} request.session - * Required. The name of the session this query is sent to. Format: - * `projects//agent/sessions/`, or - * `projects//agent/environments//users//sessions/`. 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. - * + * Required. The name of the session this query is sent to. Supported formats: + * - `projects//agent/sessions/, + * - `projects//locations//agent/sessions/`, + * - `projects//agent/environments//users//sessions/`, + * - `projects//locations//agent/environments//users//sessions/`, + * + * 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 * guide](https://cloud.google.com/dialogflow/docs/api-overview). * @param {google.cloud.dialogflow.v2beta1.QueryParameters} request.queryParams diff --git a/packages/google-cloud-dialogflow/synth.metadata b/packages/google-cloud-dialogflow/synth.metadata index 1f4bbc8fca8..805e3019d8a 100644 --- a/packages/google-cloud-dialogflow/synth.metadata +++ b/packages/google-cloud-dialogflow/synth.metadata @@ -4,22 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/nodejs-dialogflow.git", - "sha": "217bb9c209000d20157fc6478cd9a26369e8b106" + "sha": "3cba5aa9f4cf11f586b114c2a03757a3f7409dcf" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b100ad424293ce5d5378e9067d9d83c4973a115a", - "internalRef": "331189912" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "fdd03c161003ab97657cc0218f25c82c89ddf4b6" + "sha": "791be5a40033c18034afed50232daad6bdc8cf3e", + "internalRef": "331627223" } }, {