Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Mar 14, 2022
1 parent 83dfa07 commit e550ff4
Show file tree
Hide file tree
Showing 12 changed files with 347 additions and 110 deletions.
26 changes: 18 additions & 8 deletions dialogflow/v2/dialogflow-api.json
Expand Up @@ -8077,7 +8077,7 @@
}
}
},
"revision": "20220228",
"revision": "20220309",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3AudioInput": {
Expand Down Expand Up @@ -9453,7 +9453,11 @@
"id": "GoogleCloudDialogflowCxV3TestConfig",
"properties": {
"flow": {
"description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.",
"description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.",
"type": "string"
},
"page": {
"description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.",
"type": "string"
},
"trackingParameters": {
Expand Down Expand Up @@ -11141,7 +11145,11 @@
"id": "GoogleCloudDialogflowCxV3beta1TestConfig",
"properties": {
"flow": {
"description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.",
"description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.",
"type": "string"
},
"page": {
"description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.",
"type": "string"
},
"trackingParameters": {
Expand Down Expand Up @@ -13055,7 +13063,7 @@
"id": "GoogleCloudDialogflowV2EventInput",
"properties": {
"languageCode": {
"description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.",
"description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.",
"type": "string"
},
"name": {
Expand All @@ -13078,7 +13086,7 @@
"id": "GoogleCloudDialogflowV2ExportAgentRequest",
"properties": {
"agentUri": {
"description": "Required. 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.",
"description": "Required. 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"
}
},
Expand Down Expand Up @@ -13566,7 +13574,7 @@
"type": "string"
},
"agentUri": {
"description": "The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with \"gs://\".",
"description": "The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with \"gs://\". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).",
"type": "string"
}
},
Expand Down Expand Up @@ -15485,7 +15493,7 @@
"type": "string"
},
"agentUri": {
"description": "The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with \"gs://\".",
"description": "The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with \"gs://\". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).",
"type": "string"
}
},
Expand Down Expand Up @@ -16441,13 +16449,15 @@
"TYPE_UNSPECIFIED",
"CONVERSATION_STARTED",
"CONVERSATION_FINISHED",
"HUMAN_INTERVENTION_NEEDED",
"NEW_MESSAGE",
"UNRECOVERABLE_ERROR"
],
"enumDescriptions": [
"Type not set.",
"A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.",
"An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
"An existing conversation has received notification from Dialogflow that human intervention is required.",
"An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
"Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error."
],
Expand Down Expand Up @@ -16533,7 +16543,7 @@
"id": "GoogleCloudDialogflowV2beta1EventInput",
"properties": {
"languageCode": {
"description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.",
"description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.",
"type": "string"
},
"name": {
Expand Down
59 changes: 50 additions & 9 deletions dialogflow/v2/dialogflow-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e550ff4

Please sign in to comment.