Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jun 21, 2022
1 parent 56e960f commit c02e08c
Show file tree
Hide file tree
Showing 13 changed files with 14,827 additions and 2,273 deletions.
19 changes: 2 additions & 17 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,28 +571,13 @@
"documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "baremetalsolution:v1alpha1",
"name": "baremetalsolution",
"version": "v1alpha1",
"title": "Bare Metal Solution API",
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v1alpha1",
"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/bare-metal",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "baremetalsolution:v1",
"name": "baremetalsolution",
"version": "v1",
"title": "Bare Metal Solution API",
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
"description": "Bare Metal Solution provides hardware to run specialized workloads with low latency on Google Cloud.",
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand All @@ -607,7 +592,7 @@
"name": "baremetalsolution",
"version": "v2",
"title": "Bare Metal Solution API",
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
"description": "Bare Metal Solution provides hardware to run specialized workloads with low latency on Google Cloud.",
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v2",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand Down
57 changes: 54 additions & 3 deletions clouddeploy/v1/clouddeploy-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,34 @@
"resources": {
"releases": {
"methods": {
"abandon": {
"description": "Abandons a Release in the Delivery Pipeline.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deliveryPipelines/{deliveryPipelinesId}/releases/{releasesId}:abandon",
"httpMethod": "POST",
"id": "clouddeploy.projects.locations.deliveryPipelines.releases.abandon",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/deliveryPipelines/[^/]+/releases/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:abandon",
"request": {
"$ref": "AbandonReleaseRequest"
},
"response": {
"$ref": "AbandonReleaseResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a new Release in a given project and location.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deliveryPipelines/{deliveryPipelinesId}/releases",
Expand Down Expand Up @@ -1201,9 +1229,21 @@
}
}
},
"revision": "20220504",
"revision": "20220609",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AbandonReleaseRequest": {
"description": "The request object used by `AbandonRelease`.",
"id": "AbandonReleaseRequest",
"properties": {},
"type": "object"
},
"AbandonReleaseResponse": {
"description": "The response object for `AbandonRelease`.",
"id": "AbandonReleaseResponse",
"properties": {},
"type": "object"
},
"AnthosCluster": {
"description": "Information specifying an Anthos Cluster.",
"id": "AnthosCluster",
Expand Down Expand Up @@ -1429,6 +1469,10 @@
"$ref": "SerialPipeline",
"description": "SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`."
},
"suspended": {
"description": "When suspended, no new releases or rollouts can be created, but in-progress ones will complete.",
"type": "boolean"
},
"uid": {
"description": "Output only. Unique identifier of the `DeliveryPipeline`.",
"readOnly": true,
Expand Down Expand Up @@ -1899,6 +1943,11 @@
"description": "A `Release` resource in the Google Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.",
"id": "Release",
"properties": {
"abandoned": {
"description": "Output only. Indicates whether this is an abandoned release.",
"readOnly": true,
"type": "boolean"
},
"annotations": {
"additionalProperties": {
"type": "string"
Expand Down Expand Up @@ -2115,14 +2164,16 @@
"CLOUD_BUILD_UNAVAILABLE",
"EXECUTION_FAILED",
"DEADLINE_EXCEEDED",
"RELEASE_FAILED"
"RELEASE_FAILED",
"RELEASE_ABANDONED"
],
"enumDescriptions": [
"No reason for failure is specified.",
"Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See [required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).",
"The deploy operation did not complete successfully; check Cloud Build logs.",
"Deployment did not complete within the alloted time.",
"Release is in a failed state."
"Release is in a failed state.",
"Release is abandoned."
],
"readOnly": true,
"type": "string"
Expand Down
174 changes: 169 additions & 5 deletions clouddeploy/v1/clouddeploy-gen.go

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

Loading

0 comments on commit c02e08c

Please sign in to comment.