@maxim_mazurok/gapi.client.compute-alpha 0.0.20240820 → 0.0.20240903

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 (3) hide show
  1. package/index.d.ts +443 -4
  2. package/package.json +1 -1
  3. package/readme.md +52 -2
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://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
12
- // Revision: 20240820
12
+ // Revision: 20240903
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -315,6 +315,8 @@ declare namespace gapi.client {
315
315
  serviceShareType?: string;
316
316
  }
317
317
  interface AllocationResourceStatus {
318
+ /** Indicates number of blocks for accelerator optimized family (applicable beyond A3 only). */
319
+ reservationBlockCount?: number;
318
320
  /** Allocation Properties of this reservation. */
319
321
  specificSkuAllocation?: AllocationResourceStatusSpecificSKUAllocation;
320
322
  }
@@ -3859,6 +3861,8 @@ declare namespace gapi.client {
3859
3861
  kind?: string;
3860
3862
  /** Pagination behavior of the listManagedInstances API method for this managed instance group. */
3861
3863
  listManagedInstancesResults?: string;
3864
+ /** URL to the multi-MIG that this Managed Instance Group belongs to. */
3865
+ multiMig?: string;
3862
3866
  /** The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. */
3863
3867
  name?: string;
3864
3868
  /** Named ports configured for the Instance Groups complementary to this Instance Group Manager. */
@@ -6053,6 +6057,7 @@ declare namespace gapi.client {
6053
6057
  allInstancesConfig?: ManagedInstanceAllInstancesConfig;
6054
6058
  /** [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. */
6055
6059
  currentAction?: string;
6060
+ currentActionDetails?: ManagedInstanceCurrentActionDetails;
6056
6061
  /** [Output only] The unique identifier for this resource. This field is empty when instance does not exist. */
6057
6062
  id?: string;
6058
6063
  /** [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created. */
@@ -6088,6 +6093,11 @@ declare namespace gapi.client {
6088
6093
  /** [Output Only] Current all-instances configuration revision. This value is in RFC3339 text format. */
6089
6094
  revision?: string;
6090
6095
  }
6096
+ interface ManagedInstanceCurrentActionDetails {
6097
+ methodName?: string;
6098
+ /** [Output Only] Details of the current action that the managed instance group has scheduled for the instance. Contains trigger for the current action, and methodName in case it was triggered by API call. Possible values for trigger: - API Any API call. - PROACTIVE_UPDATE Proactive updater scheduled an update on this managed instance. - AUTOSCALING Instance being deleted/created after a decision from the Autoscaler. - REDISTRIBUTION The regional managed instance group is moving instances between zones to restore balance. - STANDBY_REFILL The managed instance group is refilling the Standby Pool (stopped/suspended virtual machines) after scale up. - MAINTENANCE Manual maintenance. - FAILED_CREATION The managed instance group is handling failed instance creation. - INSTANCE_FAILURE The managed instance group is handling instance failure, according to the Instance Lifecycle Policy. - FAILED_HEALTH_CHECK The managed instance group is handling failed health check, according to the Instance Lifecycle Policy. - TERMINATION_TIMESTAMP Instance reached termination time, thus managed instance group stops/deletes it. */
6099
+ trigger?: string;
6100
+ }
6091
6101
  interface ManagedInstanceInstanceFlexibilityOverride {
6092
6102
  /** The machine type to be used for this instance. */
6093
6103
  machineType?: string;
@@ -8827,10 +8837,14 @@ declare namespace gapi.client {
8827
8837
  deleteAfterDuration?: Duration;
8828
8838
  /** Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format. */
8829
8839
  deleteAtTime?: string;
8840
+ /** Specifies the deployment strategy for this reservation. */
8841
+ deploymentType?: string;
8830
8842
  /** An optional description of this resource. Provide this property when you create the resource. */
8831
8843
  description?: string;
8832
8844
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
8833
8845
  id?: string;
8846
+ /** Instance termination action that will be invoked when the reservation is deleted. */
8847
+ instanceTerminationAction?: string;
8834
8848
  /** [Output Only] Type of the resource. Always compute#reservations for reservations. */
8835
8849
  kind?: string;
8836
8850
  /** The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
@@ -8894,6 +8908,59 @@ declare namespace gapi.client {
8894
8908
  message?: string;
8895
8909
  };
8896
8910
  }
8911
+ interface ReservationBlock {
8912
+ /** [Output Only] Specifies the number of resources that are allocated in this block. It indicates the maximum number of VMs that a user can run on this particular block. */
8913
+ count?: number;
8914
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
8915
+ creationTimestamp?: string;
8916
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
8917
+ id?: string;
8918
+ /** [Output Only] Indicates how many instances are in use on this block. */
8919
+ inUseCount?: number;
8920
+ /** [Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks. */
8921
+ kind?: string;
8922
+ /** [Output Only] Obfuscated location where this reservation block physically resides in format /CCCC/GGGG. This matches the tripod specified in the VM topology information. Example: /USEAB1/0101/ is the location prefix in /USEAB1/0101/031/003 */
8923
+ locationPrefix?: string;
8924
+ /** [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? */
8925
+ name?: string;
8926
+ /** [Output Only] Server-defined fully-qualified URL for this resource. */
8927
+ selfLink?: string;
8928
+ /** [Output Only] Server-defined URL for this resource with the resource id. */
8929
+ selfLinkWithId?: string;
8930
+ /** [Output Only] Status of the reservation block. */
8931
+ status?: string;
8932
+ /** [Output Only] Zone in which the reservation block resides. */
8933
+ zone?: string;
8934
+ }
8935
+ interface ReservationBlocksGetResponse {
8936
+ resource?: ReservationBlock;
8937
+ }
8938
+ interface ReservationBlocksListResponse {
8939
+ /** Unique identifier for the resource; defined by the server. */
8940
+ id?: string;
8941
+ /** A list of reservation block resources. */
8942
+ items?: ReservationBlock[];
8943
+ /** Type of the resource. Always compute#reservationBlock for a list of reservation blocks. */
8944
+ kind?: string;
8945
+ /** This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. */
8946
+ nextPageToken?: string;
8947
+ /** Server-defined URL for this resource. */
8948
+ selfLink?: string;
8949
+ /** Informational warning message. */
8950
+ warning?: {
8951
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
8952
+ code?: string;
8953
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
8954
+ data?: Array<{
8955
+ /** [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). */
8956
+ key?: string;
8957
+ /** [Output Only] A warning data value corresponding to the key. */
8958
+ value?: string;
8959
+ }>;
8960
+ /** [Output Only] A human-readable description of the warning code. */
8961
+ message?: string;
8962
+ };
8963
+ }
8897
8964
  interface ReservationList {
8898
8965
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
8899
8966
  id?: string;
@@ -9328,6 +9395,8 @@ declare namespace gapi.client {
9328
9395
  };
9329
9396
  }
9330
9397
  interface RoutePolicy {
9398
+ /** An optional description of route policy. */
9399
+ description?: string;
9331
9400
  /** A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy. */
9332
9401
  fingerprint?: string;
9333
9402
  /** Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035. */
@@ -11531,7 +11600,7 @@ declare namespace gapi.client {
11531
11600
  gatewayAddress?: string;
11532
11601
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
11533
11602
  id?: string;
11534
- /** [Output Only] The internal IPv6 address range that is assigned to this subnetwork. */
11603
+ /** The internal IPv6 address range that is owned by this subnetwork. */
11535
11604
  internalIpv6Prefix?: string;
11536
11605
  /** The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. */
11537
11606
  ipCidrRange?: string;
@@ -15185,7 +15254,7 @@ declare namespace gapi.client {
15185
15254
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
15186
15255
  userIp?: string;
15187
15256
  }): Request<BackendServiceList>;
15188
- /** Retrieves an aggregated list of all usable backend services in the specified project. */
15257
+ /** Retrieves a list of all usable backend services in the specified project. */
15189
15258
  listUsable(request?: {
15190
15259
  /** V1 error format. */
15191
15260
  '$.xgafv'?: string;
@@ -28453,6 +28522,41 @@ declare namespace gapi.client {
28453
28522
  /** The name of the zone for this request. */
28454
28523
  zone: string;
28455
28524
  }): Request<InstantSnapshotGroup>;
28525
+ /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
28526
+ getIamPolicy(request?: {
28527
+ /** V1 error format. */
28528
+ '$.xgafv'?: string;
28529
+ /** OAuth access token. */
28530
+ access_token?: string;
28531
+ /** Data format for response. */
28532
+ alt?: string;
28533
+ /** JSONP */
28534
+ callback?: string;
28535
+ /** Selector specifying which fields to include in a partial response. */
28536
+ fields?: string;
28537
+ /** 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. */
28538
+ key?: string;
28539
+ /** OAuth 2.0 token for the current user. */
28540
+ oauth_token?: string;
28541
+ /** Requested IAM Policy version. */
28542
+ optionsRequestedPolicyVersion?: number;
28543
+ /** Returns response with indentations and line breaks. */
28544
+ prettyPrint?: boolean;
28545
+ /** Project ID for this request. */
28546
+ project: string;
28547
+ /** 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. */
28548
+ quotaUser?: string;
28549
+ /** Name or id of the resource for this request. */
28550
+ resource: string;
28551
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
28552
+ upload_protocol?: string;
28553
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
28554
+ uploadType?: string;
28555
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
28556
+ userIp?: string;
28557
+ /** The name of the zone for this request. */
28558
+ zone: string;
28559
+ }): Request<Policy>;
28456
28560
  /** inserts a Zonal InstantSnapshotGroup resource */
28457
28561
  insert(request: {
28458
28562
  /** V1 error format. */
@@ -28568,6 +28672,78 @@ declare namespace gapi.client {
28568
28672
  /** The name of the zone for this request. */
28569
28673
  zone: string;
28570
28674
  }): Request<ListInstantSnapshotGroups>;
28675
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. */
28676
+ setIamPolicy(
28677
+ request: {
28678
+ /** V1 error format. */
28679
+ '$.xgafv'?: string;
28680
+ /** OAuth access token. */
28681
+ access_token?: string;
28682
+ /** Data format for response. */
28683
+ alt?: string;
28684
+ /** JSONP */
28685
+ callback?: string;
28686
+ /** Selector specifying which fields to include in a partial response. */
28687
+ fields?: string;
28688
+ /** 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. */
28689
+ key?: string;
28690
+ /** OAuth 2.0 token for the current user. */
28691
+ oauth_token?: string;
28692
+ /** Returns response with indentations and line breaks. */
28693
+ prettyPrint?: boolean;
28694
+ /** Project ID for this request. */
28695
+ project: string;
28696
+ /** 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. */
28697
+ quotaUser?: string;
28698
+ /** Name or id of the resource for this request. */
28699
+ resource: string;
28700
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
28701
+ upload_protocol?: string;
28702
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
28703
+ uploadType?: string;
28704
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
28705
+ userIp?: string;
28706
+ /** The name of the zone for this request. */
28707
+ zone: string;
28708
+ },
28709
+ body: ZoneSetPolicyRequest
28710
+ ): Request<Policy>;
28711
+ /** Returns permissions that a caller has on the specified resource. */
28712
+ testIamPermissions(
28713
+ request: {
28714
+ /** V1 error format. */
28715
+ '$.xgafv'?: string;
28716
+ /** OAuth access token. */
28717
+ access_token?: string;
28718
+ /** Data format for response. */
28719
+ alt?: string;
28720
+ /** JSONP */
28721
+ callback?: string;
28722
+ /** Selector specifying which fields to include in a partial response. */
28723
+ fields?: string;
28724
+ /** 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. */
28725
+ key?: string;
28726
+ /** OAuth 2.0 token for the current user. */
28727
+ oauth_token?: string;
28728
+ /** Returns response with indentations and line breaks. */
28729
+ prettyPrint?: boolean;
28730
+ /** Project ID for this request. */
28731
+ project: string;
28732
+ /** 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. */
28733
+ quotaUser?: string;
28734
+ /** Name or id of the resource for this request. */
28735
+ resource: string;
28736
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
28737
+ upload_protocol?: string;
28738
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
28739
+ uploadType?: string;
28740
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
28741
+ userIp?: string;
28742
+ /** The name of the zone for this request. */
28743
+ zone: string;
28744
+ },
28745
+ body: TestPermissionsRequest
28746
+ ): Request<TestPermissionsResponse>;
28571
28747
  }
28572
28748
  interface InstantSnapshotsResource {
28573
28749
  /** Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
@@ -38295,7 +38471,7 @@ declare namespace gapi.client {
38295
38471
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
38296
38472
  userIp?: string;
38297
38473
  }): Request<BackendServiceList>;
38298
- /** Retrieves an aggregated list of all usable backend services in the specified project in the given region. */
38474
+ /** Retrieves a list of all usable backend services in the specified project in the given region. */
38299
38475
  listUsable(request?: {
38300
38476
  /** V1 error format. */
38301
38477
  '$.xgafv'?: string;
@@ -40922,6 +41098,80 @@ declare namespace gapi.client {
40922
41098
  ): Request<TestPermissionsResponse>;
40923
41099
  }
40924
41100
  interface RegionInstanceGroupManagerResizeRequestsResource {
41101
+ /** Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state. */
41102
+ cancel(request?: {
41103
+ /** V1 error format. */
41104
+ '$.xgafv'?: string;
41105
+ /** OAuth access token. */
41106
+ access_token?: string;
41107
+ /** Data format for response. */
41108
+ alt?: string;
41109
+ /** JSONP */
41110
+ callback?: string;
41111
+ /** Selector specifying which fields to include in a partial response. */
41112
+ fields?: string;
41113
+ /** The name of the managed instance group. Name should conform to RFC1035 or be a resource ID. */
41114
+ instanceGroupManager: string;
41115
+ /** 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. */
41116
+ key?: string;
41117
+ /** OAuth 2.0 token for the current user. */
41118
+ oauth_token?: string;
41119
+ /** Returns response with indentations and line breaks. */
41120
+ prettyPrint?: boolean;
41121
+ /** Project ID for this request. */
41122
+ project: string;
41123
+ /** 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. */
41124
+ quotaUser?: string;
41125
+ /** The name of the region scoping this request. Name should conform to RFC1035. */
41126
+ region: string;
41127
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
41128
+ requestId?: string;
41129
+ /** The name of the resize request to cancel. Name should conform to RFC1035 or be a resource ID. */
41130
+ resizeRequest: string;
41131
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41132
+ upload_protocol?: string;
41133
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41134
+ uploadType?: string;
41135
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41136
+ userIp?: string;
41137
+ }): Request<Operation>;
41138
+ /** Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously. */
41139
+ delete(request?: {
41140
+ /** V1 error format. */
41141
+ '$.xgafv'?: string;
41142
+ /** OAuth access token. */
41143
+ access_token?: string;
41144
+ /** Data format for response. */
41145
+ alt?: string;
41146
+ /** JSONP */
41147
+ callback?: string;
41148
+ /** Selector specifying which fields to include in a partial response. */
41149
+ fields?: string;
41150
+ /** The name of the managed instance group. Name should conform to RFC1035 or be a resource ID. */
41151
+ instanceGroupManager: string;
41152
+ /** 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. */
41153
+ key?: string;
41154
+ /** OAuth 2.0 token for the current user. */
41155
+ oauth_token?: string;
41156
+ /** Returns response with indentations and line breaks. */
41157
+ prettyPrint?: boolean;
41158
+ /** Project ID for this request. */
41159
+ project: string;
41160
+ /** 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. */
41161
+ quotaUser?: string;
41162
+ /** The name of the region scoping this request. Name should conform to RFC1035. */
41163
+ region: string;
41164
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
41165
+ requestId?: string;
41166
+ /** The name of the resize request to delete. Name should conform to RFC1035 or be a resource ID. */
41167
+ resizeRequest: string;
41168
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41169
+ upload_protocol?: string;
41170
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41171
+ uploadType?: string;
41172
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41173
+ userIp?: string;
41174
+ }): Request<Operation>;
40925
41175
  /** Returns all of the details about the specified resize request. */
40926
41176
  get(request?: {
40927
41177
  /** V1 error format. */
@@ -43384,6 +43634,41 @@ declare namespace gapi.client {
43384
43634
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
43385
43635
  userIp?: string;
43386
43636
  }): Request<InstantSnapshotGroup>;
43637
+ /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
43638
+ getIamPolicy(request?: {
43639
+ /** V1 error format. */
43640
+ '$.xgafv'?: string;
43641
+ /** OAuth access token. */
43642
+ access_token?: string;
43643
+ /** Data format for response. */
43644
+ alt?: string;
43645
+ /** JSONP */
43646
+ callback?: string;
43647
+ /** Selector specifying which fields to include in a partial response. */
43648
+ fields?: string;
43649
+ /** 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. */
43650
+ key?: string;
43651
+ /** OAuth 2.0 token for the current user. */
43652
+ oauth_token?: string;
43653
+ /** Requested IAM Policy version. */
43654
+ optionsRequestedPolicyVersion?: number;
43655
+ /** Returns response with indentations and line breaks. */
43656
+ prettyPrint?: boolean;
43657
+ /** Project ID for this request. */
43658
+ project: string;
43659
+ /** 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. */
43660
+ quotaUser?: string;
43661
+ /** The name of the region for this request. */
43662
+ region: string;
43663
+ /** Name or id of the resource for this request. */
43664
+ resource: string;
43665
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43666
+ upload_protocol?: string;
43667
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43668
+ uploadType?: string;
43669
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43670
+ userIp?: string;
43671
+ }): Request<Policy>;
43387
43672
  /** creates a Regional InstantSnapshotGroup resource */
43388
43673
  insert(request: {
43389
43674
  /** V1 error format. */
@@ -43499,6 +43784,78 @@ declare namespace gapi.client {
43499
43784
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
43500
43785
  userIp?: string;
43501
43786
  }): Request<ListInstantSnapshotGroups>;
43787
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. */
43788
+ setIamPolicy(
43789
+ request: {
43790
+ /** V1 error format. */
43791
+ '$.xgafv'?: string;
43792
+ /** OAuth access token. */
43793
+ access_token?: string;
43794
+ /** Data format for response. */
43795
+ alt?: string;
43796
+ /** JSONP */
43797
+ callback?: string;
43798
+ /** Selector specifying which fields to include in a partial response. */
43799
+ fields?: string;
43800
+ /** 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. */
43801
+ key?: string;
43802
+ /** OAuth 2.0 token for the current user. */
43803
+ oauth_token?: string;
43804
+ /** Returns response with indentations and line breaks. */
43805
+ prettyPrint?: boolean;
43806
+ /** Project ID for this request. */
43807
+ project: string;
43808
+ /** 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. */
43809
+ quotaUser?: string;
43810
+ /** The name of the region for this request. */
43811
+ region: string;
43812
+ /** Name or id of the resource for this request. */
43813
+ resource: string;
43814
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43815
+ upload_protocol?: string;
43816
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43817
+ uploadType?: string;
43818
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43819
+ userIp?: string;
43820
+ },
43821
+ body: RegionSetPolicyRequest
43822
+ ): Request<Policy>;
43823
+ /** Returns permissions that a caller has on the specified resource. */
43824
+ testIamPermissions(
43825
+ request: {
43826
+ /** V1 error format. */
43827
+ '$.xgafv'?: string;
43828
+ /** OAuth access token. */
43829
+ access_token?: string;
43830
+ /** Data format for response. */
43831
+ alt?: string;
43832
+ /** JSONP */
43833
+ callback?: string;
43834
+ /** Selector specifying which fields to include in a partial response. */
43835
+ fields?: string;
43836
+ /** 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. */
43837
+ key?: string;
43838
+ /** OAuth 2.0 token for the current user. */
43839
+ oauth_token?: string;
43840
+ /** Returns response with indentations and line breaks. */
43841
+ prettyPrint?: boolean;
43842
+ /** Project ID for this request. */
43843
+ project: string;
43844
+ /** 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. */
43845
+ quotaUser?: string;
43846
+ /** The name of the region for this request. */
43847
+ region: string;
43848
+ /** Name or id of the resource for this request. */
43849
+ resource: string;
43850
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43851
+ upload_protocol?: string;
43852
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43853
+ uploadType?: string;
43854
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43855
+ userIp?: string;
43856
+ },
43857
+ body: TestPermissionsRequest
43858
+ ): Request<TestPermissionsResponse>;
43502
43859
  }
43503
43860
  interface RegionInstantSnapshotsResource {
43504
43861
  /** Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. */
@@ -48536,6 +48893,86 @@ declare namespace gapi.client {
48536
48893
  userIp?: string;
48537
48894
  }): Request<ZoneList>;
48538
48895
  }
48896
+ interface ReservationBlocksResource {
48897
+ /** Retrieves information about the specified reservation block. */
48898
+ get(request?: {
48899
+ /** V1 error format. */
48900
+ '$.xgafv'?: string;
48901
+ /** OAuth access token. */
48902
+ access_token?: string;
48903
+ /** Data format for response. */
48904
+ alt?: string;
48905
+ /** JSONP */
48906
+ callback?: string;
48907
+ /** Selector specifying which fields to include in a partial response. */
48908
+ fields?: string;
48909
+ /** 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. */
48910
+ key?: string;
48911
+ /** OAuth 2.0 token for the current user. */
48912
+ oauth_token?: string;
48913
+ /** Returns response with indentations and line breaks. */
48914
+ prettyPrint?: boolean;
48915
+ /** Project ID for this request. */
48916
+ project: string;
48917
+ /** 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. */
48918
+ quotaUser?: string;
48919
+ /** The name of the reservation. Name should conform to RFC1035 or be a resource ID. */
48920
+ reservation: string;
48921
+ /** The name of the reservation block. Name should conform to RFC1035 or be a resource ID. */
48922
+ reservationBlock: string;
48923
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
48924
+ upload_protocol?: string;
48925
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
48926
+ uploadType?: string;
48927
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
48928
+ userIp?: string;
48929
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
48930
+ zone: string;
48931
+ }): Request<ReservationBlocksGetResponse>;
48932
+ /** Retrieves a list of reservation blocks under a single reservation. */
48933
+ list(request?: {
48934
+ /** V1 error format. */
48935
+ '$.xgafv'?: string;
48936
+ /** OAuth access token. */
48937
+ access_token?: string;
48938
+ /** Data format for response. */
48939
+ alt?: string;
48940
+ /** JSONP */
48941
+ callback?: string;
48942
+ /** Selector specifying which fields to include in a partial response. */
48943
+ fields?: string;
48944
+ /** A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. */
48945
+ filter?: string;
48946
+ /** 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. */
48947
+ key?: string;
48948
+ /** The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) */
48949
+ maxResults?: number;
48950
+ /** OAuth 2.0 token for the current user. */
48951
+ oauth_token?: string;
48952
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. */
48953
+ orderBy?: string;
48954
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
48955
+ pageToken?: string;
48956
+ /** Returns response with indentations and line breaks. */
48957
+ prettyPrint?: boolean;
48958
+ /** Project ID for this request. */
48959
+ project: string;
48960
+ /** 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. */
48961
+ quotaUser?: string;
48962
+ /** The name of the reservation. Name should conform to RFC1035 or be a resource ID. */
48963
+ reservation: string;
48964
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. */
48965
+ returnPartialSuccess?: boolean;
48966
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
48967
+ upload_protocol?: string;
48968
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
48969
+ uploadType?: string;
48970
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
48971
+ userIp?: string;
48972
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
48973
+ zone: string;
48974
+ }): Request<ReservationBlocksListResponse>;
48975
+ }
48539
48976
  interface ReservationsResource {
48540
48977
  /** Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
48541
48978
  aggregatedList(request?: {
@@ -59568,6 +60005,8 @@ declare namespace gapi.client {
59568
60005
 
59569
60006
  const regions: RegionsResource;
59570
60007
 
60008
+ const reservationBlocks: ReservationBlocksResource;
60009
+
59571
60010
  const reservations: ReservationsResource;
59572
60011
 
59573
60012
  const resourcePolicies: ResourcePoliciesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240820",
3
+ "version": "0.0.20240903",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -291,7 +291,7 @@ Retrieves the list of BackendService resources available to the specified projec
291
291
  await gapi.client.compute.backendServices.list({ project: "project", });
292
292
 
293
293
  /*
294
- Retrieves an aggregated list of all usable backend services in the specified project.
294
+ Retrieves a list of all usable backend services in the specified project.
295
295
  */
296
296
  await gapi.client.compute.backendServices.listUsable({ project: "project", });
297
297
 
@@ -1595,6 +1595,11 @@ returns the specified InstantSnapshotGroup resource in the specified zone.
1595
1595
  */
1596
1596
  await gapi.client.compute.instantSnapshotGroups.get({ instantSnapshotGroup: "instantSnapshotGroup", project: "project", zone: "zone", });
1597
1597
 
1598
+ /*
1599
+ Gets the access control policy for a resource. May be empty if no such policy or resource exists.
1600
+ */
1601
+ await gapi.client.compute.instantSnapshotGroups.getIamPolicy({ project: "project", resource: "resource", zone: "zone", });
1602
+
1598
1603
  /*
1599
1604
  inserts a Zonal InstantSnapshotGroup resource
1600
1605
  */
@@ -1605,6 +1610,16 @@ retrieves the list of InstantSnapshotGroup resources contained within the specif
1605
1610
  */
1606
1611
  await gapi.client.compute.instantSnapshotGroups.list({ project: "project", zone: "zone", });
1607
1612
 
1613
+ /*
1614
+ Sets the access control policy on the specified resource. Replaces any existing policy.
1615
+ */
1616
+ await gapi.client.compute.instantSnapshotGroups.setIamPolicy({ project: "project", resource: "resource", zone: "zone", });
1617
+
1618
+ /*
1619
+ Returns permissions that a caller has on the specified resource.
1620
+ */
1621
+ await gapi.client.compute.instantSnapshotGroups.testIamPermissions({ project: "project", resource: "resource", zone: "zone", });
1622
+
1608
1623
  /*
1609
1624
  Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
1610
1625
  */
@@ -2651,7 +2666,7 @@ Retrieves the list of regional BackendService resources available to the specifi
2651
2666
  await gapi.client.compute.regionBackendServices.list({ project: "project", region: "region", });
2652
2667
 
2653
2668
  /*
2654
- Retrieves an aggregated list of all usable backend services in the specified project in the given region.
2669
+ Retrieves a list of all usable backend services in the specified project in the given region.
2655
2670
  */
2656
2671
  await gapi.client.compute.regionBackendServices.listUsable({ project: "project", region: "region", });
2657
2672
 
@@ -2900,6 +2915,16 @@ Returns permissions that a caller has on the specified resource.
2900
2915
  */
2901
2916
  await gapi.client.compute.regionHealthCheckServices.testIamPermissions({ project: "project", region: "region", resource: "resource", });
2902
2917
 
2918
+ /*
2919
+ Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state.
2920
+ */
2921
+ await gapi.client.compute.regionInstanceGroupManagerResizeRequests.cancel({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", resizeRequest: "resizeRequest", });
2922
+
2923
+ /*
2924
+ Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.
2925
+ */
2926
+ await gapi.client.compute.regionInstanceGroupManagerResizeRequests.delete({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", resizeRequest: "resizeRequest", });
2927
+
2903
2928
  /*
2904
2929
  Returns all of the details about the specified resize request.
2905
2930
  */
@@ -3110,6 +3135,11 @@ returns the specified InstantSnapshotGroup resource in the specified region.
3110
3135
  */
3111
3136
  await gapi.client.compute.regionInstantSnapshotGroups.get({ instantSnapshotGroup: "instantSnapshotGroup", project: "project", region: "region", });
3112
3137
 
3138
+ /*
3139
+ Gets the access control policy for a resource. May be empty if no such policy or resource exists.
3140
+ */
3141
+ await gapi.client.compute.regionInstantSnapshotGroups.getIamPolicy({ project: "project", region: "region", resource: "resource", });
3142
+
3113
3143
  /*
3114
3144
  creates a Regional InstantSnapshotGroup resource
3115
3145
  */
@@ -3120,6 +3150,16 @@ retrieves the list of InstantSnapshotGroup resources contained within the specif
3120
3150
  */
3121
3151
  await gapi.client.compute.regionInstantSnapshotGroups.list({ project: "project", region: "region", });
3122
3152
 
3153
+ /*
3154
+ Sets the access control policy on the specified resource. Replaces any existing policy.
3155
+ */
3156
+ await gapi.client.compute.regionInstantSnapshotGroups.setIamPolicy({ project: "project", region: "region", resource: "resource", });
3157
+
3158
+ /*
3159
+ Returns permissions that a caller has on the specified resource.
3160
+ */
3161
+ await gapi.client.compute.regionInstantSnapshotGroups.testIamPermissions({ project: "project", region: "region", resource: "resource", });
3162
+
3123
3163
  /*
3124
3164
  Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots.
3125
3165
  */
@@ -3645,6 +3685,16 @@ Retrieves the list of Zone resources under the specific region available to the
3645
3685
  */
3646
3686
  await gapi.client.compute.regionZones.list({ project: "project", region: "region", });
3647
3687
 
3688
+ /*
3689
+ Retrieves information about the specified reservation block.
3690
+ */
3691
+ await gapi.client.compute.reservationBlocks.get({ project: "project", reservation: "reservation", reservationBlock: "reservationBlock", zone: "zone", });
3692
+
3693
+ /*
3694
+ Retrieves a list of reservation blocks under a single reservation.
3695
+ */
3696
+ await gapi.client.compute.reservationBlocks.list({ project: "project", reservation: "reservation", zone: "zone", });
3697
+
3648
3698
  /*
3649
3699
  Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
3650
3700
  */