@maxim_mazurok/gapi.client.compute-alpha 0.0.20250427 → 0.0.20250511

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 +569 -16
  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: 20250427
12
+ // Revision: 20250511
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -912,7 +912,7 @@ declare namespace gapi.client {
912
912
  metadatas?: {[P in string]: string};
913
913
  /** Name of the resource. Provided by the client when the resource is created. The 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. */
914
914
  name?: string;
915
- /** The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL. */
915
+ /** The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL, or when the load balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled. */
916
916
  network?: string;
917
917
  /** Configures traffic steering properties of internal passthrough Network Load Balancers. networkPassThroughLbTrafficPolicy cannot be specified with haPolicy. */
918
918
  networkPassThroughLbTrafficPolicy?: BackendServiceNetworkPassThroughLbTrafficPolicy;
@@ -1438,6 +1438,65 @@ declare namespace gapi.client {
1438
1438
  /** Custom authenticator credentials. Valid if callCredentialType is FROM_PLUGIN. */
1439
1439
  fromPlugin?: MetadataCredentialsFromPlugin;
1440
1440
  }
1441
+ interface CapacityAdviceRequest {
1442
+ /** Policy specifying the distribution of instances across zones within the requested region. */
1443
+ distributionPolicy?: CapacityAdviceRequestDistributionPolicy;
1444
+ /** Policy for instance selectors. */
1445
+ instanceFlexibilityPolicy?: CapacityAdviceRequestInstanceFlexibilityPolicy;
1446
+ /** Instance properties for this request. */
1447
+ instanceProperties?: CapacityAdviceRequestInstanceProperties;
1448
+ }
1449
+ interface CapacityAdviceRequestDistributionPolicy {
1450
+ /** The distribution shape to which the group converges. */
1451
+ targetShape?: string;
1452
+ /** Zones where Capacity Advisor looks for capacity. */
1453
+ zones?: CapacityAdviceRequestDistributionPolicyZoneConfiguration[];
1454
+ }
1455
+ interface CapacityAdviceRequestDistributionPolicyZoneConfiguration {
1456
+ /** The URL of the zone. */
1457
+ zone?: string;
1458
+ }
1459
+ interface CapacityAdviceRequestInstanceFlexibilityPolicy {
1460
+ /** Named instance selections configure properties. The key is an arbitrary, unique RFC1035 string that identifies the instance selection. */
1461
+ instanceSelections?: {
1462
+ [P in string]: CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection;
1463
+ };
1464
+ }
1465
+ interface CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection {
1466
+ /** Full machine-type names, e.g. "n1-standard-16". */
1467
+ machineTypes?: string[];
1468
+ }
1469
+ interface CapacityAdviceRequestInstanceProperties {
1470
+ /** Specifies the scheduling options. */
1471
+ scheduling?: CapacityAdviceRequestInstancePropertiesScheduling;
1472
+ }
1473
+ interface CapacityAdviceRequestInstancePropertiesScheduling {
1474
+ /** Specifies the provisioning model of the instance. */
1475
+ provisioningModel?: string;
1476
+ }
1477
+ interface CapacityAdviceResponse {
1478
+ /** Initially the API will provide one recommendation which balances the individual scores according to Google's preference. */
1479
+ recommendations?: CapacityAdviceResponseRecommendation[];
1480
+ }
1481
+ interface CapacityAdviceResponseRecommendation {
1482
+ scores?: CapacityAdviceResponseRecommendationScores;
1483
+ shards?: CapacityAdviceResponseRecommendationShard[];
1484
+ }
1485
+ interface CapacityAdviceResponseRecommendationScores {
1486
+ /** The obtainability score indicates the likelihood of successfully obtaining (provisioning) the requested number of VMs. The score range is 0.0 through 1.0. Higher is better. */
1487
+ obtainability?: number;
1488
+ /** The preemption score indicates the likelihood that your Spot VMs is preempted. For more information about the preemption process, see Preemption of Spot VMs. The score range is 0.0 through 1.0. Higher is better. */
1489
+ spotPreemption?: number;
1490
+ }
1491
+ interface CapacityAdviceResponseRecommendationShard {
1492
+ instanceCount?: number;
1493
+ /** The machine type corresponds to the instance selection in the request. */
1494
+ machineType?: string;
1495
+ /** Provisioning model of the recommended capacity. */
1496
+ provisioningModel?: string;
1497
+ /** The zone name for this shard. */
1498
+ zone?: string;
1499
+ }
1441
1500
  interface ChannelCredentials {
1442
1501
  /** The call credentials to access the SDS server. */
1443
1502
  certificates?: TlsCertificatePaths;
@@ -3139,6 +3198,10 @@ declare namespace gapi.client {
3139
3198
  policy?: Policy;
3140
3199
  }
3141
3200
  interface GroupMaintenanceInfo {
3201
+ /** Describes number of instances that have ongoing maintenance. */
3202
+ instanceMaintenanceOngoingCount?: number;
3203
+ /** Describes number of instances that have pending maintenance. */
3204
+ instanceMaintenancePendingCount?: number;
3142
3205
  /** Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance. */
3143
3206
  maintenanceOngoingCount?: number;
3144
3207
  /** Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance. */
@@ -4387,7 +4450,7 @@ declare namespace gapi.client {
4387
4450
  targetPools?: string[];
4388
4451
  /** The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number. */
4389
4452
  targetSize?: number;
4390
- /** Configures how target size of MIG is achieved. */
4453
+ /** The policy that specifies how the MIG creates its VMs to achieve the target size. */
4391
4454
  targetSizePolicy?: InstanceGroupManagerTargetSizePolicy;
4392
4455
  /** The unit of measure for the target size. */
4393
4456
  targetSizeUnit?: string;
@@ -4513,11 +4576,17 @@ declare namespace gapi.client {
4513
4576
  metadataBasedReadinessSignal?: InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal;
4514
4577
  /** The action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: - DEFAULT_ACTION (default): MIG uses the same action configured for instanceLifecyclePolicy.defaultActionOnFailure field. - REPAIR: MIG automatically repairs an unhealthy VM by recreating it. - DO_NOTHING: MIG doesn't repair an unhealthy VM. For more information, see About repairing VMs in a MIG. */
4515
4578
  onFailedHealthCheck?: string;
4579
+ /** Configuration for VM repairs in the MIG. */
4580
+ onRepair?: InstanceGroupManagerInstanceLifecyclePolicyOnRepair;
4516
4581
  }
4517
4582
  interface InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal {
4518
4583
  /** The number of seconds to wait for a readiness signal during initialization before timing out. */
4519
4584
  timeoutSec?: number;
4520
4585
  }
4586
+ interface InstanceGroupManagerInstanceLifecyclePolicyOnRepair {
4587
+ /** Specifies whether the MIG can change a VM's zone during repair. */
4588
+ allowChangingZone?: string;
4589
+ }
4521
4590
  interface InstanceGroupManagerList {
4522
4591
  /** [Output Only] Unique identifier for the resource; defined by the server. */
4523
4592
  id?: string;
@@ -4798,7 +4867,7 @@ declare namespace gapi.client {
4798
4867
  allInstancesConfig?: InstanceGroupManagerStatusAllInstancesConfig;
4799
4868
  /** [Output Only] The URL of the Autoscaler that targets this instance group manager. */
4800
4869
  autoscaler?: string;
4801
- /** [Output Only] Status of bulk instance operation. */
4870
+ /** [Output Only] The status of bulk instance operation. */
4802
4871
  bulkInstanceOperation?: InstanceGroupManagerStatusBulkInstanceOperation;
4803
4872
  /** [Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified. */
4804
4873
  isStable?: boolean;
@@ -4816,11 +4885,11 @@ declare namespace gapi.client {
4816
4885
  interface InstanceGroupManagerStatusBulkInstanceOperation {
4817
4886
  /** [Output Only] Informs whether bulk instance operation is in progress. */
4818
4887
  inProgress?: boolean;
4819
- /** [Output Only] Information from last progress check of bulk instance operation. */
4888
+ /** [Output Only] Information from the last progress check of bulk instance operation. */
4820
4889
  lastProgressCheck?: InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck;
4821
4890
  }
4822
4891
  interface InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck {
4823
- /** [Output Only] Contains errors encountered during bulk instance operation. */
4892
+ /** [Output Only] Errors encountered during bulk instance operation. */
4824
4893
  error?: {
4825
4894
  /** [Output Only] The array of errors encountered while processing this operation. */
4826
4895
  errors?: Array<{
@@ -4863,7 +4932,7 @@ declare namespace gapi.client {
4863
4932
  perInstanceConfigs?: PerInstanceConfig[];
4864
4933
  }
4865
4934
  interface InstanceGroupManagerTargetSizePolicy {
4866
- /** Mode in which operations on size are processed. */
4935
+ /** The mode of target size policy based on which the MIG creates its VMs individually or all at once. */
4867
4936
  mode?: string;
4868
4937
  }
4869
4938
  interface InstanceGroupManagerUpdatePolicy {
@@ -5660,7 +5729,7 @@ declare namespace gapi.client {
5660
5729
  labelFingerprint?: string;
5661
5730
  /** Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */
5662
5731
  labels?: {[P in string]: string};
5663
- /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. */
5732
+ /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440. */
5664
5733
  mtu?: number;
5665
5734
  /** Whether or not to permit multicast traffic for this attachment. Multicast packets will be dropped if this is not enabled. */
5666
5735
  multicastEnabled?: boolean;
@@ -5853,7 +5922,7 @@ declare namespace gapi.client {
5853
5922
  ipsecInternalAddresses?: string[];
5854
5923
  /** L2 Interconnect Attachment related config. This field is required if the type is L2_DEDICATED. The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad) within L2 packets are mapped to the destination appliances IP addresses. The packet is then encapsulated with the appliance IP address and sent to the edge appliance. */
5855
5924
  l2Forwarding?: InterconnectAttachmentL2Forwarding;
5856
- /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. */
5925
+ /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, or 8896. If not specified, the value will default to 1440. */
5857
5926
  mtu?: number;
5858
5927
  /** Whether or not to permit multicast traffic for this attachment. Multicast packets will be dropped if this is not enabled. */
5859
5928
  multicastEnabled?: boolean;
@@ -10139,6 +10208,8 @@ declare namespace gapi.client {
10139
10208
  linkedCommitments?: string[];
10140
10209
  /** 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. */
10141
10210
  name?: string;
10211
+ /** Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures). */
10212
+ protectionTier?: string;
10142
10213
  /** [Output only] Indicates the reservation mode of the reservation. */
10143
10214
  reservationMode?: string;
10144
10215
  /** Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services. */
@@ -10676,12 +10747,14 @@ declare namespace gapi.client {
10676
10747
  enableGuestAttributesMetadataValue?: boolean;
10677
10748
  /** Effective enable-osconfig value at Instance level. */
10678
10749
  enableOsconfigMetadataValue?: boolean;
10679
- /** Effective enable-osinventory value at Instance level. */
10750
+ /** Effective enable-os-inventory value at Instance level. */
10680
10751
  enableOsInventoryMetadataValue?: boolean;
10681
10752
  /** Effective enable-oslogin value at Instance level. */
10682
10753
  enableOsloginMetadataValue?: boolean;
10683
10754
  /** Effective serial-port-enable value at Instance level. */
10684
10755
  serialPortEnableMetadataValue?: boolean;
10756
+ /** Effective serial-port-logging-enable value at Instance level. */
10757
+ serialPortLoggingEnableMetadataValue?: boolean;
10685
10758
  /** Effective VM DNS setting at Instance level. */
10686
10759
  vmDnsSettingMetadataValue?: string;
10687
10760
  }
@@ -11681,6 +11754,9 @@ declare namespace gapi.client {
11681
11754
  enableMl?: boolean;
11682
11755
  }
11683
11756
  interface SecurityPolicyDdosProtectionConfig {
11757
+ ddosAdaptiveProtection?: string;
11758
+ /** Adaptive Protection for Network Load Balancers (and VMs with public IPs) builds DDos mitigations that minimize collateral damage. It quantifies this as the fraction of a non-abuse baseline that's inadvertently blocked. Rules whose collateral damage exceeds ddosAdaptiveImpactedBaselineThreshold will not be deployed. Using a lower value will prioritize keeping collateral damage low, possibly at the cost of its effectiveness in rate limiting some or all of the attack. It should typically be between 0.01 and 0.10. */
11759
+ ddosImpactedBaselineThreshold?: number;
11684
11760
  ddosProtection?: string;
11685
11761
  }
11686
11762
  interface SecurityPolicyList {
@@ -15563,6 +15639,76 @@ declare namespace gapi.client {
15563
15639
  },
15564
15640
  body: CalendarModeAdviceRequest,
15565
15641
  ): Request<CalendarModeAdviceResponse>;
15642
+ /** Advice on making real-time decisions (such as choosing zone or machine types) during deployment to maximize your chances of obtaining capacity. */
15643
+ capacity(request: {
15644
+ /** V1 error format. */
15645
+ '$.xgafv'?: string;
15646
+ /** OAuth access token. */
15647
+ access_token?: string;
15648
+ /** Data format for response. */
15649
+ alt?: string;
15650
+ /** JSONP */
15651
+ callback?: string;
15652
+ /** Selector specifying which fields to include in a partial response. */
15653
+ fields?: string;
15654
+ /** 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. */
15655
+ key?: string;
15656
+ /** OAuth 2.0 token for the current user. */
15657
+ oauth_token?: string;
15658
+ /** Returns response with indentations and line breaks. */
15659
+ prettyPrint?: boolean;
15660
+ /** Project ID for this request. */
15661
+ project: string;
15662
+ /** 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. */
15663
+ quotaUser?: string;
15664
+ /** Name of the region for this request. */
15665
+ region: string;
15666
+ /** Size of requested capacity. */
15667
+ size: number;
15668
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15669
+ upload_protocol?: string;
15670
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15671
+ uploadType?: string;
15672
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
15673
+ userIp?: string;
15674
+ /** Request body */
15675
+ resource: CapacityAdviceRequest;
15676
+ }): Request<CapacityAdviceResponse>;
15677
+ capacity(
15678
+ request: {
15679
+ /** V1 error format. */
15680
+ '$.xgafv'?: string;
15681
+ /** OAuth access token. */
15682
+ access_token?: string;
15683
+ /** Data format for response. */
15684
+ alt?: string;
15685
+ /** JSONP */
15686
+ callback?: string;
15687
+ /** Selector specifying which fields to include in a partial response. */
15688
+ fields?: string;
15689
+ /** 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. */
15690
+ key?: string;
15691
+ /** OAuth 2.0 token for the current user. */
15692
+ oauth_token?: string;
15693
+ /** Returns response with indentations and line breaks. */
15694
+ prettyPrint?: boolean;
15695
+ /** Project ID for this request. */
15696
+ project: string;
15697
+ /** 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. */
15698
+ quotaUser?: string;
15699
+ /** Name of the region for this request. */
15700
+ region: string;
15701
+ /** Size of requested capacity. */
15702
+ size: number;
15703
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15704
+ upload_protocol?: string;
15705
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15706
+ uploadType?: string;
15707
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
15708
+ userIp?: string;
15709
+ },
15710
+ body: CapacityAdviceRequest,
15711
+ ): Request<CapacityAdviceResponse>;
15566
15712
  }
15567
15713
  interface AutoscalersResource {
15568
15714
  /** Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
@@ -39604,12 +39750,12 @@ declare namespace gapi.client {
39604
39750
  oauth_token?: string;
39605
39751
  /** Returns response with indentations and line breaks. */
39606
39752
  prettyPrint?: boolean;
39753
+ /** Name of the PreviewFeature for this request. */
39754
+ previewFeature: string;
39607
39755
  /** Project ID for this request. */
39608
39756
  project: string;
39609
39757
  /** 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. */
39610
39758
  quotaUser?: string;
39611
- /** Name of the PreviewFeature for this request. */
39612
- resourceId: string;
39613
39759
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39614
39760
  upload_protocol?: string;
39615
39761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -39674,14 +39820,14 @@ declare namespace gapi.client {
39674
39820
  oauth_token?: string;
39675
39821
  /** Returns response with indentations and line breaks. */
39676
39822
  prettyPrint?: boolean;
39823
+ /** Name of the PreviewFeature for this request. */
39824
+ previewFeature: string;
39677
39825
  /** Project ID for this request. */
39678
39826
  project: string;
39679
39827
  /** 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. */
39680
39828
  quotaUser?: string;
39681
39829
  /** 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). */
39682
39830
  requestId?: string;
39683
- /** Name of the PreviewFeature for this request. */
39684
- resourceId: string;
39685
39831
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39686
39832
  upload_protocol?: string;
39687
39833
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -39709,14 +39855,14 @@ declare namespace gapi.client {
39709
39855
  oauth_token?: string;
39710
39856
  /** Returns response with indentations and line breaks. */
39711
39857
  prettyPrint?: boolean;
39858
+ /** Name of the PreviewFeature for this request. */
39859
+ previewFeature: string;
39712
39860
  /** Project ID for this request. */
39713
39861
  project: string;
39714
39862
  /** 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. */
39715
39863
  quotaUser?: string;
39716
39864
  /** 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). */
39717
39865
  requestId?: string;
39718
- /** Name of the PreviewFeature for this request. */
39719
- resourceId: string;
39720
39866
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39721
39867
  upload_protocol?: string;
39722
39868
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -41670,6 +41816,411 @@ declare namespace gapi.client {
41670
41816
  body: Autoscaler,
41671
41817
  ): Request<Operation>;
41672
41818
  }
41819
+ interface RegionBackendBucketsResource {
41820
+ /** Deletes the specified regional BackendBucket resource. */
41821
+ delete(request?: {
41822
+ /** V1 error format. */
41823
+ '$.xgafv'?: string;
41824
+ /** OAuth access token. */
41825
+ access_token?: string;
41826
+ /** Data format for response. */
41827
+ alt?: string;
41828
+ /** Name of the BackendBucket resource to delete. */
41829
+ backendBucket: string;
41830
+ /** JSONP */
41831
+ callback?: string;
41832
+ /** Selector specifying which fields to include in a partial response. */
41833
+ fields?: string;
41834
+ /** Force delete the backend bucket even if it is still in use by other resources. It's intended to be used internally only for requests from wipeout. */
41835
+ forceDelete?: boolean;
41836
+ /** 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. */
41837
+ key?: string;
41838
+ /** OAuth 2.0 token for the current user. */
41839
+ oauth_token?: string;
41840
+ /** Returns response with indentations and line breaks. */
41841
+ prettyPrint?: boolean;
41842
+ /** Project ID for this request. */
41843
+ project: string;
41844
+ /** 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. */
41845
+ quotaUser?: string;
41846
+ /** Name of the region scoping this request. */
41847
+ region: string;
41848
+ /** 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). end_interface: MixerMutationRequestBuilder */
41849
+ requestId?: string;
41850
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41851
+ upload_protocol?: string;
41852
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41853
+ uploadType?: string;
41854
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41855
+ userIp?: string;
41856
+ }): Request<Operation>;
41857
+ /** Returns the specified regional BackendBucket resource. */
41858
+ get(request?: {
41859
+ /** V1 error format. */
41860
+ '$.xgafv'?: string;
41861
+ /** OAuth access token. */
41862
+ access_token?: string;
41863
+ /** Data format for response. */
41864
+ alt?: string;
41865
+ /** Name of the BackendBucket resource to return. */
41866
+ backendBucket: string;
41867
+ /** JSONP */
41868
+ callback?: string;
41869
+ /** Selector specifying which fields to include in a partial response. */
41870
+ fields?: string;
41871
+ /** 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. */
41872
+ key?: string;
41873
+ /** OAuth 2.0 token for the current user. */
41874
+ oauth_token?: string;
41875
+ /** Returns response with indentations and line breaks. */
41876
+ prettyPrint?: boolean;
41877
+ /** Project ID for this request. */
41878
+ project: string;
41879
+ /** 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. */
41880
+ quotaUser?: string;
41881
+ /** Name of the region scoping this request. */
41882
+ region: string;
41883
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41884
+ upload_protocol?: string;
41885
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41886
+ uploadType?: string;
41887
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41888
+ userIp?: string;
41889
+ }): Request<BackendBucket>;
41890
+ /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
41891
+ getIamPolicy(request?: {
41892
+ /** V1 error format. */
41893
+ '$.xgafv'?: string;
41894
+ /** OAuth access token. */
41895
+ access_token?: string;
41896
+ /** Data format for response. */
41897
+ alt?: string;
41898
+ /** JSONP */
41899
+ callback?: string;
41900
+ /** Selector specifying which fields to include in a partial response. */
41901
+ fields?: string;
41902
+ /** 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. */
41903
+ key?: string;
41904
+ /** OAuth 2.0 token for the current user. */
41905
+ oauth_token?: string;
41906
+ /** Requested IAM Policy version. */
41907
+ optionsRequestedPolicyVersion?: number;
41908
+ /** Returns response with indentations and line breaks. */
41909
+ prettyPrint?: boolean;
41910
+ /** Project ID for this request. */
41911
+ project: string;
41912
+ /** 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. */
41913
+ quotaUser?: string;
41914
+ /** The name of the region for this request. */
41915
+ region: string;
41916
+ /** Name or id of the resource for this request. */
41917
+ resource: string;
41918
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41919
+ upload_protocol?: string;
41920
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41921
+ uploadType?: string;
41922
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41923
+ userIp?: string;
41924
+ }): Request<Policy>;
41925
+ /** Creates a RegionBackendBucket in the specified project in the given scope using the parameters that are included in the request. */
41926
+ insert(request: {
41927
+ /** V1 error format. */
41928
+ '$.xgafv'?: string;
41929
+ /** OAuth access token. */
41930
+ access_token?: string;
41931
+ /** Data format for response. */
41932
+ alt?: string;
41933
+ /** JSONP */
41934
+ callback?: string;
41935
+ /** Selector specifying which fields to include in a partial response. */
41936
+ fields?: string;
41937
+ /** 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. */
41938
+ key?: string;
41939
+ /** OAuth 2.0 token for the current user. */
41940
+ oauth_token?: string;
41941
+ /** Returns response with indentations and line breaks. */
41942
+ prettyPrint?: boolean;
41943
+ /** Project ID for this request. */
41944
+ project: string;
41945
+ /** 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. */
41946
+ quotaUser?: string;
41947
+ /** Name of the region of this request. */
41948
+ region: string;
41949
+ /** 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). */
41950
+ requestId?: string;
41951
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41952
+ upload_protocol?: string;
41953
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41954
+ uploadType?: string;
41955
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41956
+ userIp?: string;
41957
+ /** Request body */
41958
+ resource: BackendBucket;
41959
+ }): Request<Operation>;
41960
+ insert(
41961
+ request: {
41962
+ /** V1 error format. */
41963
+ '$.xgafv'?: string;
41964
+ /** OAuth access token. */
41965
+ access_token?: string;
41966
+ /** Data format for response. */
41967
+ alt?: string;
41968
+ /** JSONP */
41969
+ callback?: string;
41970
+ /** Selector specifying which fields to include in a partial response. */
41971
+ fields?: string;
41972
+ /** 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. */
41973
+ key?: string;
41974
+ /** OAuth 2.0 token for the current user. */
41975
+ oauth_token?: string;
41976
+ /** Returns response with indentations and line breaks. */
41977
+ prettyPrint?: boolean;
41978
+ /** Project ID for this request. */
41979
+ project: string;
41980
+ /** 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. */
41981
+ quotaUser?: string;
41982
+ /** Name of the region of this request. */
41983
+ region: string;
41984
+ /** 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). */
41985
+ requestId?: string;
41986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41987
+ upload_protocol?: string;
41988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41989
+ uploadType?: string;
41990
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41991
+ userIp?: string;
41992
+ },
41993
+ body: BackendBucket,
41994
+ ): Request<Operation>;
41995
+ /** Retrieves the list of BackendBucket resources available to the specified project in the given region. */
41996
+ list(request?: {
41997
+ /** V1 error format. */
41998
+ '$.xgafv'?: string;
41999
+ /** OAuth access token. */
42000
+ access_token?: string;
42001
+ /** Data format for response. */
42002
+ alt?: string;
42003
+ /** JSONP */
42004
+ callback?: string;
42005
+ /** Selector specifying which fields to include in a partial response. */
42006
+ fields?: string;
42007
+ /** 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. */
42008
+ filter?: string;
42009
+ /** 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. */
42010
+ key?: string;
42011
+ /** 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`) */
42012
+ maxResults?: number;
42013
+ /** OAuth 2.0 token for the current user. */
42014
+ oauth_token?: string;
42015
+ /** 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. */
42016
+ orderBy?: string;
42017
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
42018
+ pageToken?: string;
42019
+ /** Returns response with indentations and line breaks. */
42020
+ prettyPrint?: boolean;
42021
+ /** Project ID for this request. */
42022
+ project: string;
42023
+ /** 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. */
42024
+ quotaUser?: string;
42025
+ /** Name of the region of this request. */
42026
+ region: string;
42027
+ /** 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. */
42028
+ returnPartialSuccess?: boolean;
42029
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42030
+ upload_protocol?: string;
42031
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42032
+ uploadType?: string;
42033
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
42034
+ userIp?: string;
42035
+ }): Request<BackendBucketList>;
42036
+ /** Retrieves a list of all usable backend buckets in the specified project in the given region. */
42037
+ listUsable(request?: {
42038
+ /** V1 error format. */
42039
+ '$.xgafv'?: string;
42040
+ /** OAuth access token. */
42041
+ access_token?: string;
42042
+ /** Data format for response. */
42043
+ alt?: string;
42044
+ /** JSONP */
42045
+ callback?: string;
42046
+ /** Selector specifying which fields to include in a partial response. */
42047
+ fields?: string;
42048
+ /** 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. */
42049
+ filter?: string;
42050
+ /** 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. */
42051
+ key?: string;
42052
+ /** 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`) */
42053
+ maxResults?: number;
42054
+ /** OAuth 2.0 token for the current user. */
42055
+ oauth_token?: string;
42056
+ /** 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. */
42057
+ orderBy?: string;
42058
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
42059
+ pageToken?: string;
42060
+ /** Returns response with indentations and line breaks. */
42061
+ prettyPrint?: boolean;
42062
+ /** Project ID for this request. */
42063
+ project: string;
42064
+ /** 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. */
42065
+ quotaUser?: string;
42066
+ /** Name of the region scoping this request. It must be a string that meets the requirements in RFC1035. */
42067
+ region: string;
42068
+ /** 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. */
42069
+ returnPartialSuccess?: boolean;
42070
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42071
+ upload_protocol?: string;
42072
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42073
+ uploadType?: string;
42074
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
42075
+ userIp?: string;
42076
+ }): Request<BackendBucketListUsable>;
42077
+ /** Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. */
42078
+ patch(request: {
42079
+ /** V1 error format. */
42080
+ '$.xgafv'?: string;
42081
+ /** OAuth access token. */
42082
+ access_token?: string;
42083
+ /** Data format for response. */
42084
+ alt?: string;
42085
+ /** Name of the BackendBucket resource to patch. */
42086
+ backendBucket: string;
42087
+ /** JSONP */
42088
+ callback?: string;
42089
+ /** Selector specifying which fields to include in a partial response. */
42090
+ fields?: string;
42091
+ /** 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. */
42092
+ key?: string;
42093
+ /** OAuth 2.0 token for the current user. */
42094
+ oauth_token?: string;
42095
+ /** Returns response with indentations and line breaks. */
42096
+ prettyPrint?: boolean;
42097
+ /** Project ID for this request. */
42098
+ project: string;
42099
+ /** 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. */
42100
+ quotaUser?: string;
42101
+ /** Name of the region scoping this request. */
42102
+ region: string;
42103
+ /** 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). end_interface: MixerMutationRequestBuilder */
42104
+ requestId?: string;
42105
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42106
+ upload_protocol?: string;
42107
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42108
+ uploadType?: string;
42109
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
42110
+ userIp?: string;
42111
+ /** Request body */
42112
+ resource: BackendBucket;
42113
+ }): Request<Operation>;
42114
+ patch(
42115
+ request: {
42116
+ /** V1 error format. */
42117
+ '$.xgafv'?: string;
42118
+ /** OAuth access token. */
42119
+ access_token?: string;
42120
+ /** Data format for response. */
42121
+ alt?: string;
42122
+ /** Name of the BackendBucket resource to patch. */
42123
+ backendBucket: string;
42124
+ /** JSONP */
42125
+ callback?: string;
42126
+ /** Selector specifying which fields to include in a partial response. */
42127
+ fields?: string;
42128
+ /** 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. */
42129
+ key?: string;
42130
+ /** OAuth 2.0 token for the current user. */
42131
+ oauth_token?: string;
42132
+ /** Returns response with indentations and line breaks. */
42133
+ prettyPrint?: boolean;
42134
+ /** Project ID for this request. */
42135
+ project: string;
42136
+ /** 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. */
42137
+ quotaUser?: string;
42138
+ /** Name of the region scoping this request. */
42139
+ region: string;
42140
+ /** 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). end_interface: MixerMutationRequestBuilder */
42141
+ requestId?: string;
42142
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42143
+ upload_protocol?: string;
42144
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42145
+ uploadType?: string;
42146
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
42147
+ userIp?: string;
42148
+ },
42149
+ body: BackendBucket,
42150
+ ): Request<Operation>;
42151
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. */
42152
+ setIamPolicy(
42153
+ request: {
42154
+ /** V1 error format. */
42155
+ '$.xgafv'?: string;
42156
+ /** OAuth access token. */
42157
+ access_token?: string;
42158
+ /** Data format for response. */
42159
+ alt?: string;
42160
+ /** JSONP */
42161
+ callback?: string;
42162
+ /** Selector specifying which fields to include in a partial response. */
42163
+ fields?: string;
42164
+ /** 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. */
42165
+ key?: string;
42166
+ /** OAuth 2.0 token for the current user. */
42167
+ oauth_token?: string;
42168
+ /** Returns response with indentations and line breaks. */
42169
+ prettyPrint?: boolean;
42170
+ /** Project ID for this request. */
42171
+ project: string;
42172
+ /** 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. */
42173
+ quotaUser?: string;
42174
+ /** The name of the region for this request. */
42175
+ region: string;
42176
+ /** Name or id of the resource for this request. */
42177
+ resource: string;
42178
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42179
+ upload_protocol?: string;
42180
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42181
+ uploadType?: string;
42182
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
42183
+ userIp?: string;
42184
+ },
42185
+ body: RegionSetPolicyRequest,
42186
+ ): Request<Policy>;
42187
+ /** Returns permissions that a caller has on the specified resource. */
42188
+ testIamPermissions(
42189
+ request: {
42190
+ /** V1 error format. */
42191
+ '$.xgafv'?: string;
42192
+ /** OAuth access token. */
42193
+ access_token?: string;
42194
+ /** Data format for response. */
42195
+ alt?: string;
42196
+ /** JSONP */
42197
+ callback?: string;
42198
+ /** Selector specifying which fields to include in a partial response. */
42199
+ fields?: string;
42200
+ /** 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. */
42201
+ key?: string;
42202
+ /** OAuth 2.0 token for the current user. */
42203
+ oauth_token?: string;
42204
+ /** Returns response with indentations and line breaks. */
42205
+ prettyPrint?: boolean;
42206
+ /** Project ID for this request. */
42207
+ project: string;
42208
+ /** 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. */
42209
+ quotaUser?: string;
42210
+ /** The name of the region for this request. */
42211
+ region: string;
42212
+ /** Name or id of the resource for this request. */
42213
+ resource: string;
42214
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42215
+ upload_protocol?: string;
42216
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42217
+ uploadType?: string;
42218
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
42219
+ userIp?: string;
42220
+ },
42221
+ body: TestPermissionsRequest,
42222
+ ): Request<TestPermissionsResponse>;
42223
+ }
41673
42224
  interface RegionBackendServicesResource {
41674
42225
  /** Deletes the specified regional BackendService resource. */
41675
42226
  delete(request?: {
@@ -65683,6 +66234,8 @@ declare namespace gapi.client {
65683
66234
 
65684
66235
  const regionAutoscalers: RegionAutoscalersResource;
65685
66236
 
66237
+ const regionBackendBuckets: RegionBackendBucketsResource;
66238
+
65686
66239
  const regionBackendServices: RegionBackendServicesResource;
65687
66240
 
65688
66241
  const regionCommitments: RegionCommitmentsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20250427",
3
+ "version": "0.0.20250511",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -145,6 +145,11 @@ Advise how, where and when to create the requested amount of instances with spec
145
145
  */
146
146
  await gapi.client.compute.advice.calendarMode({ project: "project", region: "region", });
147
147
 
148
+ /*
149
+ Advice on making real-time decisions (such as choosing zone or machine types) during deployment to maximize your chances of obtaining capacity.
150
+ */
151
+ await gapi.client.compute.advice.capacity({ project: "project", region: "region", size: 1, });
152
+
148
153
  /*
149
154
  Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
150
155
  */
@@ -2618,7 +2623,7 @@ await gapi.client.compute.packetMirrorings.testIamPermissions({ project: "projec
2618
2623
  /*
2619
2624
  Returns the details of the given PreviewFeature.
2620
2625
  */
2621
- await gapi.client.compute.previewFeatures.get({ project: "project", resourceId: "resourceId", });
2626
+ await gapi.client.compute.previewFeatures.get({ previewFeature: "previewFeature", project: "project", });
2622
2627
 
2623
2628
  /*
2624
2629
  Returns the details of the given PreviewFeature.
@@ -2628,7 +2633,7 @@ await gapi.client.compute.previewFeatures.list({ project: "project", });
2628
2633
  /*
2629
2634
  Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.
2630
2635
  */
2631
- await gapi.client.compute.previewFeatures.update({ project: "project", resourceId: "resourceId", });
2636
+ await gapi.client.compute.previewFeatures.update({ previewFeature: "previewFeature", project: "project", });
2632
2637
 
2633
2638
  /*
2634
2639
  Disable this project as a shared VPC host project.
@@ -2820,6 +2825,51 @@ Updates an autoscaler in the specified project using the data included in the re
2820
2825
  */
2821
2826
  await gapi.client.compute.regionAutoscalers.update({ project: "project", region: "region", });
2822
2827
 
2828
+ /*
2829
+ Deletes the specified regional BackendBucket resource.
2830
+ */
2831
+ await gapi.client.compute.regionBackendBuckets.delete({ backendBucket: "backendBucket", project: "project", region: "region", });
2832
+
2833
+ /*
2834
+ Returns the specified regional BackendBucket resource.
2835
+ */
2836
+ await gapi.client.compute.regionBackendBuckets.get({ backendBucket: "backendBucket", project: "project", region: "region", });
2837
+
2838
+ /*
2839
+ Gets the access control policy for a resource. May be empty if no such policy or resource exists.
2840
+ */
2841
+ await gapi.client.compute.regionBackendBuckets.getIamPolicy({ project: "project", region: "region", resource: "resource", });
2842
+
2843
+ /*
2844
+ Creates a RegionBackendBucket in the specified project in the given scope using the parameters that are included in the request.
2845
+ */
2846
+ await gapi.client.compute.regionBackendBuckets.insert({ project: "project", region: "region", });
2847
+
2848
+ /*
2849
+ Retrieves the list of BackendBucket resources available to the specified project in the given region.
2850
+ */
2851
+ await gapi.client.compute.regionBackendBuckets.list({ project: "project", region: "region", });
2852
+
2853
+ /*
2854
+ Retrieves a list of all usable backend buckets in the specified project in the given region.
2855
+ */
2856
+ await gapi.client.compute.regionBackendBuckets.listUsable({ project: "project", region: "region", });
2857
+
2858
+ /*
2859
+ Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
2860
+ */
2861
+ await gapi.client.compute.regionBackendBuckets.patch({ backendBucket: "backendBucket", project: "project", region: "region", });
2862
+
2863
+ /*
2864
+ Sets the access control policy on the specified resource. Replaces any existing policy.
2865
+ */
2866
+ await gapi.client.compute.regionBackendBuckets.setIamPolicy({ project: "project", region: "region", resource: "resource", });
2867
+
2868
+ /*
2869
+ Returns permissions that a caller has on the specified resource.
2870
+ */
2871
+ await gapi.client.compute.regionBackendBuckets.testIamPermissions({ project: "project", region: "region", resource: "resource", });
2872
+
2823
2873
  /*
2824
2874
  Deletes the specified regional BackendService resource.
2825
2875
  */