Skip to content

Commit 09cac21

Browse files
yoshi-automationquirogas
authored andcommitted
feat(gkebackup)!: update the API
BREAKING CHANGE: This release has breaking changes. #### gkebackup:v1 The following keys were deleted: - resources.projects.resources.locations.resources.backupPlans.methods.getTags.description - resources.projects.resources.locations.resources.backupPlans.methods.getTags.flatPath - resources.projects.resources.locations.resources.backupPlans.methods.getTags.httpMethod - resources.projects.resources.locations.resources.backupPlans.methods.getTags.id - resources.projects.resources.locations.resources.backupPlans.methods.getTags.parameterOrder - resources.projects.resources.locations.resources.backupPlans.methods.getTags.parameters.name.description - resources.projects.resources.locations.resources.backupPlans.methods.getTags.parameters.name.location - resources.projects.resources.locations.resources.backupPlans.methods.getTags.parameters.name.pattern - resources.projects.resources.locations.resources.backupPlans.methods.getTags.parameters.name.required - resources.projects.resources.locations.resources.backupPlans.methods.getTags.parameters.name.type - resources.projects.resources.locations.resources.backupPlans.methods.getTags.path - resources.projects.resources.locations.resources.backupPlans.methods.getTags.response.$ref - resources.projects.resources.locations.resources.backupPlans.methods.getTags.scopes - resources.projects.resources.locations.resources.backupPlans.methods.setTags.description - resources.projects.resources.locations.resources.backupPlans.methods.setTags.flatPath - resources.projects.resources.locations.resources.backupPlans.methods.setTags.httpMethod - resources.projects.resources.locations.resources.backupPlans.methods.setTags.id - resources.projects.resources.locations.resources.backupPlans.methods.setTags.parameterOrder - resources.projects.resources.locations.resources.backupPlans.methods.setTags.parameters.name.description - resources.projects.resources.locations.resources.backupPlans.methods.setTags.parameters.name.location - resources.projects.resources.locations.resources.backupPlans.methods.setTags.parameters.name.pattern - resources.projects.resources.locations.resources.backupPlans.methods.setTags.parameters.name.required - resources.projects.resources.locations.resources.backupPlans.methods.setTags.parameters.name.type - resources.projects.resources.locations.resources.backupPlans.methods.setTags.path - resources.projects.resources.locations.resources.backupPlans.methods.setTags.request.$ref - resources.projects.resources.locations.resources.backupPlans.methods.setTags.response.$ref - resources.projects.resources.locations.resources.backupPlans.methods.setTags.scopes - resources.projects.resources.locations.resources.restorePlans.methods.getTags.description - resources.projects.resources.locations.resources.restorePlans.methods.getTags.flatPath - resources.projects.resources.locations.resources.restorePlans.methods.getTags.httpMethod - resources.projects.resources.locations.resources.restorePlans.methods.getTags.id - resources.projects.resources.locations.resources.restorePlans.methods.getTags.parameterOrder - resources.projects.resources.locations.resources.restorePlans.methods.getTags.parameters.name.description - resources.projects.resources.locations.resources.restorePlans.methods.getTags.parameters.name.location - resources.projects.resources.locations.resources.restorePlans.methods.getTags.parameters.name.pattern - resources.projects.resources.locations.resources.restorePlans.methods.getTags.parameters.name.required - resources.projects.resources.locations.resources.restorePlans.methods.getTags.parameters.name.type - resources.projects.resources.locations.resources.restorePlans.methods.getTags.path - resources.projects.resources.locations.resources.restorePlans.methods.getTags.response.$ref - resources.projects.resources.locations.resources.restorePlans.methods.getTags.scopes - resources.projects.resources.locations.resources.restorePlans.methods.setTags.description - resources.projects.resources.locations.resources.restorePlans.methods.setTags.flatPath - resources.projects.resources.locations.resources.restorePlans.methods.setTags.httpMethod - resources.projects.resources.locations.resources.restorePlans.methods.setTags.id - resources.projects.resources.locations.resources.restorePlans.methods.setTags.parameterOrder - resources.projects.resources.locations.resources.restorePlans.methods.setTags.parameters.name.description - resources.projects.resources.locations.resources.restorePlans.methods.setTags.parameters.name.location - resources.projects.resources.locations.resources.restorePlans.methods.setTags.parameters.name.pattern - resources.projects.resources.locations.resources.restorePlans.methods.setTags.parameters.name.required - resources.projects.resources.locations.resources.restorePlans.methods.setTags.parameters.name.type - resources.projects.resources.locations.resources.restorePlans.methods.setTags.path - resources.projects.resources.locations.resources.restorePlans.methods.setTags.request.$ref - resources.projects.resources.locations.resources.restorePlans.methods.setTags.response.$ref - resources.projects.resources.locations.resources.restorePlans.methods.setTags.scopes - schemas.GetTagsResponse.description - schemas.GetTagsResponse.id - schemas.GetTagsResponse.properties.etag.description - schemas.GetTagsResponse.properties.etag.type - schemas.GetTagsResponse.properties.name.description - schemas.GetTagsResponse.properties.name.type - schemas.GetTagsResponse.properties.tags.additionalProperties.type - schemas.GetTagsResponse.properties.tags.description - schemas.GetTagsResponse.properties.tags.type - schemas.GetTagsResponse.type - schemas.SetTagsRequest.description - schemas.SetTagsRequest.id - schemas.SetTagsRequest.properties.etag.description - schemas.SetTagsRequest.properties.etag.type - schemas.SetTagsRequest.properties.requestId.description - schemas.SetTagsRequest.properties.requestId.type - schemas.SetTagsRequest.properties.tags.additionalProperties.type - schemas.SetTagsRequest.properties.tags.description - schemas.SetTagsRequest.properties.tags.type - schemas.SetTagsRequest.type - schemas.SetTagsResponse.description - schemas.SetTagsResponse.id - schemas.SetTagsResponse.properties.etag.description - schemas.SetTagsResponse.properties.etag.type - schemas.SetTagsResponse.properties.name.description - schemas.SetTagsResponse.properties.name.type - schemas.SetTagsResponse.properties.tags.additionalProperties.type - schemas.SetTagsResponse.properties.tags.description - schemas.SetTagsResponse.properties.tags.type - schemas.SetTagsResponse.type
1 parent 67ce067 commit 09cac21

File tree

2 files changed

+1
-834
lines changed

2 files changed

+1
-834
lines changed

discovery/gkebackup-v1.json

Lines changed: 1 addition & 173 deletions
Original file line numberDiff line numberDiff line change
@@ -558,31 +558,6 @@
558558
"https://www.googleapis.com/auth/cloud-platform"
559559
]
560560
},
561-
"getTags": {
562-
"description": "Returns tags directly bound to a GCP resource.",
563-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}:getTags",
564-
"httpMethod": "GET",
565-
"id": "gkebackup.projects.locations.backupPlans.getTags",
566-
"parameterOrder": [
567-
"name"
568-
],
569-
"parameters": {
570-
"name": {
571-
"description": "Required. The full resource name of the service resource.",
572-
"location": "path",
573-
"pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
574-
"required": true,
575-
"type": "string"
576-
}
577-
},
578-
"path": "v1/{+name}:getTags",
579-
"response": {
580-
"$ref": "GetTagsResponse"
581-
},
582-
"scopes": [
583-
"https://www.googleapis.com/auth/cloud-platform"
584-
]
585-
},
586561
"list": {
587562
"description": "Lists BackupPlans in a given location.",
588563
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans",
@@ -691,34 +666,6 @@
691666
"https://www.googleapis.com/auth/cloud-platform"
692667
]
693668
},
694-
"setTags": {
695-
"description": "Updates tags directly bound to a GCP resource.",
696-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}:setTags",
697-
"httpMethod": "POST",
698-
"id": "gkebackup.projects.locations.backupPlans.setTags",
699-
"parameterOrder": [
700-
"name"
701-
],
702-
"parameters": {
703-
"name": {
704-
"description": "Required. The full resource name of the service resource.",
705-
"location": "path",
706-
"pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
707-
"required": true,
708-
"type": "string"
709-
}
710-
},
711-
"path": "v1/{+name}:setTags",
712-
"request": {
713-
"$ref": "SetTagsRequest"
714-
},
715-
"response": {
716-
"$ref": "SetTagsResponse"
717-
},
718-
"scopes": [
719-
"https://www.googleapis.com/auth/cloud-platform"
720-
]
721-
},
722669
"testIamPermissions": {
723670
"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
724671
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}:testIamPermissions",
@@ -1712,31 +1659,6 @@
17121659
"https://www.googleapis.com/auth/cloud-platform"
17131660
]
17141661
},
1715-
"getTags": {
1716-
"description": "Returns tags directly bound to a GCP resource.",
1717-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}:getTags",
1718-
"httpMethod": "GET",
1719-
"id": "gkebackup.projects.locations.restorePlans.getTags",
1720-
"parameterOrder": [
1721-
"name"
1722-
],
1723-
"parameters": {
1724-
"name": {
1725-
"description": "Required. The full resource name of the service resource.",
1726-
"location": "path",
1727-
"pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1728-
"required": true,
1729-
"type": "string"
1730-
}
1731-
},
1732-
"path": "v1/{+name}:getTags",
1733-
"response": {
1734-
"$ref": "GetTagsResponse"
1735-
},
1736-
"scopes": [
1737-
"https://www.googleapis.com/auth/cloud-platform"
1738-
]
1739-
},
17401662
"list": {
17411663
"description": "Lists RestorePlans in a given location.",
17421664
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans",
@@ -1845,34 +1767,6 @@
18451767
"https://www.googleapis.com/auth/cloud-platform"
18461768
]
18471769
},
1848-
"setTags": {
1849-
"description": "Updates tags directly bound to a GCP resource.",
1850-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}:setTags",
1851-
"httpMethod": "POST",
1852-
"id": "gkebackup.projects.locations.restorePlans.setTags",
1853-
"parameterOrder": [
1854-
"name"
1855-
],
1856-
"parameters": {
1857-
"name": {
1858-
"description": "Required. The full resource name of the service resource.",
1859-
"location": "path",
1860-
"pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1861-
"required": true,
1862-
"type": "string"
1863-
}
1864-
},
1865-
"path": "v1/{+name}:setTags",
1866-
"request": {
1867-
"$ref": "SetTagsRequest"
1868-
},
1869-
"response": {
1870-
"$ref": "SetTagsResponse"
1871-
},
1872-
"scopes": [
1873-
"https://www.googleapis.com/auth/cloud-platform"
1874-
]
1875-
},
18761770
"testIamPermissions": {
18771771
"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
18781772
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}:testIamPermissions",
@@ -2338,7 +2232,7 @@
23382232
}
23392233
}
23402234
},
2341-
"revision": "20251112",
2235+
"revision": "20251209",
23422236
"rootUrl": "https://gkebackup.googleapis.com/",
23432237
"schemas": {
23442238
"AuditConfig": {
@@ -3192,28 +3086,6 @@
31923086
},
31933087
"type": "object"
31943088
},
3195-
"GetTagsResponse": {
3196-
"description": "Response message for GetTags.",
3197-
"id": "GetTagsResponse",
3198-
"properties": {
3199-
"etag": {
3200-
"description": "A checksum based on the current bindings. This field is always set in server responses.",
3201-
"type": "string"
3202-
},
3203-
"name": {
3204-
"description": "Required. The full resource name of the service resource.",
3205-
"type": "string"
3206-
},
3207-
"tags": {
3208-
"additionalProperties": {
3209-
"type": "string"
3210-
},
3211-
"description": "Required. Tag keys/values directly bound to this resource. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
3212-
"type": "object"
3213-
}
3214-
},
3215-
"type": "object"
3216-
},
32173089
"GoogleLongrunningCancelOperationRequest": {
32183090
"description": "The request message for Operations.CancelOperation.",
32193091
"id": "GoogleLongrunningCancelOperationRequest",
@@ -4356,50 +4228,6 @@
43564228
},
43574229
"type": "object"
43584230
},
4359-
"SetTagsRequest": {
4360-
"description": "Request message for SetTags.",
4361-
"id": "SetTagsRequest",
4362-
"properties": {
4363-
"etag": {
4364-
"description": "Optional. A checksum based on the current bindings which can be passed to prevent race conditions. If not passed, etag check would be skipped.",
4365-
"type": "string"
4366-
},
4367-
"requestId": {
4368-
"description": "Optional. A unique identifier for this request. Must be a valid UUID. This request is only idempotent if a `request_id` is provided.",
4369-
"type": "string"
4370-
},
4371-
"tags": {
4372-
"additionalProperties": {
4373-
"type": "string"
4374-
},
4375-
"description": "Required. These bindings will override any bindings previously set and will be effective immediately. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
4376-
"type": "object"
4377-
}
4378-
},
4379-
"type": "object"
4380-
},
4381-
"SetTagsResponse": {
4382-
"description": "Response message for SetTags.",
4383-
"id": "SetTagsResponse",
4384-
"properties": {
4385-
"etag": {
4386-
"description": "A checksum based on the current bindings. This field is always set in server responses.",
4387-
"type": "string"
4388-
},
4389-
"name": {
4390-
"description": "Required. The full resource name of the service resource.",
4391-
"type": "string"
4392-
},
4393-
"tags": {
4394-
"additionalProperties": {
4395-
"type": "string"
4396-
},
4397-
"description": "Required. Tag keys/values directly bound to this resource. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
4398-
"type": "object"
4399-
}
4400-
},
4401-
"type": "object"
4402-
},
44034231
"SubstitutionRule": {
44044232
"description": "A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to substitution) and substitution logic.",
44054233
"id": "SubstitutionRule",

0 commit comments

Comments
 (0)