@maxim_mazurok/gapi.client.compute-alpha 0.0.20230701 → 0.0.20230720

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 +319 -22
  2. package/package.json +1 -1
  3. package/readme.md +13 -3
  4. package/tests.ts +86 -4
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: 20230701
12
+ // Revision: 20230720
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -756,7 +756,7 @@ declare namespace gapi.client {
756
756
  string;
757
757
  /**
758
758
  * Required for each regional disk associated with the instance. Specify the URLs of the zones where the disk should be replicated to. You must provide exactly two replica zones, and
759
- * one zone must be the same as the instance zone. You can't use this option with boot disks.
759
+ * one zone must be the same as the instance zone.
760
760
  */
761
761
  replicaZones?:
762
762
  string[];
@@ -1348,7 +1348,7 @@ declare namespace gapi.client {
1348
1348
  /** [Output Only] Creation timestamp in RFC3339 text format. */
1349
1349
  creationTimestamp?:
1350
1350
  string;
1351
- /** Headers that the HTTP/S load balancer should add to proxied responses. */
1351
+ /** Headers that the Application Load Balancer should add to proxied responses. */
1352
1352
  customResponseHeaders?:
1353
1353
  string[];
1354
1354
  /** An optional textual description of the resource; provided by the client when the resource is created. */
@@ -1751,6 +1751,8 @@ declare namespace gapi.client {
1751
1751
  */
1752
1752
  timeoutSec?:
1753
1753
  number;
1754
+ usedBys?:
1755
+ BackendServiceUsedBy[];
1754
1756
  /**
1755
1757
  * The network scope of the backends that can be added to the backend service. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend service with the VPC scope
1756
1758
  * set to GLOBAL_VPC_NETWORK is only allowed to have backends in global VPC networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have
@@ -2045,6 +2047,47 @@ declare namespace gapi.client {
2045
2047
  string;
2046
2048
  };
2047
2049
  }
2050
+ interface BackendServiceListUsable {
2051
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
2052
+ id?:
2053
+ string;
2054
+ /** [Output Only] Type of resource. Always compute#usableBackendServiceList for lists of usable backend services. */
2055
+ kind?:
2056
+ string;
2057
+ /**
2058
+ * [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
2059
+ * query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
2060
+ */
2061
+ nextPageToken?:
2062
+ string;
2063
+ /** [Output Only] Server-defined URL for this resource. */
2064
+ selfLink?:
2065
+ string;
2066
+ /** [Output Only] Informational warning message. */
2067
+ warning?:
2068
+ {
2069
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
2070
+ code?:
2071
+ string;
2072
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
2073
+ data?:
2074
+ Array<{
2075
+ /**
2076
+ * [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
2077
+ * 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,
2078
+ * or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
2079
+ */
2080
+ key?:
2081
+ string;
2082
+ /** [Output Only] A warning data value corresponding to the key. */
2083
+ value?:
2084
+ string;
2085
+ }>;
2086
+ /** [Output Only] A human-readable description of the warning code. */
2087
+ message?:
2088
+ string;
2089
+ };
2090
+ }
2048
2091
  interface BackendServiceLocalityLoadBalancingPolicyConfig {
2049
2092
  customPolicy?:
2050
2093
  BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy;
@@ -2133,6 +2176,10 @@ declare namespace gapi.client {
2133
2176
  string;
2134
2177
  };
2135
2178
  }
2179
+ interface BackendServiceUsedBy {
2180
+ reference?:
2181
+ string;
2182
+ }
2136
2183
  interface BfdPacket {
2137
2184
  /** The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880 */
2138
2185
  authenticationPresent?:
@@ -2914,6 +2961,13 @@ declare namespace gapi.client {
2914
2961
  RolloutPolicy;
2915
2962
  }
2916
2963
  interface Disk {
2964
+ /**
2965
+ * The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the
2966
+ * disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid
2967
+ * for Hyperdisk disk types.
2968
+ */
2969
+ accessMode?:
2970
+ string;
2917
2971
  /** The architecture of the disk. Valid values are ARM64 or X86_64. */
2918
2972
  architecture?:
2919
2973
  string;
@@ -4372,6 +4426,13 @@ declare namespace gapi.client {
4372
4426
  */
4373
4427
  IPAddress?:
4374
4428
  string;
4429
+ /**
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
4433
+ */
4434
+ ipCollection?:
4435
+ string;
4375
4436
  /**
4376
4437
  * The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for
4377
4438
  * different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).
@@ -4435,7 +4496,10 @@ declare namespace gapi.client {
4435
4496
  */
4436
4497
  networkTier?:
4437
4498
  string;
4438
- /** This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. */
4499
+ /**
4500
+ * This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. Once set, this field
4501
+ * is not mutable.
4502
+ */
4439
4503
  noAutomateDnsZone?:
4440
4504
  boolean;
4441
4505
  /**
@@ -4507,7 +4571,8 @@ declare namespace gapi.client {
4507
4571
  * rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column
4508
4572
  * in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that
4509
4573
  * forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For
4510
- * Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment.
4574
+ * Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service
4575
+ * attachment.
4511
4576
  */
4512
4577
  target?:
4513
4578
  string;
@@ -4856,7 +4921,7 @@ declare namespace gapi.client {
4856
4921
  };
4857
4922
  }
4858
4923
  interface FutureReservationStatus {
4859
- /** The current status of the requested amendment. */
4924
+ /** [Output Only] The current status of the requested amendment. */
4860
4925
  amendmentStatus?:
4861
4926
  string;
4862
4927
  /** Fully qualified urls of the automatically created reservations at start_time. */
@@ -4866,8 +4931,8 @@ declare namespace gapi.client {
4866
4931
  fulfilledCount?:
4867
4932
  string;
4868
4933
  /**
4869
- * This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known good state.
4870
- * The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING.
4934
+ * [Output Only] This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known
4935
+ * good state. The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING.
4871
4936
  */
4872
4937
  lastKnownGoodState?:
4873
4938
  FutureReservationStatusLastKnownGoodState;
@@ -4884,26 +4949,29 @@ declare namespace gapi.client {
4884
4949
  FutureReservationStatusSpecificSKUProperties;
4885
4950
  }
4886
4951
  interface FutureReservationStatusLastKnownGoodState {
4887
- /** The description of the FutureReservation before an amendment was requested. */
4952
+ /** [Output Only] The description of the FutureReservation before an amendment was requested. */
4888
4953
  description?:
4889
4954
  string;
4890
4955
  futureReservationSpecs?:
4891
4956
  FutureReservationStatusLastKnownGoodStateFutureReservationSpecs;
4892
- /** The name prefix of the Future Reservation before an amendment was requested. */
4957
+ /** [Output Only] The lock time of the FutureReservation before an amendment was requested. */
4958
+ lockTime?:
4959
+ string;
4960
+ /** [Output Only] The name prefix of the Future Reservation before an amendment was requested. */
4893
4961
  namePrefix?:
4894
4962
  string;
4895
- /** The status of the last known good state for the Future Reservation. */
4963
+ /** [Output Only] The status of the last known good state for the Future Reservation. */
4896
4964
  procurementStatus?:
4897
4965
  string;
4898
4966
  }
4899
4967
  interface FutureReservationStatusLastKnownGoodStateFutureReservationSpecs {
4900
- /** The previous share settings of the Future Reservation. */
4968
+ /** [Output Only] The previous share settings of the Future Reservation. */
4901
4969
  shareSettings?:
4902
4970
  ShareSettings;
4903
- /** The previous instance related properties of the Future Reservation. */
4971
+ /** [Output Only] The previous instance related properties of the Future Reservation. */
4904
4972
  specificSkuProperties?:
4905
4973
  FutureReservationSpecificSKUProperties;
4906
- /** The previous time window of the Future Reservation. */
4974
+ /** [Output Only] The previous time window of the Future Reservation. */
4907
4975
  timeWindow?:
4908
4976
  FutureReservationTimeWindow;
4909
4977
  }
@@ -7765,8 +7833,8 @@ declare namespace gapi.client {
7765
7833
  replacementMethod?:
7766
7834
  string;
7767
7835
  /**
7768
- * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or
7769
- * OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
7836
+ * The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs
7837
+ * that you want to update.
7770
7838
  */
7771
7839
  type?:
7772
7840
  string;
@@ -8179,10 +8247,21 @@ declare namespace gapi.client {
8179
8247
  /** [Output Only] Type of the resource. Always compute#instance_settings for instance settings. */
8180
8248
  kind?:
8181
8249
  string;
8250
+ /** The metadata key/value pairs assigned to all the instances in the corresponding scope. */
8251
+ metadata?:
8252
+ InstanceSettingsMetadata;
8182
8253
  /** [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
8183
8254
  zone?:
8184
8255
  string;
8185
8256
  }
8257
+ interface InstanceSettingsMetadata {
8258
+ /** [Output Only] Type of the resource. Always compute#metadata for metadata. */
8259
+ kind?:
8260
+ string;
8261
+ /** A metadata key/value map. The total size of all keys and values must be less than 512KB. */
8262
+ metadatas?:
8263
+ { [P in string]: string };
8264
+ }
8186
8265
  interface InstancesGetEffectiveFirewallsResponse {
8187
8266
  /** Effective firewalls from firewall policies. */
8188
8267
  firewallPolicys?:
@@ -12649,6 +12728,7 @@ declare namespace gapi.client {
12649
12728
  /** [Output Only] Server-defined URL for this resource with the resource id. */
12650
12729
  selfLinkWithId?:
12651
12730
  string;
12731
+ /** [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state. */
12652
12732
  setCommonInstanceMetadataOperationMetadata?:
12653
12733
  SetCommonInstanceMetadataOperationMetadata;
12654
12734
  /** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */
@@ -12669,7 +12749,7 @@ declare namespace gapi.client {
12669
12749
  */
12670
12750
  targetLink?:
12671
12751
  string;
12672
- /** [Output Only] User who requested the operation, for example: `user@example.com`. */
12752
+ /** [Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. */
12673
12753
  user?:
12674
12754
  string;
12675
12755
  /** [Output Only] If warning messages are generated during processing of the operation, this field will be populated. */
@@ -13501,6 +13581,12 @@ declare namespace gapi.client {
13501
13581
  /** [Output Only] Type of the resource. Always compute#project for projects. */
13502
13582
  kind?:
13503
13583
  string;
13584
+ /**
13585
+ * [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project. It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this field is not specified,
13586
+ * it is assumed to be CA_STANDARD.
13587
+ */
13588
+ managedProtectionTier?:
13589
+ string;
13504
13590
  /** The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine. */
13505
13591
  name?:
13506
13592
  string;
@@ -13565,6 +13651,11 @@ declare namespace gapi.client {
13565
13651
  email?:
13566
13652
  string;
13567
13653
  }
13654
+ interface ProjectsSetManagedProtectionTierRequest {
13655
+ /** Managed protection tier to be set. */
13656
+ managedProtectionTier?:
13657
+ string;
13658
+ }
13568
13659
  interface PublicAdvertisedPrefix {
13569
13660
  /** [Output Only] Creation timestamp in RFC3339 text format. */
13570
13661
  creationTimestamp?:
@@ -13690,6 +13781,12 @@ declare namespace gapi.client {
13690
13781
  string;
13691
13782
  }
13692
13783
  interface PublicDelegatedPrefix {
13784
+ /**
13785
+ * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes
13786
+ * either, and it always defaults to 32.
13787
+ */
13788
+ allocatablePrefixLength?:
13789
+ number;
13693
13790
  /** [Output Only] Creation timestamp in RFC3339 text format. */
13694
13791
  creationTimestamp?:
13695
13792
  string;
@@ -13715,6 +13812,9 @@ declare namespace gapi.client {
13715
13812
  /** [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes. */
13716
13813
  kind?:
13717
13814
  string;
13815
+ /** The public delegated prefix mode for IPv6 only. */
13816
+ mode?:
13817
+ string;
13718
13818
  /**
13719
13819
  * 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
13720
13820
  * 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
@@ -13869,6 +13969,9 @@ declare namespace gapi.client {
13869
13969
  };
13870
13970
  }
13871
13971
  interface PublicDelegatedPrefixPublicDelegatedSubPrefix {
13972
+ /** The allocatable prefix length supported by this PublicDelegatedSubPrefix. */
13973
+ allocatablePrefixLength?:
13974
+ number;
13872
13975
  /** Name of the project scoping this PublicDelegatedSubPrefix. */
13873
13976
  delegateeProject?:
13874
13977
  string;
@@ -13881,6 +13984,9 @@ declare namespace gapi.client {
13881
13984
  /** Whether the sub prefix is delegated to create Address resources in the delegatee project. */
13882
13985
  isAddress?:
13883
13986
  boolean;
13987
+ /** The PublicDelegatedSubPrefix mode for IPv6 only. */
13988
+ mode?:
13989
+ string;
13884
13990
  /** The name of the sub public delegated prefix. */
13885
13991
  name?:
13886
13992
  string;
@@ -17598,14 +17704,18 @@ declare namespace gapi.client {
17598
17704
  string;
17599
17705
  }
17600
17706
  interface SetCommonInstanceMetadataOperationMetadata {
17707
+ /** [Output Only] The client operation id. */
17601
17708
  clientOperationId?:
17602
17709
  string;
17710
+ /** [Output Only] Status information per location (location name is key). Example key: zones/us-central1-a */
17603
17711
  perLocationOperations?:
17604
17712
  { [P in string]: SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo };
17605
17713
  }
17606
17714
  interface SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo {
17715
+ /** [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated. */
17607
17716
  error?:
17608
17717
  Status;
17718
+ /** [Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. */
17609
17719
  state?:
17610
17720
  string;
17611
17721
  }
@@ -58283,6 +58393,112 @@ declare namespace gapi.client {
58283
58393
  string;
58284
58394
  },
58285
58395
  body: ProjectsSetDefaultServiceAccountRequest): Request<Operation>;
58396
+ /**
58397
+ * Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set PLUS or above the billing account of the project must be subscribed to Managed Protection Plus. See
58398
+ * Subscribing to Managed Protection Plus for more information.
58399
+ */
58400
+ setManagedProtectionTier(request: {
58401
+ /** V1 error format. */
58402
+ "$.xgafv"?:
58403
+ string;
58404
+ /** OAuth access token. */
58405
+ access_token?:
58406
+ string;
58407
+ /** Data format for response. */
58408
+ alt?:
58409
+ string;
58410
+ /** JSONP */
58411
+ callback?:
58412
+ string;
58413
+ /** Selector specifying which fields to include in a partial response. */
58414
+ fields?:
58415
+ string;
58416
+ /** 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. */
58417
+ key?:
58418
+ string;
58419
+ /** OAuth 2.0 token for the current user. */
58420
+ oauth_token?:
58421
+ string;
58422
+ /** Returns response with indentations and line breaks. */
58423
+ prettyPrint?:
58424
+ boolean;
58425
+ /** Project ID for this request. */
58426
+ project:
58427
+ string;
58428
+ /** 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. */
58429
+ quotaUser?:
58430
+ string;
58431
+ /**
58432
+ * 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
58433
+ * 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
58434
+ * 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
58435
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
58436
+ */
58437
+ requestId?:
58438
+ string;
58439
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
58440
+ upload_protocol?:
58441
+ string;
58442
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
58443
+ uploadType?:
58444
+ string;
58445
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
58446
+ userIp?:
58447
+ string;
58448
+ /** Request body */
58449
+ resource:
58450
+ ProjectsSetManagedProtectionTierRequest;
58451
+ }): Request<Operation>;
58452
+ setManagedProtectionTier(request: {
58453
+ /** V1 error format. */
58454
+ "$.xgafv"?:
58455
+ string;
58456
+ /** OAuth access token. */
58457
+ access_token?:
58458
+ string;
58459
+ /** Data format for response. */
58460
+ alt?:
58461
+ string;
58462
+ /** JSONP */
58463
+ callback?:
58464
+ string;
58465
+ /** Selector specifying which fields to include in a partial response. */
58466
+ fields?:
58467
+ string;
58468
+ /** 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. */
58469
+ key?:
58470
+ string;
58471
+ /** OAuth 2.0 token for the current user. */
58472
+ oauth_token?:
58473
+ string;
58474
+ /** Returns response with indentations and line breaks. */
58475
+ prettyPrint?:
58476
+ boolean;
58477
+ /** Project ID for this request. */
58478
+ project:
58479
+ string;
58480
+ /** 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. */
58481
+ quotaUser?:
58482
+ string;
58483
+ /**
58484
+ * 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
58485
+ * 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
58486
+ * 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
58487
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
58488
+ */
58489
+ requestId?:
58490
+ string;
58491
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
58492
+ upload_protocol?:
58493
+ string;
58494
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
58495
+ uploadType?:
58496
+ string;
58497
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
58498
+ userIp?:
58499
+ string;
58500
+ },
58501
+ body: ProjectsSetManagedProtectionTierRequest): Request<Operation>;
58286
58502
  /**
58287
58503
  * Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be
58288
58504
  * disabled.
@@ -60518,6 +60734,87 @@ declare namespace gapi.client {
60518
60734
  userIp?:
60519
60735
  string;
60520
60736
  }): Request<BackendServiceList>;
60737
+ /** Retrieves an aggregated list of all usable backend services in the specified project in the given region. */
60738
+ listUsable(request?: {
60739
+ /** V1 error format. */
60740
+ "$.xgafv"?:
60741
+ string;
60742
+ /** OAuth access token. */
60743
+ access_token?:
60744
+ string;
60745
+ /** Data format for response. */
60746
+ alt?:
60747
+ string;
60748
+ /** JSONP */
60749
+ callback?:
60750
+ string;
60751
+ /** Selector specifying which fields to include in a partial response. */
60752
+ fields?:
60753
+ string;
60754
+ /**
60755
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
60756
+ * and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
60757
+ * 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
60758
+ * Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
60759
+ * substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
60760
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
60761
+ * 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
60762
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
60763
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
60764
+ * (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
60765
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
60766
+ * 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
60767
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
60768
+ */
60769
+ filter?:
60770
+ string;
60771
+ /** 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. */
60772
+ key?:
60773
+ string;
60774
+ /**
60775
+ * 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
60776
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
60777
+ */
60778
+ maxResults?:
60779
+ number;
60780
+ /** OAuth 2.0 token for the current user. */
60781
+ oauth_token?:
60782
+ string;
60783
+ /**
60784
+ * 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
60785
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
60786
+ * 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.
60787
+ */
60788
+ orderBy?:
60789
+ string;
60790
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
60791
+ pageToken?:
60792
+ string;
60793
+ /** Returns response with indentations and line breaks. */
60794
+ prettyPrint?:
60795
+ boolean;
60796
+ /** Project ID for this request. */
60797
+ project:
60798
+ string;
60799
+ /** 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. */
60800
+ quotaUser?:
60801
+ string;
60802
+ /** Name of the region scoping this request. It must be a string that meets the requirements in RFC1035. */
60803
+ region:
60804
+ string;
60805
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
60806
+ returnPartialSuccess?:
60807
+ boolean;
60808
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
60809
+ upload_protocol?:
60810
+ string;
60811
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
60812
+ uploadType?:
60813
+ string;
60814
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
60815
+ userIp?:
60816
+ string;
60817
+ }): Request<BackendServiceListUsable>;
60521
60818
  /**
60522
60819
  * Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH
60523
60820
  * semantics and uses the JSON merge patch format and processing rules.
@@ -72128,8 +72425,8 @@ declare namespace gapi.client {
72128
72425
  string;
72129
72426
  }): Request<SecurityPolicyList>;
72130
72427
  /**
72131
- * Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
72132
- * update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
72428
+ * Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to
72429
+ * be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
72133
72430
  */
72134
72431
  patch(request: {
72135
72432
  /** V1 error format. */
@@ -78935,8 +79232,8 @@ declare namespace gapi.client {
78935
79232
  string;
78936
79233
  }): Request<SecurityPoliciesListPreconfiguredExpressionSetsResponse>;
78937
79234
  /**
78938
- * Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
78939
- * update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
79235
+ * Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to
79236
+ * be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
78940
79237
  */
78941
79238
  patch(request: {
78942
79239
  /** V1 error format. */
@@ -79056,7 +79353,7 @@ declare namespace gapi.client {
79056
79353
  string;
79057
79354
  },
79058
79355
  body: SecurityPolicy): Request<Operation>;
79059
- /** Patches a rule at the specified priority. */
79356
+ /** Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. */
79060
79357
  patchRule(request: {
79061
79358
  /** V1 error format. */
79062
79359
  "$.xgafv"?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20230701",
3
+ "version": "0.0.20230720",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -2401,6 +2401,11 @@ Sets the default service account of the project. The default service account is
2401
2401
  */
2402
2402
  await gapi.client.compute.projects.setDefaultServiceAccount({ project: "project", });
2403
2403
 
2404
+ /*
2405
+ Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set PLUS or above the billing account of the project must be subscribed to Managed Protection Plus. See Subscribing to Managed Protection Plus for more information.
2406
+ */
2407
+ await gapi.client.compute.projects.setManagedProtectionTier({ project: "project", });
2408
+
2404
2409
  /*
2405
2410
  Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.
2406
2411
  */
@@ -2546,6 +2551,11 @@ Retrieves the list of regional BackendService resources available to the specifi
2546
2551
  */
2547
2552
  await gapi.client.compute.regionBackendServices.list({ project: "project", region: "region", });
2548
2553
 
2554
+ /*
2555
+ Retrieves an aggregated list of all usable backend services in the specified project in the given region.
2556
+ */
2557
+ await gapi.client.compute.regionBackendServices.listUsable({ project: "project", region: "region", });
2558
+
2549
2559
  /*
2550
2560
  Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
2551
2561
  */
@@ -3237,7 +3247,7 @@ List all the policies that have been configured for the specified project and re
3237
3247
  await gapi.client.compute.regionSecurityPolicies.list({ project: "project", region: "region", });
3238
3248
 
3239
3249
  /*
3240
- Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
3250
+ Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
3241
3251
  */
3242
3252
  await gapi.client.compute.regionSecurityPolicies.patch({ project: "project", region: "region", securityPolicy: "securityPolicy", });
3243
3253
 
@@ -3677,12 +3687,12 @@ Gets the current list of preconfigured Web Application Firewall (WAF) expression
3677
3687
  await gapi.client.compute.securityPolicies.listPreconfiguredExpressionSets({ project: "project", });
3678
3688
 
3679
3689
  /*
3680
- Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
3690
+ Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
3681
3691
  */
3682
3692
  await gapi.client.compute.securityPolicies.patch({ project: "project", securityPolicy: "securityPolicy", });
3683
3693
 
3684
3694
  /*
3685
- Patches a rule at the specified priority.
3695
+ Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask.
3686
3696
  */
3687
3697
  await gapi.client.compute.securityPolicies.patchRule({ project: "project", securityPolicy: "securityPolicy", });
3688
3698
 
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: 20230701
6
+ // Revision: 20230720
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1245,6 +1245,11 @@ gapi.load('client', async () => {
1245
1245
  subsetSize: 42,
1246
1246
  },
1247
1247
  timeoutSec: 42,
1248
+ usedBys: [
1249
+ {
1250
+ reference: "Test string",
1251
+ }
1252
+ ],
1248
1253
  vpcNetworkScope: "Test string",
1249
1254
  });
1250
1255
  /** Retrieves the list of BackendService resources available to the specified project. */
@@ -1684,6 +1689,11 @@ gapi.load('client', async () => {
1684
1689
  subsetSize: 42,
1685
1690
  },
1686
1691
  timeoutSec: 42,
1692
+ usedBys: [
1693
+ {
1694
+ reference: "Test string",
1695
+ }
1696
+ ],
1687
1697
  vpcNetworkScope: "Test string",
1688
1698
  });
1689
1699
  /** Sets the edge security policy for the specified backend service. */
@@ -2243,6 +2253,11 @@ gapi.load('client', async () => {
2243
2253
  subsetSize: 42,
2244
2254
  },
2245
2255
  timeoutSec: 42,
2256
+ usedBys: [
2257
+ {
2258
+ reference: "Test string",
2259
+ }
2260
+ ],
2246
2261
  vpcNetworkScope: "Test string",
2247
2262
  });
2248
2263
  /** Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. */
@@ -2390,6 +2405,7 @@ gapi.load('client', async () => {
2390
2405
  sourceImage: "Test string",
2391
2406
  zone: "Test string",
2392
2407
  }, {
2408
+ accessMode: "Test string",
2393
2409
  architecture: "Test string",
2394
2410
  asyncPrimaryDisk: {
2395
2411
  consistencyGroupPolicy: "Test string",
@@ -2706,6 +2722,7 @@ gapi.load('client', async () => {
2706
2722
  updateMask: "Test string",
2707
2723
  zone: "Test string",
2708
2724
  }, {
2725
+ accessMode: "Test string",
2709
2726
  architecture: "Test string",
2710
2727
  asyncPrimaryDisk: {
2711
2728
  consistencyGroupPolicy: "Test string",
@@ -3722,6 +3739,7 @@ gapi.load('client', async () => {
3722
3739
  fingerprint: "Test string",
3723
3740
  id: "Test string",
3724
3741
  IPAddress: "Test string",
3742
+ ipCollection: "Test string",
3725
3743
  IPProtocol: "Test string",
3726
3744
  ipVersion: "Test string",
3727
3745
  isMirroringCollector: true,
@@ -3800,6 +3818,7 @@ gapi.load('client', async () => {
3800
3818
  fingerprint: "Test string",
3801
3819
  id: "Test string",
3802
3820
  IPAddress: "Test string",
3821
+ ipCollection: "Test string",
3803
3822
  IPProtocol: "Test string",
3804
3823
  ipVersion: "Test string",
3805
3824
  isMirroringCollector: true,
@@ -4026,6 +4045,7 @@ gapi.load('client', async () => {
4026
4045
  startTime: "Test string",
4027
4046
  },
4028
4047
  },
4048
+ lockTime: "Test string",
4029
4049
  namePrefix: "Test string",
4030
4050
  procurementStatus: "Test string",
4031
4051
  },
@@ -4175,6 +4195,7 @@ gapi.load('client', async () => {
4175
4195
  startTime: "Test string",
4176
4196
  },
4177
4197
  },
4198
+ lockTime: "Test string",
4178
4199
  namePrefix: "Test string",
4179
4200
  procurementStatus: "Test string",
4180
4201
  },
@@ -4304,6 +4325,7 @@ gapi.load('client', async () => {
4304
4325
  fingerprint: "Test string",
4305
4326
  id: "Test string",
4306
4327
  IPAddress: "Test string",
4328
+ ipCollection: "Test string",
4307
4329
  IPProtocol: "Test string",
4308
4330
  ipVersion: "Test string",
4309
4331
  isMirroringCollector: true,
@@ -4380,6 +4402,7 @@ gapi.load('client', async () => {
4380
4402
  fingerprint: "Test string",
4381
4403
  id: "Test string",
4382
4404
  IPAddress: "Test string",
4405
+ ipCollection: "Test string",
4383
4406
  IPProtocol: "Test string",
4384
4407
  ipVersion: "Test string",
4385
4408
  isMirroringCollector: true,
@@ -4654,6 +4677,7 @@ gapi.load('client', async () => {
4654
4677
  project: "Test string",
4655
4678
  requestId: "Test string",
4656
4679
  }, {
4680
+ allocatablePrefixLength: 42,
4657
4681
  creationTimestamp: "Test string",
4658
4682
  description: "Test string",
4659
4683
  fingerprint: "Test string",
@@ -4661,14 +4685,17 @@ gapi.load('client', async () => {
4661
4685
  ipCidrRange: "Test string",
4662
4686
  isLiveMigration: true,
4663
4687
  kind: "Test string",
4688
+ mode: "Test string",
4664
4689
  name: "Test string",
4665
4690
  parentPrefix: "Test string",
4666
4691
  publicDelegatedSubPrefixs: [
4667
4692
  {
4693
+ allocatablePrefixLength: 42,
4668
4694
  delegateeProject: "Test string",
4669
4695
  description: "Test string",
4670
4696
  ipCidrRange: "Test string",
4671
4697
  isAddress: true,
4698
+ mode: "Test string",
4672
4699
  name: "Test string",
4673
4700
  region: "Test string",
4674
4701
  status: "Test string",
@@ -4697,6 +4724,7 @@ gapi.load('client', async () => {
4697
4724
  publicDelegatedPrefix: "Test string",
4698
4725
  requestId: "Test string",
4699
4726
  }, {
4727
+ allocatablePrefixLength: 42,
4700
4728
  creationTimestamp: "Test string",
4701
4729
  description: "Test string",
4702
4730
  fingerprint: "Test string",
@@ -4704,14 +4732,17 @@ gapi.load('client', async () => {
4704
4732
  ipCidrRange: "Test string",
4705
4733
  isLiveMigration: true,
4706
4734
  kind: "Test string",
4735
+ mode: "Test string",
4707
4736
  name: "Test string",
4708
4737
  parentPrefix: "Test string",
4709
4738
  publicDelegatedSubPrefixs: [
4710
4739
  {
4740
+ allocatablePrefixLength: 42,
4711
4741
  delegateeProject: "Test string",
4712
4742
  description: "Test string",
4713
4743
  ipCidrRange: "Test string",
4714
4744
  isAddress: true,
4745
+ mode: "Test string",
4715
4746
  name: "Test string",
4716
4747
  region: "Test string",
4717
4748
  status: "Test string",
@@ -8905,6 +8936,12 @@ gapi.load('client', async () => {
8905
8936
  email: "Test string",
8906
8937
  fingerprint: "Test string",
8907
8938
  kind: "Test string",
8939
+ metadata: {
8940
+ kind: "Test string",
8941
+ metadatas: {
8942
+ A: "Test string"
8943
+ },
8944
+ },
8908
8945
  zone: "Test string",
8909
8946
  });
8910
8947
  /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
@@ -14286,6 +14323,16 @@ gapi.load('client', async () => {
14286
14323
  }, {
14287
14324
  email: "Test string",
14288
14325
  });
14326
+ /**
14327
+ * Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set PLUS or above the billing account of the project must be subscribed to Managed Protection Plus. See
14328
+ * Subscribing to Managed Protection Plus for more information.
14329
+ */
14330
+ await gapi.client.compute.projects.setManagedProtectionTier({
14331
+ project: "Test string",
14332
+ requestId: "Test string",
14333
+ }, {
14334
+ managedProtectionTier: "Test string",
14335
+ });
14289
14336
  /**
14290
14337
  * Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be
14291
14338
  * disabled.
@@ -14422,6 +14469,7 @@ gapi.load('client', async () => {
14422
14469
  region: "Test string",
14423
14470
  requestId: "Test string",
14424
14471
  }, {
14472
+ allocatablePrefixLength: 42,
14425
14473
  creationTimestamp: "Test string",
14426
14474
  description: "Test string",
14427
14475
  fingerprint: "Test string",
@@ -14429,14 +14477,17 @@ gapi.load('client', async () => {
14429
14477
  ipCidrRange: "Test string",
14430
14478
  isLiveMigration: true,
14431
14479
  kind: "Test string",
14480
+ mode: "Test string",
14432
14481
  name: "Test string",
14433
14482
  parentPrefix: "Test string",
14434
14483
  publicDelegatedSubPrefixs: [
14435
14484
  {
14485
+ allocatablePrefixLength: 42,
14436
14486
  delegateeProject: "Test string",
14437
14487
  description: "Test string",
14438
14488
  ipCidrRange: "Test string",
14439
14489
  isAddress: true,
14490
+ mode: "Test string",
14440
14491
  name: "Test string",
14441
14492
  region: "Test string",
14442
14493
  status: "Test string",
@@ -14464,6 +14515,7 @@ gapi.load('client', async () => {
14464
14515
  region: "Test string",
14465
14516
  requestId: "Test string",
14466
14517
  }, {
14518
+ allocatablePrefixLength: 42,
14467
14519
  creationTimestamp: "Test string",
14468
14520
  description: "Test string",
14469
14521
  fingerprint: "Test string",
@@ -14471,14 +14523,17 @@ gapi.load('client', async () => {
14471
14523
  ipCidrRange: "Test string",
14472
14524
  isLiveMigration: true,
14473
14525
  kind: "Test string",
14526
+ mode: "Test string",
14474
14527
  name: "Test string",
14475
14528
  parentPrefix: "Test string",
14476
14529
  publicDelegatedSubPrefixs: [
14477
14530
  {
14531
+ allocatablePrefixLength: 42,
14478
14532
  delegateeProject: "Test string",
14479
14533
  description: "Test string",
14480
14534
  ipCidrRange: "Test string",
14481
14535
  isAddress: true,
14536
+ mode: "Test string",
14482
14537
  name: "Test string",
14483
14538
  region: "Test string",
14484
14539
  status: "Test string",
@@ -15224,6 +15279,11 @@ gapi.load('client', async () => {
15224
15279
  subsetSize: 42,
15225
15280
  },
15226
15281
  timeoutSec: 42,
15282
+ usedBys: [
15283
+ {
15284
+ reference: "Test string",
15285
+ }
15286
+ ],
15227
15287
  vpcNetworkScope: "Test string",
15228
15288
  });
15229
15289
  /** Retrieves the list of regional BackendService resources available to the specified project in the given region. */
@@ -15236,6 +15296,16 @@ gapi.load('client', async () => {
15236
15296
  region: "Test string",
15237
15297
  returnPartialSuccess: true,
15238
15298
  });
15299
+ /** Retrieves an aggregated list of all usable backend services in the specified project in the given region. */
15300
+ await gapi.client.compute.regionBackendServices.listUsable({
15301
+ filter: "Test string",
15302
+ maxResults: 42,
15303
+ orderBy: "Test string",
15304
+ pageToken: "Test string",
15305
+ project: "Test string",
15306
+ region: "Test string",
15307
+ returnPartialSuccess: true,
15308
+ });
15239
15309
  /**
15240
15310
  * Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH
15241
15311
  * semantics and uses the JSON merge patch format and processing rules.
@@ -15665,6 +15735,11 @@ gapi.load('client', async () => {
15665
15735
  subsetSize: 42,
15666
15736
  },
15667
15737
  timeoutSec: 42,
15738
+ usedBys: [
15739
+ {
15740
+ reference: "Test string",
15741
+ }
15742
+ ],
15668
15743
  vpcNetworkScope: "Test string",
15669
15744
  });
15670
15745
  /** Sets the access control policy on the specified resource. Replaces any existing policy. */
@@ -16220,6 +16295,11 @@ gapi.load('client', async () => {
16220
16295
  subsetSize: 42,
16221
16296
  },
16222
16297
  timeoutSec: 42,
16298
+ usedBys: [
16299
+ {
16300
+ reference: "Test string",
16301
+ }
16302
+ ],
16223
16303
  vpcNetworkScope: "Test string",
16224
16304
  });
16225
16305
  /** Retrieves an aggregated list of commitments by region. */
@@ -16808,6 +16888,7 @@ gapi.load('client', async () => {
16808
16888
  requestId: "Test string",
16809
16889
  sourceImage: "Test string",
16810
16890
  }, {
16891
+ accessMode: "Test string",
16811
16892
  architecture: "Test string",
16812
16893
  asyncPrimaryDisk: {
16813
16894
  consistencyGroupPolicy: "Test string",
@@ -17124,6 +17205,7 @@ gapi.load('client', async () => {
17124
17205
  requestId: "Test string",
17125
17206
  updateMask: "Test string",
17126
17207
  }, {
17208
+ accessMode: "Test string",
17127
17209
  architecture: "Test string",
17128
17210
  asyncPrimaryDisk: {
17129
17211
  consistencyGroupPolicy: "Test string",
@@ -20926,7 +21008,7 @@ gapi.load('client', async () => {
20926
21008
  returnPartialSuccess: true,
20927
21009
  });
20928
21010
  /**
20929
- * Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
21011
+ * Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be
20930
21012
  * update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
20931
21013
  */
20932
21014
  await gapi.client.compute.regionSecurityPolicies.patch({
@@ -26425,7 +26507,7 @@ gapi.load('client', async () => {
26425
26507
  returnPartialSuccess: true,
26426
26508
  });
26427
26509
  /**
26428
- * Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
26510
+ * Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be
26429
26511
  * update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
26430
26512
  */
26431
26513
  await gapi.client.compute.securityPolicies.patch({
@@ -26682,7 +26764,7 @@ gapi.load('client', async () => {
26682
26764
  }
26683
26765
  ],
26684
26766
  });
26685
- /** Patches a rule at the specified priority. */
26767
+ /** Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. */
26686
26768
  await gapi.client.compute.securityPolicies.patchRule({
26687
26769
  priority: 42,
26688
26770
  project: "Test string",