-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(all): auto-regenerate discovery clients (#2472)
- Loading branch information
1 parent
cb0f433
commit b300fd0
Showing
35 changed files
with
2,506 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8327,7 +8327,7 @@ | |
} | ||
} | ||
}, | ||
"revision": "20240305", | ||
"revision": "20240313", | ||
"rootUrl": "https://dialogflow.googleapis.com/", | ||
"schemas": { | ||
"GoogleCloudDialogflowCxV3AdvancedSettings": { | ||
|
@@ -10373,6 +10373,10 @@ | |
], | ||
"type": "string" | ||
}, | ||
"oauthConfig": { | ||
"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig", | ||
"description": "Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header." | ||
}, | ||
"parameterMapping": { | ||
"additionalProperties": { | ||
"type": "string" | ||
|
@@ -10396,6 +10400,22 @@ | |
"description": "The HTTP request headers to send together with webhook requests.", | ||
"type": "object" | ||
}, | ||
"serviceAgentAuth": { | ||
"description": "Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header.", | ||
"enum": [ | ||
"SERVICE_AGENT_AUTH_UNSPECIFIED", | ||
"NONE", | ||
"ID_TOKEN", | ||
"ACCESS_TOKEN" | ||
], | ||
"enumDescriptions": [ | ||
"Service agent auth type unspecified. Default to ID_TOKEN.", | ||
"No token used.", | ||
"Use [ID token](https://cloud.google.com/docs/authentication/token-types#id) generated from service agent. This can be used to access Cloud Function and Cloud Run after you grant Invoker role to `[email protected]`.", | ||
"Use [access token](https://cloud.google.com/docs/authentication/token-types#access) generated from service agent. This can be used to access other Google Cloud APIs after you grant required roles to `[email protected]`." | ||
], | ||
"type": "string" | ||
}, | ||
"uri": { | ||
"description": "Required. The webhook URI for receiving POST requests. It must use https protocol.", | ||
"type": "string" | ||
|
@@ -10422,6 +10442,32 @@ | |
}, | ||
"type": "object" | ||
}, | ||
"GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig": { | ||
"description": "Represents configuration of OAuth client credential flow for 3rd party API authentication.", | ||
"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig", | ||
"properties": { | ||
"clientId": { | ||
"description": "Required. The client ID provided by the 3rd party platform.", | ||
"type": "string" | ||
}, | ||
"clientSecret": { | ||
"description": "Required. The client secret provided by the 3rd party platform.", | ||
"type": "string" | ||
}, | ||
"scopes": { | ||
"description": "Optional. The OAuth scopes to grant.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"tokenEndpoint": { | ||
"description": "Required. The token endpoint provided by the 3rd party platform to exchange an access token.", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"GoogleCloudDialogflowCxV3WebhookRequest": { | ||
"description": "The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.", | ||
"id": "GoogleCloudDialogflowCxV3WebhookRequest", | ||
|
@@ -12667,6 +12713,10 @@ | |
], | ||
"type": "string" | ||
}, | ||
"oauthConfig": { | ||
"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig", | ||
"description": "Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header." | ||
}, | ||
"parameterMapping": { | ||
"additionalProperties": { | ||
"type": "string" | ||
|
@@ -12690,6 +12740,22 @@ | |
"description": "The HTTP request headers to send together with webhook requests.", | ||
"type": "object" | ||
}, | ||
"serviceAgentAuth": { | ||
"description": "Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header.", | ||
"enum": [ | ||
"SERVICE_AGENT_AUTH_UNSPECIFIED", | ||
"NONE", | ||
"ID_TOKEN", | ||
"ACCESS_TOKEN" | ||
], | ||
"enumDescriptions": [ | ||
"Service agent auth type unspecified. Default to ID_TOKEN.", | ||
"No token used.", | ||
"Use [ID token](https://cloud.google.com/docs/authentication/token-types#id) generated from service agent. This can be used to access Cloud Function and Cloud Run after you grant Invoker role to `[email protected]`.", | ||
"Use [access token](https://cloud.google.com/docs/authentication/token-types#access) generated from service agent. This can be used to access other Google Cloud APIs after you grant required roles to `[email protected]`." | ||
], | ||
"type": "string" | ||
}, | ||
"uri": { | ||
"description": "Required. The webhook URI for receiving POST requests. It must use https protocol.", | ||
"type": "string" | ||
|
@@ -12716,6 +12782,32 @@ | |
}, | ||
"type": "object" | ||
}, | ||
"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig": { | ||
"description": "Represents configuration of OAuth client credential flow for 3rd party API authentication.", | ||
"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig", | ||
"properties": { | ||
"clientId": { | ||
"description": "Required. The client ID provided by the 3rd party platform.", | ||
"type": "string" | ||
}, | ||
"clientSecret": { | ||
"description": "Required. The client secret provided by the 3rd party platform.", | ||
"type": "string" | ||
}, | ||
"scopes": { | ||
"description": "Optional. The OAuth scopes to grant.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"tokenEndpoint": { | ||
"description": "Required. The token endpoint provided by the 3rd party platform to exchange an access token.", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"GoogleCloudDialogflowCxV3beta1WebhookRequest": { | ||
"description": "The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.", | ||
"id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", | ||
|
Oops, something went wrong.