diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/advanced_settings.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/advanced_settings.proto index c28ca4c33b5..4cf5dfdc0ed 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/advanced_settings.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/advanced_settings.proto @@ -20,7 +20,6 @@ import "google/api/field_behavior.proto"; import "google/cloud/dialogflow/cx/v3/gcs.proto"; import "google/protobuf/duration.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -87,7 +86,7 @@ message AdvancedSettings { // Define behaviors on logging. message LoggingSettings { - // Enables StackDriver logging. + // Enables Google Cloud Logging. bool enable_stackdriver_logging = 2; // Enables DF Interaction logging. diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/agent.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/agent.proto index 703fe4237e6..edf65344b9c 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/agent.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/agent.proto @@ -29,7 +29,6 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -37,6 +36,10 @@ option java_outer_classname = "AgentProto"; option java_package = "com.google.cloud.dialogflow.cx.v3"; option objc_class_prefix = "DF"; option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; +option (google.api.resource_definition) = { + type: "secretmanager.googleapis.com/SecretVersion" + pattern: "projects/{project}/secrets/{secret}/versions/{version}" +}; // Service for managing [Agents][google.cloud.dialogflow.cx.v3.Agent]. service Agents { @@ -268,13 +271,41 @@ message Agent { [(google.api.field_behavior) = OPTIONAL]; } + // Settings for custom client certificates. + message ClientCertificateSettings { + // Required. The ssl certificate encoded in PEM format. This string must + // include the begin header and end footer lines. + string ssl_certificate = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the SecretManager secret version resource storing + // the private key encoded in PEM format. Format: + // `projects/{project}/secrets/{secret}/versions/{version}` + string private_key = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + + // Optional. The name of the SecretManager secret version resource storing + // the passphrase. 'passphrase' should be left unset if the private key is + // not encrypted. + // Format: `projects/{project}/secrets/{secret}/versions/{version}` + string passphrase = 3 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + } + // The unique identifier of the agent. // Required for the // [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] // method. // [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] // populates the name automatically. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string name = 1; // Required. The human-readable name of the agent, unique within the location. @@ -316,8 +347,8 @@ message Agent { // Immutable. Name of the start flow in this agent. A start flow will be // automatically created when the agent is created, and can only be deleted by - // deleting the agent. Format: `projects//locations//agents//flows/`. + // deleting the agent. Format: + // `projects//locations//agents//flows/`. string start_flow = 16 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } @@ -325,8 +356,8 @@ message Agent { // Name of the // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] - // reference for the agent. Format: `projects//locations//securitySettings/`. + // reference for the agent. Format: + // `projects//locations//securitySettings/`. string security_settings = 17 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/SecuritySettings" }]; @@ -371,13 +402,17 @@ message Agent { // Optional. Settings for end user personalization. PersonalizationSettings personalization_settings = 42 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Settings for custom client certificates. + ClientCertificateSettings client_certificate_settings = 43 + [(google.api.field_behavior) = OPTIONAL]; } // The request message for // [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents]. message ListAgentsRequest { // Required. The location to list all agents for. - // Format: `projects//locations/`. + // Format: `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -409,7 +444,7 @@ message ListAgentsResponse { // [Agents.GetAgent][google.cloud.dialogflow.cx.v3.Agents.GetAgent]. message GetAgentRequest { // Required. The name of the agent. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -422,7 +457,7 @@ message GetAgentRequest { // [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent]. message CreateAgentRequest { // Required. The location to create a agent for. - // Format: `projects//locations/`. + // Format: `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -449,7 +484,7 @@ message UpdateAgentRequest { // [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3.Agents.DeleteAgent]. message DeleteAgentRequest { // Required. The name of the agent to delete. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -483,7 +518,7 @@ message ExportAgentRequest { } // Required. The name of the agent to export. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -508,8 +543,8 @@ message ExportAgentRequest { DataFormat data_format = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Environment name. If not set, draft environment is assumed. - // Format: `projects//locations//agents//environments/`. + // Format: + // `projects//locations//agents//environments/`. string environment = 5 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { @@ -572,7 +607,7 @@ message RestoreAgentRequest { } // Required. The name of the agent to restore into. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -608,7 +643,7 @@ message RestoreAgentRequest { // [Agents.ValidateAgent][google.cloud.dialogflow.cx.v3.Agents.ValidateAgent]. message ValidateAgentRequest { // Required. The agent to validate. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -624,8 +659,8 @@ message ValidateAgentRequest { // [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. message GetAgentValidationResultRequest { // Required. The agent name. - // Format: `projects//locations//agents//validationResult`. + // Format: + // `projects//locations//agents//validationResult`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -646,8 +681,8 @@ message AgentValidationResult { }; // The unique identifier of the agent validation result. - // Format: `projects//locations//agents//validationResult`. + // Format: + // `projects//locations//agents//validationResult`. string name = 1; // Contains all flow validation results. @@ -658,8 +693,8 @@ message AgentValidationResult { // [GetGenerativeSettings][google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings] // RPC. message GetGenerativeSettingsRequest { - // Required. Format: `projects//locations//agents//generativeSettings`. + // Required. Format: + // `projects//locations//agents//generativeSettings`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/audio_config.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/audio_config.proto index 458b22a2fc5..ecd7190f0ac 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/audio_config.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/audio_config.proto @@ -80,6 +80,9 @@ enum AudioEncoding { // is replaced with a single byte containing the block length. Only Speex // wideband is supported. `sample_rate_hertz` must be 16000. AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; + + // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. + AUDIO_ENCODING_ALAW = 8; } // Variant of the specified [Speech @@ -324,6 +327,9 @@ enum OutputAudioEncoding { // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. OUTPUT_AUDIO_ENCODING_MULAW = 5; + + // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. + OUTPUT_AUDIO_ENCODING_ALAW = 6; } // Instructs the speech synthesizer how to generate the output audio content. diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/changelog.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/changelog.proto index d3bab51b6fc..13a00b8f0dc 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/changelog.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/changelog.proto @@ -22,7 +22,6 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -59,7 +58,7 @@ service Changelogs { // [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs]. message ListChangelogsRequest { // Required. The agent containing the changelogs. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -114,8 +113,8 @@ message ListChangelogsResponse { // [Changelogs.GetChangelog][google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog]. message GetChangelogRequest { // Required. The name of the changelog to get. - // Format: `projects//locations//agents//changelogs/`. + // Format: + // `projects//locations//agents//changelogs/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -132,8 +131,8 @@ message Changelog { }; // The unique identifier of the changelog. - // Format: `projects//locations//agents//changelogs/`. + // Format: + // `projects//locations//agents//changelogs/`. string name = 1; // Email address of the authenticated user. diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/data_store_connection.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/data_store_connection.proto index 9cdeb58fb3b..e9970ab6dcd 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/data_store_connection.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/data_store_connection.proto @@ -18,7 +18,6 @@ package google.cloud.dialogflow.cx.v3; import "google/api/field_behavior.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/deployment.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/deployment.proto index eda0e2415e0..07456c75176 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/deployment.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/deployment.proto @@ -86,29 +86,29 @@ message Deployment { // Result of the deployment. message Result { // Results of test cases running before the deployment. - // Format: `projects//locations//agents//testCases//results/`. + // Format: + // `projects//locations//agents//testCases//results/`. repeated string deployment_test_results = 1 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TestCaseResult" }]; // The name of the experiment triggered by this deployment. - // Format: projects//locations//agents//environments//experiments/. + // Format: + // projects//locations//agents//environments//experiments/. string experiment = 2 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Experiment" }]; } // The name of the deployment. - // Format: projects//locations//agents//environments//deployments/. + // Format: + // projects//locations//agents//environments//deployments/. string name = 1; // The name of the flow version for this deployment. - // Format: projects//locations//agents//flows//versions/. + // Format: + // projects//locations//agents//flows//versions/. string flow_version = 2 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Version" }]; @@ -130,9 +130,8 @@ message Deployment { // [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments]. message ListDeploymentsRequest { // Required. The [Environment][google.cloud.dialogflow.cx.v3.Environment] to - // list all environments for. Format: `projects//locations//agents//environments/`. + // list all environments for. Format: + // `projects//locations//agents//environments/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -167,8 +166,7 @@ message ListDeploymentsResponse { message GetDeploymentRequest { // Required. The name of the // [Deployment][google.cloud.dialogflow.cx.v3.Deployment]. Format: - // `projects//locations//agents//environments//deployments/`. + // `projects//locations//agents//environments//deployments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/entity_type.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/entity_type.proto index e3dfd74b48e..00f76fb9c47 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/entity_type.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/entity_type.proto @@ -25,7 +25,6 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -225,8 +224,8 @@ message EntityType { // The unique identifier of the entity type. // Required for // [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType]. - // Format: `projects//locations//agents//entityTypes/`. + // Format: + // `projects//locations//agents//entityTypes/`. string name = 1; // Required. The human-readable name of the entity type, unique within the @@ -274,8 +273,7 @@ message ExportEntityTypesRequest { } // Required. The name of the parent agent to export entity types. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -284,8 +282,8 @@ message ExportEntityTypesRequest { ]; // Required. The name of the entity types to export. - // Format: `projects//locations//agents//entityTypes/`. + // Format: + // `projects//locations//agents//entityTypes/`. repeated string entity_types = 2 [(google.api.field_behavior) = REQUIRED]; // The destination to export. @@ -378,7 +376,7 @@ message ImportEntityTypesRequest { } // Required. The agent to import the entity types into. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -407,8 +405,8 @@ message ImportEntityTypesRequest { MergeOption merge_option = 4 [(google.api.field_behavior) = REQUIRED]; // Optional. The target entity type to import into. - // Format: `projects//locations//agents//entity_types/`. + // Format: + // `projects//locations//agents//entity_types/`. // If set, there should be only one entity type included in // [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], // of which the type should match the type of the target entity type. All @@ -437,8 +435,8 @@ message ImportEntityTypesResponse { } // The unique identifier of the imported entity types. - // Format: `projects//locations//agents//entity_types/`. + // Format: + // `projects//locations//agents//entity_types/`. repeated string entity_types = 1 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/EntityType" }]; @@ -458,7 +456,7 @@ message ImportEntityTypesMetadata {} // [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes]. message ListEntityTypesRequest { // Required. The agent to list all entity types for. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -504,8 +502,8 @@ message ListEntityTypesResponse { // [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType]. message GetEntityTypeRequest { // Required. The name of the entity type. - // Format: `projects//locations//agents//entityTypes/`. + // Format: + // `projects//locations//agents//entityTypes/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -532,7 +530,7 @@ message GetEntityTypeRequest { // [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType]. message CreateEntityTypeRequest { // Required. The agent to create a entity type for. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -584,8 +582,8 @@ message UpdateEntityTypeRequest { // [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType]. message DeleteEntityTypeRequest { // Required. The name of the entity type to delete. - // Format: `projects//locations//agents//entityTypes/`. + // Format: + // `projects//locations//agents//entityTypes/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/environment.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/environment.proto index 75f45ee069b..c1963e40e65 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/environment.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/environment.proto @@ -28,7 +28,6 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -201,8 +200,11 @@ message Environment { // Configuration for the version. message VersionConfig { - // Required. Format: projects//locations//agents//flows//versions/. + // Required. Both flow and playbook versions are supported. + // Format for flow version: + // projects//locations//agents//flows//versions/. + // Format for playbook version: + // projects//locations//agents//playbooks//versions/. string version = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -214,8 +216,8 @@ message Environment { // The configuration for continuous tests. message TestCasesConfig { // A list of test case names to run. They should be under the same agent. - // Format of each test case name: `projects//locations/ - // /agents//testCases/` + // Format of each test case name: + // `projects//locations//agents//testCases/` repeated string test_cases = 1 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TestCase" }]; @@ -242,8 +244,8 @@ message Environment { } // The name of the environment. - // Format: `projects//locations//agents//environments/`. + // Format: + // `projects//locations//agents//environments/`. string name = 1; // Required. The human-readable name of the environment (unique in an agent). @@ -275,8 +277,8 @@ message Environment { // [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments]. message ListEnvironmentsRequest { // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to list all - // environments for. Format: `projects//locations//agents/`. + // environments for. Format: + // `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -311,8 +313,7 @@ message ListEnvironmentsResponse { message GetEnvironmentRequest { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment]. Format: - // `projects//locations//agents//environments/`. + // `projects//locations//agents//environments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -326,7 +327,7 @@ message GetEnvironmentRequest { message CreateEnvironmentRequest { // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an // [Environment][google.cloud.dialogflow.cx.v3.Environment] for. Format: - // `projects//locations//agents/`. + // `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -354,8 +355,7 @@ message UpdateEnvironmentRequest { message DeleteEnvironmentRequest { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete. Format: - // `projects//locations//agents//environments/`. + // `projects//locations//agents//environments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -368,8 +368,8 @@ message DeleteEnvironmentRequest { // [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory]. message LookupEnvironmentHistoryRequest { // Required. Resource name of the environment to look up the history for. - // Format: `projects//locations//agents//environments/`. + // Format: + // `projects//locations//agents//environments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -418,9 +418,7 @@ message ContinuousTestResult { } // The resource name for the continuous test result. Format: - // `projects//locations//agents//environments//continuousTestResults/`. + // `projects//locations//agents//environments//continuousTestResults/`. string name = 1; // The result of this continuous test run, i.e. whether all the tests in this @@ -439,8 +437,8 @@ message ContinuousTestResult { // The request message for // [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. message RunContinuousTestRequest { - // Required. Format: `projects//locations//agents//environments/`. + // Required. Format: + // `projects//locations//agents//environments/`. string environment = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -468,8 +466,8 @@ message RunContinuousTestMetadata { // [Environments.ListContinuousTestResults][google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults]. message ListContinuousTestResultsRequest { // Required. The environment to list results for. - // Format: `projects//locations//agents// - // environments/`. + // Format: + // `projects//locations//agents//environments/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -499,8 +497,8 @@ message ListContinuousTestResultsResponse { // [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow]. message DeployFlowRequest { // Required. The environment to deploy the flow to. - // Format: `projects//locations//agents// - // environments/`. + // Format: + // `projects//locations//agents//environments/`. string environment = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -509,8 +507,8 @@ message DeployFlowRequest { ]; // Required. The flow version to deploy. - // Format: `projects//locations//agents// - // flows//versions/`. + // Format: + // `projects//locations//agents//flows//versions/`. string flow_version = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -527,8 +525,7 @@ message DeployFlowResponse { // The name of the flow version // [Deployment][google.cloud.dialogflow.cx.v3.Deployment]. Format: - // `projects//locations//agents// - // environments//deployments/`. + // `projects//locations//agents//environments//deployments/`. string deployment = 2; } diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/experiment.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/experiment.proto index 53f906116b7..a5657a362c2 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/experiment.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/experiment.proto @@ -25,7 +25,6 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -238,8 +237,8 @@ message Experiment { // Version variant and associated metrics. message VersionMetrics { // The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version]. - // Format: `projects//locations//agents//flows//versions/`. + // Format: + // `projects//locations//agents//flows//versions/`. string version = 1 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Version" }]; @@ -261,8 +260,8 @@ message Experiment { } // The name of the experiment. - // Format: projects//locations//agents//environments//experiments/.. + // Format: + // projects//locations//agents//environments//experiments/. string name = 1; // Required. The human-readable name of the experiment (unique in an @@ -324,8 +323,8 @@ message VersionVariants { // A single flow version with specified traffic allocation. message Variant { // The name of the flow version. - // Format: `projects//locations//agents//flows//versions/`. + // Format: + // `projects//locations//agents//flows//versions/`. string version = 1; // Percentage of the traffic which should be routed to this @@ -404,9 +403,8 @@ message RolloutState { // [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments]. message ListExperimentsRequest { // Required. The [Environment][google.cloud.dialogflow.cx.v3.Environment] to - // list all environments for. Format: `projects//locations//agents//environments/`. + // list all environments for. Format: + // `projects//locations//agents//environments/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -441,8 +439,7 @@ message ListExperimentsResponse { message GetExperimentRequest { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment]. Format: - // `projects//locations//agents//environments//experiments/`. + // `projects//locations//agents//environments//experiments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -456,8 +453,7 @@ message GetExperimentRequest { message CreateExperimentRequest { // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an // [Environment][google.cloud.dialogflow.cx.v3.Environment] for. Format: - // `projects//locations//agents//environments/`. + // `projects//locations//agents//environments/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -485,8 +481,7 @@ message UpdateExperimentRequest { message DeleteExperimentRequest { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete. Format: - // `projects//locations//agents//environments//experiments/`. + // `projects//locations//agents//environments//experiments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -499,8 +494,8 @@ message DeleteExperimentRequest { // [Experiments.StartExperiment][google.cloud.dialogflow.cx.v3.Experiments.StartExperiment]. message StartExperimentRequest { // Required. Resource name of the experiment to start. - // Format: `projects//locations//agents//environments//experiments/`. + // Format: + // `projects//locations//agents//environments//experiments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -513,8 +508,8 @@ message StartExperimentRequest { // [Experiments.StopExperiment][google.cloud.dialogflow.cx.v3.Experiments.StopExperiment]. message StopExperimentRequest { // Required. Resource name of the experiment to stop. - // Format: `projects//locations//agents//environments//experiments/`. + // Format: + // `projects//locations//agents//environments//experiments/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/flow.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/flow.proto index 8905a53ac68..e582089c727 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/flow.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/flow.proto @@ -30,7 +30,6 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -229,7 +228,8 @@ message NluSettings { // classification threshold. If the returned score value is less than the // threshold value, then a no-match event will be triggered. The score values // range from 0.0 (completely uncertain) to 1.0 (completely certain). If set - // to 0.0, the default of 0.3 is used. + // to 0.0, the default of 0.3 is used. You can set a separate classification + // threshold for the flow in each language enabled for the agent. float classification_threshold = 3; // Indicates NLU model training mode. @@ -277,8 +277,8 @@ message Flow { } // The unique identifier of the flow. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string name = 1; // Required. The human-readable name of the flow. @@ -329,11 +329,11 @@ message Flow { // route groups][Page.transition_route_groups]. Transition route groups // defined in the page have higher priority than those defined in the flow. // - // Format:`projects//locations//agents//flows//transitionRouteGroups/` - // or `projects//locations//agents//transitionRouteGroups/` for agent-level - // groups. + // Format: + // `projects//locations//agents//flows//transitionRouteGroups/` + // or + // `projects//locations//agents//transitionRouteGroups/` + // for agent-level groups. repeated string transition_route_groups = 15 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" @@ -363,7 +363,7 @@ message Flow { // [Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow]. message CreateFlowRequest { // Required. The agent to create a flow for. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -393,8 +393,8 @@ message CreateFlowRequest { // [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow]. message DeleteFlowRequest { // Required. The name of the flow to delete. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } @@ -417,7 +417,7 @@ message DeleteFlowRequest { // [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows]. message ListFlowsRequest { // Required. The agent containing the flows. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -464,8 +464,8 @@ message ListFlowsResponse { // [Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow]. message GetFlowRequest { // Required. The name of the flow to get. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } @@ -516,8 +516,8 @@ message UpdateFlowRequest { // [Flows.TrainFlow][google.cloud.dialogflow.cx.v3.Flows.TrainFlow]. message TrainFlowRequest { // Required. The flow to train. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } @@ -528,8 +528,8 @@ message TrainFlowRequest { // [Flows.ValidateFlow][google.cloud.dialogflow.cx.v3.Flows.ValidateFlow]. message ValidateFlowRequest { // Required. The flow to validate. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } @@ -543,8 +543,8 @@ message ValidateFlowRequest { // [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. message GetFlowValidationResultRequest { // Required. The flow name. - // Format: `projects//locations//agents//flows//validationResult`. + // Format: + // `projects//locations//agents//flows//validationResult`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -565,8 +565,8 @@ message FlowValidationResult { }; // The unique identifier of the flow validation result. - // Format: `projects//locations//agents//flows//validationResult`. + // Format: + // `projects//locations//agents//flows//validationResult`. string name = 1; // Contains all validation messages. @@ -596,7 +596,7 @@ message ImportFlowRequest { } // Required. The agent to import the flow into. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -645,8 +645,8 @@ message FlowImportStrategy { // [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow]. message ImportFlowResponse { // The unique identifier of the new flow. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string flow = 1 [ (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } ]; @@ -656,8 +656,8 @@ message ImportFlowResponse { // [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow]. message ExportFlowRequest { // Required. The name of the flow to export. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/fulfillment.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/fulfillment.proto index 273ca83095f..ed4f092352d 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/fulfillment.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/fulfillment.proto @@ -21,7 +21,6 @@ import "google/cloud/dialogflow/cx/v3/advanced_settings.proto"; import "google/cloud/dialogflow/cx/v3/response_message.proto"; import "google/protobuf/struct.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -94,8 +93,8 @@ message Fulfillment { repeated ResponseMessage messages = 1; // The webhook to call. - // Format: `projects//locations//agents//webhooks/`. + // Format: + // `projects//locations//agents//webhooks/`. string webhook = 2 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Webhook" }]; diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/gcs.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/gcs.proto index efe71d9fb9f..442ad5ba279 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/gcs.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/gcs.proto @@ -18,7 +18,6 @@ package google.cloud.dialogflow.cx.v3; import "google/api/field_behavior.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generative_settings.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generative_settings.proto index 416b2440db8..c7a335dfd7a 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generative_settings.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generative_settings.proto @@ -19,7 +19,6 @@ package google.cloud.dialogflow.cx.v3; import "google/api/resource.proto"; import "google/cloud/dialogflow/cx/v3/safety_settings.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -89,8 +88,8 @@ message GenerativeSettings { bool disable_data_store_fallback = 8; } - // Format: `projects//locations//agents//generativeSettings`. + // Format: + // `projects//locations//agents//generativeSettings`. string name = 5; // Settings for Generative Fallback. diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generator.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generator.proto index 78149e3b825..2e9f5511c21 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generator.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/generator.proto @@ -101,12 +101,39 @@ message Generator { string name = 2; } + // Parameters to be passed to the LLM. If not set, default values will be + // used. + message ModelParameter { + // The temperature used for sampling. Temperature sampling occurs after both + // topP and topK have been applied. + // Valid range: [0.0, 1.0] + // Low temperature = less random. High temperature = more random. + optional float temperature = 1; + + // The maximum number of tokens to generate. + optional int32 max_decode_steps = 2; + + // If set, only the tokens comprising the top top_p probability mass are + // considered. If both top_p and top_k are + // set, top_p will be used for further refining candidates selected with + // top_k. + // Valid range: (0.0, 1.0]. + // Small topP = less random. Large topP = more random. + optional float top_p = 3; + + // If set, the sampling process in each step is limited to the top_k tokens + // with highest probabilities. + // Valid range: [1, 40] or 1000+. + // Small topK = less random. Large topK = more random. + optional int32 top_k = 4; + } + // The unique identifier of the generator. // Must be set for the // [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator] // method. [Generators.CreateGenerate][] populates the name automatically. - // Format: `projects//locations//agents//generators/`. + // Format: + // `projects//locations//agents//generators/`. string name = 1; // Required. The human-readable name of the generator, unique within the @@ -121,6 +148,9 @@ message Generator { // Optional. List of custom placeholders in the prompt text. repeated Placeholder placeholders = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Parameters passed to the LLM to configure its behavior. + ModelParameter model_parameter = 8; } // Text input which can be used for prompt or banned phrases. @@ -133,7 +163,7 @@ message Phrase { // [Generators.ListGenerators][google.cloud.dialogflow.cx.v3.Generators.ListGenerators]. message ListGeneratorsRequest { // Required. The agent to list all generators for. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -168,8 +198,8 @@ message ListGeneratorsResponse { // [Generators.GetGenerator][google.cloud.dialogflow.cx.v3.Generators.GetGenerator]. message GetGeneratorRequest { // Required. The name of the generator. - // Format: `projects//locations//agents//generators/`. + // Format: + // `projects//locations//agents//generators/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -185,7 +215,7 @@ message GetGeneratorRequest { // [Generators.CreateGenerator][google.cloud.dialogflow.cx.v3.Generators.CreateGenerator]. message CreateGeneratorRequest { // Required. The agent to create a generator for. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -220,8 +250,8 @@ message UpdateGeneratorRequest { // [Generators.DeleteGenerator][google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator]. message DeleteGeneratorRequest { // Required. The name of the generator to delete. - // Format: `projects//locations//agents//generators/`. + // Format: + // `projects//locations//agents//generators/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/import_strategy.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/import_strategy.proto index 3008d8f51d8..a3f4cf12da0 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/import_strategy.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/import_strategy.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/intent.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/intent.proto index e47a28c6429..9059656b2de 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/intent.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/intent.proto @@ -25,7 +25,6 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -202,11 +201,12 @@ message Intent { string id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The entity type of the parameter. - // Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, + // Format: + // `projects/-/locations/-/agents/-/entityTypes/` for + // system entity types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - // `projects//locations//agents//entityTypes/` for developer entity types. + // `projects//locations//agents//entityTypes/` + // for developer entity types. string entity_type = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -232,8 +232,8 @@ message Intent { // method. // [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent] // populates the name automatically. - // Format: `projects//locations//agents//intents/`. + // Format: + // `projects//locations//agents//intents/`. string name = 1; // Required. The human-readable name of the intent, unique within the agent. @@ -287,7 +287,7 @@ message Intent { // [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents]. message ListIntentsRequest { // Required. The agent to list all intents for. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -334,8 +334,8 @@ message ListIntentsResponse { // [Intents.GetIntent][google.cloud.dialogflow.cx.v3.Intents.GetIntent]. message GetIntentRequest { // Required. The name of the intent. - // Format: `projects//locations//agents//intents/`. + // Format: + // `projects//locations//agents//intents/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -360,7 +360,7 @@ message GetIntentRequest { // [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent]. message CreateIntentRequest { // Required. The agent to create an intent for. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -409,8 +409,8 @@ message UpdateIntentRequest { // [Intents.DeleteIntent][google.cloud.dialogflow.cx.v3.Intents.DeleteIntent]. message DeleteIntentRequest { // Required. The name of the intent to delete. - // Format: `projects//locations//agents//intents/`. + // Format: + // `projects//locations//agents//intents/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -469,7 +469,7 @@ message ImportIntentsRequest { } // Required. The agent to import the intents into. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -513,8 +513,8 @@ message ImportIntentsResponse { } // The unique identifier of the imported intents. - // Format: `projects//locations//agents//intents/`. + // Format: + // `projects//locations//agents//intents/`. repeated string intents = 1 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Intent" }]; @@ -549,8 +549,7 @@ message ExportIntentsRequest { } // Required. The name of the parent agent to export intents. - // Format: `projects//locations//agents/`. + // Format: `projects//locations//agents/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -559,8 +558,8 @@ message ExportIntentsRequest { ]; // Required. The name of the intents to export. - // Format: `projects//locations//agents//intents/`. + // Format: + // `projects//locations//agents//intents/`. repeated string intents = 2 [(google.api.field_behavior) = REQUIRED]; // The destination to export. diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/page.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/page.proto index bf5007e4483..bfe82c1c0f8 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/page.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/page.proto @@ -27,7 +27,6 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; @@ -125,8 +124,8 @@ message Page { // [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage] method. // [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage] // populates the name automatically. - // Format: `projects//locations//agents//flows//pages/`. + // Format: + // `projects//locations//agents//flows//pages/`. string name = 1; // Required. The human-readable name of the page, unique within the flow. @@ -156,11 +155,10 @@ message Page { // * If multiple transition route groups within a page contain the same // intent, then the first group in the ordered list takes precedence. // - // Format:`projects//locations//agents//flows//transitionRouteGroups/` - // or `projects//locations//agents//transitionRouteGroups/` for agent-level - // groups. + // Format:`projects//locations//agents//flows//transitionRouteGroups/` + // or + // `projects//locations//agents//transitionRouteGroups/` + // for agent-level groups. repeated string transition_route_groups = 11 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" @@ -264,11 +262,12 @@ message Form { bool required = 2; // Required. The entity type of the parameter. - // Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, + // Format: + // `projects/-/locations/-/agents/-/entityTypes/` for + // system entity types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - // `projects//locations//agents//entityTypes/` for developer entity types. + // `projects//locations//agents//entityTypes/` + // for developer entity types. string entity_type = 3 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -338,15 +337,15 @@ message EventHandler { // another flow in the same agent. oneof target { // The target page to transition to. - // Format: `projects//locations//agents//flows//pages/`. + // Format: + // `projects//locations//agents//flows//pages/`. string target_page = 2 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" }]; // The target flow to transition to. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string target_flow = 3 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" }]; @@ -378,8 +377,8 @@ message TransitionRoute { string description = 8 [(google.api.field_behavior) = OPTIONAL]; // The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent]. - // Format: `projects//locations//agents//intents/`. + // Format: + // `projects//locations//agents//intents/`. // Indicates that the transition can only happen when the given intent is // matched. // At least one of `intent` or `condition` must be specified. When both @@ -411,15 +410,15 @@ message TransitionRoute { // another flow in the same agent. oneof target { // The target page to transition to. - // Format: `projects//locations//agents//flows//pages/`. + // Format: + // `projects//locations//agents//flows//pages/`. string target_page = 4 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" }]; // The target flow to transition to. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string target_flow = 5 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" }]; @@ -430,8 +429,8 @@ message TransitionRoute { // [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages]. message ListPagesRequest { // Required. The flow to list all pages for. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -486,8 +485,8 @@ message ListPagesResponse { // [Pages.GetPage][google.cloud.dialogflow.cx.v3.Pages.GetPage]. message GetPageRequest { // Required. The name of the page. - // Format: `projects//locations//agents//flows//pages/`. + // Format: + // `projects//locations//agents//flows//pages/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" } @@ -521,8 +520,8 @@ message GetPageRequest { // [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage]. message CreatePageRequest { // Required. The flow to create a page for. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -593,8 +592,8 @@ message UpdatePageRequest { // [Pages.DeletePage][google.cloud.dialogflow.cx.v3.Pages.DeletePage]. message DeletePageRequest { // Required. The name of the page to delete. - // Format: `projects//locations//agents//Flows//pages/`. + // Format: + // `projects//locations//agents//Flows//pages/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" } @@ -635,15 +634,15 @@ message KnowledgeConnectorSettings { // or another flow in the same agent. oneof target { // The target page to transition to. - // Format: `projects//locations//agents//flows//pages/`. + // Format: + // `projects//locations//agents//flows//pages/`. string target_page = 4 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" }]; // The target flow to transition to. - // Format: `projects//locations//agents//flows/`. + // Format: + // `projects//locations//agents//flows/`. string target_flow = 5 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" }]; diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/response_message.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/response_message.proto index 9630a7a5b9d..838879c8738 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/response_message.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/response_message.proto @@ -48,7 +48,8 @@ option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; message ResponseMessage { // The text response message. message Text { - // Required. A collection of text responses. + // Required. A collection of text response variants. If multiple variants + // are defined, only one text response variant is returned at runtime. repeated string text = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. Whether the playback of this message can be interrupted by diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/safety_settings.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/safety_settings.proto index 014c01d2d41..42a8d22bb48 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/safety_settings.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/safety_settings.proto @@ -18,7 +18,6 @@ package google.cloud.dialogflow.cx.v3; import "google/api/field_behavior.proto"; -option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/security_settings.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/security_settings.proto index 1453c2a77e2..e44602d4aef 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/security_settings.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3/security_settings.proto @@ -105,8 +105,8 @@ service SecuritySettingsService { // [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings]. message GetSecuritySettingsRequest { // Required. Resource name of the settings. - // Format: `projects//locations//securitySettings/`. + // Format: + // `projects//locations//securitySettings/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -132,7 +132,7 @@ message UpdateSecuritySettingsRequest { // The request message for [SecuritySettings.ListSecuritySettings][]. message ListSecuritySettingsRequest { // Required. The location to list all security settings for. - // Format: `projects//locations/`. + // Format: `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -162,7 +162,7 @@ message ListSecuritySettingsResponse { message CreateSecuritySettingsRequest { // Required. The location to create an // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. - // Format: `projects//locations/`. + // Format: `projects//locations/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -179,8 +179,8 @@ message CreateSecuritySettingsRequest { message DeleteSecuritySettingsRequest { // Required. The name of the // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to - // delete. Format: `projects//locations//securitySettings/`. + // delete. Format: + // `projects//locations//securitySettings/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -294,8 +294,8 @@ message SecuritySettings { // [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings] // method. // [SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings] - // populates the name automatically. Format: `projects//locations//securitySettings/`. + // populates the name automatically. Format: + // `projects//locations//securitySettings/`. string name = 1; // Required. The human-readable name of the security settings, unique within @@ -321,9 +321,9 @@ message SecuritySettings { // If empty, we use the default DLP inspect config. // // The template name will have one of the following formats: - // `projects//locations//inspectTemplates/