feat: add Location parent to Environment resource
PiperOrigin-RevId: 320004023
This commit is contained in:
parent
61493c4b05
commit
4139410a6b
|
|
@ -56,6 +56,7 @@ message Environment {
|
|||
option (google.api.resource) = {
|
||||
type: "dialogflow.googleapis.com/Environment"
|
||||
pattern: "projects/{project}/agent/environments/{environment}"
|
||||
pattern: "projects/{project}/locations/{location}/agent/environments/{environment}"
|
||||
};
|
||||
|
||||
// Represents an environment state. When an environment is pointed to a new
|
||||
|
|
@ -78,8 +79,10 @@ message Environment {
|
|||
}
|
||||
|
||||
// Output only. The unique identifier of this agent environment.
|
||||
// Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
||||
// For Environment ID, "-" is reserved for 'draft' environment.
|
||||
// Format:
|
||||
// - `projects/<Project Number / ID>/agent/environments/<Environment ID>`
|
||||
// - `projects/<Project Number / ID>/locations/<Location
|
||||
// ID>/agent/environments/<Environment ID>`
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Optional. The developer-provided description for this environment.
|
||||
|
|
@ -102,7 +105,10 @@ message Environment {
|
|||
// The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
|
||||
message ListEnvironmentsRequest {
|
||||
// Required. The agent to list all environments from.
|
||||
// Format: `projects/<Project ID>/agent`.
|
||||
// Format:
|
||||
// - `projects/<Project Number / ID>/agent`
|
||||
// - `projects/<Project Number / ID>/locations/<Location
|
||||
// ID>/agent
|
||||
string parent = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue