Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2472)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Mar 15, 2024
1 parent cb0f433 commit b300fd0
Show file tree
Hide file tree
Showing 35 changed files with 2,506 additions and 194 deletions.
4 changes: 2 additions & 2 deletions androidmanagement/v1/androidmanagement-api.json
Expand Up @@ -1163,7 +1163,7 @@
}
}
},
"revision": "20240221",
"revision": "20240313",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -2716,7 +2716,7 @@
"DISALLOW_USB_DATA_TRANSFER"
],
"enumDescriptions": [
"Unspecified. Defaults to ALLOW_USB_DATA_TRANSFER, unless usbFileTransferDisabled is set to true. If usbFileTransferDisabled is set to true, this is equivalent to DISALLOW_USB_FILE_TRANSFER.",
"Unspecified. Defaults to DISALLOW_USB_FILE_TRANSFER.",
"All types of USB data transfers are allowed. usbFileTransferDisabled is ignored.",
"Transferring files over USB is disallowed. Other types of USB data connections, such as mouse and keyboard connection, are allowed. usbFileTransferDisabled is ignored.",
"When set, all types of USB data transfers are prohibited. Supported for devices running Android 12 or above with USB HAL 1.3 or above. If the setting is not supported, DISALLOW_USB_FILE_TRANSFER will be set. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 12. A nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not have USB HAL 1.3 or above. usbFileTransferDisabled is ignored."
Expand Down
4 changes: 1 addition & 3 deletions androidmanagement/v1/androidmanagement-gen.go

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

15 changes: 0 additions & 15 deletions api-list.json
Expand Up @@ -3276,21 +3276,6 @@
"documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "gkehub:v1alpha2",
"name": "gkehub",
"version": "v1alpha2",
"title": "GKE Hub API",
"description": "",
"discoveryRestUrl": "https://gkehub.googleapis.com/$discovery/rest?version=v1alpha2",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "gkehub:v2alpha",
Expand Down
10 changes: 6 additions & 4 deletions cloudbilling/v1beta/cloudbilling-api.json
Expand Up @@ -910,7 +910,7 @@
}
}
},
"revision": "20240301",
"revision": "20240311",
"rootUrl": "https://cloudbilling.googleapis.com/",
"schemas": {
"CacheFillRegions": {
Expand Down Expand Up @@ -1572,13 +1572,15 @@
"CAUSE_TYPE_UNSPECIFIED",
"CAUSE_TYPE_PROJECT",
"CAUSE_TYPE_SERVICE",
"CAUSE_TYPE_SKU"
"CAUSE_TYPE_SKU",
"CAUSE_TYPE_LOCATION"
],
"enumDescriptions": [
"Default unspecified value.",
"Caused by a project.",
"Caused by a service.",
"Caused by a SKU."
"Caused by a SKU.",
"Caused by a location."
],
"type": "string"
},
Expand All @@ -1591,7 +1593,7 @@
"type": "string"
},
"resource": {
"description": "The resource name of the cause. project: projects/{project}. service: services/{service}. sku: services/{service}/skus/{sku}.",
"description": "The resource name of the cause. project: projects/{project}. service: services/{service}. sku: services/{service}/skus/{sku}. location: locations/{location}.",
"type": "string"
},
"subCauses": {
Expand Down
3 changes: 2 additions & 1 deletion cloudbilling/v1beta/cloudbilling-gen.go

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

5 changes: 3 additions & 2 deletions cloudbuild/v2/cloudbuild-api.json
Expand Up @@ -844,7 +844,7 @@
}
}
},
"revision": "20240305",
"revision": "20240310",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2040,7 +2040,8 @@
"description": "Optional. Security configuration."
},
"serviceAccount": {
"description": "Service account used in the Pipeline.",
"deprecated": true,
"description": "Service account used in the Pipeline. Deprecated; please use security.service_account instead.",
"type": "string"
},
"skippedTasks": {
Expand Down
3 changes: 2 additions & 1 deletion cloudbuild/v2/cloudbuild-gen.go

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

10 changes: 5 additions & 5 deletions dataflow/v1b3/dataflow-api.json
Expand Up @@ -2182,7 +2182,7 @@
}
}
},
"revision": "20240225",
"revision": "20240310",
"rootUrl": "https://dataflow.googleapis.com/",
"schemas": {
"ApproximateProgress": {
Expand Down Expand Up @@ -3201,7 +3201,7 @@
"type": "string"
},
"streamingMode": {
"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case.",
"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).",
"enum": [
"STREAMING_MODE_UNSPECIFIED",
"STREAMING_MODE_EXACTLY_ONCE",
Expand Down Expand Up @@ -3539,7 +3539,7 @@
"type": "string"
},
"streamingMode": {
"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case.",
"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).",
"enum": [
"STREAMING_MODE_UNSPECIFIED",
"STREAMING_MODE_EXACTLY_ONCE",
Expand Down Expand Up @@ -5484,7 +5484,7 @@
"type": "string"
},
"streamingMode": {
"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case.",
"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).",
"enum": [
"STREAMING_MODE_UNSPECIFIED",
"STREAMING_MODE_EXACTLY_ONCE",
Expand Down Expand Up @@ -5553,7 +5553,7 @@
"type": "integer"
},
"workerUtilizationHint": {
"description": "Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog.",
"description": "Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog. For more information, see [Update an existing pipeline](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).",
"format": "double",
"type": "number"
}
Expand Down
16 changes: 12 additions & 4 deletions dataflow/v1b3/dataflow-gen.go

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

94 changes: 93 additions & 1 deletion dialogflow/v2/dialogflow-api.json
Expand Up @@ -8327,7 +8327,7 @@
}
}
},
"revision": "20240305",
"revision": "20240313",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3AdvancedSettings": {
Expand Down Expand Up @@ -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"
Expand All @@ -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 `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`.",
"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 `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`."
],
"type": "string"
},
"uri": {
"description": "Required. The webhook URI for receiving POST requests. It must use https protocol.",
"type": "string"
Expand All @@ -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",
Expand Down Expand Up @@ -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"
Expand All @@ -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 `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`.",
"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 `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`."
],
"type": "string"
},
"uri": {
"description": "Required. The webhook URI for receiving POST requests. It must use https protocol.",
"type": "string"
Expand All @@ -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",
Expand Down

0 comments on commit b300fd0

Please sign in to comment.