14
14
15
15
syntax = "proto3" ;
16
16
17
- package google.cloud.dialogflow.cx.v3beta1 ;
17
+ package google.cloud.dialogflow.cx.v3 ;
18
18
19
19
import "google/api/annotations.proto" ;
20
20
import "google/api/client.proto" ;
21
21
import "google/api/field_behavior.proto" ;
22
22
import "google/api/resource.proto" ;
23
- import "google/cloud/dialogflow/cx/v3beta1 /flow.proto" ;
23
+ import "google/cloud/dialogflow/cx/v3 /flow.proto" ;
24
24
import "google/longrunning/operations.proto" ;
25
25
import "google/protobuf/empty.proto" ;
26
26
import "google/protobuf/field_mask.proto" ;
27
27
28
28
option cc_enable_arenas = true ;
29
- option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1 " ;
30
- option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3beta1 ;cx" ;
29
+ option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3 " ;
30
+ option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3 ;cx" ;
31
31
option java_multiple_files = true ;
32
32
option java_outer_classname = "AgentProto" ;
33
- option java_package = "com.google.cloud.dialogflow.cx.v3beta1 " ;
33
+ option java_package = "com.google.cloud.dialogflow.cx.v3 " ;
34
34
option objc_class_prefix = "DF" ;
35
35
36
- // Service for managing [Agents][google.cloud.dialogflow.cx.v3beta1 .Agent].
36
+ // Service for managing [Agents][google.cloud.dialogflow.cx.v3 .Agent].
37
37
service Agents {
38
38
option (google.api.default_host ) = "dialogflow.googleapis.com" ;
39
39
option (google.api.oauth_scopes ) =
@@ -43,23 +43,23 @@ service Agents {
43
43
// Returns the list of all agents in the specified location.
44
44
rpc ListAgents (ListAgentsRequest ) returns (ListAgentsResponse ) {
45
45
option (google.api.http ) = {
46
- get : "/v3beta1 /{parent=projects/*/locations/*}/agents"
46
+ get : "/v3 /{parent=projects/*/locations/*}/agents"
47
47
};
48
48
option (google.api.method_signature ) = "parent" ;
49
49
}
50
50
51
51
// Retrieves the specified agent.
52
52
rpc GetAgent (GetAgentRequest ) returns (Agent ) {
53
53
option (google.api.http ) = {
54
- get : "/v3beta1 /{name=projects/*/locations/*/agents/*}"
54
+ get : "/v3 /{name=projects/*/locations/*/agents/*}"
55
55
};
56
56
option (google.api.method_signature ) = "name" ;
57
57
}
58
58
59
59
// Creates an agent in the specified location.
60
60
rpc CreateAgent (CreateAgentRequest ) returns (Agent ) {
61
61
option (google.api.http ) = {
62
- post : "/v3beta1 /{parent=projects/*/locations/*}/agents"
62
+ post : "/v3 /{parent=projects/*/locations/*}/agents"
63
63
body : "agent"
64
64
};
65
65
option (google.api.method_signature ) = "parent,agent" ;
@@ -68,7 +68,7 @@ service Agents {
68
68
// Updates the specified agent.
69
69
rpc UpdateAgent (UpdateAgentRequest ) returns (Agent ) {
70
70
option (google.api.http ) = {
71
- patch : "/v3beta1 /{agent.name=projects/*/locations/*/agents/*}"
71
+ patch : "/v3 /{agent.name=projects/*/locations/*/agents/*}"
72
72
body : "agent"
73
73
};
74
74
option (google.api.method_signature ) = "agent,update_mask" ;
@@ -77,15 +77,15 @@ service Agents {
77
77
// Deletes the specified agent.
78
78
rpc DeleteAgent (DeleteAgentRequest ) returns (google .protobuf .Empty ) {
79
79
option (google.api.http ) = {
80
- delete : "/v3beta1 /{name=projects/*/locations/*/agents/*}"
80
+ delete : "/v3 /{name=projects/*/locations/*/agents/*}"
81
81
};
82
82
option (google.api.method_signature ) = "name" ;
83
83
}
84
84
85
85
// Exports the specified agent to a binary file.
86
86
rpc ExportAgent (ExportAgentRequest ) returns (google .longrunning .Operation ) {
87
87
option (google.api.http ) = {
88
- post : "/v3beta1 /{name=projects/*/locations/*/agents/*}:export"
88
+ post : "/v3 /{name=projects/*/locations/*/agents/*}:export"
89
89
body : "*"
90
90
};
91
91
option (google.longrunning.operation_info ) = {
@@ -100,7 +100,7 @@ service Agents {
100
100
// in agent (e.g. intents, entity types, flows) will be removed.
101
101
rpc RestoreAgent (RestoreAgentRequest ) returns (google .longrunning .Operation ) {
102
102
option (google.api.http ) = {
103
- post : "/v3beta1 /{name=projects/*/locations/*/agents/*}:restore"
103
+ post : "/v3 /{name=projects/*/locations/*/agents/*}:restore"
104
104
body : "*"
105
105
};
106
106
option (google.longrunning.operation_info ) = {
@@ -121,17 +121,17 @@ message SpeechToTextSettings {
121
121
// in your app, product, or service to determine user intent and respond to the
122
122
// user in a natural way.
123
123
//
124
- // After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3beta1 .Intent],
125
- // [Entity Types][google.cloud.dialogflow.cx.v3beta1 .EntityType], [Flows][google.cloud.dialogflow.cx.v3beta1 .Flow], [Fulfillments][google.cloud.dialogflow.cx.v3beta1 .Fulfillment],
126
- // [Webhooks][google.cloud.dialogflow.cx.v3beta1 .Webhook], and so on to manage the conversation flows..
124
+ // After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3 .Intent],
125
+ // [Entity Types][google.cloud.dialogflow.cx.v3 .EntityType], [Flows][google.cloud.dialogflow.cx.v3 .Flow], [Fulfillments][google.cloud.dialogflow.cx.v3 .Fulfillment],
126
+ // [Webhooks][google.cloud.dialogflow.cx.v3 .Webhook], and so on to manage the conversation flows..
127
127
message Agent {
128
128
option (google.api.resource ) = {
129
129
type : "dialogflow.googleapis.com/Agent"
130
130
pattern : "projects/{project}/locations/{location}/agents/{agent}"
131
131
};
132
132
133
133
// The unique identifier of the agent.
134
- // Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.CreateAgent]
134
+ // Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3 .Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3 .Agents.CreateAgent]
135
135
// populates the name automatically.
136
136
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
137
137
string name = 1 ;
@@ -143,7 +143,7 @@ message Agent {
143
143
// See [Language
144
144
// Support](https://cloud.google.com/dialogflow/docs/reference/language)
145
145
// for a list of the currently supported language codes.
146
- // This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.UpdateAgent] method.
146
+ // This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3 .Agents.UpdateAgent] method.
147
147
string default_language_code = 3 [(google.api.field_behavior ) = IMMUTABLE ];
148
148
149
149
// Required. The time zone of the agent from the [time zone
@@ -184,7 +184,7 @@ message Agent {
184
184
bool enable_spell_correction = 20 ;
185
185
}
186
186
187
- // The request message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3beta1 .Agents.ListAgents].
187
+ // The request message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3 .Agents.ListAgents].
188
188
message ListAgentsRequest {
189
189
// Required. The location to list all agents for.
190
190
// Format: `projects/<Project ID>/locations/<Location ID>`.
@@ -203,7 +203,7 @@ message ListAgentsRequest {
203
203
string page_token = 3 ;
204
204
}
205
205
206
- // The response message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3beta1 .Agents.ListAgents].
206
+ // The response message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3 .Agents.ListAgents].
207
207
message ListAgentsResponse {
208
208
// The list of agents. There will be a maximum number of items returned based
209
209
// on the page_size field in the request.
@@ -214,7 +214,7 @@ message ListAgentsResponse {
214
214
string next_page_token = 2 ;
215
215
}
216
216
217
- // The request message for [Agents.GetAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.GetAgent].
217
+ // The request message for [Agents.GetAgent][google.cloud.dialogflow.cx.v3 .Agents.GetAgent].
218
218
message GetAgentRequest {
219
219
// Required. The name of the agent.
220
220
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
@@ -226,7 +226,7 @@ message GetAgentRequest {
226
226
];
227
227
}
228
228
229
- // The request message for [Agents.CreateAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.CreateAgent].
229
+ // The request message for [Agents.CreateAgent][google.cloud.dialogflow.cx.v3 .Agents.CreateAgent].
230
230
message CreateAgentRequest {
231
231
// Required. The location to create a agent for.
232
232
// Format: `projects/<Project ID>/locations/<Location ID>`.
@@ -241,7 +241,7 @@ message CreateAgentRequest {
241
241
Agent agent = 2 [(google.api.field_behavior ) = REQUIRED ];
242
242
}
243
243
244
- // The request message for [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.UpdateAgent].
244
+ // The request message for [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3 .Agents.UpdateAgent].
245
245
message UpdateAgentRequest {
246
246
// Required. The agent to update.
247
247
Agent agent = 1 [(google.api.field_behavior ) = REQUIRED ];
@@ -251,7 +251,7 @@ message UpdateAgentRequest {
251
251
google.protobuf.FieldMask update_mask = 2 ;
252
252
}
253
253
254
- // The request message for [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.DeleteAgent].
254
+ // The request message for [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3 .Agents.DeleteAgent].
255
255
message DeleteAgentRequest {
256
256
// Required. The name of the agent to delete.
257
257
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
@@ -263,7 +263,7 @@ message DeleteAgentRequest {
263
263
];
264
264
}
265
265
266
- // The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.ExportAgent].
266
+ // The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3 .Agents.ExportAgent].
267
267
message ExportAgentRequest {
268
268
// Required. The name of the agent to export.
269
269
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
@@ -281,20 +281,20 @@ message ExportAgentRequest {
281
281
string agent_uri = 2 [(google.api.field_behavior ) = OPTIONAL ];
282
282
}
283
283
284
- // The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.ExportAgent].
284
+ // The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3 .Agents.ExportAgent].
285
285
message ExportAgentResponse {
286
286
// The exported agent.
287
287
oneof agent {
288
288
// The URI to a file containing the exported agent. This field is populated
289
- // only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1 .ExportAgentRequest].
289
+ // only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3 .ExportAgentRequest].
290
290
string agent_uri = 1 ;
291
291
292
292
// Uncompressed raw byte content for agent.
293
293
bytes agent_content = 2 ;
294
294
}
295
295
}
296
296
297
- // The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3beta1 .Agents.RestoreAgent].
297
+ // The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3 .Agents.RestoreAgent].
298
298
message RestoreAgentRequest {
299
299
// Required. The name of the agent to restore into.
300
300
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
0 commit comments