@@ -249,6 +249,10 @@ message Agent {
249
249
// requests.
250
250
bool enable_spell_correction = 20 ;
251
251
252
+ // Indiciates whether the agent is locked for changes. If the agent is locked,
253
+ // modifications to the agent will be rejected except for [RestoreAgent][].
254
+ bool locked = 27 ;
255
+
252
256
// Hierarchical advanced settings for this agent. The settings exposed at the
253
257
// lower level overrides the settings exposed at the higher level.
254
258
AdvancedSettings advanced_settings = 22 ;
@@ -335,6 +339,15 @@ message DeleteAgentRequest {
335
339
336
340
// The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].
337
341
message ExportAgentRequest {
342
+ // Data format of the exported agent.
343
+ enum DataFormat {
344
+ // Unspecified format.
345
+ DATA_FORMAT_UNSPECIFIED = 0 ;
346
+
347
+ // Agent content will be exported as raw bytes.
348
+ BLOB = 1 ;
349
+ }
350
+
338
351
// Required. The name of the agent to export.
339
352
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
340
353
string name = 1 [
@@ -356,6 +369,9 @@ message ExportAgentRequest {
356
369
// control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
357
370
string agent_uri = 2 [(google.api.field_behavior ) = OPTIONAL ];
358
371
372
+ // Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
373
+ DataFormat data_format = 3 [(google.api.field_behavior ) = OPTIONAL ];
374
+
359
375
// Optional. Environment name. If not set, draft environment is assumed.
360
376
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
361
377
// ID>/environments/<Environment ID>`.
0 commit comments