Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2568)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 5, 2024
1 parent 76b27f1 commit d922e3b
Show file tree
Hide file tree
Showing 37 changed files with 3,025 additions and 727 deletions.
5 changes: 4 additions & 1 deletion alloydb/v1beta/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@
}
}
},
"revision": "20240417",
"revision": "20240424",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -4314,6 +4314,7 @@
"PRODUCT_TYPE_ON_PREM",
"ON_PREM",
"PRODUCT_TYPE_MEMORYSTORE",
"PRODUCT_TYPE_BIGTABLE",
"PRODUCT_TYPE_OTHER"
],
"enumDeprecated": [
Expand All @@ -4326,6 +4327,7 @@
false,
true,
false,
false,
false
],
"enumDescriptions": [
Expand All @@ -4338,6 +4340,7 @@
"On premises database product.",
"On premises database product.",
"Memorystore product area in GCP",
"Bigtable product area in GCP",
"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum."
],
"type": "string"
Expand Down
1 change: 1 addition & 0 deletions alloydb/v1beta/alloydb-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
Original file line number Diff line number Diff line change
Expand Up @@ -2901,21 +2901,6 @@
"documentationLink": "https://cloud.google.com/essentialcontacts/docs/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "eventarc:v1beta1",
"name": "eventarc",
"version": "v1beta1",
"title": "Eventarc API",
"description": "Build event-driven applications on Google Cloud Platform.",
"discoveryRestUrl": "https://eventarc.googleapis.com/$discovery/rest?version=v1beta1",
"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/eventarc",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "eventarc:v1",
Expand Down
4 changes: 2 additions & 2 deletions batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
}
}
},
"revision": "20240411",
"revision": "20240425",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -2067,7 +2067,7 @@
"id": "TaskExecution",
"properties": {
"exitCode": {
"description": "When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.",
"description": "The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now.",
"format": "int32",
"type": "integer"
}
Expand Down
11 changes: 9 additions & 2 deletions batch/v1/batch-gen.go

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

22 changes: 21 additions & 1 deletion beyondcorp/v1/beyondcorp-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@
}
}
},
"revision": "20240228",
"revision": "20240424",
"rootUrl": "https://beyondcorp.googleapis.com/",
"schemas": {
"AllocatedConnection": {
Expand Down Expand Up @@ -1868,6 +1868,16 @@
"description": "Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.",
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. The current state of the AppGateway.",
"enum": [
Expand Down Expand Up @@ -2094,6 +2104,16 @@
"description": "Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.",
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. The current state of the AppConnection.",
"enum": [
Expand Down
8 changes: 8 additions & 0 deletions beyondcorp/v1/beyondcorp-gen.go

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

67 changes: 65 additions & 2 deletions beyondcorp/v1alpha/beyondcorp-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,33 @@
},
"subscriptions": {
"methods": {
"cancel": {
"description": "Cancels an existing BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization. Returns the timestamp for when the cancellation will become effective",
"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:cancel",
"httpMethod": "GET",
"id": "beyondcorp.organizations.locations.subscriptions.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Name of the resource.",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/subscriptions/[^/]+$",
"required": true,
"type": "string"
},
"requestId": {
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
"location": "query",
"type": "string"
}
},
"path": "v1alpha/{+name}:cancel",
"response": {
"$ref": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse"
}
},
"create": {
"description": "Creates a new BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization.",
"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/subscriptions",
Expand Down Expand Up @@ -1308,7 +1335,7 @@
"type": "string"
},
"updateMask": {
"description": "Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields will be overwritten. Mutable fields: type, state.",
"description": "Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. Mutable fields: seat_count.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -3939,7 +3966,7 @@
}
}
},
"revision": "20240417",
"revision": "20240424",
"rootUrl": "https://beyondcorp.googleapis.com/",
"schemas": {
"AllocatedConnection": {
Expand Down Expand Up @@ -4003,6 +4030,16 @@
"description": "Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.",
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. The current state of the AppGateway.",
"enum": [
Expand Down Expand Up @@ -4645,6 +4682,16 @@
"description": "Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.",
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. The current state of the AppConnection.",
"enum": [
Expand Down Expand Up @@ -5936,6 +5983,18 @@
},
"type": "object"
},
"GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse": {
"description": "Response message for BeyondCorp.CancelSubscription",
"id": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse",
"properties": {
"effectiveCancellationTime": {
"description": "Time when the cancellation will become effective",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse": {
"description": "Response message for BeyondCorp.ListSubscriptions.",
"id": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse",
Expand Down Expand Up @@ -5963,6 +6022,10 @@
"readOnly": true,
"type": "boolean"
},
"billingAccount": {
"description": "Optional. Name of the billing account in the format. e.g. billingAccounts/123456-123456-123456 Required if Subscription is of Paid type.",
"type": "string"
},
"createTime": {
"description": "Output only. Create time of the subscription.",
"format": "google-datetime",
Expand Down

0 comments on commit d922e3b

Please sign in to comment.