@maxim_mazurok/gapi.client.gkebackup-v1 0.0.20250310 → 0.0.20250326

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +692 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://gkebackup.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250310
12
+ // Revision: 20250326
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -98,6 +98,26 @@ declare namespace gapi.client {
98
98
  /** Output only. The total number of volume backups contained in the Backup. */
99
99
  volumeCount?: number;
100
100
  }
101
+ interface BackupChannel {
102
+ /** Output only. The timestamp when this BackupChannel resource was created. */
103
+ createTime?: string;
104
+ /** Optional. User specified descriptive string for this BackupChannel. */
105
+ description?: string;
106
+ /** Required. Immutable. The project where Backups are allowed to be stored. The format is `projects/{project}`. Currently, {project} can only be the project number. Support for project IDs will be added in the future. */
107
+ destinationProject?: string;
108
+ /** Output only. The project_id where Backups are allowed to be stored. Example Project ID: "my-project-id". This will be an OUTPUT_ONLY field to return the project_id of the destination project. */
109
+ destinationProjectId?: string;
110
+ /** Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupChannel from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupChannel updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupChannel`, and systems are expected to put that etag in the request to `UpdateBackupChannel` or `DeleteBackupChannel` to ensure that their change will be applied to the same version of the resource. */
111
+ etag?: string;
112
+ /** Optional. A set of custom labels supplied by user. */
113
+ labels?: {[P in string]: string};
114
+ /** Identifier. The fully qualified name of the BackupChannel. `projects/*‍/locations/*‍/backupChannels/*` */
115
+ name?: string;
116
+ /** Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. */
117
+ uid?: string;
118
+ /** Output only. The timestamp when this BackupChannel resource was last updated. */
119
+ updateTime?: string;
120
+ }
101
121
  interface BackupConfig {
102
122
  /** If True, include all namespaced resources */
103
123
  allNamespaces?: boolean;
@@ -152,6 +172,38 @@ declare namespace gapi.client {
152
172
  /** Output only. The timestamp when this BackupPlan resource was last updated. */
153
173
  updateTime?: string;
154
174
  }
175
+ interface BackupPlanBinding {
176
+ /** Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel. `projects/*‍/locations/*‍/backupPlans/{backup_plan}` */
177
+ backupPlan?: string;
178
+ /** Output only. Contains details about the backup plan/backup. */
179
+ backupPlanDetails?: BackupPlanDetails;
180
+ /** Output only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats: - `projects/*‍/locations/*‍/clusters/*` - `projects/*‍/zones/*‍/clusters/*` */
181
+ cluster?: string;
182
+ /** Output only. The timestamp when this binding was created. */
183
+ createTime?: string;
184
+ /** Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupPlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlanBinding updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlanBinding`, and systems are expected to put that etag in the request to `UpdateBackupPlanBinding` or `DeleteBackupPlanBinding` to ensure that their change will be applied to the same version of the resource. */
185
+ etag?: string;
186
+ /** Identifier. The fully qualified name of the BackupPlanBinding. `projects/*‍/locations/*‍/backupChannels/*‍/backupPlanBindings/*` */
187
+ name?: string;
188
+ /** Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier) */
189
+ uid?: string;
190
+ /** Output only. The timestamp when this binding was created. */
191
+ updateTime?: string;
192
+ }
193
+ interface BackupPlanDetails {
194
+ /** Output only. The fully qualified name of the last successful Backup created under this BackupPlan. `projects/*‍/locations/*‍/backupPlans/*‍/backups/*` */
195
+ lastSuccessfulBackup?: string;
196
+ /** Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field. */
197
+ lastSuccessfulBackupTime?: string;
198
+ /** Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan. */
199
+ nextScheduledBackupTime?: string;
200
+ /** Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan. */
201
+ protectedPodCount?: number;
202
+ /** 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. */
203
+ rpoRiskLevel?: number;
204
+ /** Output only. State of the BackupPlan. */
205
+ state?: string;
206
+ }
155
207
  interface Binding {
156
208
  /** 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). */
157
209
  condition?: Expr;
@@ -228,6 +280,7 @@ declare namespace gapi.client {
228
280
  inclusionFilters?: ResourceSelector[];
229
281
  }
230
282
  interface GetBackupIndexDownloadUrlResponse {
283
+ /** Required. The signed URL for downloading the backup index. */
231
284
  signedUrl?: string;
232
285
  }
233
286
  interface GoogleLongrunningCancelOperationRequest {}
@@ -269,6 +322,22 @@ declare namespace gapi.client {
269
322
  /** Required. The satisfying group kind must be restored first in order to satisfy the dependency. */
270
323
  satisfying?: GroupKind;
271
324
  }
325
+ interface ListBackupChannelsResponse {
326
+ /** The list of BackupChannels matching the given criteria. */
327
+ backupChannels?: BackupChannel[];
328
+ /** A token which may be sent as page_token in a subsequent `ListBackupChannels` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. */
329
+ nextPageToken?: string;
330
+ /** Locations that could not be reached. */
331
+ unreachable?: string[];
332
+ }
333
+ interface ListBackupPlanBindingsResponse {
334
+ /** The list of BackupPlanBindings matching the given criteria. */
335
+ backupPlanBindings?: BackupPlanBinding[];
336
+ /** A token which may be sent as page_token in a subsequent `ListBackupPlanBindingss` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. */
337
+ nextPageToken?: string;
338
+ /** Locations that could not be reached. */
339
+ unreachable?: string[];
340
+ }
272
341
  interface ListBackupPlansResponse {
273
342
  /** The list of BackupPlans matching the given criteria. */
274
343
  backupPlans?: BackupPlan[];
@@ -291,6 +360,22 @@ declare namespace gapi.client {
291
360
  /** The standard List next-page token. */
292
361
  nextPageToken?: string;
293
362
  }
363
+ interface ListRestoreChannelsResponse {
364
+ /** A token which may be sent as page_token in a subsequent `ListRestoreChannels` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. */
365
+ nextPageToken?: string;
366
+ /** The list of RestoreChannels matching the given criteria. */
367
+ restoreChannels?: RestoreChannel[];
368
+ /** Locations that could not be reached. */
369
+ unreachable?: string[];
370
+ }
371
+ interface ListRestorePlanBindingsResponse {
372
+ /** A token which may be sent as page_token in a subsequent `ListRestorePlanBindings` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. */
373
+ nextPageToken?: string;
374
+ /** The list of RestorePlanBindings matching the given criteria. */
375
+ restorePlanBindings?: RestorePlanBinding[];
376
+ /** Unordered list. Locations that could not be reached. */
377
+ unreachable?: string[];
378
+ }
294
379
  interface ListRestorePlansResponse {
295
380
  /** 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. */
296
381
  nextPageToken?: string;
@@ -429,6 +514,26 @@ declare namespace gapi.client {
429
514
  /** Output only. Number of volumes restored during the restore execution. */
430
515
  volumesRestoredCount?: number;
431
516
  }
517
+ interface RestoreChannel {
518
+ /** Output only. The timestamp when this RestoreChannel was created. */
519
+ createTime?: string;
520
+ /** Optional. User specified descriptive string for this RestoreChannel. */
521
+ description?: string;
522
+ /** Required. Immutable. The project into which the backups will be restored. The format is `projects/{project}`. Currently, {project} can only be the project number. Support for project IDs will be added in the future. */
523
+ destinationProject?: string;
524
+ /** Output only. The project_id where backups will be restored. Example Project ID: "my-project-id". This will be an OUTPUT_ONLY field to return the project_id of the destination project. */
525
+ destinationProjectId?: string;
526
+ /** Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestoreChannel from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestoreChannel updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestoreChannel`, and systems are expected to put that etag in the request to `UpdateRestoreChannel` or `DeleteRestoreChannel` to ensure that their change will be applied to the same version of the resource. */
527
+ etag?: string;
528
+ /** Optional. A set of custom labels supplied by user. */
529
+ labels?: {[P in string]: string};
530
+ /** Identifier. The fully qualified name of the RestoreChannel. `projects/*‍/locations/*‍/restoreChannels/*` */
531
+ name?: string;
532
+ /** Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. */
533
+ uid?: string;
534
+ /** Output only. The timestamp when this RestoreChannel was last updated. */
535
+ updateTime?: string;
536
+ }
432
537
  interface RestoreConfig {
433
538
  /** Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error. */
434
539
  allNamespaces?: boolean;
@@ -487,6 +592,22 @@ declare namespace gapi.client {
487
592
  /** Output only. The timestamp when this RestorePlan resource was last updated. */
488
593
  updateTime?: string;
489
594
  }
595
+ interface RestorePlanBinding {
596
+ /** Output only. The fully qualified name of the BackupPlan bound to the specified RestorePlan. `projects/*‍/locations/*‍/backukpPlans/{backup_plan}` */
597
+ backupPlan?: string;
598
+ /** Output only. The timestamp when this binding was created. */
599
+ createTime?: string;
600
+ /** Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestorePlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestorePlanBinding updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestorePlanBinding`, and systems are expected to put that etag in the request to `UpdateRestorePlanBinding` or `DeleteRestorePlanBinding` to ensure that their change will be applied to the same version of the resource. */
601
+ etag?: string;
602
+ /** Identifier. The fully qualified name of the RestorePlanBinding. `projects/*‍/locations/*‍/restoreChannels/*‍/restorePlanBindings/*` */
603
+ name?: string;
604
+ /** Output only. The fully qualified name of the RestorePlan bound to this RestoreChannel. `projects/*‍/locations/*‍/restorePlans/{restore_plan}` */
605
+ restorePlan?: string;
606
+ /** Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier) */
607
+ uid?: string;
608
+ /** Output only. The timestamp when this binding was created. */
609
+ updateTime?: string;
610
+ }
490
611
  interface RetentionPolicy {
491
612
  /** 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) */
492
613
  backupDeleteLockDays?: number;
@@ -635,6 +756,290 @@ declare namespace gapi.client {
635
756
  /** Output only. The type of volume provisioned */
636
757
  volumeType?: string;
637
758
  }
759
+ interface BackupPlanBindingsResource {
760
+ /** Retrieve the details of a single BackupPlanBinding. */
761
+ get(request?: {
762
+ /** V1 error format. */
763
+ '$.xgafv'?: string;
764
+ /** OAuth access token. */
765
+ access_token?: string;
766
+ /** Data format for response. */
767
+ alt?: string;
768
+ /** JSONP */
769
+ callback?: string;
770
+ /** Selector specifying which fields to include in a partial response. */
771
+ fields?: string;
772
+ /** 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. */
773
+ key?: string;
774
+ /** Required. Fully qualified BackupPlanBinding name. Format: `projects/*‍/locations/*‍/backupChannels/*‍/backupPlanBindings/*` */
775
+ name: string;
776
+ /** OAuth 2.0 token for the current user. */
777
+ oauth_token?: string;
778
+ /** Returns response with indentations and line breaks. */
779
+ prettyPrint?: boolean;
780
+ /** 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. */
781
+ quotaUser?: string;
782
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
783
+ upload_protocol?: string;
784
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
785
+ uploadType?: string;
786
+ }): Request<BackupPlanBinding>;
787
+ /** Lists BackupPlanBindings in a given location. */
788
+ list(request?: {
789
+ /** V1 error format. */
790
+ '$.xgafv'?: string;
791
+ /** OAuth access token. */
792
+ access_token?: string;
793
+ /** Data format for response. */
794
+ alt?: string;
795
+ /** JSONP */
796
+ callback?: string;
797
+ /** Selector specifying which fields to include in a partial response. */
798
+ fields?: string;
799
+ /** Optional. Field match expression used to filter the results. */
800
+ filter?: string;
801
+ /** 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. */
802
+ key?: string;
803
+ /** OAuth 2.0 token for the current user. */
804
+ oauth_token?: string;
805
+ /** Optional. Field by which to sort the results. */
806
+ orderBy?: string;
807
+ /** 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. */
808
+ pageSize?: number;
809
+ /** Optional. The value of next_page_token received from a previous `ListBackupPlanBindings` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupPlanBindings` must match the call that provided the page token. */
810
+ pageToken?: string;
811
+ /** Required. The BackupChannel that contains the BackupPlanBindings to list. Format: `projects/*‍/locations/*‍/backupChannels/*` */
812
+ parent: string;
813
+ /** Returns response with indentations and line breaks. */
814
+ prettyPrint?: boolean;
815
+ /** 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. */
816
+ quotaUser?: string;
817
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
818
+ upload_protocol?: string;
819
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
820
+ uploadType?: string;
821
+ }): Request<ListBackupPlanBindingsResponse>;
822
+ }
823
+ interface BackupChannelsResource {
824
+ /** Creates a new BackupChannel in a given location. */
825
+ create(request: {
826
+ /** V1 error format. */
827
+ '$.xgafv'?: string;
828
+ /** OAuth access token. */
829
+ access_token?: string;
830
+ /** Data format for response. */
831
+ alt?: string;
832
+ /** Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name. */
833
+ backupChannelId?: string;
834
+ /** JSONP */
835
+ callback?: string;
836
+ /** Selector specifying which fields to include in a partial response. */
837
+ fields?: string;
838
+ /** 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. */
839
+ key?: string;
840
+ /** OAuth 2.0 token for the current user. */
841
+ oauth_token?: string;
842
+ /** Required. The location within which to create the BackupChannel. Format: `projects/*‍/locations/*` */
843
+ parent: string;
844
+ /** Returns response with indentations and line breaks. */
845
+ prettyPrint?: boolean;
846
+ /** 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. */
847
+ quotaUser?: string;
848
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
849
+ upload_protocol?: string;
850
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
851
+ uploadType?: string;
852
+ /** Request body */
853
+ resource: BackupChannel;
854
+ }): Request<GoogleLongrunningOperation>;
855
+ create(
856
+ request: {
857
+ /** V1 error format. */
858
+ '$.xgafv'?: string;
859
+ /** OAuth access token. */
860
+ access_token?: string;
861
+ /** Data format for response. */
862
+ alt?: string;
863
+ /** Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name. */
864
+ backupChannelId?: string;
865
+ /** JSONP */
866
+ callback?: string;
867
+ /** Selector specifying which fields to include in a partial response. */
868
+ fields?: string;
869
+ /** 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. */
870
+ key?: string;
871
+ /** OAuth 2.0 token for the current user. */
872
+ oauth_token?: string;
873
+ /** Required. The location within which to create the BackupChannel. Format: `projects/*‍/locations/*` */
874
+ parent: string;
875
+ /** Returns response with indentations and line breaks. */
876
+ prettyPrint?: boolean;
877
+ /** 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. */
878
+ quotaUser?: string;
879
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
880
+ upload_protocol?: string;
881
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
882
+ uploadType?: string;
883
+ },
884
+ body: BackupChannel,
885
+ ): Request<GoogleLongrunningOperation>;
886
+ /** Deletes an existing BackupChannel. */
887
+ delete(request?: {
888
+ /** V1 error format. */
889
+ '$.xgafv'?: string;
890
+ /** OAuth access token. */
891
+ access_token?: string;
892
+ /** Data format for response. */
893
+ alt?: string;
894
+ /** JSONP */
895
+ callback?: string;
896
+ /** Optional. If provided, this value must match the current value of the target BackupChannel's etag field or the request is rejected. */
897
+ etag?: string;
898
+ /** Selector specifying which fields to include in a partial response. */
899
+ fields?: string;
900
+ /** Optional. If set to true, any BackupPlanAssociations below this BackupChannel will also be deleted. Otherwise, the request will only succeed if the BackupChannel has no BackupPlanAssociations. */
901
+ force?: boolean;
902
+ /** 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. */
903
+ key?: string;
904
+ /** Required. Fully qualified BackupChannel name. Format: `projects/*‍/locations/*‍/backupChannels/*` */
905
+ name: string;
906
+ /** OAuth 2.0 token for the current user. */
907
+ oauth_token?: string;
908
+ /** Returns response with indentations and line breaks. */
909
+ prettyPrint?: boolean;
910
+ /** 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. */
911
+ quotaUser?: string;
912
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
913
+ upload_protocol?: string;
914
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
915
+ uploadType?: string;
916
+ }): Request<GoogleLongrunningOperation>;
917
+ /** Retrieve the details of a single BackupChannel. */
918
+ get(request?: {
919
+ /** V1 error format. */
920
+ '$.xgafv'?: string;
921
+ /** OAuth access token. */
922
+ access_token?: string;
923
+ /** Data format for response. */
924
+ alt?: string;
925
+ /** JSONP */
926
+ callback?: string;
927
+ /** Selector specifying which fields to include in a partial response. */
928
+ fields?: string;
929
+ /** 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. */
930
+ key?: string;
931
+ /** Required. Fully qualified BackupChannel name. Format: `projects/*‍/locations/*‍/backupChannels/*` */
932
+ name: string;
933
+ /** OAuth 2.0 token for the current user. */
934
+ oauth_token?: string;
935
+ /** Returns response with indentations and line breaks. */
936
+ prettyPrint?: boolean;
937
+ /** 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. */
938
+ quotaUser?: string;
939
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
940
+ upload_protocol?: string;
941
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
942
+ uploadType?: string;
943
+ }): Request<BackupChannel>;
944
+ /** Lists BackupChannels in a given location. */
945
+ list(request?: {
946
+ /** V1 error format. */
947
+ '$.xgafv'?: string;
948
+ /** OAuth access token. */
949
+ access_token?: string;
950
+ /** Data format for response. */
951
+ alt?: string;
952
+ /** JSONP */
953
+ callback?: string;
954
+ /** Selector specifying which fields to include in a partial response. */
955
+ fields?: string;
956
+ /** Optional. Field match expression used to filter the results. */
957
+ filter?: string;
958
+ /** 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. */
959
+ key?: string;
960
+ /** OAuth 2.0 token for the current user. */
961
+ oauth_token?: string;
962
+ /** Optional. Field by which to sort the results. */
963
+ orderBy?: string;
964
+ /** 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. */
965
+ pageSize?: number;
966
+ /** Optional. The value of next_page_token received from a previous `ListBackupChannels` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupChannels` must match the call that provided the page token. */
967
+ pageToken?: string;
968
+ /** Required. The location that contains the BackupChannels to list. Format: `projects/*‍/locations/*` */
969
+ parent: string;
970
+ /** Returns response with indentations and line breaks. */
971
+ prettyPrint?: boolean;
972
+ /** 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. */
973
+ quotaUser?: string;
974
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
975
+ upload_protocol?: string;
976
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
977
+ uploadType?: string;
978
+ }): Request<ListBackupChannelsResponse>;
979
+ /** Update a BackupChannel. */
980
+ patch(request: {
981
+ /** V1 error format. */
982
+ '$.xgafv'?: string;
983
+ /** OAuth access token. */
984
+ access_token?: string;
985
+ /** Data format for response. */
986
+ alt?: string;
987
+ /** JSONP */
988
+ callback?: string;
989
+ /** Selector specifying which fields to include in a partial response. */
990
+ fields?: string;
991
+ /** 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. */
992
+ key?: string;
993
+ /** Identifier. The fully qualified name of the BackupChannel. `projects/*‍/locations/*‍/backupChannels/*` */
994
+ name: string;
995
+ /** OAuth 2.0 token for the current user. */
996
+ oauth_token?: string;
997
+ /** Returns response with indentations and line breaks. */
998
+ prettyPrint?: boolean;
999
+ /** 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. */
1000
+ quotaUser?: string;
1001
+ /** Optional. This is used to specify the fields to be overwritten in the BackupChannel targeted for update. The values for each of these updated fields will be taken from the `backup_channel` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `labels`, etc.) If no `update_mask` is provided, all fields in `backup_channel` will be written to the target BackupChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_channel` are ignored and are not used to update the target BackupChannel. */
1002
+ updateMask?: string;
1003
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1004
+ upload_protocol?: string;
1005
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1006
+ uploadType?: string;
1007
+ /** Request body */
1008
+ resource: BackupChannel;
1009
+ }): Request<GoogleLongrunningOperation>;
1010
+ patch(
1011
+ request: {
1012
+ /** V1 error format. */
1013
+ '$.xgafv'?: string;
1014
+ /** OAuth access token. */
1015
+ access_token?: string;
1016
+ /** Data format for response. */
1017
+ alt?: string;
1018
+ /** JSONP */
1019
+ callback?: string;
1020
+ /** Selector specifying which fields to include in a partial response. */
1021
+ fields?: string;
1022
+ /** 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. */
1023
+ key?: string;
1024
+ /** Identifier. The fully qualified name of the BackupChannel. `projects/*‍/locations/*‍/backupChannels/*` */
1025
+ name: string;
1026
+ /** OAuth 2.0 token for the current user. */
1027
+ oauth_token?: string;
1028
+ /** Returns response with indentations and line breaks. */
1029
+ prettyPrint?: boolean;
1030
+ /** 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. */
1031
+ quotaUser?: string;
1032
+ /** Optional. This is used to specify the fields to be overwritten in the BackupChannel targeted for update. The values for each of these updated fields will be taken from the `backup_channel` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `labels`, etc.) If no `update_mask` is provided, all fields in `backup_channel` will be written to the target BackupChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_channel` are ignored and are not used to update the target BackupChannel. */
1033
+ updateMask?: string;
1034
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1035
+ upload_protocol?: string;
1036
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1037
+ uploadType?: string;
1038
+ },
1039
+ body: BackupChannel,
1040
+ ): Request<GoogleLongrunningOperation>;
1041
+ backupPlanBindings: BackupPlanBindingsResource;
1042
+ }
638
1043
  interface VolumeBackupsResource {
639
1044
  /** Retrieve the details of a single VolumeBackup. */
640
1045
  get(request?: {
@@ -1580,6 +1985,288 @@ declare namespace gapi.client {
1580
1985
  uploadType?: string;
1581
1986
  }): Request<GoogleLongrunningListOperationsResponse>;
1582
1987
  }
1988
+ interface RestorePlanBindingsResource {
1989
+ /** Retrieve the details of a single RestorePlanBinding. */
1990
+ get(request?: {
1991
+ /** V1 error format. */
1992
+ '$.xgafv'?: string;
1993
+ /** OAuth access token. */
1994
+ access_token?: string;
1995
+ /** Data format for response. */
1996
+ alt?: string;
1997
+ /** JSONP */
1998
+ callback?: string;
1999
+ /** Selector specifying which fields to include in a partial response. */
2000
+ fields?: string;
2001
+ /** 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. */
2002
+ key?: string;
2003
+ /** Required. Fully qualified RestorePlanBinding name. Format: `projects/*‍/locations/*‍/restoreChannels/*‍/restorePlanBindings/*` */
2004
+ name: string;
2005
+ /** OAuth 2.0 token for the current user. */
2006
+ oauth_token?: string;
2007
+ /** Returns response with indentations and line breaks. */
2008
+ prettyPrint?: boolean;
2009
+ /** 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. */
2010
+ quotaUser?: string;
2011
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2012
+ upload_protocol?: string;
2013
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2014
+ uploadType?: string;
2015
+ }): Request<RestorePlanBinding>;
2016
+ /** Lists RestorePlanBindings in a given location. */
2017
+ list(request?: {
2018
+ /** V1 error format. */
2019
+ '$.xgafv'?: string;
2020
+ /** OAuth access token. */
2021
+ access_token?: string;
2022
+ /** Data format for response. */
2023
+ alt?: string;
2024
+ /** JSONP */
2025
+ callback?: string;
2026
+ /** Selector specifying which fields to include in a partial response. */
2027
+ fields?: string;
2028
+ /** Optional. Field match expression used to filter the results. */
2029
+ filter?: string;
2030
+ /** 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. */
2031
+ key?: string;
2032
+ /** OAuth 2.0 token for the current user. */
2033
+ oauth_token?: string;
2034
+ /** Optional. Field by which to sort the results. */
2035
+ orderBy?: string;
2036
+ /** 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. */
2037
+ pageSize?: number;
2038
+ /** Optional. The value of next_page_token received from a previous `ListRestorePlanBindings` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlanBindings` must match the call that provided the page token. */
2039
+ pageToken?: string;
2040
+ /** Required. The RestoreChannel that contains the ListRestorePlanBindings to list. Format: `projects/*‍/locations/*‍/restoreChannels/*` */
2041
+ parent: string;
2042
+ /** Returns response with indentations and line breaks. */
2043
+ prettyPrint?: boolean;
2044
+ /** 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. */
2045
+ quotaUser?: string;
2046
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2047
+ upload_protocol?: string;
2048
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2049
+ uploadType?: string;
2050
+ }): Request<ListRestorePlanBindingsResponse>;
2051
+ }
2052
+ interface RestoreChannelsResource {
2053
+ /** Creates a new RestoreChannel in a given location. */
2054
+ create(request: {
2055
+ /** V1 error format. */
2056
+ '$.xgafv'?: string;
2057
+ /** OAuth access token. */
2058
+ access_token?: string;
2059
+ /** Data format for response. */
2060
+ alt?: string;
2061
+ /** JSONP */
2062
+ callback?: string;
2063
+ /** Selector specifying which fields to include in a partial response. */
2064
+ fields?: string;
2065
+ /** 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. */
2066
+ key?: string;
2067
+ /** OAuth 2.0 token for the current user. */
2068
+ oauth_token?: string;
2069
+ /** Required. The location within which to create the RestoreChannel. Format: `projects/*‍/locations/*` */
2070
+ parent: string;
2071
+ /** Returns response with indentations and line breaks. */
2072
+ prettyPrint?: boolean;
2073
+ /** 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. */
2074
+ quotaUser?: string;
2075
+ /** Optional. The client-provided short name for the RestoreChannel 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 RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name. */
2076
+ restoreChannelId?: string;
2077
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2078
+ upload_protocol?: string;
2079
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2080
+ uploadType?: string;
2081
+ /** Request body */
2082
+ resource: RestoreChannel;
2083
+ }): Request<GoogleLongrunningOperation>;
2084
+ create(
2085
+ request: {
2086
+ /** V1 error format. */
2087
+ '$.xgafv'?: string;
2088
+ /** OAuth access token. */
2089
+ access_token?: string;
2090
+ /** Data format for response. */
2091
+ alt?: string;
2092
+ /** JSONP */
2093
+ callback?: string;
2094
+ /** Selector specifying which fields to include in a partial response. */
2095
+ fields?: string;
2096
+ /** 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. */
2097
+ key?: string;
2098
+ /** OAuth 2.0 token for the current user. */
2099
+ oauth_token?: string;
2100
+ /** Required. The location within which to create the RestoreChannel. Format: `projects/*‍/locations/*` */
2101
+ parent: string;
2102
+ /** Returns response with indentations and line breaks. */
2103
+ prettyPrint?: boolean;
2104
+ /** 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. */
2105
+ quotaUser?: string;
2106
+ /** Optional. The client-provided short name for the RestoreChannel 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 RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name. */
2107
+ restoreChannelId?: string;
2108
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2109
+ upload_protocol?: string;
2110
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2111
+ uploadType?: string;
2112
+ },
2113
+ body: RestoreChannel,
2114
+ ): Request<GoogleLongrunningOperation>;
2115
+ /** Deletes an existing RestoreChannel. */
2116
+ delete(request?: {
2117
+ /** V1 error format. */
2118
+ '$.xgafv'?: string;
2119
+ /** OAuth access token. */
2120
+ access_token?: string;
2121
+ /** Data format for response. */
2122
+ alt?: string;
2123
+ /** JSONP */
2124
+ callback?: string;
2125
+ /** Optional. If provided, this value must match the current value of the target RestoreChannel's etag field or the request is rejected. */
2126
+ etag?: string;
2127
+ /** Selector specifying which fields to include in a partial response. */
2128
+ fields?: string;
2129
+ /** 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. */
2130
+ key?: string;
2131
+ /** Required. Fully qualified RestoreChannel name. Format: `projects/*‍/locations/*‍/restoreChannels/*` */
2132
+ name: string;
2133
+ /** OAuth 2.0 token for the current user. */
2134
+ oauth_token?: string;
2135
+ /** Returns response with indentations and line breaks. */
2136
+ prettyPrint?: boolean;
2137
+ /** 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. */
2138
+ quotaUser?: string;
2139
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2140
+ upload_protocol?: string;
2141
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2142
+ uploadType?: string;
2143
+ }): Request<GoogleLongrunningOperation>;
2144
+ /** Retrieve the details of a single RestoreChannel. */
2145
+ get(request?: {
2146
+ /** V1 error format. */
2147
+ '$.xgafv'?: string;
2148
+ /** OAuth access token. */
2149
+ access_token?: string;
2150
+ /** Data format for response. */
2151
+ alt?: string;
2152
+ /** JSONP */
2153
+ callback?: string;
2154
+ /** Selector specifying which fields to include in a partial response. */
2155
+ fields?: string;
2156
+ /** 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. */
2157
+ key?: string;
2158
+ /** Required. Fully qualified RestoreChannel name. Format: `projects/*‍/locations/*‍/restoreChannels/*` */
2159
+ name: string;
2160
+ /** OAuth 2.0 token for the current user. */
2161
+ oauth_token?: string;
2162
+ /** Returns response with indentations and line breaks. */
2163
+ prettyPrint?: boolean;
2164
+ /** 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. */
2165
+ quotaUser?: string;
2166
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2167
+ upload_protocol?: string;
2168
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2169
+ uploadType?: string;
2170
+ }): Request<RestoreChannel>;
2171
+ /** Lists RestoreChannels in a given location. */
2172
+ list(request?: {
2173
+ /** V1 error format. */
2174
+ '$.xgafv'?: string;
2175
+ /** OAuth access token. */
2176
+ access_token?: string;
2177
+ /** Data format for response. */
2178
+ alt?: string;
2179
+ /** JSONP */
2180
+ callback?: string;
2181
+ /** Selector specifying which fields to include in a partial response. */
2182
+ fields?: string;
2183
+ /** Optional. Field match expression used to filter the results. */
2184
+ filter?: string;
2185
+ /** 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. */
2186
+ key?: string;
2187
+ /** OAuth 2.0 token for the current user. */
2188
+ oauth_token?: string;
2189
+ /** Optional. Field by which to sort the results. */
2190
+ orderBy?: string;
2191
+ /** 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. */
2192
+ pageSize?: number;
2193
+ /** Optional. The value of next_page_token received from a previous `ListRestoreChannels` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestoreChannels` must match the call that provided the page token. */
2194
+ pageToken?: string;
2195
+ /** Required. The location that contains the RestoreChannels to list. Format: `projects/*‍/locations/*` */
2196
+ parent: string;
2197
+ /** Returns response with indentations and line breaks. */
2198
+ prettyPrint?: boolean;
2199
+ /** 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. */
2200
+ quotaUser?: string;
2201
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2202
+ upload_protocol?: string;
2203
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2204
+ uploadType?: string;
2205
+ }): Request<ListRestoreChannelsResponse>;
2206
+ /** Update a RestoreChannel. */
2207
+ patch(request: {
2208
+ /** V1 error format. */
2209
+ '$.xgafv'?: string;
2210
+ /** OAuth access token. */
2211
+ access_token?: string;
2212
+ /** Data format for response. */
2213
+ alt?: string;
2214
+ /** JSONP */
2215
+ callback?: string;
2216
+ /** Selector specifying which fields to include in a partial response. */
2217
+ fields?: string;
2218
+ /** 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. */
2219
+ key?: string;
2220
+ /** Identifier. The fully qualified name of the RestoreChannel. `projects/*‍/locations/*‍/restoreChannels/*` */
2221
+ name: string;
2222
+ /** OAuth 2.0 token for the current user. */
2223
+ oauth_token?: string;
2224
+ /** Returns response with indentations and line breaks. */
2225
+ prettyPrint?: boolean;
2226
+ /** 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. */
2227
+ quotaUser?: string;
2228
+ /** Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the `restore_channel` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `destination_project_id`, etc.) If no `update_mask` is provided, all fields in `restore_channel` will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and are not used to update the target RestoreChannel. */
2229
+ updateMask?: string;
2230
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2231
+ upload_protocol?: string;
2232
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2233
+ uploadType?: string;
2234
+ /** Request body */
2235
+ resource: RestoreChannel;
2236
+ }): Request<GoogleLongrunningOperation>;
2237
+ patch(
2238
+ request: {
2239
+ /** V1 error format. */
2240
+ '$.xgafv'?: string;
2241
+ /** OAuth access token. */
2242
+ access_token?: string;
2243
+ /** Data format for response. */
2244
+ alt?: string;
2245
+ /** JSONP */
2246
+ callback?: string;
2247
+ /** Selector specifying which fields to include in a partial response. */
2248
+ fields?: string;
2249
+ /** 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. */
2250
+ key?: string;
2251
+ /** Identifier. The fully qualified name of the RestoreChannel. `projects/*‍/locations/*‍/restoreChannels/*` */
2252
+ name: string;
2253
+ /** OAuth 2.0 token for the current user. */
2254
+ oauth_token?: string;
2255
+ /** Returns response with indentations and line breaks. */
2256
+ prettyPrint?: boolean;
2257
+ /** 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. */
2258
+ quotaUser?: string;
2259
+ /** Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the `restore_channel` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `destination_project_id`, etc.) If no `update_mask` is provided, all fields in `restore_channel` will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and are not used to update the target RestoreChannel. */
2260
+ updateMask?: string;
2261
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2262
+ upload_protocol?: string;
2263
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2264
+ uploadType?: string;
2265
+ },
2266
+ body: RestoreChannel,
2267
+ ): Request<GoogleLongrunningOperation>;
2268
+ restorePlanBindings: RestorePlanBindingsResource;
2269
+ }
1583
2270
  interface VolumeRestoresResource {
1584
2271
  /** Retrieve the details of a single VolumeRestore. */
1585
2272
  get(request?: {
@@ -2389,6 +3076,8 @@ declare namespace gapi.client {
2389
3076
  alt?: string;
2390
3077
  /** JSONP */
2391
3078
  callback?: string;
3079
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
3080
+ extraLocationTypes?: string | string[];
2392
3081
  /** Selector specifying which fields to include in a partial response. */
2393
3082
  fields?: string;
2394
3083
  /** 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). */
@@ -2412,8 +3101,10 @@ declare namespace gapi.client {
2412
3101
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2413
3102
  uploadType?: string;
2414
3103
  }): Request<ListLocationsResponse>;
3104
+ backupChannels: BackupChannelsResource;
2415
3105
  backupPlans: BackupPlansResource;
2416
3106
  operations: OperationsResource;
3107
+ restoreChannels: RestoreChannelsResource;
2417
3108
  restorePlans: RestorePlansResource;
2418
3109
  }
2419
3110
  interface ProjectsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkebackup-v1",
3
- "version": "0.0.20250310",
3
+ "version": "0.0.20250326",
4
4
  "description": "TypeScript typings for Backup for GKE API v1",
5
5
  "repository": {
6
6
  "type": "git",