@maxim_mazurok/gapi.client.compute-alpha 0.0.20250107 → 0.0.20250119

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 +125 -1
  2. package/package.json +1 -1
  3. package/readme.md +5 -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: 20250107
12
+ // Revision: 20250119
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -865,6 +865,8 @@ declare namespace gapi.client {
865
865
  customResponseHeaders?: string[];
866
866
  /** An optional description of this resource. Provide this property when you create the resource. */
867
867
  description?: string;
868
+ /** Dynamic forwarding configuration. This field is used to configure the backend service with dynamic forwarding feature which together with Service Extension allows customized and complex routing logic. */
869
+ dynamicForwarding?: BackendServiceDynamicForwarding;
868
870
  /** [Output Only] The resource URL for the edge security policy associated with this backend service. */
869
871
  edgeSecurityPolicy?: string;
870
872
  /** If true, enables Cloud CDN for the backend service of a global external Application Load Balancer. */
@@ -1023,6 +1025,14 @@ declare namespace gapi.client {
1023
1025
  /** Name of a custom utilization signal. The name must be 1-24 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, period, underscore, lowercase letter, or digit, except the last character, which cannot be a dash, period, or underscore. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. */
1024
1026
  name?: string;
1025
1027
  }
1028
+ interface BackendServiceDynamicForwarding {
1029
+ /** IP:PORT based dynamic forwarding configuration. */
1030
+ ipPortSelection?: BackendServiceDynamicForwardingIpPortSelection;
1031
+ }
1032
+ interface BackendServiceDynamicForwardingIpPortSelection {
1033
+ /** A boolean flag enabling IP:PORT based dynamic forwarding. */
1034
+ enabled?: boolean;
1035
+ }
1026
1036
  interface BackendServiceFailoverPolicy {
1027
1037
  /** This can be set to true only if the protocol is TCP. The default is false. */
1028
1038
  disableConnectionDrainOnFailover?: boolean;
@@ -5737,6 +5747,44 @@ declare namespace gapi.client {
5737
5747
  /** [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility. */
5738
5748
  zone?: string;
5739
5749
  }
5750
+ interface InterconnectGroupsCreateMembers {
5751
+ /** How to behave when configured.topologyCapability.supportedSLA would not equal intent.topologyCapability after this call. */
5752
+ intentMismatchBehavior?: string;
5753
+ interconnects?: InterconnectGroupsCreateMembersInterconnectInput[];
5754
+ /** Parameters for the Interconnects to create. */
5755
+ templateInterconnect?: InterconnectGroupsCreateMembersInterconnectInput;
5756
+ }
5757
+ interface InterconnectGroupsCreateMembersInterconnectInput {
5758
+ /** Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. */
5759
+ adminEnabled?: boolean;
5760
+ /** Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect. */
5761
+ customerName?: string;
5762
+ /** An optional description of this resource. Provide this property when you create the resource. */
5763
+ description?: string;
5764
+ /** A zone-free location to use for all Interconnects created in this call, like "iad-1234". */
5765
+ facility?: string;
5766
+ /** Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. */
5767
+ interconnectType?: string;
5768
+ /** Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. */
5769
+ linkType?: string;
5770
+ /** 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. */
5771
+ name?: string;
5772
+ /** Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation. */
5773
+ nocContactEmail?: string;
5774
+ /** Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to. */
5775
+ remoteLocation?: string;
5776
+ /** Optional. List of features requested for this Interconnect connection, which can take one of the following values: - IF_MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. */
5777
+ requestedFeatures?: string[];
5778
+ /** Target number of physical links in the link bundle, as requested by the customer. */
5779
+ requestedLinkCount?: number;
5780
+ }
5781
+ interface InterconnectGroupsCreateMembersRequest {
5782
+ request?: InterconnectGroupsCreateMembers;
5783
+ }
5784
+ interface InterconnectGroupsCreateMembersResponse {
5785
+ etag?: string;
5786
+ result?: InterconnectGroup;
5787
+ }
5740
5788
  interface InterconnectGroupsGetOperationalStatusResponse {
5741
5789
  etag?: string;
5742
5790
  result?: InterconnectGroupsOperationalStatus;
@@ -6332,6 +6380,8 @@ declare namespace gapi.client {
6332
6380
  machineImageEncryptionKey?: CustomerEncryptionKey;
6333
6381
  /** 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. */
6334
6382
  name?: string;
6383
+ /** Input only. [Input Only] Additional parameters that are passed in the request, but are not persisted in the resource. */
6384
+ params?: MachineImageParams;
6335
6385
  /** Output only. Reserved for future use. */
6336
6386
  satisfiesPzi?: boolean;
6337
6387
  /** [Output Only] Reserved for future use. */
@@ -6381,6 +6431,12 @@ declare namespace gapi.client {
6381
6431
  message?: string;
6382
6432
  };
6383
6433
  }
6434
+ interface MachineImageParams {
6435
+ /** Input only. [Input Only] Specifies the list of disk device names that must be excluded from the new machine image. */
6436
+ excludedDisks?: string[];
6437
+ /** Input only. [Input Only] Specifies the list of disk device names that must be included with the new machine image. */
6438
+ includedDisks?: string[];
6439
+ }
6384
6440
  interface MachineType {
6385
6441
  /** [Output Only] A list of accelerator configurations assigned to this machine type. */
6386
6442
  accelerators?: Array<{
@@ -9812,6 +9868,8 @@ declare namespace gapi.client {
9812
9868
  startTime?: string;
9813
9869
  }
9814
9870
  interface ResourcePolicyWorkloadPolicy {
9871
+ acceleratorTopology?: string;
9872
+ maxTopologyDistance?: string;
9815
9873
  type?: string;
9816
9874
  }
9817
9875
  interface ResourceStatus {
@@ -31199,6 +31257,72 @@ declare namespace gapi.client {
31199
31257
  ): Request<TestPermissionsResponse>;
31200
31258
  }
31201
31259
  interface InterconnectGroupsResource {
31260
+ /** Create Interconnects with redundancy by creating them in a specified interconnect group. */
31261
+ createMembers(request: {
31262
+ /** V1 error format. */
31263
+ '$.xgafv'?: string;
31264
+ /** OAuth access token. */
31265
+ access_token?: string;
31266
+ /** Data format for response. */
31267
+ alt?: string;
31268
+ /** JSONP */
31269
+ callback?: string;
31270
+ /** Selector specifying which fields to include in a partial response. */
31271
+ fields?: string;
31272
+ /** Name of the group resource to create members for. */
31273
+ interconnectGroup: string;
31274
+ /** 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. */
31275
+ key?: string;
31276
+ /** OAuth 2.0 token for the current user. */
31277
+ oauth_token?: string;
31278
+ /** Returns response with indentations and line breaks. */
31279
+ prettyPrint?: boolean;
31280
+ /** Project ID for this request. */
31281
+ project: string;
31282
+ /** 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. */
31283
+ quotaUser?: string;
31284
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31285
+ upload_protocol?: string;
31286
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31287
+ uploadType?: string;
31288
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
31289
+ userIp?: string;
31290
+ /** Request body */
31291
+ resource: InterconnectGroupsCreateMembersRequest;
31292
+ }): Request<InterconnectGroupsCreateMembersResponse>;
31293
+ createMembers(
31294
+ request: {
31295
+ /** V1 error format. */
31296
+ '$.xgafv'?: string;
31297
+ /** OAuth access token. */
31298
+ access_token?: string;
31299
+ /** Data format for response. */
31300
+ alt?: string;
31301
+ /** JSONP */
31302
+ callback?: string;
31303
+ /** Selector specifying which fields to include in a partial response. */
31304
+ fields?: string;
31305
+ /** Name of the group resource to create members for. */
31306
+ interconnectGroup: string;
31307
+ /** 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. */
31308
+ key?: string;
31309
+ /** OAuth 2.0 token for the current user. */
31310
+ oauth_token?: string;
31311
+ /** Returns response with indentations and line breaks. */
31312
+ prettyPrint?: boolean;
31313
+ /** Project ID for this request. */
31314
+ project: string;
31315
+ /** 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. */
31316
+ quotaUser?: string;
31317
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31318
+ upload_protocol?: string;
31319
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31320
+ uploadType?: string;
31321
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
31322
+ userIp?: string;
31323
+ },
31324
+ body: InterconnectGroupsCreateMembersRequest
31325
+ ): Request<InterconnectGroupsCreateMembersResponse>;
31202
31326
  /** Deletes the specified InterconnectGroup in the given scope */
31203
31327
  delete(request?: {
31204
31328
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20250107",
3
+ "version": "0.0.20250119",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1810,6 +1810,11 @@ Returns permissions that a caller has on the specified resource.
1810
1810
  */
1811
1811
  await gapi.client.compute.interconnectAttachments.testIamPermissions({ project: "project", region: "region", resource: "resource", });
1812
1812
 
1813
+ /*
1814
+ Create Interconnects with redundancy by creating them in a specified interconnect group.
1815
+ */
1816
+ await gapi.client.compute.interconnectGroups.createMembers({ interconnectGroup: "interconnectGroup", project: "project", });
1817
+
1813
1818
  /*
1814
1819
  Deletes the specified InterconnectGroup in the given scope
1815
1820
  */