@maxim_mazurok/gapi.client.compute-alpha 0.0.20230801 → 0.0.20230814

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 (4) hide show
  1. package/index.d.ts +228 -18
  2. package/package.json +1 -1
  3. package/readme.md +10 -0
  4. package/tests.ts +35 -3
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: 20230801
12
+ // Revision: 20230814
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2459,6 +2459,25 @@ declare namespace gapi.client {
2459
2459
  fromPlugin?:
2460
2460
  MetadataCredentialsFromPlugin;
2461
2461
  }
2462
+ interface CapacityConstraint {
2463
+ constraintMetadata?:
2464
+ string;
2465
+ /** Weighted sum of BandwidthTerms (each term is coefficient * term) must be less than or equal to max_sum. */
2466
+ maxSumGbps?:
2467
+ number;
2468
+ terms?:
2469
+ CapacityConstraintConstraintTerm[];
2470
+ }
2471
+ interface CapacityConstraintConstraintTerm {
2472
+ /** Coefficient of this term in the linear expression. The value of the term will be coefficient * (demand from src to dst in Gbps). */
2473
+ coefficient?:
2474
+ number;
2475
+ destinationNode?:
2476
+ PlacementLocation;
2477
+ /** Source and destination nodes. */
2478
+ sourceNode?:
2479
+ PlacementLocation;
2480
+ }
2462
2481
  interface ChannelCredentials {
2463
2482
  /** The call credentials to access the SDS server. */
2464
2483
  certificates?:
@@ -3102,8 +3121,8 @@ declare namespace gapi.client {
3102
3121
  string;
3103
3122
  /**
3104
3123
  * Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone
3105
- * to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to
3106
- * 65536, inclusive.
3124
+ * to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater
3125
+ * than 0.
3107
3126
  */
3108
3127
  sizeGb?:
3109
3128
  string;
@@ -4377,6 +4396,12 @@ declare namespace gapi.client {
4377
4396
  /** This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. */
4378
4397
  allowPscGlobalAccess?:
4379
4398
  boolean;
4399
+ /**
4400
+ * This is used in PSC consumer ForwardingRule to control whether the producer is allowed to inject packets into the consumer's network. If set to true, the target service attachment
4401
+ * must have tunneling enabled and TunnelingConfig.RoutingMode set to PACKET_INJECTION Non-PSC forwarding rules should not use this field.
4402
+ */
4403
+ allowPscPacketInjection?:
4404
+ boolean;
4380
4405
  /**
4381
4406
  * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and
4382
4407
  * external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the
@@ -4427,9 +4452,10 @@ declare namespace gapi.client {
4427
4452
  IPAddress?:
4428
4453
  string;
4429
4454
  /**
4430
- * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating
4431
- * an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/ project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name
4432
- * Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
4455
+ * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when
4456
+ * creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region
4457
+ * /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name -
4458
+ * regions/region/publicDelegatedPrefixes/sub-pdp-name
4433
4459
  */
4434
4460
  ipCollection?:
4435
4461
  string;
@@ -4989,6 +5015,11 @@ declare namespace gapi.client {
4989
5015
  startTime?:
4990
5016
  string;
4991
5017
  }
5018
+ interface GetNetworkCapacityConstraintsResponse {
5019
+ /** Set of capacity constraints that describe network adjacency. */
5020
+ capacityConstraints?:
5021
+ CapacityConstraint[];
5022
+ }
4992
5023
  interface GetOwnerInstanceResponse {
4993
5024
  /** Full instance resource URL. */
4994
5025
  instance?:
@@ -7387,6 +7418,9 @@ declare namespace gapi.client {
7387
7418
  /** 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. */
7388
7419
  queuingPolicy?:
7389
7420
  QueuingPolicy;
7421
+ /** The number of instances to be created by this resize request. The group's target size will be increased by this number. */
7422
+ resizeBy?:
7423
+ number;
7390
7424
  /** [Output Only] The URL for this resize request. The server defines this URL. */
7391
7425
  selfLink?:
7392
7426
  string;
@@ -7396,10 +7430,7 @@ declare namespace gapi.client {
7396
7430
  /** [Output only] Current state of the request. */
7397
7431
  state?:
7398
7432
  string;
7399
- /**
7400
- * [Output only] Status of the request. The Status message is aligned with QueuedResource.status. ResizeRequest.queuing_policy contains the queuing policy as provided by the user; it
7401
- * could have either valid_until_time or valid_until_duration. ResizeRequest.status.queuing_policy always contains absolute time as calculated by the server when the request is queued.
7402
- */
7433
+ /** [Output only] Status of the request. */
7403
7434
  status?:
7404
7435
  InstanceGroupManagerResizeRequestStatus;
7405
7436
  /** [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests. */
@@ -8255,12 +8286,12 @@ declare namespace gapi.client {
8255
8286
  string;
8256
8287
  }
8257
8288
  interface InstanceSettingsMetadata {
8289
+ /** A metadata key/value items map. The total size of all keys and values must be less than 512KB. */
8290
+ items?:
8291
+ { [P in string]: string };
8258
8292
  /** [Output Only] Type of the resource. Always compute#metadata for metadata. */
8259
8293
  kind?:
8260
8294
  string;
8261
- /** A metadata key/value map. The total size of all keys and values must be less than 512KB. */
8262
- metadata?:
8263
- { [P in string]: string };
8264
8295
  }
8265
8296
  interface InstancesGetEffectiveFirewallsResponse {
8266
8297
  /** Effective firewalls from firewall policies. */
@@ -9068,7 +9099,7 @@ declare namespace gapi.client {
9068
9099
  operationalStatus?:
9069
9100
  string;
9070
9101
  /**
9071
- * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a
9102
+ * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate provisioning with a
9072
9103
  * selected partner. Of the form "XXXXX/region/domain"
9073
9104
  */
9074
9105
  pairingKey?:
@@ -9079,7 +9110,7 @@ declare namespace gapi.client {
9079
9110
  */
9080
9111
  partnerAsn?:
9081
9112
  string;
9082
- /** Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. */
9113
+ /** Informational metadata about Partner attachments from Partners to display to customers. Output only for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. */
9083
9114
  partnerMetadata?:
9084
9115
  InterconnectAttachmentPartnerMetadata;
9085
9116
  /** [Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED. */
@@ -13439,6 +13470,14 @@ declare namespace gapi.client {
13439
13470
  values?:
13440
13471
  string[];
13441
13472
  }
13473
+ interface PlacementLocation {
13474
+ /** Aggregation block id of the placement group. */
13475
+ aggregationBlockId?:
13476
+ string;
13477
+ /** Partial or full URL of the resource policy for the placement group. */
13478
+ resourcePolicy?:
13479
+ string;
13480
+ }
13442
13481
  interface Policy {
13443
13482
  /** Specifies cloud audit logging configuration for this policy. */
13444
13483
  auditConfigs?:
@@ -16146,7 +16185,7 @@ declare namespace gapi.client {
16146
16185
  string;
16147
16186
  }
16148
16187
  interface RouterNat {
16149
- /** The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. */
16188
+ /** The network tier to use when automatically reserving NAT IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, then the current project-level default tier is used. */
16150
16189
  autoNetworkTier?:
16151
16190
  string;
16152
16191
  /**
@@ -17566,6 +17605,12 @@ declare namespace gapi.client {
17566
17605
  /** The URL of a service serving the endpoint identified by this service attachment. */
17567
17606
  targetService?:
17568
17607
  string;
17608
+ /**
17609
+ * When a tunneling config is set on this service attachment it will encapsulate traffic between consumer and producer. When tunneling is enabled: - nat_subnets must be unset -
17610
+ * enable_proxy_protocol must be false - producer_forwarding_rule must be a L4 ILB. -
17611
+ */
17612
+ tunnelingConfig?:
17613
+ ServiceAttachmentTunnelingConfig;
17569
17614
  }
17570
17615
  interface ServiceAttachmentAggregatedList {
17571
17616
  /** [Output Only] Unique identifier for the resource; defined by the server. */
@@ -17712,6 +17757,14 @@ declare namespace gapi.client {
17712
17757
  string;
17713
17758
  };
17714
17759
  }
17760
+ interface ServiceAttachmentTunnelingConfig {
17761
+ /** Specify the encapsulation protocol and what metadata to include in incoming encapsulated packet headers. */
17762
+ encapsulationProfile?:
17763
+ string;
17764
+ /** How this Service Attachment will treat traffic sent to the tunnel_ip, destined for the consumer network. */
17765
+ routingMode?:
17766
+ string;
17767
+ }
17715
17768
  interface ServiceIntegrationSpec {
17716
17769
  backupDr?:
17717
17770
  ServiceIntegrationSpecBackupDRSpec;
@@ -21681,9 +21734,9 @@ declare namespace gapi.client {
21681
21734
  peerExternalGatewayInterface?:
21682
21735
  number;
21683
21736
  /**
21684
- * URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly
21737
+ * URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly
21685
21738
  * available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same
21686
- * vpnGatewayInterface ID in the peer GCP VPN gateway.
21739
+ * vpnGatewayInterface ID in the peer Google Cloud VPN gateway.
21687
21740
  */
21688
21741
  peerGcpGateway?:
21689
21742
  string;
@@ -52159,6 +52212,115 @@ declare namespace gapi.client {
52159
52212
  string;
52160
52213
  },
52161
52214
  body: FirewallPolicy): Request<Operation>;
52215
+ /** Updates an association for the specified network firewall policy. */
52216
+ patchAssociation(request: {
52217
+ /** V1 error format. */
52218
+ "$.xgafv"?:
52219
+ string;
52220
+ /** OAuth access token. */
52221
+ access_token?:
52222
+ string;
52223
+ /** Data format for response. */
52224
+ alt?:
52225
+ string;
52226
+ /** JSONP */
52227
+ callback?:
52228
+ string;
52229
+ /** Selector specifying which fields to include in a partial response. */
52230
+ fields?:
52231
+ string;
52232
+ /** Name of the firewall policy to update. */
52233
+ firewallPolicy:
52234
+ string;
52235
+ /** 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. */
52236
+ key?:
52237
+ string;
52238
+ /** OAuth 2.0 token for the current user. */
52239
+ oauth_token?:
52240
+ string;
52241
+ /** Returns response with indentations and line breaks. */
52242
+ prettyPrint?:
52243
+ boolean;
52244
+ /** Project ID for this request. */
52245
+ project:
52246
+ string;
52247
+ /** 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. */
52248
+ quotaUser?:
52249
+ string;
52250
+ /**
52251
+ * 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
52252
+ * 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
52253
+ * 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
52254
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
52255
+ */
52256
+ requestId?:
52257
+ string;
52258
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52259
+ upload_protocol?:
52260
+ string;
52261
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52262
+ uploadType?:
52263
+ string;
52264
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52265
+ userIp?:
52266
+ string;
52267
+ /** Request body */
52268
+ resource:
52269
+ FirewallPolicyAssociation;
52270
+ }): Request<Operation>;
52271
+ patchAssociation(request: {
52272
+ /** V1 error format. */
52273
+ "$.xgafv"?:
52274
+ string;
52275
+ /** OAuth access token. */
52276
+ access_token?:
52277
+ string;
52278
+ /** Data format for response. */
52279
+ alt?:
52280
+ string;
52281
+ /** JSONP */
52282
+ callback?:
52283
+ string;
52284
+ /** Selector specifying which fields to include in a partial response. */
52285
+ fields?:
52286
+ string;
52287
+ /** Name of the firewall policy to update. */
52288
+ firewallPolicy:
52289
+ string;
52290
+ /** 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. */
52291
+ key?:
52292
+ string;
52293
+ /** OAuth 2.0 token for the current user. */
52294
+ oauth_token?:
52295
+ string;
52296
+ /** Returns response with indentations and line breaks. */
52297
+ prettyPrint?:
52298
+ boolean;
52299
+ /** Project ID for this request. */
52300
+ project:
52301
+ string;
52302
+ /** 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. */
52303
+ quotaUser?:
52304
+ string;
52305
+ /**
52306
+ * 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
52307
+ * 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
52308
+ * 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
52309
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
52310
+ */
52311
+ requestId?:
52312
+ string;
52313
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52314
+ upload_protocol?:
52315
+ string;
52316
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52317
+ uploadType?:
52318
+ string;
52319
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52320
+ userIp?:
52321
+ string;
52322
+ },
52323
+ body: FirewallPolicyAssociation): Request<Operation>;
52162
52324
  /** Patches a rule of the specified priority. */
52163
52325
  patchRule(request: {
52164
52326
  /** V1 error format. */
@@ -76967,6 +77129,54 @@ declare namespace gapi.client {
76967
77129
  userIp?:
76968
77130
  string;
76969
77131
  }): Request<Policy>;
77132
+ /** Returns the network capacity constraints for the specified placement policies. */
77133
+ getNetworkCapacityConstraints(request?: {
77134
+ /** V1 error format. */
77135
+ "$.xgafv"?:
77136
+ string;
77137
+ /** OAuth access token. */
77138
+ access_token?:
77139
+ string;
77140
+ /** Data format for response. */
77141
+ alt?:
77142
+ string;
77143
+ /** JSONP */
77144
+ callback?:
77145
+ string;
77146
+ /** Selector specifying which fields to include in a partial response. */
77147
+ fields?:
77148
+ string;
77149
+ /** 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. */
77150
+ key?:
77151
+ string;
77152
+ /** OAuth 2.0 token for the current user. */
77153
+ oauth_token?:
77154
+ string;
77155
+ /** Returns response with indentations and line breaks. */
77156
+ prettyPrint?:
77157
+ boolean;
77158
+ /** Project ID for this request. */
77159
+ project:
77160
+ string;
77161
+ /** 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. */
77162
+ quotaUser?:
77163
+ string;
77164
+ /** Name of the region for this request. */
77165
+ region:
77166
+ string;
77167
+ /** Partial or full URL of the resource policies for which to retrieve the network capacity constraints. */
77168
+ resourcePolicies?:
77169
+ string | string[];
77170
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
77171
+ upload_protocol?:
77172
+ string;
77173
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
77174
+ uploadType?:
77175
+ string;
77176
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
77177
+ userIp?:
77178
+ string;
77179
+ }): Request<GetNetworkCapacityConstraintsResponse>;
76970
77180
  /** Creates a new resource policy. */
76971
77181
  insert(request: {
76972
77182
  /** 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.20230801",
3
+ "version": "0.0.20230814",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -2001,6 +2001,11 @@ Patches the specified policy with the data included in the request.
2001
2001
  */
2002
2002
  await gapi.client.compute.networkFirewallPolicies.patch({ firewallPolicy: "firewallPolicy", project: "project", });
2003
2003
 
2004
+ /*
2005
+ Updates an association for the specified network firewall policy.
2006
+ */
2007
+ await gapi.client.compute.networkFirewallPolicies.patchAssociation({ firewallPolicy: "firewallPolicy", project: "project", });
2008
+
2004
2009
  /*
2005
2010
  Patches a rule of the specified priority.
2006
2011
  */
@@ -3536,6 +3541,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
3536
3541
  */
3537
3542
  await gapi.client.compute.resourcePolicies.getIamPolicy({ project: "project", region: "region", resource: "resource", });
3538
3543
 
3544
+ /*
3545
+ Returns the network capacity constraints for the specified placement policies.
3546
+ */
3547
+ await gapi.client.compute.resourcePolicies.getNetworkCapacityConstraints({ project: "project", region: "region", });
3548
+
3539
3549
  /*
3540
3550
  Creates a new resource policy.
3541
3551
  */
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230801
6
+ // Revision: 20230814
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -3731,6 +3731,7 @@ gapi.load('client', async () => {
3731
3731
  }, {
3732
3732
  allowGlobalAccess: true,
3733
3733
  allowPscGlobalAccess: true,
3734
+ allowPscPacketInjection: true,
3734
3735
  allPorts: true,
3735
3736
  backendService: "Test string",
3736
3737
  baseForwardingRule: "Test string",
@@ -3810,6 +3811,7 @@ gapi.load('client', async () => {
3810
3811
  }, {
3811
3812
  allowGlobalAccess: true,
3812
3813
  allowPscGlobalAccess: true,
3814
+ allowPscPacketInjection: true,
3813
3815
  allPorts: true,
3814
3816
  backendService: "Test string",
3815
3817
  baseForwardingRule: "Test string",
@@ -4317,6 +4319,7 @@ gapi.load('client', async () => {
4317
4319
  }, {
4318
4320
  allowGlobalAccess: true,
4319
4321
  allowPscGlobalAccess: true,
4322
+ allowPscPacketInjection: true,
4320
4323
  allPorts: true,
4321
4324
  backendService: "Test string",
4322
4325
  baseForwardingRule: "Test string",
@@ -4394,6 +4397,7 @@ gapi.load('client', async () => {
4394
4397
  }, {
4395
4398
  allowGlobalAccess: true,
4396
4399
  allowPscGlobalAccess: true,
4400
+ allowPscPacketInjection: true,
4397
4401
  allPorts: true,
4398
4402
  backendService: "Test string",
4399
4403
  baseForwardingRule: "Test string",
@@ -5718,6 +5722,7 @@ gapi.load('client', async () => {
5718
5722
  },
5719
5723
  validUntilTime: "Test string",
5720
5724
  },
5725
+ resizeBy: 42,
5721
5726
  selfLink: "Test string",
5722
5727
  selfLinkWithId: "Test string",
5723
5728
  state: "Test string",
@@ -8937,10 +8942,10 @@ gapi.load('client', async () => {
8937
8942
  fingerprint: "Test string",
8938
8943
  kind: "Test string",
8939
8944
  metadata: {
8940
- kind: "Test string",
8941
- metadata: {
8945
+ items: {
8942
8946
  A: "Test string"
8943
8947
  },
8948
+ kind: "Test string",
8944
8949
  },
8945
8950
  zone: "Test string",
8946
8951
  });
@@ -12161,6 +12166,19 @@ gapi.load('client', async () => {
12161
12166
  shortName: "Test string",
12162
12167
  vpcNetworkScope: "Test string",
12163
12168
  });
12169
+ /** Updates an association for the specified network firewall policy. */
12170
+ await gapi.client.compute.networkFirewallPolicies.patchAssociation({
12171
+ firewallPolicy: "Test string",
12172
+ project: "Test string",
12173
+ requestId: "Test string",
12174
+ }, {
12175
+ attachmentTarget: "Test string",
12176
+ displayName: "Test string",
12177
+ firewallPolicyId: "Test string",
12178
+ name: "Test string",
12179
+ priority: 42,
12180
+ shortName: "Test string",
12181
+ });
12164
12182
  /** Patches a rule of the specified priority. */
12165
12183
  await gapi.client.compute.networkFirewallPolicies.patchRule({
12166
12184
  firewallPolicy: "Test string",
@@ -24924,6 +24942,12 @@ gapi.load('client', async () => {
24924
24942
  region: "Test string",
24925
24943
  resource: "Test string",
24926
24944
  });
24945
+ /** Returns the network capacity constraints for the specified placement policies. */
24946
+ await gapi.client.compute.resourcePolicies.getNetworkCapacityConstraints({
24947
+ project: "Test string",
24948
+ region: "Test string",
24949
+ resourcePolicies: "Test string",
24950
+ });
24927
24951
  /** Creates a new resource policy. */
24928
24952
  await gapi.client.compute.resourcePolicies.insert({
24929
24953
  project: "Test string",
@@ -27043,6 +27067,10 @@ gapi.load('client', async () => {
27043
27067
  region: "Test string",
27044
27068
  selfLink: "Test string",
27045
27069
  targetService: "Test string",
27070
+ tunnelingConfig: {
27071
+ encapsulationProfile: "Test string",
27072
+ routingMode: "Test string",
27073
+ },
27046
27074
  });
27047
27075
  /** Lists the ServiceAttachments for a project in the given scope. */
27048
27076
  await gapi.client.compute.serviceAttachments.list({
@@ -27102,6 +27130,10 @@ gapi.load('client', async () => {
27102
27130
  region: "Test string",
27103
27131
  selfLink: "Test string",
27104
27132
  targetService: "Test string",
27133
+ tunnelingConfig: {
27134
+ encapsulationProfile: "Test string",
27135
+ routingMode: "Test string",
27136
+ },
27105
27137
  });
27106
27138
  /** Sets the access control policy on the specified resource. Replaces any existing policy. */
27107
27139
  await gapi.client.compute.serviceAttachments.setIamPolicy({