fix: publish missing client config annotations
PiperOrigin-RevId: 322420178
This commit is contained in:
parent
01fdba2a8b
commit
be0c5a9b1b
|
|
@ -1,4 +1,13 @@
|
|||
# This file was automatically generated by BuildFileGenerator
|
||||
# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
|
||||
|
||||
# Most of the manual changes to this file will be overwritten.
|
||||
# It's **only** allowed to change the following rule attribute values:
|
||||
# - names of *_gapic_assembly_* rules
|
||||
# - certain parameters of *_gapic_library rules, including but not limited to:
|
||||
# * extra_protoc_parameters
|
||||
# * extra_protoc_file_parameters
|
||||
# The complete list of preserved parameters can be found in the source code.
|
||||
|
||||
# This is an API workspace, having public visibility by default makes perfect sense.
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
|
|
|||
|
|
@ -332,7 +332,7 @@ message GetAgentRequest {
|
|||
// The request message for [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent].
|
||||
message SetAgentRequest {
|
||||
// Required. The agent to update.
|
||||
Agent agent = 1;
|
||||
Agent agent = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. The mask to control which fields get updated.
|
||||
google.protobuf.FieldMask update_mask = 2;
|
||||
|
|
@ -408,7 +408,12 @@ message TrainAgentRequest {
|
|||
message ExportAgentRequest {
|
||||
// Required. The project that the agent to export is associated with.
|
||||
// Format: `projects/<Project ID>`.
|
||||
string parent = 1;
|
||||
string parent = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
child_type: "dialogflow.googleapis.com/Agent"
|
||||
}
|
||||
];
|
||||
|
||||
// Optional. The
|
||||
// [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ service Contexts {
|
|||
}
|
||||
};
|
||||
option (google.api.method_signature) = "context,update_mask";
|
||||
option (google.api.method_signature) = "context";
|
||||
}
|
||||
|
||||
// Deletes the specified context.
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ service Documents {
|
|||
}
|
||||
};
|
||||
option (google.api.method_signature) = "document,update_mask";
|
||||
option (google.api.method_signature) = "document";
|
||||
option (google.longrunning.operation_info) = {
|
||||
response_type: "Document"
|
||||
metadata_type: "KnowledgeOperationMetadata"
|
||||
|
|
|
|||
|
|
@ -150,6 +150,8 @@ service EntityTypes {
|
|||
body: "*"
|
||||
}
|
||||
};
|
||||
option (google.api.method_signature) = "parent,entities";
|
||||
option (google.api.method_signature) = "parent,entities,language_code";
|
||||
option (google.longrunning.operation_info) = {
|
||||
response_type: "google.protobuf.Empty"
|
||||
metadata_type: "google.protobuf.Struct"
|
||||
|
|
@ -477,7 +479,7 @@ message BatchCreateEntitiesRequest {
|
|||
];
|
||||
|
||||
// Required. The entities to create.
|
||||
repeated EntityType.Entity entities = 2;
|
||||
repeated EntityType.Entity entities = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. The language used to access language-specific data.
|
||||
// If not specified, the agent's default language is used.
|
||||
|
|
@ -499,7 +501,7 @@ message BatchUpdateEntitiesRequest {
|
|||
];
|
||||
|
||||
// Required. The entities to update or create.
|
||||
repeated EntityType.Entity entities = 2;
|
||||
repeated EntityType.Entity entities = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. The language used to access language-specific data.
|
||||
// If not specified, the agent's default language is used.
|
||||
|
|
@ -526,7 +528,7 @@ message BatchDeleteEntitiesRequest {
|
|||
// Required. The reference `values` of the entities to delete. Note that
|
||||
// these are not fully-qualified names, i.e. they don't start with
|
||||
// `projects/<Project ID>`.
|
||||
repeated string entity_values = 2;
|
||||
repeated string entity_values = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. The language used to access language-specific data.
|
||||
// If not specified, the agent's default language is used.
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@ syntax = "proto3";
|
|||
package google.cloud.dialogflow.v2beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/client.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/cloud/dialogflow/v2beta1/audio_config.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/api/client.proto";
|
||||
|
||||
option cc_enable_arenas = true;
|
||||
option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1";
|
||||
|
|
@ -48,6 +48,7 @@ service Environments {
|
|||
get: "/v2beta1/{parent=projects/*/locations/*/agent}/environments"
|
||||
}
|
||||
};
|
||||
option (google.api.method_signature) = "parent";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@ service Intents {
|
|||
body: "*"
|
||||
}
|
||||
};
|
||||
option (google.api.method_signature) = "parent,intents";
|
||||
option (google.longrunning.operation_info) = {
|
||||
response_type: "google.protobuf.Empty"
|
||||
metadata_type: "google.protobuf.Struct"
|
||||
|
|
@ -1249,7 +1250,7 @@ message CreateIntentRequest {
|
|||
];
|
||||
|
||||
// Required. The intent to create.
|
||||
Intent intent = 2;
|
||||
Intent intent = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. The language used to access language-specific data.
|
||||
// If not specified, the agent's default language is used.
|
||||
|
|
@ -1265,7 +1266,7 @@ message CreateIntentRequest {
|
|||
// The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent].
|
||||
message UpdateIntentRequest {
|
||||
// Required. The intent to update.
|
||||
Intent intent = 1;
|
||||
Intent intent = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. The language used to access language-specific data.
|
||||
// If not specified, the agent's default language is used.
|
||||
|
|
@ -1355,7 +1356,7 @@ message BatchDeleteIntentsRequest {
|
|||
|
||||
// Required. The collection of intents to delete. Only intent `name` must be
|
||||
// filled in.
|
||||
repeated Intent intents = 2;
|
||||
repeated Intent intents = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// This message is a wrapper around a collection of intents.
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ service KnowledgeBases {
|
|||
}
|
||||
};
|
||||
option (google.api.method_signature) = "knowledge_base,update_mask";
|
||||
option (google.api.method_signature) = "knowledge_base";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -100,9 +100,12 @@ message DetectIntentRequest {
|
|||
//
|
||||
// For more information, see the [API interactions
|
||||
// guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||
string session = 1 [(google.api.resource_reference) = {
|
||||
type: "dialogflow.googleapis.com/Session"
|
||||
}];
|
||||
string session = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
type: "dialogflow.googleapis.com/Session"
|
||||
}
|
||||
];
|
||||
|
||||
// The parameters of this query.
|
||||
QueryParameters query_params = 2;
|
||||
|
|
@ -115,7 +118,7 @@ message DetectIntentRequest {
|
|||
// 2. a conversational query in the form of text, or
|
||||
//
|
||||
// 3. an event that specifies which intent to trigger.
|
||||
QueryInput query_input = 3;
|
||||
QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Instructs the speech synthesizer how to generate the output
|
||||
// audio. If this field is not set and agent-level speech synthesizer is not
|
||||
|
|
@ -470,7 +473,7 @@ message StreamingDetectIntentRequest {
|
|||
//
|
||||
// For more information, see the [API interactions
|
||||
// guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||
string session = 1;
|
||||
string session = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// The parameters of this query.
|
||||
QueryParameters query_params = 2;
|
||||
|
|
@ -483,7 +486,7 @@ message StreamingDetectIntentRequest {
|
|||
// 2. a conversational query in the form of text, or
|
||||
//
|
||||
// 3. an event that specifies which intent to trigger.
|
||||
QueryInput query_input = 3;
|
||||
QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead.
|
||||
// If `false` (default), recognition does not cease until the
|
||||
|
|
|
|||
|
|
@ -281,13 +281,13 @@ message CreateSessionEntityTypeRequest {
|
|||
];
|
||||
|
||||
// Required. The session entity type to create.
|
||||
SessionEntityType session_entity_type = 2;
|
||||
SessionEntityType session_entity_type = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
|
||||
message UpdateSessionEntityTypeRequest {
|
||||
// Required. The session entity type to update.
|
||||
SessionEntityType session_entity_type = 1;
|
||||
SessionEntityType session_entity_type = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. The mask to control which fields get updated.
|
||||
google.protobuf.FieldMask update_mask = 2;
|
||||
|
|
|
|||
Loading…
Reference in New Issue