diff --git a/discovery/dialogflow-v2.json b/discovery/dialogflow-v2.json index 417443fc95..1ca773c47b 100644 --- a/discovery/dialogflow-v2.json +++ b/discovery/dialogflow-v2.json @@ -8077,7 +8077,7 @@ } } }, - "revision": "20220314", + "revision": "20220330", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -17846,7 +17846,7 @@ "enumDescriptions": [ "Not specified. This value should never be used.", "Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.", - "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases that you've created in template mode, those will continue to work." + "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance." ], "type": "string" } @@ -18665,7 +18665,7 @@ "type": "object" }, "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "GoogleProtobufEmpty", "properties": {}, "type": "object" diff --git a/discovery/dialogflow-v2beta1.json b/discovery/dialogflow-v2beta1.json index 7aa8347d4e..871fab97d4 100644 --- a/discovery/dialogflow-v2beta1.json +++ b/discovery/dialogflow-v2beta1.json @@ -7431,7 +7431,7 @@ } } }, - "revision": "20220314", + "revision": "20220330", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -16190,7 +16190,7 @@ "enumDescriptions": [ "Not specified. This value should never be used.", "Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.", - "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases that you've created in template mode, those will continue to work." + "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance." ], "type": "string" } @@ -18176,7 +18176,7 @@ "type": "object" }, "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "GoogleProtobufEmpty", "properties": {}, "type": "object" diff --git a/discovery/dialogflow-v3.json b/discovery/dialogflow-v3.json index 9acdf94115..1255e73c91 100644 --- a/discovery/dialogflow-v3.json +++ b/discovery/dialogflow-v3.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220314", + "revision": "20220330", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -3881,6 +3881,10 @@ "description": "Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.", "type": "boolean" }, + "locked": { + "description": "Indiciates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent.", + "type": "boolean" + }, "name": { "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", "type": "string" @@ -4880,6 +4884,18 @@ "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, + "dataFormat": { + "description": "Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.", + "enum": [ + "DATA_FORMAT_UNSPECIFIED", + "BLOB" + ], + "enumDescriptions": [ + "Unspecified format.", + "Agent content will be exported as raw bytes." + ], + "type": "string" + }, "environment": { "description": "Optional. Environment name. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`.", "type": "string" @@ -13282,7 +13298,7 @@ "enumDescriptions": [ "Not specified. This value should never be used.", "Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.", - "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases that you've created in template mode, those will continue to work." + "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance." ], "type": "string" } @@ -14101,7 +14117,7 @@ "type": "object" }, "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "GoogleProtobufEmpty", "properties": {}, "type": "object" diff --git a/discovery/dialogflow-v3beta1.json b/discovery/dialogflow-v3beta1.json index 62ed1e0110..ebc1eaac75 100644 --- a/discovery/dialogflow-v3beta1.json +++ b/discovery/dialogflow-v3beta1.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220314", + "revision": "20220330", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -5573,6 +5573,10 @@ "description": "Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.", "type": "boolean" }, + "locked": { + "description": "Indiciates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent.", + "type": "boolean" + }, "name": { "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", "type": "string" @@ -6572,6 +6576,18 @@ "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, + "dataFormat": { + "description": "Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.", + "enum": [ + "DATA_FORMAT_UNSPECIFIED", + "BLOB" + ], + "enumDescriptions": [ + "Unspecified format.", + "Agent content will be exported as raw bytes." + ], + "type": "string" + }, "environment": { "description": "Optional. Environment name. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`.", "type": "string" @@ -13282,7 +13298,7 @@ "enumDescriptions": [ "Not specified. This value should never be used.", "Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.", - "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases that you've created in template mode, those will continue to work." + "Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance." ], "type": "string" } @@ -14101,7 +14117,7 @@ "type": "object" }, "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "GoogleProtobufEmpty", "properties": {}, "type": "object" diff --git a/src/apis/dialogflow/v2.ts b/src/apis/dialogflow/v2.ts index b90397cbff..7caf68dd9e 100644 --- a/src/apis/dialogflow/v2.ts +++ b/src/apis/dialogflow/v2.ts @@ -7649,7 +7649,7 @@ export namespace dialogflow_v2 { response?: {[key: string]: any} | null; } /** - * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`. + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ export interface Schema$GoogleProtobufEmpty {} /** diff --git a/src/apis/dialogflow/v2beta1.ts b/src/apis/dialogflow/v2beta1.ts index fc475181b1..1ac09fa14b 100644 --- a/src/apis/dialogflow/v2beta1.ts +++ b/src/apis/dialogflow/v2beta1.ts @@ -7730,7 +7730,7 @@ export namespace dialogflow_v2beta1 { response?: {[key: string]: any} | null; } /** - * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`. + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ export interface Schema$GoogleProtobufEmpty {} /** diff --git a/src/apis/dialogflow/v3.ts b/src/apis/dialogflow/v3.ts index ae84a1f45c..dc5f01f5c1 100644 --- a/src/apis/dialogflow/v3.ts +++ b/src/apis/dialogflow/v3.ts @@ -179,6 +179,10 @@ export namespace dialogflow_v3 { * Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead. */ enableStackdriverLogging?: boolean | null; + /** + * Indiciates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent. + */ + locked?: boolean | null; /** * The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`. */ @@ -2175,6 +2179,10 @@ export namespace dialogflow_v3 { * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). */ agentUri?: string | null; + /** + * Optional. The data format of the exported agent. If not specified, `BLOB` is assumed. + */ + dataFormat?: string | null; /** * Optional. Environment name. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`. */ @@ -7468,7 +7476,7 @@ export namespace dialogflow_v3 { response?: {[key: string]: any} | null; } /** - * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`. + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ export interface Schema$GoogleProtobufEmpty {} /** @@ -7925,6 +7933,7 @@ export namespace dialogflow_v3 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -7945,6 +7954,7 @@ export namespace dialogflow_v3 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -8222,6 +8232,7 @@ export namespace dialogflow_v3 { * // request body parameters * // { * // "agentUri": "my_agentUri", + * // "dataFormat": "my_dataFormat", * // "environment": "my_environment" * // } * }, @@ -8377,6 +8388,7 @@ export namespace dialogflow_v3 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -8817,6 +8829,7 @@ export namespace dialogflow_v3 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -8837,6 +8850,7 @@ export namespace dialogflow_v3 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, diff --git a/src/apis/dialogflow/v3beta1.ts b/src/apis/dialogflow/v3beta1.ts index 2a2182cd1b..89ea27d46d 100644 --- a/src/apis/dialogflow/v3beta1.ts +++ b/src/apis/dialogflow/v3beta1.ts @@ -210,6 +210,10 @@ export namespace dialogflow_v3beta1 { * Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead. */ enableStackdriverLogging?: boolean | null; + /** + * Indiciates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent. + */ + locked?: boolean | null; /** * The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`. */ @@ -942,6 +946,10 @@ export namespace dialogflow_v3beta1 { * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). */ agentUri?: string | null; + /** + * Optional. The data format of the exported agent. If not specified, `BLOB` is assumed. + */ + dataFormat?: string | null; /** * Optional. Environment name. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`. */ @@ -7468,7 +7476,7 @@ export namespace dialogflow_v3beta1 { response?: {[key: string]: any} | null; } /** - * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`. + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ export interface Schema$GoogleProtobufEmpty {} /** @@ -7925,6 +7933,7 @@ export namespace dialogflow_v3beta1 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -7945,6 +7954,7 @@ export namespace dialogflow_v3beta1 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -8222,6 +8232,7 @@ export namespace dialogflow_v3beta1 { * // request body parameters * // { * // "agentUri": "my_agentUri", + * // "dataFormat": "my_dataFormat", * // "environment": "my_environment" * // } * }, @@ -8380,6 +8391,7 @@ export namespace dialogflow_v3beta1 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -8820,6 +8832,7 @@ export namespace dialogflow_v3beta1 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {}, @@ -8840,6 +8853,7 @@ export namespace dialogflow_v3beta1 { * // "displayName": "my_displayName", * // "enableSpellCorrection": false, * // "enableStackdriverLogging": false, + * // "locked": false, * // "name": "my_name", * // "securitySettings": "my_securitySettings", * // "speechToTextSettings": {},