docs: clarified wording for restore APIs and query input
PiperOrigin-RevId: 336725904
This commit is contained in:
parent
d616167ada
commit
6ae1443d1e
|
|
@ -372,47 +372,45 @@ ruby_gapic_assembly_pkg(
|
|||
##############################################################################
|
||||
# C#
|
||||
##############################################################################
|
||||
# load(
|
||||
# "@com_google_googleapis_imports//:imports.bzl",
|
||||
# "csharp_gapic_assembly_pkg",
|
||||
# "csharp_gapic_library",
|
||||
# "csharp_grpc_library",
|
||||
# "csharp_proto_library",
|
||||
# )
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"csharp_gapic_assembly_pkg",
|
||||
"csharp_gapic_library",
|
||||
"csharp_grpc_library",
|
||||
"csharp_proto_library",
|
||||
)
|
||||
|
||||
# csharp_proto_library(
|
||||
# name = "cx_csharp_proto",
|
||||
# deps = [":cx_proto"],
|
||||
# )
|
||||
csharp_proto_library(
|
||||
name = "cx_csharp_proto",
|
||||
deps = [":cx_proto"],
|
||||
)
|
||||
|
||||
# csharp_grpc_library(
|
||||
# name = "cx_csharp_grpc",
|
||||
# srcs = [":cx_proto"],
|
||||
# deps = [":cx_csharp_proto"],
|
||||
# )
|
||||
csharp_grpc_library(
|
||||
name = "cx_csharp_grpc",
|
||||
srcs = [":cx_proto"],
|
||||
deps = [":cx_csharp_proto"],
|
||||
)
|
||||
|
||||
# csharp_gapic_library(
|
||||
# name = "cx_csharp_gapic",
|
||||
# src = ":cx_proto_with_info",
|
||||
# gapic_yaml = "dialogflow_gapic.yaml",
|
||||
# grpc_service_config = "dialogflow_grpc_service_config.json",
|
||||
# package = "google.cloud.dialogflow.cx.v3beta1",
|
||||
# service_yaml = "dialogflow_v3beta1.yaml",
|
||||
# deps = [
|
||||
# ":cx_csharp_grpc",
|
||||
# ":cx_csharp_proto",
|
||||
# ],
|
||||
# )
|
||||
csharp_gapic_library(
|
||||
name = "cx_csharp_gapic",
|
||||
srcs = [":cx_proto_with_info"],
|
||||
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
|
||||
grpc_service_config = "dialogflow_grpc_service_config.json",
|
||||
deps = [
|
||||
":cx_csharp_grpc",
|
||||
":cx_csharp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
# # Open Source Packages
|
||||
# csharp_gapic_assembly_pkg(
|
||||
# name = "google-cloud-dialogflow-cx-v3beta1-csharp",
|
||||
# deps = [
|
||||
# ":cx_csharp_gapic",
|
||||
# ":cx_csharp_grpc",
|
||||
# ":cx_csharp_proto",
|
||||
# ],
|
||||
# )
|
||||
# Open Source Packages
|
||||
csharp_gapic_assembly_pkg(
|
||||
name = "google-cloud-dialogflow-cx-v3beta1-csharp",
|
||||
deps = [
|
||||
":cx_csharp_gapic",
|
||||
":cx_csharp_grpc",
|
||||
":cx_csharp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# C++
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ service Agents {
|
|||
option (google.api.method_signature) = "name";
|
||||
}
|
||||
|
||||
// Exports the specified agent to a ZIP file.
|
||||
// Exports the specified agent to a binary file.
|
||||
rpc ExportAgent(ExportAgentRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
post: "/v3beta1/{name=projects/*/locations/*/agents/*}:export"
|
||||
|
|
@ -94,10 +94,10 @@ service Agents {
|
|||
};
|
||||
}
|
||||
|
||||
// Restores the specified agent from a ZIP file.
|
||||
// Restores the specified agent from a binary file.
|
||||
//
|
||||
// Note that all existing intents, intent routes, entity types, pages and
|
||||
// webhooks in the agent will be deleted.
|
||||
// Replaces the current agent with a new one. Note that all existing resources
|
||||
// in agent (e.g. intents, entity types, flows) will be removed.
|
||||
rpc RestoreAgent(RestoreAgentRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
post: "/v3beta1/{name=projects/*/locations/*/agents/*}:restore"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@
|
|||
{
|
||||
"service": "google.cloud.dialogflow.cx.v3beta1.Environments"
|
||||
},
|
||||
{
|
||||
"service": "google.cloud.dialogflow.cx.v3beta1.Experiments"
|
||||
},
|
||||
{
|
||||
"service": "google.cloud.dialogflow.cx.v3beta1.Flows"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ import "google/cloud/dialogflow/cx/v3beta1/page.proto";
|
|||
import "google/longrunning/operations.proto";
|
||||
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.V3Beta1";
|
||||
|
|
|
|||
|
|
@ -376,11 +376,16 @@ message QueryParameters {
|
|||
bool analyze_query_text_sentiment = 8;
|
||||
}
|
||||
|
||||
// Represents the query input. It can contain either:
|
||||
// Represents the query input. It can contain one of:
|
||||
//
|
||||
// 1. A conversational query in the form of text.
|
||||
//
|
||||
// 2. An intent query that specifies which intent to trigger.
|
||||
//
|
||||
// 3. Natural language speech audio to be processed.
|
||||
//
|
||||
// 4. An event to be triggered.
|
||||
//
|
||||
message QueryInput {
|
||||
// Required. The input specification.
|
||||
oneof input {
|
||||
|
|
|
|||
Loading…
Reference in New Issue