1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://gkebackup.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Backup for GKE",
15 "description": "Backup for GKE is a managed Kubernetes workload backup and restore service for GKE clusters.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "gkebackup:v1",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://gkebackup.mtls.googleapis.com/",
26 "name": "gkebackup",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "projects": {
109 "resources": {
110 "locations": {
111 "methods": {
112 "get": {
113 "description": "Gets information about a location.",
114 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
115 "httpMethod": "GET",
116 "id": "gkebackup.projects.locations.get",
117 "parameterOrder": [
118 "name"
119 ],
120 "parameters": {
121 "name": {
122 "description": "Resource name for the location.",
123 "location": "path",
124 "pattern": "^projects/[^/]+/locations/[^/]+$",
125 "required": true,
126 "type": "string"
127 }
128 },
129 "path": "v1/{+name}",
130 "response": {
131 "$ref": "Location"
132 },
133 "scopes": [
134 "https://www.googleapis.com/auth/cloud-platform"
135 ]
136 },
137 "list": {
138 "description": "Lists information about the supported locations for this service.",
139 "flatPath": "v1/projects/{projectsId}/locations",
140 "httpMethod": "GET",
141 "id": "gkebackup.projects.locations.list",
142 "parameterOrder": [
143 "name"
144 ],
145 "parameters": {
146 "filter": {
147 "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148 "location": "query",
149 "type": "string"
150 },
151 "name": {
152 "description": "The resource that owns the locations collection, if applicable.",
153 "location": "path",
154 "pattern": "^projects/[^/]+$",
155 "required": true,
156 "type": "string"
157 },
158 "pageSize": {
159 "description": "The maximum number of results to return. If not set, the service selects a default.",
160 "format": "int32",
161 "location": "query",
162 "type": "integer"
163 },
164 "pageToken": {
165 "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
166 "location": "query",
167 "type": "string"
168 }
169 },
170 "path": "v1/{+name}/locations",
171 "response": {
172 "$ref": "ListLocationsResponse"
173 },
174 "scopes": [
175 "https://www.googleapis.com/auth/cloud-platform"
176 ]
177 }
178 },
179 "resources": {
180 "backupPlans": {
181 "methods": {
182 "create": {
183 "description": "Creates a new BackupPlan in a given location.",
184 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans",
185 "httpMethod": "POST",
186 "id": "gkebackup.projects.locations.backupPlans.create",
187 "parameterOrder": [
188 "parent"
189 ],
190 "parameters": {
191 "backupPlanId": {
192 "description": "Required. The client-provided short name for the BackupPlan resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of BackupPlans in this location",
193 "location": "query",
194 "type": "string"
195 },
196 "parent": {
197 "description": "Required. The location within which to create the BackupPlan. Format: `projects/*/locations/*`",
198 "location": "path",
199 "pattern": "^projects/[^/]+/locations/[^/]+$",
200 "required": true,
201 "type": "string"
202 }
203 },
204 "path": "v1/{+parent}/backupPlans",
205 "request": {
206 "$ref": "BackupPlan"
207 },
208 "response": {
209 "$ref": "GoogleLongrunningOperation"
210 },
211 "scopes": [
212 "https://www.googleapis.com/auth/cloud-platform"
213 ]
214 },
215 "delete": {
216 "description": "Deletes an existing BackupPlan.",
217 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}",
218 "httpMethod": "DELETE",
219 "id": "gkebackup.projects.locations.backupPlans.delete",
220 "parameterOrder": [
221 "name"
222 ],
223 "parameters": {
224 "etag": {
225 "description": "Optional. If provided, this value must match the current value of the target BackupPlan's etag field or the request is rejected.",
226 "location": "query",
227 "type": "string"
228 },
229 "name": {
230 "description": "Required. Fully qualified BackupPlan name. Format: `projects/*/locations/*/backupPlans/*`",
231 "location": "path",
232 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
233 "required": true,
234 "type": "string"
235 }
236 },
237 "path": "v1/{+name}",
238 "response": {
239 "$ref": "GoogleLongrunningOperation"
240 },
241 "scopes": [
242 "https://www.googleapis.com/auth/cloud-platform"
243 ]
244 },
245 "get": {
246 "description": "Retrieve the details of a single BackupPlan.",
247 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}",
248 "httpMethod": "GET",
249 "id": "gkebackup.projects.locations.backupPlans.get",
250 "parameterOrder": [
251 "name"
252 ],
253 "parameters": {
254 "name": {
255 "description": "Required. Fully qualified BackupPlan name. Format: `projects/*/locations/*/backupPlans/*`",
256 "location": "path",
257 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
258 "required": true,
259 "type": "string"
260 }
261 },
262 "path": "v1/{+name}",
263 "response": {
264 "$ref": "BackupPlan"
265 },
266 "scopes": [
267 "https://www.googleapis.com/auth/cloud-platform"
268 ]
269 },
270 "getIamPolicy": {
271 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
272 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}:getIamPolicy",
273 "httpMethod": "GET",
274 "id": "gkebackup.projects.locations.backupPlans.getIamPolicy",
275 "parameterOrder": [
276 "resource"
277 ],
278 "parameters": {
279 "options.requestedPolicyVersion": {
280 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
281 "format": "int32",
282 "location": "query",
283 "type": "integer"
284 },
285 "resource": {
286 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
287 "location": "path",
288 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
289 "required": true,
290 "type": "string"
291 }
292 },
293 "path": "v1/{+resource}:getIamPolicy",
294 "response": {
295 "$ref": "Policy"
296 },
297 "scopes": [
298 "https://www.googleapis.com/auth/cloud-platform"
299 ]
300 },
301 "list": {
302 "description": "Lists BackupPlans in a given location.",
303 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans",
304 "httpMethod": "GET",
305 "id": "gkebackup.projects.locations.backupPlans.list",
306 "parameterOrder": [
307 "parent"
308 ],
309 "parameters": {
310 "filter": {
311 "description": "Optional. Field match expression used to filter the results.",
312 "location": "query",
313 "type": "string"
314 },
315 "orderBy": {
316 "description": "Optional. Field by which to sort the results.",
317 "location": "query",
318 "type": "string"
319 },
320 "pageSize": {
321 "description": "Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.",
322 "format": "int32",
323 "location": "query",
324 "type": "integer"
325 },
326 "pageToken": {
327 "description": "Optional. The value of next_page_token received from a previous `ListBackupPlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupPlans` must match the call that provided the page token.",
328 "location": "query",
329 "type": "string"
330 },
331 "parent": {
332 "description": "Required. The location that contains the BackupPlans to list. Format: `projects/*/locations/*`",
333 "location": "path",
334 "pattern": "^projects/[^/]+/locations/[^/]+$",
335 "required": true,
336 "type": "string"
337 }
338 },
339 "path": "v1/{+parent}/backupPlans",
340 "response": {
341 "$ref": "ListBackupPlansResponse"
342 },
343 "scopes": [
344 "https://www.googleapis.com/auth/cloud-platform"
345 ]
346 },
347 "patch": {
348 "description": "Update a BackupPlan.",
349 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}",
350 "httpMethod": "PATCH",
351 "id": "gkebackup.projects.locations.backupPlans.patch",
352 "parameterOrder": [
353 "name"
354 ],
355 "parameters": {
356 "name": {
357 "description": "Output only. The full name of the BackupPlan resource. Format: `projects/*/locations/*/backupPlans/*`",
358 "location": "path",
359 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
360 "required": true,
361 "type": "string"
362 },
363 "updateMask": {
364 "description": "Optional. This is used to specify the fields to be overwritten in the BackupPlan targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `backup_config.include_volume_data`, etc.) If no `update_mask` is provided, all fields in `backup_plan` will be written to the target BackupPlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_plan` are ignored and are not used to update the target BackupPlan.",
365 "format": "google-fieldmask",
366 "location": "query",
367 "type": "string"
368 }
369 },
370 "path": "v1/{+name}",
371 "request": {
372 "$ref": "BackupPlan"
373 },
374 "response": {
375 "$ref": "GoogleLongrunningOperation"
376 },
377 "scopes": [
378 "https://www.googleapis.com/auth/cloud-platform"
379 ]
380 },
381 "setIamPolicy": {
382 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
383 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}:setIamPolicy",
384 "httpMethod": "POST",
385 "id": "gkebackup.projects.locations.backupPlans.setIamPolicy",
386 "parameterOrder": [
387 "resource"
388 ],
389 "parameters": {
390 "resource": {
391 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
392 "location": "path",
393 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
394 "required": true,
395 "type": "string"
396 }
397 },
398 "path": "v1/{+resource}:setIamPolicy",
399 "request": {
400 "$ref": "SetIamPolicyRequest"
401 },
402 "response": {
403 "$ref": "Policy"
404 },
405 "scopes": [
406 "https://www.googleapis.com/auth/cloud-platform"
407 ]
408 },
409 "testIamPermissions": {
410 "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.",
411 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}:testIamPermissions",
412 "httpMethod": "POST",
413 "id": "gkebackup.projects.locations.backupPlans.testIamPermissions",
414 "parameterOrder": [
415 "resource"
416 ],
417 "parameters": {
418 "resource": {
419 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
420 "location": "path",
421 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
422 "required": true,
423 "type": "string"
424 }
425 },
426 "path": "v1/{+resource}:testIamPermissions",
427 "request": {
428 "$ref": "TestIamPermissionsRequest"
429 },
430 "response": {
431 "$ref": "TestIamPermissionsResponse"
432 },
433 "scopes": [
434 "https://www.googleapis.com/auth/cloud-platform"
435 ]
436 }
437 },
438 "resources": {
439 "backups": {
440 "methods": {
441 "create": {
442 "description": "Creates a Backup for the given BackupPlan.",
443 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups",
444 "httpMethod": "POST",
445 "id": "gkebackup.projects.locations.backupPlans.backups.create",
446 "parameterOrder": [
447 "parent"
448 ],
449 "parameters": {
450 "backupId": {
451 "description": "Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan",
452 "location": "query",
453 "type": "string"
454 },
455 "parent": {
456 "description": "Required. The BackupPlan within which to create the Backup. Format: `projects/*/locations/*/backupPlans/*`",
457 "location": "path",
458 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
459 "required": true,
460 "type": "string"
461 }
462 },
463 "path": "v1/{+parent}/backups",
464 "request": {
465 "$ref": "Backup"
466 },
467 "response": {
468 "$ref": "GoogleLongrunningOperation"
469 },
470 "scopes": [
471 "https://www.googleapis.com/auth/cloud-platform"
472 ]
473 },
474 "delete": {
475 "description": "Deletes an existing Backup.",
476 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}",
477 "httpMethod": "DELETE",
478 "id": "gkebackup.projects.locations.backupPlans.backups.delete",
479 "parameterOrder": [
480 "name"
481 ],
482 "parameters": {
483 "etag": {
484 "description": "Optional. If provided, this value must match the current value of the target Backup's etag field or the request is rejected.",
485 "location": "query",
486 "type": "string"
487 },
488 "force": {
489 "description": "Optional. If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.",
490 "location": "query",
491 "type": "boolean"
492 },
493 "name": {
494 "description": "Required. Name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`",
495 "location": "path",
496 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
497 "required": true,
498 "type": "string"
499 }
500 },
501 "path": "v1/{+name}",
502 "response": {
503 "$ref": "GoogleLongrunningOperation"
504 },
505 "scopes": [
506 "https://www.googleapis.com/auth/cloud-platform"
507 ]
508 },
509 "get": {
510 "description": "Retrieve the details of a single Backup.",
511 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}",
512 "httpMethod": "GET",
513 "id": "gkebackup.projects.locations.backupPlans.backups.get",
514 "parameterOrder": [
515 "name"
516 ],
517 "parameters": {
518 "name": {
519 "description": "Required. Full name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`",
520 "location": "path",
521 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
522 "required": true,
523 "type": "string"
524 }
525 },
526 "path": "v1/{+name}",
527 "response": {
528 "$ref": "Backup"
529 },
530 "scopes": [
531 "https://www.googleapis.com/auth/cloud-platform"
532 ]
533 },
534 "getBackupIndexDownloadUrl": {
535 "description": "Retrieve the link to the backupIndex.",
536 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}:getBackupIndexDownloadUrl",
537 "httpMethod": "GET",
538 "id": "gkebackup.projects.locations.backupPlans.backups.getBackupIndexDownloadUrl",
539 "parameterOrder": [
540 "backup"
541 ],
542 "parameters": {
543 "backup": {
544 "description": "Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}",
545 "location": "path",
546 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
547 "required": true,
548 "type": "string"
549 }
550 },
551 "path": "v1/{+backup}:getBackupIndexDownloadUrl",
552 "response": {
553 "$ref": "GetBackupIndexDownloadUrlResponse"
554 },
555 "scopes": [
556 "https://www.googleapis.com/auth/cloud-platform"
557 ]
558 },
559 "getIamPolicy": {
560 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
561 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}:getIamPolicy",
562 "httpMethod": "GET",
563 "id": "gkebackup.projects.locations.backupPlans.backups.getIamPolicy",
564 "parameterOrder": [
565 "resource"
566 ],
567 "parameters": {
568 "options.requestedPolicyVersion": {
569 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
570 "format": "int32",
571 "location": "query",
572 "type": "integer"
573 },
574 "resource": {
575 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
576 "location": "path",
577 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
578 "required": true,
579 "type": "string"
580 }
581 },
582 "path": "v1/{+resource}:getIamPolicy",
583 "response": {
584 "$ref": "Policy"
585 },
586 "scopes": [
587 "https://www.googleapis.com/auth/cloud-platform"
588 ]
589 },
590 "list": {
591 "description": "Lists the Backups for a given BackupPlan.",
592 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups",
593 "httpMethod": "GET",
594 "id": "gkebackup.projects.locations.backupPlans.backups.list",
595 "parameterOrder": [
596 "parent"
597 ],
598 "parameters": {
599 "filter": {
600 "description": "Optional. Field match expression used to filter the results.",
601 "location": "query",
602 "type": "string"
603 },
604 "orderBy": {
605 "description": "Optional. Field by which to sort the results.",
606 "location": "query",
607 "type": "string"
608 },
609 "pageSize": {
610 "description": "Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.",
611 "format": "int32",
612 "location": "query",
613 "type": "integer"
614 },
615 "pageToken": {
616 "description": "Optional. The value of next_page_token received from a previous `ListBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.",
617 "location": "query",
618 "type": "string"
619 },
620 "parent": {
621 "description": "Required. The BackupPlan that contains the Backups to list. Format: `projects/*/locations/*/backupPlans/*`",
622 "location": "path",
623 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
624 "required": true,
625 "type": "string"
626 }
627 },
628 "path": "v1/{+parent}/backups",
629 "response": {
630 "$ref": "ListBackupsResponse"
631 },
632 "scopes": [
633 "https://www.googleapis.com/auth/cloud-platform"
634 ]
635 },
636 "patch": {
637 "description": "Update a Backup.",
638 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}",
639 "httpMethod": "PATCH",
640 "id": "gkebackup.projects.locations.backupPlans.backups.patch",
641 "parameterOrder": [
642 "name"
643 ],
644 "parameters": {
645 "name": {
646 "description": "Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`",
647 "location": "path",
648 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
649 "required": true,
650 "type": "string"
651 },
652 "updateMask": {
653 "description": "Optional. This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.",
654 "format": "google-fieldmask",
655 "location": "query",
656 "type": "string"
657 }
658 },
659 "path": "v1/{+name}",
660 "request": {
661 "$ref": "Backup"
662 },
663 "response": {
664 "$ref": "GoogleLongrunningOperation"
665 },
666 "scopes": [
667 "https://www.googleapis.com/auth/cloud-platform"
668 ]
669 },
670 "setIamPolicy": {
671 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
672 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}:setIamPolicy",
673 "httpMethod": "POST",
674 "id": "gkebackup.projects.locations.backupPlans.backups.setIamPolicy",
675 "parameterOrder": [
676 "resource"
677 ],
678 "parameters": {
679 "resource": {
680 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
681 "location": "path",
682 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
683 "required": true,
684 "type": "string"
685 }
686 },
687 "path": "v1/{+resource}:setIamPolicy",
688 "request": {
689 "$ref": "SetIamPolicyRequest"
690 },
691 "response": {
692 "$ref": "Policy"
693 },
694 "scopes": [
695 "https://www.googleapis.com/auth/cloud-platform"
696 ]
697 },
698 "testIamPermissions": {
699 "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.",
700 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}:testIamPermissions",
701 "httpMethod": "POST",
702 "id": "gkebackup.projects.locations.backupPlans.backups.testIamPermissions",
703 "parameterOrder": [
704 "resource"
705 ],
706 "parameters": {
707 "resource": {
708 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
709 "location": "path",
710 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
711 "required": true,
712 "type": "string"
713 }
714 },
715 "path": "v1/{+resource}:testIamPermissions",
716 "request": {
717 "$ref": "TestIamPermissionsRequest"
718 },
719 "response": {
720 "$ref": "TestIamPermissionsResponse"
721 },
722 "scopes": [
723 "https://www.googleapis.com/auth/cloud-platform"
724 ]
725 }
726 },
727 "resources": {
728 "volumeBackups": {
729 "methods": {
730 "get": {
731 "description": "Retrieve the details of a single VolumeBackup.",
732 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}/volumeBackups/{volumeBackupsId}",
733 "httpMethod": "GET",
734 "id": "gkebackup.projects.locations.backupPlans.backups.volumeBackups.get",
735 "parameterOrder": [
736 "name"
737 ],
738 "parameters": {
739 "name": {
740 "description": "Required. Full name of the VolumeBackup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`",
741 "location": "path",
742 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+/volumeBackups/[^/]+$",
743 "required": true,
744 "type": "string"
745 }
746 },
747 "path": "v1/{+name}",
748 "response": {
749 "$ref": "VolumeBackup"
750 },
751 "scopes": [
752 "https://www.googleapis.com/auth/cloud-platform"
753 ]
754 },
755 "getIamPolicy": {
756 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
757 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}/volumeBackups/{volumeBackupsId}:getIamPolicy",
758 "httpMethod": "GET",
759 "id": "gkebackup.projects.locations.backupPlans.backups.volumeBackups.getIamPolicy",
760 "parameterOrder": [
761 "resource"
762 ],
763 "parameters": {
764 "options.requestedPolicyVersion": {
765 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
766 "format": "int32",
767 "location": "query",
768 "type": "integer"
769 },
770 "resource": {
771 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
772 "location": "path",
773 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+/volumeBackups/[^/]+$",
774 "required": true,
775 "type": "string"
776 }
777 },
778 "path": "v1/{+resource}:getIamPolicy",
779 "response": {
780 "$ref": "Policy"
781 },
782 "scopes": [
783 "https://www.googleapis.com/auth/cloud-platform"
784 ]
785 },
786 "list": {
787 "description": "Lists the VolumeBackups for a given Backup.",
788 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}/volumeBackups",
789 "httpMethod": "GET",
790 "id": "gkebackup.projects.locations.backupPlans.backups.volumeBackups.list",
791 "parameterOrder": [
792 "parent"
793 ],
794 "parameters": {
795 "filter": {
796 "description": "Optional. Field match expression used to filter the results.",
797 "location": "query",
798 "type": "string"
799 },
800 "orderBy": {
801 "description": "Optional. Field by which to sort the results.",
802 "location": "query",
803 "type": "string"
804 },
805 "pageSize": {
806 "description": "Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.",
807 "format": "int32",
808 "location": "query",
809 "type": "integer"
810 },
811 "pageToken": {
812 "description": "Optional. The value of next_page_token received from a previous `ListVolumeBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListVolumeBackups` must match the call that provided the page token.",
813 "location": "query",
814 "type": "string"
815 },
816 "parent": {
817 "description": "Required. The Backup that contains the VolumeBackups to list. Format: `projects/*/locations/*/backupPlans/*/backups/*`",
818 "location": "path",
819 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+$",
820 "required": true,
821 "type": "string"
822 }
823 },
824 "path": "v1/{+parent}/volumeBackups",
825 "response": {
826 "$ref": "ListVolumeBackupsResponse"
827 },
828 "scopes": [
829 "https://www.googleapis.com/auth/cloud-platform"
830 ]
831 },
832 "setIamPolicy": {
833 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
834 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}/volumeBackups/{volumeBackupsId}:setIamPolicy",
835 "httpMethod": "POST",
836 "id": "gkebackup.projects.locations.backupPlans.backups.volumeBackups.setIamPolicy",
837 "parameterOrder": [
838 "resource"
839 ],
840 "parameters": {
841 "resource": {
842 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
843 "location": "path",
844 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+/volumeBackups/[^/]+$",
845 "required": true,
846 "type": "string"
847 }
848 },
849 "path": "v1/{+resource}:setIamPolicy",
850 "request": {
851 "$ref": "SetIamPolicyRequest"
852 },
853 "response": {
854 "$ref": "Policy"
855 },
856 "scopes": [
857 "https://www.googleapis.com/auth/cloud-platform"
858 ]
859 },
860 "testIamPermissions": {
861 "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.",
862 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}/backups/{backupsId}/volumeBackups/{volumeBackupsId}:testIamPermissions",
863 "httpMethod": "POST",
864 "id": "gkebackup.projects.locations.backupPlans.backups.volumeBackups.testIamPermissions",
865 "parameterOrder": [
866 "resource"
867 ],
868 "parameters": {
869 "resource": {
870 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
871 "location": "path",
872 "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+/backups/[^/]+/volumeBackups/[^/]+$",
873 "required": true,
874 "type": "string"
875 }
876 },
877 "path": "v1/{+resource}:testIamPermissions",
878 "request": {
879 "$ref": "TestIamPermissionsRequest"
880 },
881 "response": {
882 "$ref": "TestIamPermissionsResponse"
883 },
884 "scopes": [
885 "https://www.googleapis.com/auth/cloud-platform"
886 ]
887 }
888 }
889 }
890 }
891 }
892 }
893 },
894 "operations": {
895 "methods": {
896 "cancel": {
897 "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
898 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
899 "httpMethod": "POST",
900 "id": "gkebackup.projects.locations.operations.cancel",
901 "parameterOrder": [
902 "name"
903 ],
904 "parameters": {
905 "name": {
906 "description": "The name of the operation resource to be cancelled.",
907 "location": "path",
908 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
909 "required": true,
910 "type": "string"
911 }
912 },
913 "path": "v1/{+name}:cancel",
914 "request": {
915 "$ref": "GoogleLongrunningCancelOperationRequest"
916 },
917 "response": {
918 "$ref": "Empty"
919 },
920 "scopes": [
921 "https://www.googleapis.com/auth/cloud-platform"
922 ]
923 },
924 "delete": {
925 "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
926 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
927 "httpMethod": "DELETE",
928 "id": "gkebackup.projects.locations.operations.delete",
929 "parameterOrder": [
930 "name"
931 ],
932 "parameters": {
933 "name": {
934 "description": "The name of the operation resource to be deleted.",
935 "location": "path",
936 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
937 "required": true,
938 "type": "string"
939 }
940 },
941 "path": "v1/{+name}",
942 "response": {
943 "$ref": "Empty"
944 },
945 "scopes": [
946 "https://www.googleapis.com/auth/cloud-platform"
947 ]
948 },
949 "get": {
950 "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
951 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
952 "httpMethod": "GET",
953 "id": "gkebackup.projects.locations.operations.get",
954 "parameterOrder": [
955 "name"
956 ],
957 "parameters": {
958 "name": {
959 "description": "The name of the operation resource.",
960 "location": "path",
961 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
962 "required": true,
963 "type": "string"
964 }
965 },
966 "path": "v1/{+name}",
967 "response": {
968 "$ref": "GoogleLongrunningOperation"
969 },
970 "scopes": [
971 "https://www.googleapis.com/auth/cloud-platform"
972 ]
973 },
974 "list": {
975 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
976 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
977 "httpMethod": "GET",
978 "id": "gkebackup.projects.locations.operations.list",
979 "parameterOrder": [
980 "name"
981 ],
982 "parameters": {
983 "filter": {
984 "description": "The standard list filter.",
985 "location": "query",
986 "type": "string"
987 },
988 "name": {
989 "description": "The name of the operation's parent resource.",
990 "location": "path",
991 "pattern": "^projects/[^/]+/locations/[^/]+$",
992 "required": true,
993 "type": "string"
994 },
995 "pageSize": {
996 "description": "The standard list page size.",
997 "format": "int32",
998 "location": "query",
999 "type": "integer"
1000 },
1001 "pageToken": {
1002 "description": "The standard list page token.",
1003 "location": "query",
1004 "type": "string"
1005 }
1006 },
1007 "path": "v1/{+name}/operations",
1008 "response": {
1009 "$ref": "GoogleLongrunningListOperationsResponse"
1010 },
1011 "scopes": [
1012 "https://www.googleapis.com/auth/cloud-platform"
1013 ]
1014 }
1015 }
1016 },
1017 "restorePlans": {
1018 "methods": {
1019 "create": {
1020 "description": "Creates a new RestorePlan in a given location.",
1021 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans",
1022 "httpMethod": "POST",
1023 "id": "gkebackup.projects.locations.restorePlans.create",
1024 "parameterOrder": [
1025 "parent"
1026 ],
1027 "parameters": {
1028 "parent": {
1029 "description": "Required. The location within which to create the RestorePlan. Format: `projects/*/locations/*`",
1030 "location": "path",
1031 "pattern": "^projects/[^/]+/locations/[^/]+$",
1032 "required": true,
1033 "type": "string"
1034 },
1035 "restorePlanId": {
1036 "description": "Required. The client-provided short name for the RestorePlan resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of RestorePlans in this location",
1037 "location": "query",
1038 "type": "string"
1039 }
1040 },
1041 "path": "v1/{+parent}/restorePlans",
1042 "request": {
1043 "$ref": "RestorePlan"
1044 },
1045 "response": {
1046 "$ref": "GoogleLongrunningOperation"
1047 },
1048 "scopes": [
1049 "https://www.googleapis.com/auth/cloud-platform"
1050 ]
1051 },
1052 "delete": {
1053 "description": "Deletes an existing RestorePlan.",
1054 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}",
1055 "httpMethod": "DELETE",
1056 "id": "gkebackup.projects.locations.restorePlans.delete",
1057 "parameterOrder": [
1058 "name"
1059 ],
1060 "parameters": {
1061 "etag": {
1062 "description": "Optional. If provided, this value must match the current value of the target RestorePlan's etag field or the request is rejected.",
1063 "location": "query",
1064 "type": "string"
1065 },
1066 "force": {
1067 "description": "Optional. If set to true, any Restores below this RestorePlan will also be deleted. Otherwise, the request will only succeed if the RestorePlan has no Restores.",
1068 "location": "query",
1069 "type": "boolean"
1070 },
1071 "name": {
1072 "description": "Required. Fully qualified RestorePlan name. Format: `projects/*/locations/*/restorePlans/*`",
1073 "location": "path",
1074 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1075 "required": true,
1076 "type": "string"
1077 }
1078 },
1079 "path": "v1/{+name}",
1080 "response": {
1081 "$ref": "GoogleLongrunningOperation"
1082 },
1083 "scopes": [
1084 "https://www.googleapis.com/auth/cloud-platform"
1085 ]
1086 },
1087 "get": {
1088 "description": "Retrieve the details of a single RestorePlan.",
1089 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}",
1090 "httpMethod": "GET",
1091 "id": "gkebackup.projects.locations.restorePlans.get",
1092 "parameterOrder": [
1093 "name"
1094 ],
1095 "parameters": {
1096 "name": {
1097 "description": "Required. Fully qualified RestorePlan name. Format: `projects/*/locations/*/restorePlans/*`",
1098 "location": "path",
1099 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1100 "required": true,
1101 "type": "string"
1102 }
1103 },
1104 "path": "v1/{+name}",
1105 "response": {
1106 "$ref": "RestorePlan"
1107 },
1108 "scopes": [
1109 "https://www.googleapis.com/auth/cloud-platform"
1110 ]
1111 },
1112 "getIamPolicy": {
1113 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
1114 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}:getIamPolicy",
1115 "httpMethod": "GET",
1116 "id": "gkebackup.projects.locations.restorePlans.getIamPolicy",
1117 "parameterOrder": [
1118 "resource"
1119 ],
1120 "parameters": {
1121 "options.requestedPolicyVersion": {
1122 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
1123 "format": "int32",
1124 "location": "query",
1125 "type": "integer"
1126 },
1127 "resource": {
1128 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1129 "location": "path",
1130 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1131 "required": true,
1132 "type": "string"
1133 }
1134 },
1135 "path": "v1/{+resource}:getIamPolicy",
1136 "response": {
1137 "$ref": "Policy"
1138 },
1139 "scopes": [
1140 "https://www.googleapis.com/auth/cloud-platform"
1141 ]
1142 },
1143 "list": {
1144 "description": "Lists RestorePlans in a given location.",
1145 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans",
1146 "httpMethod": "GET",
1147 "id": "gkebackup.projects.locations.restorePlans.list",
1148 "parameterOrder": [
1149 "parent"
1150 ],
1151 "parameters": {
1152 "filter": {
1153 "description": "Optional. Field match expression used to filter the results.",
1154 "location": "query",
1155 "type": "string"
1156 },
1157 "orderBy": {
1158 "description": "Optional. Field by which to sort the results.",
1159 "location": "query",
1160 "type": "string"
1161 },
1162 "pageSize": {
1163 "description": "Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.",
1164 "format": "int32",
1165 "location": "query",
1166 "type": "integer"
1167 },
1168 "pageToken": {
1169 "description": "Optional. The value of next_page_token received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlans` must match the call that provided the page token.",
1170 "location": "query",
1171 "type": "string"
1172 },
1173 "parent": {
1174 "description": "Required. The location that contains the RestorePlans to list. Format: `projects/*/locations/*`",
1175 "location": "path",
1176 "pattern": "^projects/[^/]+/locations/[^/]+$",
1177 "required": true,
1178 "type": "string"
1179 }
1180 },
1181 "path": "v1/{+parent}/restorePlans",
1182 "response": {
1183 "$ref": "ListRestorePlansResponse"
1184 },
1185 "scopes": [
1186 "https://www.googleapis.com/auth/cloud-platform"
1187 ]
1188 },
1189 "patch": {
1190 "description": "Update a RestorePlan.",
1191 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}",
1192 "httpMethod": "PATCH",
1193 "id": "gkebackup.projects.locations.restorePlans.patch",
1194 "parameterOrder": [
1195 "name"
1196 ],
1197 "parameters": {
1198 "name": {
1199 "description": "Output only. The full name of the RestorePlan resource. Format: `projects/*/locations/*/restorePlans/*`.",
1200 "location": "path",
1201 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1202 "required": true,
1203 "type": "string"
1204 },
1205 "updateMask": {
1206 "description": "Optional. This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the `restore_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore_plan` will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored and are not used to update the target RestorePlan.",
1207 "format": "google-fieldmask",
1208 "location": "query",
1209 "type": "string"
1210 }
1211 },
1212 "path": "v1/{+name}",
1213 "request": {
1214 "$ref": "RestorePlan"
1215 },
1216 "response": {
1217 "$ref": "GoogleLongrunningOperation"
1218 },
1219 "scopes": [
1220 "https://www.googleapis.com/auth/cloud-platform"
1221 ]
1222 },
1223 "setIamPolicy": {
1224 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
1225 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}:setIamPolicy",
1226 "httpMethod": "POST",
1227 "id": "gkebackup.projects.locations.restorePlans.setIamPolicy",
1228 "parameterOrder": [
1229 "resource"
1230 ],
1231 "parameters": {
1232 "resource": {
1233 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1234 "location": "path",
1235 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1236 "required": true,
1237 "type": "string"
1238 }
1239 },
1240 "path": "v1/{+resource}:setIamPolicy",
1241 "request": {
1242 "$ref": "SetIamPolicyRequest"
1243 },
1244 "response": {
1245 "$ref": "Policy"
1246 },
1247 "scopes": [
1248 "https://www.googleapis.com/auth/cloud-platform"
1249 ]
1250 },
1251 "testIamPermissions": {
1252 "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.",
1253 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}:testIamPermissions",
1254 "httpMethod": "POST",
1255 "id": "gkebackup.projects.locations.restorePlans.testIamPermissions",
1256 "parameterOrder": [
1257 "resource"
1258 ],
1259 "parameters": {
1260 "resource": {
1261 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1262 "location": "path",
1263 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1264 "required": true,
1265 "type": "string"
1266 }
1267 },
1268 "path": "v1/{+resource}:testIamPermissions",
1269 "request": {
1270 "$ref": "TestIamPermissionsRequest"
1271 },
1272 "response": {
1273 "$ref": "TestIamPermissionsResponse"
1274 },
1275 "scopes": [
1276 "https://www.googleapis.com/auth/cloud-platform"
1277 ]
1278 }
1279 },
1280 "resources": {
1281 "restores": {
1282 "methods": {
1283 "create": {
1284 "description": "Creates a new Restore for the given RestorePlan.",
1285 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores",
1286 "httpMethod": "POST",
1287 "id": "gkebackup.projects.locations.restorePlans.restores.create",
1288 "parameterOrder": [
1289 "parent"
1290 ],
1291 "parameters": {
1292 "parent": {
1293 "description": "Required. The RestorePlan within which to create the Restore. Format: `projects/*/locations/*/restorePlans/*`",
1294 "location": "path",
1295 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1296 "required": true,
1297 "type": "string"
1298 },
1299 "restoreId": {
1300 "description": "Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.",
1301 "location": "query",
1302 "type": "string"
1303 }
1304 },
1305 "path": "v1/{+parent}/restores",
1306 "request": {
1307 "$ref": "Restore"
1308 },
1309 "response": {
1310 "$ref": "GoogleLongrunningOperation"
1311 },
1312 "scopes": [
1313 "https://www.googleapis.com/auth/cloud-platform"
1314 ]
1315 },
1316 "delete": {
1317 "description": "Deletes an existing Restore.",
1318 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}",
1319 "httpMethod": "DELETE",
1320 "id": "gkebackup.projects.locations.restorePlans.restores.delete",
1321 "parameterOrder": [
1322 "name"
1323 ],
1324 "parameters": {
1325 "etag": {
1326 "description": "Optional. If provided, this value must match the current value of the target Restore's etag field or the request is rejected.",
1327 "location": "query",
1328 "type": "string"
1329 },
1330 "force": {
1331 "description": "Optional. If set to true, any VolumeRestores below this restore will also be deleted. Otherwise, the request will only succeed if the restore has no VolumeRestores.",
1332 "location": "query",
1333 "type": "boolean"
1334 },
1335 "name": {
1336 "description": "Required. Full name of the Restore Format: `projects/*/locations/*/restorePlans/*/restores/*`",
1337 "location": "path",
1338 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+$",
1339 "required": true,
1340 "type": "string"
1341 }
1342 },
1343 "path": "v1/{+name}",
1344 "response": {
1345 "$ref": "GoogleLongrunningOperation"
1346 },
1347 "scopes": [
1348 "https://www.googleapis.com/auth/cloud-platform"
1349 ]
1350 },
1351 "get": {
1352 "description": "Retrieves the details of a single Restore.",
1353 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}",
1354 "httpMethod": "GET",
1355 "id": "gkebackup.projects.locations.restorePlans.restores.get",
1356 "parameterOrder": [
1357 "name"
1358 ],
1359 "parameters": {
1360 "name": {
1361 "description": "Required. Name of the restore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*`",
1362 "location": "path",
1363 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+$",
1364 "required": true,
1365 "type": "string"
1366 }
1367 },
1368 "path": "v1/{+name}",
1369 "response": {
1370 "$ref": "Restore"
1371 },
1372 "scopes": [
1373 "https://www.googleapis.com/auth/cloud-platform"
1374 ]
1375 },
1376 "getIamPolicy": {
1377 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
1378 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}:getIamPolicy",
1379 "httpMethod": "GET",
1380 "id": "gkebackup.projects.locations.restorePlans.restores.getIamPolicy",
1381 "parameterOrder": [
1382 "resource"
1383 ],
1384 "parameters": {
1385 "options.requestedPolicyVersion": {
1386 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
1387 "format": "int32",
1388 "location": "query",
1389 "type": "integer"
1390 },
1391 "resource": {
1392 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1393 "location": "path",
1394 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+$",
1395 "required": true,
1396 "type": "string"
1397 }
1398 },
1399 "path": "v1/{+resource}:getIamPolicy",
1400 "response": {
1401 "$ref": "Policy"
1402 },
1403 "scopes": [
1404 "https://www.googleapis.com/auth/cloud-platform"
1405 ]
1406 },
1407 "list": {
1408 "description": "Lists the Restores for a given RestorePlan.",
1409 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores",
1410 "httpMethod": "GET",
1411 "id": "gkebackup.projects.locations.restorePlans.restores.list",
1412 "parameterOrder": [
1413 "parent"
1414 ],
1415 "parameters": {
1416 "filter": {
1417 "description": "Optional. Field match expression used to filter the results.",
1418 "location": "query",
1419 "type": "string"
1420 },
1421 "orderBy": {
1422 "description": "Optional. Field by which to sort the results.",
1423 "location": "query",
1424 "type": "string"
1425 },
1426 "pageSize": {
1427 "description": "Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.",
1428 "format": "int32",
1429 "location": "query",
1430 "type": "integer"
1431 },
1432 "pageToken": {
1433 "description": "Optional. The value of next_page_token received from a previous `ListRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestores` must match the call that provided the page token.",
1434 "location": "query",
1435 "type": "string"
1436 },
1437 "parent": {
1438 "description": "Required. The RestorePlan that contains the Restores to list. Format: `projects/*/locations/*/restorePlans/*`",
1439 "location": "path",
1440 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+$",
1441 "required": true,
1442 "type": "string"
1443 }
1444 },
1445 "path": "v1/{+parent}/restores",
1446 "response": {
1447 "$ref": "ListRestoresResponse"
1448 },
1449 "scopes": [
1450 "https://www.googleapis.com/auth/cloud-platform"
1451 ]
1452 },
1453 "patch": {
1454 "description": "Update a Restore.",
1455 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}",
1456 "httpMethod": "PATCH",
1457 "id": "gkebackup.projects.locations.restorePlans.restores.patch",
1458 "parameterOrder": [
1459 "name"
1460 ],
1461 "parameters": {
1462 "name": {
1463 "description": "Output only. The full name of the Restore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*`",
1464 "location": "path",
1465 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+$",
1466 "required": true,
1467 "type": "string"
1468 },
1469 "updateMask": {
1470 "description": "Optional. This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.",
1471 "format": "google-fieldmask",
1472 "location": "query",
1473 "type": "string"
1474 }
1475 },
1476 "path": "v1/{+name}",
1477 "request": {
1478 "$ref": "Restore"
1479 },
1480 "response": {
1481 "$ref": "GoogleLongrunningOperation"
1482 },
1483 "scopes": [
1484 "https://www.googleapis.com/auth/cloud-platform"
1485 ]
1486 },
1487 "setIamPolicy": {
1488 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
1489 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}:setIamPolicy",
1490 "httpMethod": "POST",
1491 "id": "gkebackup.projects.locations.restorePlans.restores.setIamPolicy",
1492 "parameterOrder": [
1493 "resource"
1494 ],
1495 "parameters": {
1496 "resource": {
1497 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1498 "location": "path",
1499 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+$",
1500 "required": true,
1501 "type": "string"
1502 }
1503 },
1504 "path": "v1/{+resource}:setIamPolicy",
1505 "request": {
1506 "$ref": "SetIamPolicyRequest"
1507 },
1508 "response": {
1509 "$ref": "Policy"
1510 },
1511 "scopes": [
1512 "https://www.googleapis.com/auth/cloud-platform"
1513 ]
1514 },
1515 "testIamPermissions": {
1516 "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.",
1517 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}:testIamPermissions",
1518 "httpMethod": "POST",
1519 "id": "gkebackup.projects.locations.restorePlans.restores.testIamPermissions",
1520 "parameterOrder": [
1521 "resource"
1522 ],
1523 "parameters": {
1524 "resource": {
1525 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1526 "location": "path",
1527 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+$",
1528 "required": true,
1529 "type": "string"
1530 }
1531 },
1532 "path": "v1/{+resource}:testIamPermissions",
1533 "request": {
1534 "$ref": "TestIamPermissionsRequest"
1535 },
1536 "response": {
1537 "$ref": "TestIamPermissionsResponse"
1538 },
1539 "scopes": [
1540 "https://www.googleapis.com/auth/cloud-platform"
1541 ]
1542 }
1543 },
1544 "resources": {
1545 "volumeRestores": {
1546 "methods": {
1547 "get": {
1548 "description": "Retrieve the details of a single VolumeRestore.",
1549 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}/volumeRestores/{volumeRestoresId}",
1550 "httpMethod": "GET",
1551 "id": "gkebackup.projects.locations.restorePlans.restores.volumeRestores.get",
1552 "parameterOrder": [
1553 "name"
1554 ],
1555 "parameters": {
1556 "name": {
1557 "description": "Required. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`",
1558 "location": "path",
1559 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+/volumeRestores/[^/]+$",
1560 "required": true,
1561 "type": "string"
1562 }
1563 },
1564 "path": "v1/{+name}",
1565 "response": {
1566 "$ref": "VolumeRestore"
1567 },
1568 "scopes": [
1569 "https://www.googleapis.com/auth/cloud-platform"
1570 ]
1571 },
1572 "getIamPolicy": {
1573 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
1574 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}/volumeRestores/{volumeRestoresId}:getIamPolicy",
1575 "httpMethod": "GET",
1576 "id": "gkebackup.projects.locations.restorePlans.restores.volumeRestores.getIamPolicy",
1577 "parameterOrder": [
1578 "resource"
1579 ],
1580 "parameters": {
1581 "options.requestedPolicyVersion": {
1582 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
1583 "format": "int32",
1584 "location": "query",
1585 "type": "integer"
1586 },
1587 "resource": {
1588 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1589 "location": "path",
1590 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+/volumeRestores/[^/]+$",
1591 "required": true,
1592 "type": "string"
1593 }
1594 },
1595 "path": "v1/{+resource}:getIamPolicy",
1596 "response": {
1597 "$ref": "Policy"
1598 },
1599 "scopes": [
1600 "https://www.googleapis.com/auth/cloud-platform"
1601 ]
1602 },
1603 "list": {
1604 "description": "Lists the VolumeRestores for a given Restore.",
1605 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}/volumeRestores",
1606 "httpMethod": "GET",
1607 "id": "gkebackup.projects.locations.restorePlans.restores.volumeRestores.list",
1608 "parameterOrder": [
1609 "parent"
1610 ],
1611 "parameters": {
1612 "filter": {
1613 "description": "Optional. Field match expression used to filter the results.",
1614 "location": "query",
1615 "type": "string"
1616 },
1617 "orderBy": {
1618 "description": "Optional. Field by which to sort the results.",
1619 "location": "query",
1620 "type": "string"
1621 },
1622 "pageSize": {
1623 "description": "Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.",
1624 "format": "int32",
1625 "location": "query",
1626 "type": "integer"
1627 },
1628 "pageToken": {
1629 "description": "Optional. The value of next_page_token received from a previous `ListVolumeRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListVolumeRestores` must match the call that provided the page token.",
1630 "location": "query",
1631 "type": "string"
1632 },
1633 "parent": {
1634 "description": "Required. The Restore that contains the VolumeRestores to list. Format: `projects/*/locations/*/restorePlans/*/restores/*`",
1635 "location": "path",
1636 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+$",
1637 "required": true,
1638 "type": "string"
1639 }
1640 },
1641 "path": "v1/{+parent}/volumeRestores",
1642 "response": {
1643 "$ref": "ListVolumeRestoresResponse"
1644 },
1645 "scopes": [
1646 "https://www.googleapis.com/auth/cloud-platform"
1647 ]
1648 },
1649 "setIamPolicy": {
1650 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
1651 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}/volumeRestores/{volumeRestoresId}:setIamPolicy",
1652 "httpMethod": "POST",
1653 "id": "gkebackup.projects.locations.restorePlans.restores.volumeRestores.setIamPolicy",
1654 "parameterOrder": [
1655 "resource"
1656 ],
1657 "parameters": {
1658 "resource": {
1659 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1660 "location": "path",
1661 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+/volumeRestores/[^/]+$",
1662 "required": true,
1663 "type": "string"
1664 }
1665 },
1666 "path": "v1/{+resource}:setIamPolicy",
1667 "request": {
1668 "$ref": "SetIamPolicyRequest"
1669 },
1670 "response": {
1671 "$ref": "Policy"
1672 },
1673 "scopes": [
1674 "https://www.googleapis.com/auth/cloud-platform"
1675 ]
1676 },
1677 "testIamPermissions": {
1678 "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.",
1679 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/restorePlans/{restorePlansId}/restores/{restoresId}/volumeRestores/{volumeRestoresId}:testIamPermissions",
1680 "httpMethod": "POST",
1681 "id": "gkebackup.projects.locations.restorePlans.restores.volumeRestores.testIamPermissions",
1682 "parameterOrder": [
1683 "resource"
1684 ],
1685 "parameters": {
1686 "resource": {
1687 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1688 "location": "path",
1689 "pattern": "^projects/[^/]+/locations/[^/]+/restorePlans/[^/]+/restores/[^/]+/volumeRestores/[^/]+$",
1690 "required": true,
1691 "type": "string"
1692 }
1693 },
1694 "path": "v1/{+resource}:testIamPermissions",
1695 "request": {
1696 "$ref": "TestIamPermissionsRequest"
1697 },
1698 "response": {
1699 "$ref": "TestIamPermissionsResponse"
1700 },
1701 "scopes": [
1702 "https://www.googleapis.com/auth/cloud-platform"
1703 ]
1704 }
1705 }
1706 }
1707 }
1708 }
1709 }
1710 }
1711 }
1712 }
1713 }
1714 }
1715 },
1716 "revision": "20240410",
1717 "rootUrl": "https://gkebackup.googleapis.com/",
1718 "schemas": {
1719 "AuditConfig": {
1720 "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
1721 "id": "AuditConfig",
1722 "properties": {
1723 "auditLogConfigs": {
1724 "description": "The configuration for logging of each type of permission.",
1725 "items": {
1726 "$ref": "AuditLogConfig"
1727 },
1728 "type": "array"
1729 },
1730 "service": {
1731 "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.",
1732 "type": "string"
1733 }
1734 },
1735 "type": "object"
1736 },
1737 "AuditLogConfig": {
1738 "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
1739 "id": "AuditLogConfig",
1740 "properties": {
1741 "exemptedMembers": {
1742 "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.",
1743 "items": {
1744 "type": "string"
1745 },
1746 "type": "array"
1747 },
1748 "logType": {
1749 "description": "The log type that this config enables.",
1750 "enum": [
1751 "LOG_TYPE_UNSPECIFIED",
1752 "ADMIN_READ",
1753 "DATA_WRITE",
1754 "DATA_READ"
1755 ],
1756 "enumDescriptions": [
1757 "Default case. Should never be this.",
1758 "Admin reads. Example: CloudIAM getIamPolicy",
1759 "Data writes. Example: CloudSQL Users create",
1760 "Data reads. Example: CloudSQL Users list"
1761 ],
1762 "type": "string"
1763 }
1764 },
1765 "type": "object"
1766 },
1767 "Backup": {
1768 "description": "Represents a request to perform a single point-in-time capture of some portion of the state of a GKE cluster, the record of the backup operation itself, and an anchor for the underlying artifacts that comprise the Backup (the config backup and VolumeBackups).",
1769 "id": "Backup",
1770 "properties": {
1771 "allNamespaces": {
1772 "description": "Output only. If True, all namespaces were included in the Backup.",
1773 "readOnly": true,
1774 "type": "boolean"
1775 },
1776 "clusterMetadata": {
1777 "$ref": "ClusterMetadata",
1778 "description": "Output only. Information about the GKE cluster from which this Backup was created.",
1779 "readOnly": true
1780 },
1781 "completeTime": {
1782 "description": "Output only. Completion time of the Backup",
1783 "format": "google-datetime",
1784 "readOnly": true,
1785 "type": "string"
1786 },
1787 "configBackupSizeBytes": {
1788 "description": "Output only. The size of the config backup in bytes.",
1789 "format": "int64",
1790 "readOnly": true,
1791 "type": "string"
1792 },
1793 "containsSecrets": {
1794 "description": "Output only. Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.",
1795 "readOnly": true,
1796 "type": "boolean"
1797 },
1798 "containsVolumeData": {
1799 "description": "Output only. Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.",
1800 "readOnly": true,
1801 "type": "boolean"
1802 },
1803 "createTime": {
1804 "description": "Output only. The timestamp when this Backup resource was created.",
1805 "format": "google-datetime",
1806 "readOnly": true,
1807 "type": "string"
1808 },
1809 "deleteLockDays": {
1810 "description": "Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be \"locked\" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).",
1811 "format": "int32",
1812 "type": "integer"
1813 },
1814 "deleteLockExpireTime": {
1815 "description": "Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).",
1816 "format": "google-datetime",
1817 "readOnly": true,
1818 "type": "string"
1819 },
1820 "description": {
1821 "description": "Optional. User specified descriptive string for this Backup.",
1822 "type": "string"
1823 },
1824 "encryptionKey": {
1825 "$ref": "EncryptionKey",
1826 "description": "Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.",
1827 "readOnly": true
1828 },
1829 "etag": {
1830 "description": "Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackup`, and systems are expected to put that etag in the request to `UpdateBackup` or `DeleteBackup` to ensure that their change will be applied to the same version of the resource.",
1831 "readOnly": true,
1832 "type": "string"
1833 },
1834 "labels": {
1835 "additionalProperties": {
1836 "type": "string"
1837 },
1838 "description": "Optional. A set of custom labels supplied by user.",
1839 "type": "object"
1840 },
1841 "manual": {
1842 "description": "Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.",
1843 "readOnly": true,
1844 "type": "boolean"
1845 },
1846 "name": {
1847 "description": "Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`",
1848 "readOnly": true,
1849 "type": "string"
1850 },
1851 "podCount": {
1852 "description": "Output only. The total number of Kubernetes Pods contained in the Backup.",
1853 "format": "int32",
1854 "readOnly": true,
1855 "type": "integer"
1856 },
1857 "resourceCount": {
1858 "description": "Output only. The total number of Kubernetes resources included in the Backup.",
1859 "format": "int32",
1860 "readOnly": true,
1861 "type": "integer"
1862 },
1863 "retainDays": {
1864 "description": "Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value \u003e= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be \u003e= delete_lock_days and \u003c= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.",
1865 "format": "int32",
1866 "type": "integer"
1867 },
1868 "retainExpireTime": {
1869 "description": "Output only. The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).",
1870 "format": "google-datetime",
1871 "readOnly": true,
1872 "type": "string"
1873 },
1874 "selectedApplications": {
1875 "$ref": "NamespacedNames",
1876 "description": "Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.",
1877 "readOnly": true
1878 },
1879 "selectedNamespaces": {
1880 "$ref": "Namespaces",
1881 "description": "Output only. If set, the list of namespaces that were included in the Backup.",
1882 "readOnly": true
1883 },
1884 "sizeBytes": {
1885 "description": "Output only. The total size of the Backup in bytes = config backup size + sum(volume backup sizes)",
1886 "format": "int64",
1887 "readOnly": true,
1888 "type": "string"
1889 },
1890 "state": {
1891 "description": "Output only. Current state of the Backup",
1892 "enum": [
1893 "STATE_UNSPECIFIED",
1894 "CREATING",
1895 "IN_PROGRESS",
1896 "SUCCEEDED",
1897 "FAILED",
1898 "DELETING"
1899 ],
1900 "enumDescriptions": [
1901 "The Backup resource is in the process of being created.",
1902 "The Backup resource has been created and the associated BackupJob Kubernetes resource has been injected into the source cluster.",
1903 "The gkebackup agent in the cluster has begun executing the backup operation.",
1904 "The backup operation has completed successfully.",
1905 "The backup operation has failed.",
1906 "This Backup resource (and its associated artifacts) is in the process of being deleted."
1907 ],
1908 "readOnly": true,
1909 "type": "string"
1910 },
1911 "stateReason": {
1912 "description": "Output only. Human-readable description of why the backup is in the current `state`.",
1913 "readOnly": true,
1914 "type": "string"
1915 },
1916 "uid": {
1917 "description": "Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)",
1918 "readOnly": true,
1919 "type": "string"
1920 },
1921 "updateTime": {
1922 "description": "Output only. The timestamp when this Backup resource was last updated.",
1923 "format": "google-datetime",
1924 "readOnly": true,
1925 "type": "string"
1926 },
1927 "volumeCount": {
1928 "description": "Output only. The total number of volume backups contained in the Backup.",
1929 "format": "int32",
1930 "readOnly": true,
1931 "type": "integer"
1932 }
1933 },
1934 "type": "object"
1935 },
1936 "BackupConfig": {
1937 "description": "BackupConfig defines the configuration of Backups created via this BackupPlan.",
1938 "id": "BackupConfig",
1939 "properties": {
1940 "allNamespaces": {
1941 "description": "If True, include all namespaced resources",
1942 "type": "boolean"
1943 },
1944 "encryptionKey": {
1945 "$ref": "EncryptionKey",
1946 "description": "Optional. This defines a customer managed encryption key that will be used to encrypt the \"config\" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted."
1947 },
1948 "includeSecrets": {
1949 "description": "Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False",
1950 "type": "boolean"
1951 },
1952 "includeVolumeData": {
1953 "description": "Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False",
1954 "type": "boolean"
1955 },
1956 "selectedApplications": {
1957 "$ref": "NamespacedNames",
1958 "description": "If set, include just the resources referenced by the listed ProtectedApplications."
1959 },
1960 "selectedNamespaces": {
1961 "$ref": "Namespaces",
1962 "description": "If set, include just the resources in the listed namespaces."
1963 }
1964 },
1965 "type": "object"
1966 },
1967 "BackupPlan": {
1968 "description": "Defines the configuration and scheduling for a \"line\" of Backups.",
1969 "id": "BackupPlan",
1970 "properties": {
1971 "backupConfig": {
1972 "$ref": "BackupConfig",
1973 "description": "Optional. Defines the configuration of Backups created via this BackupPlan."
1974 },
1975 "backupSchedule": {
1976 "$ref": "Schedule",
1977 "description": "Optional. Defines a schedule for automatic Backup creation via this BackupPlan."
1978 },
1979 "cluster": {
1980 "description": "Required. Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`",
1981 "type": "string"
1982 },
1983 "createTime": {
1984 "description": "Output only. The timestamp when this BackupPlan resource was created.",
1985 "format": "google-datetime",
1986 "readOnly": true,
1987 "type": "string"
1988 },
1989 "deactivated": {
1990 "description": "Optional. This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False",
1991 "type": "boolean"
1992 },
1993 "description": {
1994 "description": "Optional. User specified descriptive string for this BackupPlan.",
1995 "type": "string"
1996 },
1997 "etag": {
1998 "description": "Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlan`, and systems are expected to put that etag in the request to `UpdateBackupPlan` or `DeleteBackupPlan` to ensure that their change will be applied to the same version of the resource.",
1999 "readOnly": true,
2000 "type": "string"
2001 },
2002 "labels": {
2003 "additionalProperties": {
2004 "type": "string"
2005 },
2006 "description": "Optional. A set of custom labels supplied by user.",
2007 "type": "object"
2008 },
2009 "name": {
2010 "description": "Output only. The full name of the BackupPlan resource. Format: `projects/*/locations/*/backupPlans/*`",
2011 "readOnly": true,
2012 "type": "string"
2013 },
2014 "protectedPodCount": {
2015 "description": "Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.",
2016 "format": "int32",
2017 "readOnly": true,
2018 "type": "integer"
2019 },
2020 "retentionPolicy": {
2021 "$ref": "RetentionPolicy",
2022 "description": "Optional. RetentionPolicy governs lifecycle of Backups created under this plan."
2023 },
2024 "rpoRiskLevel": {
2025 "description": "Output only. A number that represents the current risk level of this BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.",
2026 "format": "int32",
2027 "readOnly": true,
2028 "type": "integer"
2029 },
2030 "rpoRiskReason": {
2031 "description": "Output only. Human-readable description of why the BackupPlan is in the current rpo_risk_level and action items if any.",
2032 "readOnly": true,
2033 "type": "string"
2034 },
2035 "state": {
2036 "description": "Output only. State of the BackupPlan. This State field reflects the various stages a BackupPlan can be in during the Create operation. It will be set to \"DEACTIVATED\" if the BackupPlan is deactivated on an Update",
2037 "enum": [
2038 "STATE_UNSPECIFIED",
2039 "CLUSTER_PENDING",
2040 "PROVISIONING",
2041 "READY",
2042 "FAILED",
2043 "DEACTIVATED",
2044 "DELETING"
2045 ],
2046 "enumDescriptions": [
2047 "Default first value for Enums.",
2048 "Waiting for cluster state to be RUNNING.",
2049 "The BackupPlan is in the process of being created.",
2050 "The BackupPlan has successfully been created and is ready for Backups.",
2051 "BackupPlan creation has failed.",
2052 "The BackupPlan has been deactivated.",
2053 "The BackupPlan is in the process of being deleted."
2054 ],
2055 "readOnly": true,
2056 "type": "string"
2057 },
2058 "stateReason": {
2059 "description": "Output only. Human-readable description of why BackupPlan is in the current `state`",
2060 "readOnly": true,
2061 "type": "string"
2062 },
2063 "uid": {
2064 "description": "Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.",
2065 "readOnly": true,
2066 "type": "string"
2067 },
2068 "updateTime": {
2069 "description": "Output only. The timestamp when this BackupPlan resource was last updated.",
2070 "format": "google-datetime",
2071 "readOnly": true,
2072 "type": "string"
2073 }
2074 },
2075 "type": "object"
2076 },
2077 "Binding": {
2078 "description": "Associates `members`, or principals, with a `role`.",
2079 "id": "Binding",
2080 "properties": {
2081 "condition": {
2082 "$ref": "Expr",
2083 "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
2084 },
2085 "members": {
2086 "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.",
2087 "items": {
2088 "type": "string"
2089 },
2090 "type": "array"
2091 },
2092 "role": {
2093 "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
2094 "type": "string"
2095 }
2096 },
2097 "type": "object"
2098 },
2099 "ClusterMetadata": {
2100 "description": "Information about the GKE cluster from which this Backup was created.",
2101 "id": "ClusterMetadata",
2102 "properties": {
2103 "anthosVersion": {
2104 "description": "Output only. Anthos version",
2105 "readOnly": true,
2106 "type": "string"
2107 },
2108 "backupCrdVersions": {
2109 "additionalProperties": {
2110 "type": "string"
2111 },
2112 "description": "Output only. A list of the Backup for GKE CRD versions found in the cluster.",
2113 "readOnly": true,
2114 "type": "object"
2115 },
2116 "cluster": {
2117 "description": "Output only. The source cluster from which this Backup was created. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*` This is inherited from the parent BackupPlan's cluster field.",
2118 "readOnly": true,
2119 "type": "string"
2120 },
2121 "gkeVersion": {
2122 "description": "Output only. GKE version",
2123 "readOnly": true,
2124 "type": "string"
2125 },
2126 "k8sVersion": {
2127 "description": "Output only. The Kubernetes server version of the source cluster.",
2128 "readOnly": true,
2129 "type": "string"
2130 }
2131 },
2132 "type": "object"
2133 },
2134 "ClusterResourceRestoreScope": {
2135 "description": "Defines the scope of cluster-scoped resources to restore. Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore \"all valid\" resources automatically excludes these group kinds. - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - Node - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolume",
2136 "id": "ClusterResourceRestoreScope",
2137 "properties": {
2138 "allGroupKinds": {
2139 "description": "Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.",
2140 "type": "boolean"
2141 },
2142 "excludedGroupKinds": {
2143 "description": "Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.",
2144 "items": {
2145 "$ref": "GroupKind"
2146 },
2147 "type": "array"
2148 },
2149 "noGroupKinds": {
2150 "description": "Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.",
2151 "type": "boolean"
2152 },
2153 "selectedGroupKinds": {
2154 "description": "Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.",
2155 "items": {
2156 "$ref": "GroupKind"
2157 },
2158 "type": "array"
2159 }
2160 },
2161 "type": "object"
2162 },
2163 "Date": {
2164 "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
2165 "id": "Date",
2166 "properties": {
2167 "day": {
2168 "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
2169 "format": "int32",
2170 "type": "integer"
2171 },
2172 "month": {
2173 "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
2174 "format": "int32",
2175 "type": "integer"
2176 },
2177 "year": {
2178 "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
2179 "format": "int32",
2180 "type": "integer"
2181 }
2182 },
2183 "type": "object"
2184 },
2185 "DayOfWeekList": {
2186 "description": "Holds repeated DaysOfWeek values as a container.",
2187 "id": "DayOfWeekList",
2188 "properties": {
2189 "daysOfWeek": {
2190 "description": "Optional. A list of days of week.",
2191 "items": {
2192 "enum": [
2193 "DAY_OF_WEEK_UNSPECIFIED",
2194 "MONDAY",
2195 "TUESDAY",
2196 "WEDNESDAY",
2197 "THURSDAY",
2198 "FRIDAY",
2199 "SATURDAY",
2200 "SUNDAY"
2201 ],
2202 "enumDescriptions": [
2203 "The day of the week is unspecified.",
2204 "Monday",
2205 "Tuesday",
2206 "Wednesday",
2207 "Thursday",
2208 "Friday",
2209 "Saturday",
2210 "Sunday"
2211 ],
2212 "type": "string"
2213 },
2214 "type": "array"
2215 }
2216 },
2217 "type": "object"
2218 },
2219 "Empty": {
2220 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
2221 "id": "Empty",
2222 "properties": {},
2223 "type": "object"
2224 },
2225 "EncryptionKey": {
2226 "description": "Defined a customer managed encryption key that will be used to encrypt Backup artifacts.",
2227 "id": "EncryptionKey",
2228 "properties": {
2229 "gcpKmsEncryptionKey": {
2230 "description": "Optional. Google Cloud KMS encryption key. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`",
2231 "type": "string"
2232 }
2233 },
2234 "type": "object"
2235 },
2236 "ExclusionWindow": {
2237 "description": "Defines a time window during which no backup should happen. All time and date are in UTC.",
2238 "id": "ExclusionWindow",
2239 "properties": {
2240 "daily": {
2241 "description": "The exclusion window occurs every day if set to \"True\". Specifying this field to \"False\" is an error.",
2242 "type": "boolean"
2243 },
2244 "daysOfWeek": {
2245 "$ref": "DayOfWeekList",
2246 "description": "The exclusion window occurs on these days of each week in UTC."
2247 },
2248 "duration": {
2249 "description": "Required. Specifies duration of the window. Duration must be \u003e= 5 minutes and \u003c (target RPO - 20 minutes). Additional restrictions based on the recurrence type to allow some time for backup to happen: - single_occurrence_date: no restriction, but UI may warn about this when duration \u003e= target RPO - daily window: duration \u003c 24 hours - weekly window: - days of week includes all seven days of a week: duration \u003c 24 hours - all other weekly window: duration \u003c 168 hours (i.e., 24 * 7 hours)",
2250 "format": "google-duration",
2251 "type": "string"
2252 },
2253 "singleOccurrenceDate": {
2254 "$ref": "Date",
2255 "description": "No recurrence. The exclusion window occurs only once and on this date in UTC."
2256 },
2257 "startTime": {
2258 "$ref": "TimeOfDay",
2259 "description": "Required. Specifies the start time of the window using time of the day in UTC."
2260 }
2261 },
2262 "type": "object"
2263 },
2264 "Expr": {
2265 "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' \u0026\u0026 document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
2266 "id": "Expr",
2267 "properties": {
2268 "description": {
2269 "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
2270 "type": "string"
2271 },
2272 "expression": {
2273 "description": "Textual representation of an expression in Common Expression Language syntax.",
2274 "type": "string"
2275 },
2276 "location": {
2277 "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
2278 "type": "string"
2279 },
2280 "title": {
2281 "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
2282 "type": "string"
2283 }
2284 },
2285 "type": "object"
2286 },
2287 "GetBackupIndexDownloadUrlResponse": {
2288 "description": "Response message for GetBackupIndexDownloadUrl.",
2289 "id": "GetBackupIndexDownloadUrlResponse",
2290 "properties": {
2291 "signedUrl": {
2292 "type": "string"
2293 }
2294 },
2295 "type": "object"
2296 },
2297 "GoogleLongrunningCancelOperationRequest": {
2298 "description": "The request message for Operations.CancelOperation.",
2299 "id": "GoogleLongrunningCancelOperationRequest",
2300 "properties": {},
2301 "type": "object"
2302 },
2303 "GoogleLongrunningListOperationsResponse": {
2304 "description": "The response message for Operations.ListOperations.",
2305 "id": "GoogleLongrunningListOperationsResponse",
2306 "properties": {
2307 "nextPageToken": {
2308 "description": "The standard List next-page token.",
2309 "type": "string"
2310 },
2311 "operations": {
2312 "description": "A list of operations that matches the specified filter in the request.",
2313 "items": {
2314 "$ref": "GoogleLongrunningOperation"
2315 },
2316 "type": "array"
2317 }
2318 },
2319 "type": "object"
2320 },
2321 "GoogleLongrunningOperation": {
2322 "description": "This resource represents a long-running operation that is the result of a network API call.",
2323 "id": "GoogleLongrunningOperation",
2324 "properties": {
2325 "done": {
2326 "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
2327 "type": "boolean"
2328 },
2329 "error": {
2330 "$ref": "GoogleRpcStatus",
2331 "description": "The error result of the operation in case of failure or cancellation."
2332 },
2333 "metadata": {
2334 "additionalProperties": {
2335 "description": "Properties of the object. Contains field @type with type URL.",
2336 "type": "any"
2337 },
2338 "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
2339 "type": "object"
2340 },
2341 "name": {
2342 "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
2343 "type": "string"
2344 },
2345 "response": {
2346 "additionalProperties": {
2347 "description": "Properties of the object. Contains field @type with type URL.",
2348 "type": "any"
2349 },
2350 "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
2351 "type": "object"
2352 }
2353 },
2354 "type": "object"
2355 },
2356 "GoogleRpcStatus": {
2357 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
2358 "id": "GoogleRpcStatus",
2359 "properties": {
2360 "code": {
2361 "description": "The status code, which should be an enum value of google.rpc.Code.",
2362 "format": "int32",
2363 "type": "integer"
2364 },
2365 "details": {
2366 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
2367 "items": {
2368 "additionalProperties": {
2369 "description": "Properties of the object. Contains field @type with type URL.",
2370 "type": "any"
2371 },
2372 "type": "object"
2373 },
2374 "type": "array"
2375 },
2376 "message": {
2377 "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
2378 "type": "string"
2379 }
2380 },
2381 "type": "object"
2382 },
2383 "GroupKind": {
2384 "description": "This is a direct map to the Kubernetes GroupKind type [GroupKind](https://godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for identifying specific \"types\" of resources to restore.",
2385 "id": "GroupKind",
2386 "properties": {
2387 "resourceGroup": {
2388 "description": "Optional. API group string of a Kubernetes resource, e.g. \"apiextensions.k8s.io\", \"storage.k8s.io\", etc. Note: use empty string for core API group",
2389 "type": "string"
2390 },
2391 "resourceKind": {
2392 "description": "Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. \"CustomResourceDefinition\", \"StorageClass\", etc.",
2393 "type": "string"
2394 }
2395 },
2396 "type": "object"
2397 },
2398 "ListBackupPlansResponse": {
2399 "description": "Response message for ListBackupPlans.",
2400 "id": "ListBackupPlansResponse",
2401 "properties": {
2402 "backupPlans": {
2403 "description": "The list of BackupPlans matching the given criteria.",
2404 "items": {
2405 "$ref": "BackupPlan"
2406 },
2407 "type": "array"
2408 },
2409 "nextPageToken": {
2410 "description": "A token which may be sent as page_token in a subsequent `ListBackupPlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.",
2411 "type": "string"
2412 },
2413 "unreachable": {
2414 "description": "Locations that could not be reached.",
2415 "items": {
2416 "type": "string"
2417 },
2418 "type": "array"
2419 }
2420 },
2421 "type": "object"
2422 },
2423 "ListBackupsResponse": {
2424 "description": "Response message for ListBackups.",
2425 "id": "ListBackupsResponse",
2426 "properties": {
2427 "backups": {
2428 "description": "The list of Backups matching the given criteria.",
2429 "items": {
2430 "$ref": "Backup"
2431 },
2432 "type": "array"
2433 },
2434 "nextPageToken": {
2435 "description": "A token which may be sent as page_token in a subsequent `ListBackups` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.",
2436 "type": "string"
2437 }
2438 },
2439 "type": "object"
2440 },
2441 "ListLocationsResponse": {
2442 "description": "The response message for Locations.ListLocations.",
2443 "id": "ListLocationsResponse",
2444 "properties": {
2445 "locations": {
2446 "description": "A list of locations that matches the specified filter in the request.",
2447 "items": {
2448 "$ref": "Location"
2449 },
2450 "type": "array"
2451 },
2452 "nextPageToken": {
2453 "description": "The standard List next-page token.",
2454 "type": "string"
2455 }
2456 },
2457 "type": "object"
2458 },
2459 "ListRestorePlansResponse": {
2460 "description": "Response message for ListRestorePlans.",
2461 "id": "ListRestorePlansResponse",
2462 "properties": {
2463 "nextPageToken": {
2464 "description": "A token which may be sent as page_token in a subsequent `ListRestorePlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.",
2465 "type": "string"
2466 },
2467 "restorePlans": {
2468 "description": "The list of RestorePlans matching the given criteria.",
2469 "items": {
2470 "$ref": "RestorePlan"
2471 },
2472 "type": "array"
2473 },
2474 "unreachable": {
2475 "description": "Locations that could not be reached.",
2476 "items": {
2477 "type": "string"
2478 },
2479 "type": "array"
2480 }
2481 },
2482 "type": "object"
2483 },
2484 "ListRestoresResponse": {
2485 "description": "Response message for ListRestores.",
2486 "id": "ListRestoresResponse",
2487 "properties": {
2488 "nextPageToken": {
2489 "description": "A token which may be sent as page_token in a subsequent `ListRestores` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.",
2490 "type": "string"
2491 },
2492 "restores": {
2493 "description": "The list of Restores matching the given criteria.",
2494 "items": {
2495 "$ref": "Restore"
2496 },
2497 "type": "array"
2498 },
2499 "unreachable": {
2500 "description": "Locations that could not be reached.",
2501 "items": {
2502 "type": "string"
2503 },
2504 "type": "array"
2505 }
2506 },
2507 "type": "object"
2508 },
2509 "ListVolumeBackupsResponse": {
2510 "description": "Response message for ListVolumeBackups.",
2511 "id": "ListVolumeBackupsResponse",
2512 "properties": {
2513 "nextPageToken": {
2514 "description": "A token which may be sent as page_token in a subsequent `ListVolumeBackups` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.",
2515 "type": "string"
2516 },
2517 "volumeBackups": {
2518 "description": "The list of VolumeBackups matching the given criteria.",
2519 "items": {
2520 "$ref": "VolumeBackup"
2521 },
2522 "type": "array"
2523 }
2524 },
2525 "type": "object"
2526 },
2527 "ListVolumeRestoresResponse": {
2528 "description": "Response message for ListVolumeRestores.",
2529 "id": "ListVolumeRestoresResponse",
2530 "properties": {
2531 "nextPageToken": {
2532 "description": "A token which may be sent as page_token in a subsequent `ListVolumeRestores` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.",
2533 "type": "string"
2534 },
2535 "volumeRestores": {
2536 "description": "The list of VolumeRestores matching the given criteria.",
2537 "items": {
2538 "$ref": "VolumeRestore"
2539 },
2540 "type": "array"
2541 }
2542 },
2543 "type": "object"
2544 },
2545 "Location": {
2546 "description": "A resource that represents a Google Cloud location.",
2547 "id": "Location",
2548 "properties": {
2549 "displayName": {
2550 "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
2551 "type": "string"
2552 },
2553 "labels": {
2554 "additionalProperties": {
2555 "type": "string"
2556 },
2557 "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
2558 "type": "object"
2559 },
2560 "locationId": {
2561 "description": "The canonical id for this location. For example: `\"us-east1\"`.",
2562 "type": "string"
2563 },
2564 "metadata": {
2565 "additionalProperties": {
2566 "description": "Properties of the object. Contains field @type with type URL.",
2567 "type": "any"
2568 },
2569 "description": "Service-specific metadata. For example the available capacity at the given location.",
2570 "type": "object"
2571 },
2572 "name": {
2573 "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
2574 "type": "string"
2575 }
2576 },
2577 "type": "object"
2578 },
2579 "NamespacedName": {
2580 "description": "A reference to a namespaced resource in Kubernetes.",
2581 "id": "NamespacedName",
2582 "properties": {
2583 "name": {
2584 "description": "Optional. The name of the Kubernetes resource.",
2585 "type": "string"
2586 },
2587 "namespace": {
2588 "description": "Optional. The Namespace of the Kubernetes resource.",
2589 "type": "string"
2590 }
2591 },
2592 "type": "object"
2593 },
2594 "NamespacedNames": {
2595 "description": "A list of namespaced Kubernetes resources.",
2596 "id": "NamespacedNames",
2597 "properties": {
2598 "namespacedNames": {
2599 "description": "Optional. A list of namespaced Kubernetes resources.",
2600 "items": {
2601 "$ref": "NamespacedName"
2602 },
2603 "type": "array"
2604 }
2605 },
2606 "type": "object"
2607 },
2608 "Namespaces": {
2609 "description": "A list of Kubernetes Namespaces",
2610 "id": "Namespaces",
2611 "properties": {
2612 "namespaces": {
2613 "description": "Optional. A list of Kubernetes Namespaces",
2614 "items": {
2615 "type": "string"
2616 },
2617 "type": "array"
2618 }
2619 },
2620 "type": "object"
2621 },
2622 "OperationMetadata": {
2623 "description": "Represents the metadata of the long-running operation.",
2624 "id": "OperationMetadata",
2625 "properties": {
2626 "apiVersion": {
2627 "description": "Output only. API version used to start the operation.",
2628 "readOnly": true,
2629 "type": "string"
2630 },
2631 "createTime": {
2632 "description": "Output only. The time the operation was created.",
2633 "format": "google-datetime",
2634 "readOnly": true,
2635 "type": "string"
2636 },
2637 "endTime": {
2638 "description": "Output only. The time the operation finished running.",
2639 "format": "google-datetime",
2640 "readOnly": true,
2641 "type": "string"
2642 },
2643 "requestedCancellation": {
2644 "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
2645 "readOnly": true,
2646 "type": "boolean"
2647 },
2648 "statusMessage": {
2649 "description": "Output only. Human-readable status of the operation, if any.",
2650 "readOnly": true,
2651 "type": "string"
2652 },
2653 "target": {
2654 "description": "Output only. Server-defined resource path for the target of the operation.",
2655 "readOnly": true,
2656 "type": "string"
2657 },
2658 "verb": {
2659 "description": "Output only. Name of the verb executed by the operation.",
2660 "readOnly": true,
2661 "type": "string"
2662 }
2663 },
2664 "type": "object"
2665 },
2666 "Policy": {
2667 "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
2668 "id": "Policy",
2669 "properties": {
2670 "auditConfigs": {
2671 "description": "Specifies cloud audit logging configuration for this policy.",
2672 "items": {
2673 "$ref": "AuditConfig"
2674 },
2675 "type": "array"
2676 },
2677 "bindings": {
2678 "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.",
2679 "items": {
2680 "$ref": "Binding"
2681 },
2682 "type": "array"
2683 },
2684 "etag": {
2685 "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
2686 "format": "byte",
2687 "type": "string"
2688 },
2689 "version": {
2690 "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
2691 "format": "int32",
2692 "type": "integer"
2693 }
2694 },
2695 "type": "object"
2696 },
2697 "ResourceFilter": {
2698 "description": "ResourceFilter specifies matching criteria to limit the scope of a change to a specific set of kubernetes resources that are selected for restoration from a backup.",
2699 "id": "ResourceFilter",
2700 "properties": {
2701 "groupKinds": {
2702 "description": "Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed \"types\". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation).",
2703 "items": {
2704 "$ref": "GroupKind"
2705 },
2706 "type": "array"
2707 },
2708 "jsonPath": {
2709 "description": "Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).",
2710 "type": "string"
2711 },
2712 "namespaces": {
2713 "description": "Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).",
2714 "items": {
2715 "type": "string"
2716 },
2717 "type": "array"
2718 }
2719 },
2720 "type": "object"
2721 },
2722 "Restore": {
2723 "description": "Represents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself.",
2724 "id": "Restore",
2725 "properties": {
2726 "backup": {
2727 "description": "Required. Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: `projects/*/locations/*/backupPlans/*/backups/*`.",
2728 "type": "string"
2729 },
2730 "cluster": {
2731 "description": "Output only. The target cluster into which this Restore will restore data. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*` Inherited from parent RestorePlan's cluster value.",
2732 "readOnly": true,
2733 "type": "string"
2734 },
2735 "completeTime": {
2736 "description": "Output only. Timestamp of when the restore operation completed.",
2737 "format": "google-datetime",
2738 "readOnly": true,
2739 "type": "string"
2740 },
2741 "createTime": {
2742 "description": "Output only. The timestamp when this Restore resource was created.",
2743 "format": "google-datetime",
2744 "readOnly": true,
2745 "type": "string"
2746 },
2747 "description": {
2748 "description": "User specified descriptive string for this Restore.",
2749 "type": "string"
2750 },
2751 "etag": {
2752 "description": "Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestore`, and systems are expected to put that etag in the request to `UpdateRestore` or `DeleteRestore` to ensure that their change will be applied to the same version of the resource.",
2753 "readOnly": true,
2754 "type": "string"
2755 },
2756 "labels": {
2757 "additionalProperties": {
2758 "type": "string"
2759 },
2760 "description": "A set of custom labels supplied by user.",
2761 "type": "object"
2762 },
2763 "name": {
2764 "description": "Output only. The full name of the Restore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*`",
2765 "readOnly": true,
2766 "type": "string"
2767 },
2768 "resourcesExcludedCount": {
2769 "description": "Output only. Number of resources excluded during the restore execution.",
2770 "format": "int32",
2771 "readOnly": true,
2772 "type": "integer"
2773 },
2774 "resourcesFailedCount": {
2775 "description": "Output only. Number of resources that failed to be restored during the restore execution.",
2776 "format": "int32",
2777 "readOnly": true,
2778 "type": "integer"
2779 },
2780 "resourcesRestoredCount": {
2781 "description": "Output only. Number of resources restored during the restore execution.",
2782 "format": "int32",
2783 "readOnly": true,
2784 "type": "integer"
2785 },
2786 "restoreConfig": {
2787 "$ref": "RestoreConfig",
2788 "description": "Output only. Configuration of the Restore. Inherited from parent RestorePlan's restore_config.",
2789 "readOnly": true
2790 },
2791 "state": {
2792 "description": "Output only. The current state of the Restore.",
2793 "enum": [
2794 "STATE_UNSPECIFIED",
2795 "CREATING",
2796 "IN_PROGRESS",
2797 "SUCCEEDED",
2798 "FAILED",
2799 "DELETING"
2800 ],
2801 "enumDescriptions": [
2802 "The Restore resource is in the process of being created.",
2803 "The Restore resource has been created and the associated RestoreJob Kubernetes resource has been injected into target cluster.",
2804 "The gkebackup agent in the cluster has begun executing the restore operation.",
2805 "The restore operation has completed successfully. Restored workloads may not yet be operational.",
2806 "The restore operation has failed.",
2807 "This Restore resource is in the process of being deleted."
2808 ],
2809 "readOnly": true,
2810 "type": "string"
2811 },
2812 "stateReason": {
2813 "description": "Output only. Human-readable description of why the Restore is in its current state.",
2814 "readOnly": true,
2815 "type": "string"
2816 },
2817 "uid": {
2818 "description": "Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.",
2819 "readOnly": true,
2820 "type": "string"
2821 },
2822 "updateTime": {
2823 "description": "Output only. The timestamp when this Restore resource was last updated.",
2824 "format": "google-datetime",
2825 "readOnly": true,
2826 "type": "string"
2827 },
2828 "volumesRestoredCount": {
2829 "description": "Output only. Number of volumes restored during the restore execution.",
2830 "format": "int32",
2831 "readOnly": true,
2832 "type": "integer"
2833 }
2834 },
2835 "type": "object"
2836 },
2837 "RestoreConfig": {
2838 "description": "Configuration of a restore.",
2839 "id": "RestoreConfig",
2840 "properties": {
2841 "allNamespaces": {
2842 "description": "Restore all namespaced resources in the Backup if set to \"True\". Specifying this field to \"False\" is an error.",
2843 "type": "boolean"
2844 },
2845 "clusterResourceConflictPolicy": {
2846 "description": "Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.",
2847 "enum": [
2848 "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED",
2849 "USE_EXISTING_VERSION",
2850 "USE_BACKUP_VERSION"
2851 ],
2852 "enumDescriptions": [
2853 "Unspecified. Only allowed if no cluster-scoped resources will be restored.",
2854 "Do not attempt to restore the conflicting resource.",
2855 "Delete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type."
2856 ],
2857 "type": "string"
2858 },
2859 "clusterResourceRestoreScope": {
2860 "$ref": "ClusterResourceRestoreScope",
2861 "description": "Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored."
2862 },
2863 "excludedNamespaces": {
2864 "$ref": "Namespaces",
2865 "description": "A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored."
2866 },
2867 "namespacedResourceRestoreMode": {
2868 "description": "Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.",
2869 "enum": [
2870 "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED",
2871 "DELETE_AND_RESTORE",
2872 "FAIL_ON_CONFLICT"
2873 ],
2874 "enumDescriptions": [
2875 "Unspecified (invalid).",
2876 "When conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.",
2877 "If conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported."
2878 ],
2879 "type": "string"
2880 },
2881 "noNamespaces": {
2882 "description": "Do not restore any namespaced resources if set to \"True\". Specifying this field to \"False\" is not allowed.",
2883 "type": "boolean"
2884 },
2885 "selectedApplications": {
2886 "$ref": "NamespacedNames",
2887 "description": "A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored."
2888 },
2889 "selectedNamespaces": {
2890 "$ref": "Namespaces",
2891 "description": "A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored."
2892 },
2893 "substitutionRules": {
2894 "description": "Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.",
2895 "items": {
2896 "$ref": "SubstitutionRule"
2897 },
2898 "type": "array"
2899 },
2900 "transformationRules": {
2901 "description": "Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.",
2902 "items": {
2903 "$ref": "TransformationRule"
2904 },
2905 "type": "array"
2906 },
2907 "volumeDataRestorePolicy": {
2908 "description": "Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).",
2909 "enum": [
2910 "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED",
2911 "RESTORE_VOLUME_DATA_FROM_BACKUP",
2912 "REUSE_VOLUME_HANDLE_FROM_BACKUP",
2913 "NO_VOLUME_DATA_RESTORATION"
2914 ],
2915 "enumDescriptions": [
2916 "Unspecified (illegal).",
2917 "For each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.",
2918 "For each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.",
2919 "For each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs."
2920 ],
2921 "type": "string"
2922 }
2923 },
2924 "type": "object"
2925 },
2926 "RestorePlan": {
2927 "description": "The configuration of a potential series of Restore operations to be performed against Backups belong to a particular BackupPlan.",
2928 "id": "RestorePlan",
2929 "properties": {
2930 "backupPlan": {
2931 "description": "Required. Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format: `projects/*/locations/*/backupPlans/*`.",
2932 "type": "string"
2933 },
2934 "cluster": {
2935 "description": "Required. Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`",
2936 "type": "string"
2937 },
2938 "createTime": {
2939 "description": "Output only. The timestamp when this RestorePlan resource was created.",
2940 "format": "google-datetime",
2941 "readOnly": true,
2942 "type": "string"
2943 },
2944 "description": {
2945 "description": "Optional. User specified descriptive string for this RestorePlan.",
2946 "type": "string"
2947 },
2948 "etag": {
2949 "description": "Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestorePlan`, and systems are expected to put that etag in the request to `UpdateRestorePlan` or `DeleteRestorePlan` to ensure that their change will be applied to the same version of the resource.",
2950 "readOnly": true,
2951 "type": "string"
2952 },
2953 "labels": {
2954 "additionalProperties": {
2955 "type": "string"
2956 },
2957 "description": "Optional. A set of custom labels supplied by user.",
2958 "type": "object"
2959 },
2960 "name": {
2961 "description": "Output only. The full name of the RestorePlan resource. Format: `projects/*/locations/*/restorePlans/*`.",
2962 "readOnly": true,
2963 "type": "string"
2964 },
2965 "restoreConfig": {
2966 "$ref": "RestoreConfig",
2967 "description": "Required. Configuration of Restores created via this RestorePlan."
2968 },
2969 "state": {
2970 "description": "Output only. State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.",
2971 "enum": [
2972 "STATE_UNSPECIFIED",
2973 "CLUSTER_PENDING",
2974 "READY",
2975 "FAILED",
2976 "DELETING"
2977 ],
2978 "enumDescriptions": [
2979 "Default first value for Enums.",
2980 "Waiting for cluster state to be RUNNING.",
2981 "The RestorePlan has successfully been created and is ready for Restores.",
2982 "RestorePlan creation has failed.",
2983 "The RestorePlan is in the process of being deleted."
2984 ],
2985 "readOnly": true,
2986 "type": "string"
2987 },
2988 "stateReason": {
2989 "description": "Output only. Human-readable description of why RestorePlan is in the current `state`",
2990 "readOnly": true,
2991 "type": "string"
2992 },
2993 "uid": {
2994 "description": "Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.",
2995 "readOnly": true,
2996 "type": "string"
2997 },
2998 "updateTime": {
2999 "description": "Output only. The timestamp when this RestorePlan resource was last updated.",
3000 "format": "google-datetime",
3001 "readOnly": true,
3002 "type": "string"
3003 }
3004 },
3005 "type": "object"
3006 },
3007 "RetentionPolicy": {
3008 "description": "RetentionPolicy defines a Backup retention policy for a BackupPlan.",
3009 "id": "RetentionPolicy",
3010 "properties": {
3011 "backupDeleteLockDays": {
3012 "description": "Optional. Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)",
3013 "format": "int32",
3014 "type": "integer"
3015 },
3016 "backupRetainDays": {
3017 "description": "Optional. The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value \u003e= 0 and \u003c= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days must be \u003e= backup_delete_lock_days. If cron_schedule is defined, then this must be \u003c= 360 * the creation interval. If rpo_config is defined, then this must be \u003c= 360 * target_rpo_minutes / (1440minutes/day). Default: 0 (no automatic deletion)",
3018 "format": "int32",
3019 "type": "integer"
3020 },
3021 "locked": {
3022 "description": "Optional. This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the `locked` field itself. Default: False",
3023 "type": "boolean"
3024 }
3025 },
3026 "type": "object"
3027 },
3028 "RpoConfig": {
3029 "description": "Defines RPO scheduling configuration for automatically creating Backups via this BackupPlan.",
3030 "id": "RpoConfig",
3031 "properties": {
3032 "exclusionWindows": {
3033 "description": "Optional. User specified time windows during which backup can NOT happen for this BackupPlan - backups should start and finish outside of any given exclusion window. Note: backup jobs will be scheduled to start and finish outside the duration of the window as much as possible, but running jobs will not get canceled when it runs into the window. All the time and date values in exclusion_windows entry in the API are in UTC. We only allow \u003c=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no restriction on number of single occurrence windows.",
3034 "items": {
3035 "$ref": "ExclusionWindow"
3036 },
3037 "type": "array"
3038 },
3039 "targetRpoMinutes": {
3040 "description": "Required. Defines the target RPO for the BackupPlan in minutes, which means the target maximum data loss in time that is acceptable for this BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.",
3041 "format": "int32",
3042 "type": "integer"
3043 }
3044 },
3045 "type": "object"
3046 },
3047 "Schedule": {
3048 "description": "Defines scheduling parameters for automatically creating Backups via this BackupPlan.",
3049 "id": "Schedule",
3050 "properties": {
3051 "cronSchedule": {
3052 "description": "Optional. A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan. This is mutually exclusive with the rpo_config field since at most one schedule can be defined for a BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur.",
3053 "type": "string"
3054 },
3055 "nextScheduledBackupTime": {
3056 "description": "Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config.",
3057 "format": "google-datetime",
3058 "readOnly": true,
3059 "type": "string"
3060 },
3061 "paused": {
3062 "description": "Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False",
3063 "type": "boolean"
3064 },
3065 "rpoConfig": {
3066 "$ref": "RpoConfig",
3067 "description": "Optional. Defines the RPO schedule configuration for this BackupPlan. This is mutually exclusive with the cron_schedule field since at most one schedule can be defined for a BackupPLan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur."
3068 }
3069 },
3070 "type": "object"
3071 },
3072 "SetIamPolicyRequest": {
3073 "description": "Request message for `SetIamPolicy` method.",
3074 "id": "SetIamPolicyRequest",
3075 "properties": {
3076 "policy": {
3077 "$ref": "Policy",
3078 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
3079 },
3080 "updateMask": {
3081 "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
3082 "format": "google-fieldmask",
3083 "type": "string"
3084 }
3085 },
3086 "type": "object"
3087 },
3088 "SubstitutionRule": {
3089 "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.",
3090 "id": "SubstitutionRule",
3091 "properties": {
3092 "newValue": {
3093 "description": "Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string (\"\").",
3094 "type": "string"
3095 },
3096 "originalValuePattern": {
3097 "description": "Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., \"\", rather than unspecified) value for this field will only match empty fields.",
3098 "type": "string"
3099 },
3100 "targetGroupKinds": {
3101 "description": "Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed \"types\". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).",
3102 "items": {
3103 "$ref": "GroupKind"
3104 },
3105 "type": "array"
3106 },
3107 "targetJsonPath": {
3108 "description": "Required. This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).",
3109 "type": "string"
3110 },
3111 "targetNamespaces": {
3112 "description": "Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string (\"\") as one of the target namespaces.",
3113 "items": {
3114 "type": "string"
3115 },
3116 "type": "array"
3117 }
3118 },
3119 "type": "object"
3120 },
3121 "TestIamPermissionsRequest": {
3122 "description": "Request message for `TestIamPermissions` method.",
3123 "id": "TestIamPermissionsRequest",
3124 "properties": {
3125 "permissions": {
3126 "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
3127 "items": {
3128 "type": "string"
3129 },
3130 "type": "array"
3131 }
3132 },
3133 "type": "object"
3134 },
3135 "TestIamPermissionsResponse": {
3136 "description": "Response message for `TestIamPermissions` method.",
3137 "id": "TestIamPermissionsResponse",
3138 "properties": {
3139 "permissions": {
3140 "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
3141 "items": {
3142 "type": "string"
3143 },
3144 "type": "array"
3145 }
3146 },
3147 "type": "object"
3148 },
3149 "TimeOfDay": {
3150 "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.",
3151 "id": "TimeOfDay",
3152 "properties": {
3153 "hours": {
3154 "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
3155 "format": "int32",
3156 "type": "integer"
3157 },
3158 "minutes": {
3159 "description": "Minutes of hour of day. Must be from 0 to 59.",
3160 "format": "int32",
3161 "type": "integer"
3162 },
3163 "nanos": {
3164 "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
3165 "format": "int32",
3166 "type": "integer"
3167 },
3168 "seconds": {
3169 "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.",
3170 "format": "int32",
3171 "type": "integer"
3172 }
3173 },
3174 "type": "object"
3175 },
3176 "TransformationRule": {
3177 "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 transform) and transformation logic.",
3178 "id": "TransformationRule",
3179 "properties": {
3180 "description": {
3181 "description": "Optional. The description is a user specified string description of the transformation rule.",
3182 "type": "string"
3183 },
3184 "fieldActions": {
3185 "description": "Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.",
3186 "items": {
3187 "$ref": "TransformationRuleAction"
3188 },
3189 "type": "array"
3190 },
3191 "resourceFilter": {
3192 "$ref": "ResourceFilter",
3193 "description": "Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions."
3194 }
3195 },
3196 "type": "object"
3197 },
3198 "TransformationRuleAction": {
3199 "description": "TransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)",
3200 "id": "TransformationRuleAction",
3201 "properties": {
3202 "fromPath": {
3203 "description": "Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.",
3204 "type": "string"
3205 },
3206 "op": {
3207 "description": "Required. op specifies the operation to perform.",
3208 "enum": [
3209 "OP_UNSPECIFIED",
3210 "REMOVE",
3211 "MOVE",
3212 "COPY",
3213 "ADD",
3214 "TEST",
3215 "REPLACE"
3216 ],
3217 "enumDescriptions": [
3218 "Unspecified operation",
3219 "The \"remove\" operation removes the value at the target location.",
3220 "The \"move\" operation removes the value at a specified location and adds it to the target location.",
3221 "The \"copy\" operation copies the value at a specified location to the target location.",
3222 "The \"add\" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.",
3223 "The \"test\" operation tests that a value at the target location is equal to a specified value.",
3224 "The \"replace\" operation replaces the value at the target location with a new value. The operation object MUST contain a \"value\" member whose content specifies the replacement value."
3225 ],
3226 "type": "string"
3227 },
3228 "path": {
3229 "description": "Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.",
3230 "type": "string"
3231 },
3232 "value": {
3233 "description": "Optional. A string that specifies the desired value in string format to use for transformation.",
3234 "type": "string"
3235 }
3236 },
3237 "type": "object"
3238 },
3239 "VolumeBackup": {
3240 "description": "Represents the backup of a specific persistent volume as a component of a Backup - both the record of the operation and a pointer to the underlying storage-specific artifacts.",
3241 "id": "VolumeBackup",
3242 "properties": {
3243 "completeTime": {
3244 "description": "Output only. The timestamp when the associated underlying volume backup operation completed.",
3245 "format": "google-datetime",
3246 "readOnly": true,
3247 "type": "string"
3248 },
3249 "createTime": {
3250 "description": "Output only. The timestamp when this VolumeBackup resource was created.",
3251 "format": "google-datetime",
3252 "readOnly": true,
3253 "type": "string"
3254 },
3255 "diskSizeBytes": {
3256 "description": "Output only. The minimum size of the disk to which this VolumeBackup can be restored.",
3257 "format": "int64",
3258 "readOnly": true,
3259 "type": "string"
3260 },
3261 "etag": {
3262 "description": "Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a volume backup from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform volume backup updates in order to avoid race conditions.",
3263 "readOnly": true,
3264 "type": "string"
3265 },
3266 "format": {
3267 "description": "Output only. The format used for the volume backup.",
3268 "enum": [
3269 "VOLUME_BACKUP_FORMAT_UNSPECIFIED",
3270 "GCE_PERSISTENT_DISK"
3271 ],
3272 "enumDescriptions": [
3273 "Default value, not specified.",
3274 "Compute Engine Persistent Disk snapshot based volume backup."
3275 ],
3276 "readOnly": true,
3277 "type": "string"
3278 },
3279 "name": {
3280 "description": "Output only. The full name of the VolumeBackup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.",
3281 "readOnly": true,
3282 "type": "string"
3283 },
3284 "sourcePvc": {
3285 "$ref": "NamespacedName",
3286 "description": "Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.",
3287 "readOnly": true
3288 },
3289 "state": {
3290 "description": "Output only. The current state of this VolumeBackup.",
3291 "enum": [
3292 "STATE_UNSPECIFIED",
3293 "CREATING",
3294 "SNAPSHOTTING",
3295 "UPLOADING",
3296 "SUCCEEDED",
3297 "FAILED",
3298 "DELETING"
3299 ],
3300 "enumDescriptions": [
3301 "This is an illegal state and should not be encountered.",
3302 "A volume for the backup was identified and backup process is about to start.",
3303 "The volume backup operation has begun and is in the initial \"snapshot\" phase of the process. Any defined ProtectedApplication \"pre\" hooks will be executed before entering this state and \"post\" hooks will be executed upon leaving this state.",
3304 "The snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage.",
3305 "The volume backup operation has completed successfully.",
3306 "The volume backup operation has failed.",
3307 "This VolumeBackup resource (and its associated artifacts) is in the process of being deleted."
3308 ],
3309 "readOnly": true,
3310 "type": "string"
3311 },
3312 "stateMessage": {
3313 "description": "Output only. A human readable message explaining why the VolumeBackup is in its current state.",
3314 "readOnly": true,
3315 "type": "string"
3316 },
3317 "storageBytes": {
3318 "description": "Output only. The aggregate size of the underlying artifacts associated with this VolumeBackup in the backup storage. This may change over time when multiple backups of the same volume share the same backup storage location. In particular, this is likely to increase in size when the immediately preceding backup of the same volume is deleted.",
3319 "format": "int64",
3320 "readOnly": true,
3321 "type": "string"
3322 },
3323 "uid": {
3324 "description": "Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.",
3325 "readOnly": true,
3326 "type": "string"
3327 },
3328 "updateTime": {
3329 "description": "Output only. The timestamp when this VolumeBackup resource was last updated.",
3330 "format": "google-datetime",
3331 "readOnly": true,
3332 "type": "string"
3333 },
3334 "volumeBackupHandle": {
3335 "description": "Output only. A storage system-specific opaque handle to the underlying volume backup.",
3336 "readOnly": true,
3337 "type": "string"
3338 }
3339 },
3340 "type": "object"
3341 },
3342 "VolumeRestore": {
3343 "description": "Represents the operation of restoring a volume from a VolumeBackup.",
3344 "id": "VolumeRestore",
3345 "properties": {
3346 "completeTime": {
3347 "description": "Output only. The timestamp when the associated underlying volume restoration completed.",
3348 "format": "google-datetime",
3349 "readOnly": true,
3350 "type": "string"
3351 },
3352 "createTime": {
3353 "description": "Output only. The timestamp when this VolumeRestore resource was created.",
3354 "format": "google-datetime",
3355 "readOnly": true,
3356 "type": "string"
3357 },
3358 "etag": {
3359 "description": "Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a volume restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform volume restore updates in order to avoid race conditions.",
3360 "readOnly": true,
3361 "type": "string"
3362 },
3363 "name": {
3364 "description": "Output only. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`",
3365 "readOnly": true,
3366 "type": "string"
3367 },
3368 "state": {
3369 "description": "Output only. The current state of this VolumeRestore.",
3370 "enum": [
3371 "STATE_UNSPECIFIED",
3372 "CREATING",
3373 "RESTORING",
3374 "SUCCEEDED",
3375 "FAILED",
3376 "DELETING"
3377 ],
3378 "enumDescriptions": [
3379 "This is an illegal state and should not be encountered.",
3380 "A volume for the restore was identified and restore process is about to start.",
3381 "The volume is currently being restored.",
3382 "The volume has been successfully restored.",
3383 "The volume restoration process failed.",
3384 "This VolumeRestore resource is in the process of being deleted."
3385 ],
3386 "readOnly": true,
3387 "type": "string"
3388 },
3389 "stateMessage": {
3390 "description": "Output only. A human readable message explaining why the VolumeRestore is in its current state.",
3391 "readOnly": true,
3392 "type": "string"
3393 },
3394 "targetPvc": {
3395 "$ref": "NamespacedName",
3396 "description": "Output only. The reference to the target Kubernetes PVC to be restored.",
3397 "readOnly": true
3398 },
3399 "uid": {
3400 "description": "Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.",
3401 "readOnly": true,
3402 "type": "string"
3403 },
3404 "updateTime": {
3405 "description": "Output only. The timestamp when this VolumeRestore resource was last updated.",
3406 "format": "google-datetime",
3407 "readOnly": true,
3408 "type": "string"
3409 },
3410 "volumeBackup": {
3411 "description": "Output only. The full name of the VolumeBackup from which the volume will be restored. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.",
3412 "readOnly": true,
3413 "type": "string"
3414 },
3415 "volumeHandle": {
3416 "description": "Output only. A storage system-specific opaque handler to the underlying volume created for the target PVC from the volume backup.",
3417 "readOnly": true,
3418 "type": "string"
3419 },
3420 "volumeType": {
3421 "description": "Output only. The type of volume provisioned",
3422 "enum": [
3423 "VOLUME_TYPE_UNSPECIFIED",
3424 "GCE_PERSISTENT_DISK"
3425 ],
3426 "enumDescriptions": [
3427 "Default",
3428 "Compute Engine Persistent Disk volume"
3429 ],
3430 "readOnly": true,
3431 "type": "string"
3432 }
3433 },
3434 "type": "object"
3435 }
3436 },
3437 "servicePath": "",
3438 "title": "Backup for GKE API",
3439 "version": "v1",
3440 "version_module": true
3441}
View as plain text