@maxim_mazurok/gapi.client.compute-alpha 0.0.20240227 → 0.0.20240312

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 +195 -15
  2. package/package.json +1 -1
  3. package/readme.md +10 -0
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: 20240227
12
+ // Revision: 20240312
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -815,10 +815,6 @@ declare namespace gapi.client {
815
815
  edgeSecurityPolicy?: string;
816
816
  /** If true, enables Cloud CDN for the backend service of a global external Application Load Balancer. */
817
817
  enableCDN?: boolean;
818
- /** Specifies the canary migration state. Possible values are PREPARE, TEST, and FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to FINALIZE before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic by percentage using externalManagedMigrationTestingRate. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
819
- externalManagedMigrationState?: string;
820
- /** Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 1]. For example: - A value of 0 will send all requests through the Classic ALB for the given resource. - A value of .001 will send .1% of requests through the Global external ALB for the given resource. - A value of .01 will send 1% of requests through the Global external ALB for the given resource. - A value of 1 will send all requests through the Global external ALB for the given resource. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value is only used if the loadBalancingScheme in the BackendService is set to EXTERNAL when using the classic Application Load Balancer. */
821
- externalManagedMigrationTestingRate?: number;
822
818
  /** Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). */
823
819
  failoverPolicy?: BackendServiceFailoverPolicy;
824
820
  /** Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. */
@@ -1502,11 +1498,11 @@ declare namespace gapi.client {
1502
1498
  allowHeaders?: string[];
1503
1499
  /** Specifies the content for the Access-Control-Allow-Methods header. */
1504
1500
  allowMethods?: string[];
1505
- /** Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. */
1501
+ /** Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. */
1506
1502
  allowOriginRegexes?: string[];
1507
1503
  /** Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. */
1508
1504
  allowOrigins?: string[];
1509
- /** If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect. */
1505
+ /** If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect. */
1510
1506
  disabled?: boolean;
1511
1507
  /** Specifies the content for the Access-Control-Expose-Headers header. */
1512
1508
  exposeHeaders?: string[];
@@ -2697,6 +2693,14 @@ declare namespace gapi.client {
2697
2693
  /** The target URI of the SDS server. */
2698
2694
  targetUri?: string;
2699
2695
  }
2696
+ interface GRPCTLSHealthCheck {
2697
+ /** The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. */
2698
+ grpcServiceName?: string;
2699
+ /** The TCP port number to which the health check prober sends packets. Valid values are 1 through 65535. */
2700
+ port?: number;
2701
+ /** Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. */
2702
+ portSpecification?: string;
2703
+ }
2700
2704
  interface GuestAttributes {
2701
2705
  /** [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry. */
2702
2706
  kind?: string;
@@ -2734,6 +2738,7 @@ declare namespace gapi.client {
2734
2738
  /** An optional description of this resource. Provide this property when you create the resource. */
2735
2739
  description?: string;
2736
2740
  grpcHealthCheck?: GRPCHealthCheck;
2741
+ grpcTlsHealthCheck?: GRPCTLSHealthCheck;
2737
2742
  /** A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. */
2738
2743
  healthyThreshold?: number;
2739
2744
  http2HealthCheck?: HTTP2HealthCheck;
@@ -3894,11 +3899,11 @@ declare namespace gapi.client {
3894
3899
  };
3895
3900
  }
3896
3901
  interface InstanceGroupManagerParams {
3897
- /** Resource manager tags to be bound to the instance group manager. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/123`, and values are in the format `tagValues/456`. The field is allowed for INSERT only. */
3902
+ /** Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456. For more information, see Manage tags for resources. */
3898
3903
  resourceManagerTags?: {[P in string]: string};
3899
3904
  }
3900
3905
  interface InstanceGroupManagerResizeRequest {
3901
- /** The count of instances to create as part of this resize request. */
3906
+ /** This field is deprecated, please use resize_by instead. The count of instances to create as part of this resize request. */
3902
3907
  count?: number;
3903
3908
  /** [Output Only] The creation timestamp for this resize request in RFC3339 text format. */
3904
3909
  creationTimestamp?: string;
@@ -3910,7 +3915,7 @@ declare namespace gapi.client {
3910
3915
  kind?: string;
3911
3916
  /** The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035. */
3912
3917
  name?: string;
3913
- /** When set, defines queing parameters for the requested deferred capacity. When unset, the request starts provisioning immediately, or fails if immediate provisioning is not possible. */
3918
+ /** This field is deprecated, ResizeRequests would not be provisioned immediately and would stay in the queue until explicitly cancelled. When set, defines queing parameters for the requested deferred capacity. When unset, the request starts provisioning immediately, or fails if immediate provisioning is not possible. */
3914
3919
  queuingPolicy?: QueuingPolicy;
3915
3920
  /** Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. */
3916
3921
  requestedRunDuration?: Duration;
@@ -3975,7 +3980,7 @@ declare namespace gapi.client {
3975
3980
  };
3976
3981
  /** [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. */
3977
3982
  lastAttempt?: InstanceGroupManagerResizeRequestStatusLastAttempt;
3978
- /** Constraints for the time when the instances start provisioning. Always exposed as absolute time. */
3983
+ /** This field is deprecated, setting queueing policy is no longer supported. Constraints for the time when the instances start provisioning. Always exposed as absolute time. */
3979
3984
  queuingPolicy?: QueuingPolicy;
3980
3985
  }
3981
3986
  interface InstanceGroupManagerResizeRequestStatusLastAttempt {
@@ -4455,7 +4460,7 @@ declare namespace gapi.client {
4455
4460
  rules?: FirewallPolicyRule[];
4456
4461
  /** [Output Only] The short name of the firewall policy. */
4457
4462
  shortName?: string;
4458
- /** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. */
4463
+ /** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. */
4459
4464
  type?: string;
4460
4465
  }
4461
4466
  interface InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy {
@@ -5913,6 +5918,8 @@ declare namespace gapi.client {
5913
5918
  name?: string;
5914
5919
  /** The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. */
5915
5920
  networkFirewallPolicyEnforcementOrder?: string;
5921
+ /** A full or partial URL of the network placement to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkPlacements/{network_placement_name} - projects/{project_id}/global/networkPlacements/{network_placement_name} */
5922
+ networkPlacement?: string;
5916
5923
  /** [Output Only] A list of network peerings for the resource. */
5917
5924
  peerings?: NetworkPeering[];
5918
5925
  /** [Output Only] URL of the region where the regional network resides. This field is not applicable to global network. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
@@ -6457,6 +6464,93 @@ declare namespace gapi.client {
6457
6464
  externalIpEgressBandwidthTier?: string;
6458
6465
  totalEgressBandwidthTier?: string;
6459
6466
  }
6467
+ interface NetworkPlacement {
6468
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
6469
+ creationTimestamp?: string;
6470
+ /** [Output Only] An optional description of this resource. */
6471
+ description?: string;
6472
+ /** [Output Only] Features supported by the network. */
6473
+ features?: NetworkPlacementNetworkFeatures;
6474
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
6475
+ id?: string;
6476
+ /** [Output Only] Type of the resource. Always compute#networkPlacement for network placements. */
6477
+ kind?: string;
6478
+ /** [Output Only] Name of the resource. */
6479
+ name?: string;
6480
+ /** [Output Only] Server-defined URL for the resource. */
6481
+ selfLink?: string;
6482
+ /** [Output Only] Server-defined URL for this resource with the resource id. */
6483
+ selfLinkWithId?: string;
6484
+ /** [Output Only] Zone to which the network is restricted. */
6485
+ zone?: string;
6486
+ }
6487
+ interface NetworkPlacementNetworkFeatures {
6488
+ /** Specifies whether auto mode subnet creation is allowed. */
6489
+ allowAutoModeSubnet?: string;
6490
+ /** Specifies whether cloud NAT creation is allowed. */
6491
+ allowCloudNat?: string;
6492
+ /** Specifies whether cloud router creation is allowed. */
6493
+ allowCloudRouter?: string;
6494
+ /** Specifies which subnetwork purposes are supported. */
6495
+ allowedSubnetPurposes?: string[];
6496
+ /** Specifies which subnetwork stack types are supported. */
6497
+ allowedSubnetStackTypes?: string[];
6498
+ /** Specifies whether Cloud Interconnect creation is allowed. */
6499
+ allowInterconnect?: string;
6500
+ /** Specifies whether cloud load balancing is allowed. */
6501
+ allowLoadBalancing?: string;
6502
+ /** Specifies whether multi-nic in the same network is allowed. */
6503
+ allowMultiNicInSameNetwork?: string;
6504
+ /** Specifies whether Packet Mirroring 1.0 is supported. */
6505
+ allowPacketMirroring?: string;
6506
+ /** Specifies whether private Google access is allowed. */
6507
+ allowPrivateGoogleAccess?: string;
6508
+ /** Specifies whether PSC creation is allowed. */
6509
+ allowPsc?: string;
6510
+ /** Specifies whether unicast within the same network is allowed. */
6511
+ allowSameNetworkUnicast?: string;
6512
+ /** Specifies whether static route creation is allowed. */
6513
+ allowStaticRoutes?: string;
6514
+ /** Specifies whether VPC peering is allowed. */
6515
+ allowVpcPeering?: string;
6516
+ /** Specifies whether VPN creation is allowed. */
6517
+ allowVpn?: string;
6518
+ /** If set, limits the interface types that the network supports. If empty, all interface types are supported. */
6519
+ interfaceTypes?: string[];
6520
+ /** Specifies which type of multicast is supported. */
6521
+ multicast?: string;
6522
+ /** Specifies which type of unicast is supported. */
6523
+ unicast?: string;
6524
+ }
6525
+ interface NetworkPlacementsListResponse {
6526
+ etag?: string;
6527
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
6528
+ id?: string;
6529
+ /** A list of NetworkPlacement resources. */
6530
+ items?: NetworkPlacement[];
6531
+ /** [Output Only] Type of resource. Always compute#networkPlacementList for network placements. */
6532
+ kind?: string;
6533
+ /** [Output Only] 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. */
6534
+ nextPageToken?: string;
6535
+ /** [Output Only] Server-defined URL for this resource. */
6536
+ selfLink?: string;
6537
+ /** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
6538
+ unreachables?: string[];
6539
+ /** [Output Only] Informational warning message. */
6540
+ warning?: {
6541
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
6542
+ code?: string;
6543
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
6544
+ data?: Array<{
6545
+ /** [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). */
6546
+ key?: string;
6547
+ /** [Output Only] A warning data value corresponding to the key. */
6548
+ value?: string;
6549
+ }>;
6550
+ /** [Output Only] A human-readable description of the warning code. */
6551
+ message?: string;
6552
+ };
6553
+ }
6460
6554
  interface NetworkRoutingConfig {
6461
6555
  /** Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm. */
6462
6556
  bgpAlwaysCompareMed?: boolean;
@@ -7980,6 +8074,20 @@ declare namespace gapi.client {
7980
8074
  name?: string;
7981
8075
  /** [Output Only] Quotas assigned to this region. */
7982
8076
  quotas?: Quota[];
8077
+ /** [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails. */
8078
+ quotaStatusWarning?: {
8079
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
8080
+ code?: string;
8081
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
8082
+ data?: Array<{
8083
+ /** [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). */
8084
+ key?: string;
8085
+ /** [Output Only] A warning data value corresponding to the key. */
8086
+ value?: string;
8087
+ }>;
8088
+ /** [Output Only] A human-readable description of the warning code. */
8089
+ message?: string;
8090
+ };
7983
8091
  /** [Output Only] Server-defined URL for the resource. */
7984
8092
  selfLink?: string;
7985
8093
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -8152,8 +8260,6 @@ declare namespace gapi.client {
8152
8260
  interface RegionInstanceGroupManagersDeleteInstancesRequest {
8153
8261
  /** The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */
8154
8262
  instances?: string[];
8155
- /** Skip instances which cannot be deleted (instances not belonging to this managed group, already being deleted or being abandoned). If `false`, fail whole flow, if such instance is passed. DEPRECATED: Use skip_instances_on_validation_error instead. */
8156
- skipInapplicableInstances?: boolean;
8157
8263
  /** Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region. */
8158
8264
  skipInstancesOnValidationError?: boolean;
8159
8265
  }
@@ -8321,7 +8427,7 @@ declare namespace gapi.client {
8321
8427
  name?: string;
8322
8428
  /** The rules that apply to the network. */
8323
8429
  rules?: FirewallPolicyRule[];
8324
- /** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. */
8430
+ /** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. */
8325
8431
  type?: string;
8326
8432
  }
8327
8433
  interface RegionSetLabelsRequest {
@@ -31909,6 +32015,78 @@ declare namespace gapi.client {
31909
32015
  body: TestPermissionsRequest
31910
32016
  ): Request<TestPermissionsResponse>;
31911
32017
  }
32018
+ interface NetworkPlacementsResource {
32019
+ /** Returns the specified network placement. */
32020
+ get(request?: {
32021
+ /** V1 error format. */
32022
+ '$.xgafv'?: string;
32023
+ /** OAuth access token. */
32024
+ access_token?: string;
32025
+ /** Data format for response. */
32026
+ alt?: string;
32027
+ /** JSONP */
32028
+ callback?: string;
32029
+ /** Selector specifying which fields to include in a partial response. */
32030
+ fields?: string;
32031
+ /** 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. */
32032
+ key?: string;
32033
+ /** Name of the network placement to return. */
32034
+ networkPlacement: string;
32035
+ /** OAuth 2.0 token for the current user. */
32036
+ oauth_token?: string;
32037
+ /** Returns response with indentations and line breaks. */
32038
+ prettyPrint?: boolean;
32039
+ /** Project ID for this request. */
32040
+ project: string;
32041
+ /** 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. */
32042
+ quotaUser?: string;
32043
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32044
+ upload_protocol?: string;
32045
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32046
+ uploadType?: string;
32047
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32048
+ userIp?: string;
32049
+ }): Request<NetworkPlacement>;
32050
+ /** Retrieves a list of network placements available to the specified project. */
32051
+ list(request?: {
32052
+ /** V1 error format. */
32053
+ '$.xgafv'?: string;
32054
+ /** OAuth access token. */
32055
+ access_token?: string;
32056
+ /** Data format for response. */
32057
+ alt?: string;
32058
+ /** JSONP */
32059
+ callback?: string;
32060
+ /** Selector specifying which fields to include in a partial response. */
32061
+ fields?: string;
32062
+ /** 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. */
32063
+ filter?: string;
32064
+ /** 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. */
32065
+ key?: string;
32066
+ /** 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`) */
32067
+ maxResults?: number;
32068
+ /** OAuth 2.0 token for the current user. */
32069
+ oauth_token?: string;
32070
+ /** 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. */
32071
+ orderBy?: string;
32072
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
32073
+ pageToken?: string;
32074
+ /** Returns response with indentations and line breaks. */
32075
+ prettyPrint?: boolean;
32076
+ /** Project ID for this request. */
32077
+ project: string;
32078
+ /** 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. */
32079
+ quotaUser?: string;
32080
+ /** 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. */
32081
+ returnPartialSuccess?: boolean;
32082
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32083
+ upload_protocol?: string;
32084
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32085
+ uploadType?: string;
32086
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32087
+ userIp?: string;
32088
+ }): Request<NetworkPlacementsListResponse>;
32089
+ }
31912
32090
  interface NetworksResource {
31913
32091
  /** Adds a peering to the specified network. */
31914
32092
  addPeering(request: {
@@ -57797,6 +57975,8 @@ declare namespace gapi.client {
57797
57975
 
57798
57976
  const networkFirewallPolicies: NetworkFirewallPoliciesResource;
57799
57977
 
57978
+ const networkPlacements: NetworkPlacementsResource;
57979
+
57800
57980
  const networks: NetworksResource;
57801
57981
 
57802
57982
  const nodeGroups: NodeGroupsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240227",
3
+ "version": "0.0.20240312",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -2045,6 +2045,16 @@ Returns permissions that a caller has on the specified resource.
2045
2045
  */
2046
2046
  await gapi.client.compute.networkFirewallPolicies.testIamPermissions({ project: "project", resource: "resource", });
2047
2047
 
2048
+ /*
2049
+ Returns the specified network placement.
2050
+ */
2051
+ await gapi.client.compute.networkPlacements.get({ networkPlacement: "networkPlacement", project: "project", });
2052
+
2053
+ /*
2054
+ Retrieves a list of network placements available to the specified project.
2055
+ */
2056
+ await gapi.client.compute.networkPlacements.list({ project: "project", });
2057
+
2048
2058
  /*
2049
2059
  Adds a peering to the specified network.
2050
2060
  */