@maxim_mazurok/gapi.client.compute-alpha 0.0.20230210 → 0.0.20230307

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 +247 -73
  2. package/package.json +1 -1
  3. package/readme.md +56 -46
  4. package/tests.ts +120 -49
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: 20230210
12
+ // Revision: 20230307
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -149,7 +149,8 @@ declare namespace gapi.client {
149
149
  interface AccessConfig {
150
150
  /**
151
151
  * The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP
152
- * address, it must be unused and in the same region as the instance's zone. If not specified, GCP will automatically assign an external IPv6 address from the instance's subnetwork.
152
+ * address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's
153
+ * subnetwork.
153
154
  */
154
155
  externalIpv6?: string;
155
156
  /** The prefix length of the external IPv6 range. */
@@ -3831,7 +3832,8 @@ declare namespace gapi.client {
3831
3832
  interface GuestOsFeature {
3832
3833
  /**
3833
3834
  * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS -
3834
- * MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
3835
+ * MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system
3836
+ * features.
3835
3837
  */
3836
3838
  type?: string;
3837
3839
  }
@@ -4341,7 +4343,7 @@ declare namespace gapi.client {
4341
4343
  name?: string;
4342
4344
  /** The TCP port number for the HTTP health check request. The default value is 80. */
4343
4345
  port?: number;
4344
- /** The request path of the HTTP health check request. The default value is /. This field does not support query parameters. */
4346
+ /** The request path of the HTTP health check request. The default value is /. This field does not support query parameters. Must comply with RFC3986. */
4345
4347
  requestPath?: string;
4346
4348
  /** [Output Only] Server-defined URL for the resource. */
4347
4349
  selfLink?: string;
@@ -4672,7 +4674,7 @@ declare namespace gapi.client {
4672
4674
  name?: string;
4673
4675
  /** The TCP port number for the HTTPS health check request. The default value is 443. */
4674
4676
  port?: number;
4675
- /** The request path of the HTTPS health check request. The default value is "/". */
4677
+ /** The request path of the HTTPS health check request. The default value is "/". Must comply with RFC3986. */
4676
4678
  requestPath?: string;
4677
4679
  /** [Output Only] Server-defined URL for the resource. */
4678
4680
  selfLink?: string;
@@ -6181,6 +6183,19 @@ declare namespace gapi.client {
6181
6183
  /** Resource policies to be added to this instance. */
6182
6184
  resourcePolicies?: string[];
6183
6185
  }
6186
+ interface InstanceSettings {
6187
+ /** Email address of the service account. */
6188
+ email?: string;
6189
+ /** [Output Only] Type of the resource. Always compute#instance_settings for instance settings. */
6190
+ kind?: string;
6191
+ /**
6192
+ * Partial URL of the machine type resource to use for this instance, in the format: machineTypes/machine-type. This is either provided by the client or chosen by the system. For
6193
+ * example, the following is a valid partial url to a predefined machine type: machineTypes/n2-standard-1
6194
+ */
6195
+ machineType?: string;
6196
+ /** [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. */
6197
+ zone?: string;
6198
+ }
6184
6199
  interface InstancesGetEffectiveFirewallsResponse {
6185
6200
  /** Effective firewalls from firewall policies. */
6186
6201
  firewallPolicys?: InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy[];
@@ -6670,7 +6685,7 @@ declare namespace gapi.client {
6670
6685
  remoteLocation?: string;
6671
6686
  /** Target number of physical links in the link bundle, as requested by the customer. */
6672
6687
  requestedLinkCount?: number;
6673
- /** [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. */
6688
+ /** [Output Only] Reserved for future use. */
6674
6689
  satisfiesPzs?: boolean;
6675
6690
  /** [Output Only] Server-defined URL for the resource. */
6676
6691
  selfLink?: string;
@@ -6806,7 +6821,7 @@ declare namespace gapi.client {
6806
6821
  * the Interconnect to the network & region within which the Cloud Router is configured.
6807
6822
  */
6808
6823
  router?: string;
6809
- /** [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. */
6824
+ /** [Output Only] Reserved for future use. */
6810
6825
  satisfiesPzs?: boolean;
6811
6826
  /** [Output Only] Server-defined URL for the resource. */
6812
6827
  selfLink?: string;
@@ -7119,7 +7134,7 @@ declare namespace gapi.client {
7119
7134
  * new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
7120
7135
  */
7121
7136
  status?: string;
7122
- /** [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present. */
7137
+ /** [Output Only] Reserved for future use. */
7123
7138
  supportsPzs?: boolean;
7124
7139
  }
7125
7140
  interface InterconnectLocationList {
@@ -8592,7 +8607,7 @@ declare namespace gapi.client {
8592
8607
  ipv6AccessType?: string;
8593
8608
  /**
8594
8609
  * An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified,
8595
- * GCP will automatically assign an internal IPv6 address from the instance's subnetwork.
8610
+ * Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
8596
8611
  */
8597
8612
  ipv6Address?: string;
8598
8613
  /** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */
@@ -9049,10 +9064,7 @@ declare namespace gapi.client {
9049
9064
  nodeAffinityLabels?: { [P in string]: string };
9050
9065
  /** The node type to use for nodes group that are created from this template. */
9051
9066
  nodeType?: string;
9052
- /**
9053
- * The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive
9054
- * with the node_type property; you can only define one or the other, but not both.
9055
- */
9067
+ /** Do not use. Instead, use the node_type property. */
9056
9068
  nodeTypeFlexibility?: NodeTemplateNodeTypeFlexibility;
9057
9069
  /** [Output Only] The name of the region where the node template resides, such as us-central1. */
9058
9070
  region?: string;
@@ -9471,6 +9483,7 @@ declare namespace gapi.client {
9471
9483
  selfLink?: string;
9472
9484
  /** [Output Only] Server-defined URL for this resource with the resource id. */
9473
9485
  selfLinkWithId?: string;
9486
+ setCommonInstanceMetadataOperationMetadata?: SetCommonInstanceMetadataOperationMetadata;
9474
9487
  /** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */
9475
9488
  startTime?: string;
9476
9489
  /** [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. */
@@ -11433,10 +11446,7 @@ declare namespace gapi.client {
11433
11446
  expirationTime?: string;
11434
11447
  /** The start time of the schedule. The timestamp is an RFC3339 string. */
11435
11448
  startTime?: string;
11436
- /**
11437
- * Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database:
11438
- * http://en.wikipedia.org/wiki/Tz_database.
11439
- */
11449
+ /** Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database. */
11440
11450
  timeZone?: string;
11441
11451
  /** Specifies the schedule for starting instances. */
11442
11452
  vmStartSchedule?: ResourcePolicyInstanceSchedulePolicySchedule;
@@ -11829,8 +11839,8 @@ declare namespace gapi.client {
11829
11839
  }
11830
11840
  interface RouterBgpPeer {
11831
11841
  /**
11832
- * User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC
11833
- * subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the
11842
+ * User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This
11843
+ * excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the
11834
11844
  * router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.
11835
11845
  */
11836
11846
  advertisedGroups?: string[];
@@ -12367,6 +12377,11 @@ declare namespace gapi.client {
12367
12377
  * the preemptible option is also set.
12368
12378
  */
12369
12379
  latencyTolerant?: boolean;
12380
+ /**
12381
+ * Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour
12382
+ * granularity and the default value being 1 hour.
12383
+ */
12384
+ localSsdRecoveryTimeout?: Duration;
12370
12385
  /** An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API. */
12371
12386
  locationHint?: string;
12372
12387
  /** Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance. */
@@ -13174,6 +13189,15 @@ declare namespace gapi.client {
13174
13189
  */
13175
13190
  plan?: string;
13176
13191
  }
13192
+ interface SetCommonInstanceMetadataOperationMetadata {
13193
+ clientOperationId?: string;
13194
+ perLocationOperations?: { [P in string]: SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo };
13195
+ }
13196
+ interface SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo {
13197
+ error?: Status;
13198
+ operation?: string;
13199
+ state?: string;
13200
+ }
13177
13201
  interface ShareSettings {
13178
13202
  /**
13179
13203
  * A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
@@ -13826,6 +13850,17 @@ declare namespace gapi.client {
13826
13850
  */
13827
13851
  autoDelete?: string;
13828
13852
  }
13853
+ interface Status {
13854
+ /** The status code, which should be an enum value of google.rpc.Code. */
13855
+ code?: number;
13856
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
13857
+ details?: Array<{ [P in string]: any }>;
13858
+ /**
13859
+ * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
13860
+ * client.
13861
+ */
13862
+ message?: string;
13863
+ }
13829
13864
  interface Subnetwork {
13830
13865
  /**
13831
13866
  * Can only be specified if VPC flow logging for this subnetwork is enabled. Sets the aggregation interval for collecting flow logs. Increasing the interval time reduces the amount of
@@ -15246,11 +15281,11 @@ declare namespace gapi.client {
15246
15281
  interface UpcomingMaintenance {
15247
15282
  /** Indicates if the maintenance can be customer triggered. From more detail, see go/sf-ctm-design. */
15248
15283
  canReschedule?: boolean;
15249
- /** [Output Only] The date when the maintenance will take place. This value is in RFC3339 text format. DEPRECATED: Use start_time_window instead. */
15284
+ /** [Output Only] The date when the maintenance will take place. This value is in RFC3339 text format. DEPRECATED: Use window_start_time instead. */
15250
15285
  date?: string;
15251
- /** [Output Only] The start time window of the maintenance disruption. */
15286
+ /** [Output Only] The start time window of the maintenance disruption. DEPRECATED: Use window_start_time instead. */
15252
15287
  startTimeWindow?: UpcomingMaintenanceTimeWindow;
15253
- /** [Output Only] The time when the maintenance will take place. This value is in RFC3339 text format. DEPRECATED: Use start_time_window instead. */
15288
+ /** [Output Only] The time when the maintenance will take place. This value is in RFC3339 text format. DEPRECATED: Use window_start_time instead. */
15254
15289
  time?: string;
15255
15290
  /** Defines the type of maintenance. */
15256
15291
  type?: string;
@@ -16890,7 +16925,7 @@ declare namespace gapi.client {
16890
16925
  /** Name of the zone for this request. */
16891
16926
  zone: string;
16892
16927
  }): Request<Operation>;
16893
- /** Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request. */
16928
+ /** Returns the specified autoscaler resource. */
16894
16929
  get(request?: {
16895
16930
  /** V1 error format. */
16896
16931
  "$.xgafv"?: string;
@@ -17422,7 +17457,7 @@ declare namespace gapi.client {
17422
17457
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
17423
17458
  userIp?: string;
17424
17459
  }): Request<Operation>;
17425
- /** Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request. */
17460
+ /** Returns the specified BackendBucket resource. */
17426
17461
  get(request?: {
17427
17462
  /** V1 error format. */
17428
17463
  "$.xgafv"?: string;
@@ -18142,7 +18177,7 @@ declare namespace gapi.client {
18142
18177
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
18143
18178
  userIp?: string;
18144
18179
  }): Request<Operation>;
18145
- /** Returns the specified BackendService resource. Gets a list of available backend services. */
18180
+ /** Returns the specified BackendService resource. */
18146
18181
  get(request?: {
18147
18182
  /** V1 error format. */
18148
18183
  "$.xgafv"?: string;
@@ -19141,7 +19176,7 @@ declare namespace gapi.client {
19141
19176
  /** The name of the zone for this request. */
19142
19177
  zone: string;
19143
19178
  }): Request<Operation>;
19144
- /** Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request. */
19179
+ /** Returns the specified persistent disk. */
19145
19180
  get(request?: {
19146
19181
  /** V1 error format. */
19147
19182
  "$.xgafv"?: string;
@@ -20030,7 +20065,7 @@ declare namespace gapi.client {
20030
20065
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
20031
20066
  userIp?: string;
20032
20067
  }): Request<DiskTypeAggregatedList>;
20033
- /** Returns the specified disk type. Gets a list of available disk types by making a list() request. */
20068
+ /** Returns the specified disk type. */
20034
20069
  get(request?: {
20035
20070
  /** V1 error format. */
20036
20071
  "$.xgafv"?: string;
@@ -20869,7 +20904,7 @@ declare namespace gapi.client {
20869
20904
  orderBy?: string;
20870
20905
  /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
20871
20906
  pageToken?: string;
20872
- /** Parent ID for this request. */
20907
+ /** Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization. */
20873
20908
  parentId?: string;
20874
20909
  /** Returns response with indentations and line breaks. */
20875
20910
  prettyPrint?: boolean;
@@ -20931,7 +20966,10 @@ declare namespace gapi.client {
20931
20966
  key?: string;
20932
20967
  /** OAuth 2.0 token for the current user. */
20933
20968
  oauth_token?: string;
20934
- /** The new parent of the firewall policy. */
20969
+ /**
20970
+ * The new parent of the firewall policy. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an
20971
+ * organization.
20972
+ */
20935
20973
  parentId?: string;
20936
20974
  /** Returns response with indentations and line breaks. */
20937
20975
  prettyPrint?: boolean;
@@ -22607,7 +22645,7 @@ declare namespace gapi.client {
22607
22645
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
22608
22646
  userIp?: string;
22609
22647
  }): Request<Operation>;
22610
- /** Returns the specified address resource. Gets a list of available addresses by making a list() request. */
22648
+ /** Returns the specified address resource. */
22611
22649
  get(request?: {
22612
22650
  /** V1 error format. */
22613
22651
  "$.xgafv"?: string;
@@ -23569,7 +23607,7 @@ declare namespace gapi.client {
23569
23607
  userIp?: string;
23570
23608
  },
23571
23609
  body: GlobalNetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
23572
- /** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
23610
+ /** Returns the specified network endpoint group. */
23573
23611
  get(request?: {
23574
23612
  /** V1 error format. */
23575
23613
  "$.xgafv"?: string;
@@ -24539,7 +24577,7 @@ declare namespace gapi.client {
24539
24577
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
24540
24578
  userIp?: string;
24541
24579
  }): Request<Operation>;
24542
- /** Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. */
24580
+ /** Returns the specified HealthCheck resource. */
24543
24581
  get(request?: {
24544
24582
  /** V1 error format. */
24545
24583
  "$.xgafv"?: string;
@@ -24935,7 +24973,7 @@ declare namespace gapi.client {
24935
24973
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
24936
24974
  userIp?: string;
24937
24975
  }): Request<Operation>;
24938
- /** Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request. */
24976
+ /** Returns the specified HttpHealthCheck resource. */
24939
24977
  get(request?: {
24940
24978
  /** V1 error format. */
24941
24979
  "$.xgafv"?: string;
@@ -25331,7 +25369,7 @@ declare namespace gapi.client {
25331
25369
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
25332
25370
  userIp?: string;
25333
25371
  }): Request<Operation>;
25334
- /** Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request. */
25372
+ /** Returns the specified HttpsHealthCheck resource. */
25335
25373
  get(request?: {
25336
25374
  /** V1 error format. */
25337
25375
  "$.xgafv"?: string;
@@ -25840,7 +25878,7 @@ declare namespace gapi.client {
25840
25878
  userIp?: string;
25841
25879
  },
25842
25880
  body: DeprecationStatus): Request<Operation>;
25843
- /** Returns the specified image. Gets a list of available images by making a list() request. */
25881
+ /** Returns the specified image. */
25844
25882
  get(request?: {
25845
25883
  /** V1 error format. */
25846
25884
  "$.xgafv"?: string;
@@ -26987,7 +27025,7 @@ declare namespace gapi.client {
26987
27025
  zone: string;
26988
27026
  },
26989
27027
  body: InstanceGroupManagersDeletePerInstanceConfigsReq): Request<Operation>;
26990
- /** Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request. */
27028
+ /** Returns all of the details about the specified managed instance group. */
26991
27029
  get(request?: {
26992
27030
  /** V1 error format. */
26993
27031
  "$.xgafv"?: string;
@@ -29817,7 +29855,7 @@ declare namespace gapi.client {
29817
29855
  /** The name of the zone for this request. */
29818
29856
  zone: string;
29819
29857
  }): Request<Operation>;
29820
- /** Returns the specified Instance resource. Gets a list of available instances by making a list() request. */
29858
+ /** Returns the specified Instance resource. */
29821
29859
  get(request?: {
29822
29860
  /** V1 error format. */
29823
29861
  "$.xgafv"?: string;
@@ -32471,6 +32509,121 @@ declare namespace gapi.client {
32471
32509
  },
32472
32510
  body: ShieldedVmConfig): Request<Operation>;
32473
32511
  }
32512
+ interface InstanceSettingsResource {
32513
+ /** Get Instance settings. */
32514
+ get(request?: {
32515
+ /** V1 error format. */
32516
+ "$.xgafv"?: string;
32517
+ /** OAuth access token. */
32518
+ access_token?: string;
32519
+ /** Data format for response. */
32520
+ alt?: string;
32521
+ /** JSONP */
32522
+ callback?: string;
32523
+ /** Selector specifying which fields to include in a partial response. */
32524
+ fields?: string;
32525
+ /** 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. */
32526
+ key?: string;
32527
+ /** OAuth 2.0 token for the current user. */
32528
+ oauth_token?: string;
32529
+ /** Returns response with indentations and line breaks. */
32530
+ prettyPrint?: boolean;
32531
+ /** Project ID for this request. */
32532
+ project: string;
32533
+ /** 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. */
32534
+ quotaUser?: string;
32535
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32536
+ upload_protocol?: string;
32537
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32538
+ uploadType?: string;
32539
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32540
+ userIp?: string;
32541
+ /** Name of the zone for this request. */
32542
+ zone: string;
32543
+ }): Request<InstanceSettings>;
32544
+ /** Patch Instance settings */
32545
+ patch(request: {
32546
+ /** V1 error format. */
32547
+ "$.xgafv"?: string;
32548
+ /** OAuth access token. */
32549
+ access_token?: string;
32550
+ /** Data format for response. */
32551
+ alt?: string;
32552
+ /** JSONP */
32553
+ callback?: string;
32554
+ /** Selector specifying which fields to include in a partial response. */
32555
+ fields?: string;
32556
+ /** 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. */
32557
+ key?: string;
32558
+ /** OAuth 2.0 token for the current user. */
32559
+ oauth_token?: string;
32560
+ /** Returns response with indentations and line breaks. */
32561
+ prettyPrint?: boolean;
32562
+ /** Project ID for this request. */
32563
+ project: string;
32564
+ /** 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. */
32565
+ quotaUser?: string;
32566
+ /**
32567
+ * 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
32568
+ * 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
32569
+ * 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
32570
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
32571
+ */
32572
+ requestId?: string;
32573
+ /** update_mask indicates fields to be updated as part of this request. */
32574
+ updateMask?: string;
32575
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32576
+ upload_protocol?: string;
32577
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32578
+ uploadType?: string;
32579
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32580
+ userIp?: string;
32581
+ /** The zone scoping this request. It should conform to RFC1035. */
32582
+ zone: string;
32583
+ /** Request body */
32584
+ resource: InstanceSettings;
32585
+ }): Request<Operation>;
32586
+ patch(request: {
32587
+ /** V1 error format. */
32588
+ "$.xgafv"?: string;
32589
+ /** OAuth access token. */
32590
+ access_token?: string;
32591
+ /** Data format for response. */
32592
+ alt?: string;
32593
+ /** JSONP */
32594
+ callback?: string;
32595
+ /** Selector specifying which fields to include in a partial response. */
32596
+ fields?: string;
32597
+ /** 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. */
32598
+ key?: string;
32599
+ /** OAuth 2.0 token for the current user. */
32600
+ oauth_token?: string;
32601
+ /** Returns response with indentations and line breaks. */
32602
+ prettyPrint?: boolean;
32603
+ /** Project ID for this request. */
32604
+ project: string;
32605
+ /** 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. */
32606
+ quotaUser?: string;
32607
+ /**
32608
+ * 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
32609
+ * 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
32610
+ * 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
32611
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
32612
+ */
32613
+ requestId?: string;
32614
+ /** update_mask indicates fields to be updated as part of this request. */
32615
+ updateMask?: string;
32616
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32617
+ upload_protocol?: string;
32618
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32619
+ uploadType?: string;
32620
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32621
+ userIp?: string;
32622
+ /** The zone scoping this request. It should conform to RFC1035. */
32623
+ zone: string;
32624
+ },
32625
+ body: InstanceSettings): Request<Operation>;
32626
+ }
32474
32627
  interface InstanceTemplatesResource {
32475
32628
  /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
32476
32629
  aggregatedList(request?: {
@@ -32579,7 +32732,7 @@ declare namespace gapi.client {
32579
32732
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
32580
32733
  userIp?: string;
32581
32734
  }): Request<Operation>;
32582
- /** Returns the specified instance template. Gets a list of available instance templates by making a list() request. */
32735
+ /** Returns the specified instance template. */
32583
32736
  get(request?: {
32584
32737
  /** V1 error format. */
32585
32738
  "$.xgafv"?: string;
@@ -35081,7 +35234,7 @@ declare namespace gapi.client {
35081
35234
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
35082
35235
  userIp?: string;
35083
35236
  }): Request<Operation>;
35084
- /** Returns the specified machine image. Gets a list of available machine images by making a list() request. */
35237
+ /** Returns the specified machine image. */
35085
35238
  get(request?: {
35086
35239
  /** V1 error format. */
35087
35240
  "$.xgafv"?: string;
@@ -35418,7 +35571,7 @@ declare namespace gapi.client {
35418
35571
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
35419
35572
  userIp?: string;
35420
35573
  }): Request<MachineTypeAggregatedList>;
35421
- /** Returns the specified machine type. Gets a list of available machine types by making a list() request. */
35574
+ /** Returns the specified machine type. */
35422
35575
  get(request?: {
35423
35576
  /** V1 error format. */
35424
35577
  "$.xgafv"?: string;
@@ -36486,7 +36639,7 @@ declare namespace gapi.client {
36486
36639
  zone: string;
36487
36640
  },
36488
36641
  body: NetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
36489
- /** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
36642
+ /** Returns the specified network endpoint group. */
36490
36643
  get(request?: {
36491
36644
  /** V1 error format. */
36492
36645
  "$.xgafv"?: string;
@@ -37763,7 +37916,7 @@ declare namespace gapi.client {
37763
37916
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
37764
37917
  userIp?: string;
37765
37918
  }): Request<Operation>;
37766
- /** Returns the specified network. Gets a list of available networks by making a list() request. */
37919
+ /** Returns the specified network. */
37767
37920
  get(request?: {
37768
37921
  /** V1 error format. */
37769
37922
  "$.xgafv"?: string;
@@ -39440,7 +39593,7 @@ declare namespace gapi.client {
39440
39593
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
39441
39594
  userIp?: string;
39442
39595
  }): Request<Operation>;
39443
- /** Returns the specified node template. Gets a list of available node templates by making a list() request. */
39596
+ /** Returns the specified node template. */
39444
39597
  get(request?: {
39445
39598
  /** V1 error format. */
39446
39599
  "$.xgafv"?: string;
@@ -39784,7 +39937,7 @@ declare namespace gapi.client {
39784
39937
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
39785
39938
  userIp?: string;
39786
39939
  }): Request<NodeTypeAggregatedList>;
39787
- /** Returns the specified node type. Gets a list of available node types by making a list() request. */
39940
+ /** Returns the specified node type. */
39788
39941
  get(request?: {
39789
39942
  /** V1 error format. */
39790
39943
  "$.xgafv"?: string;
@@ -43868,7 +44021,7 @@ declare namespace gapi.client {
43868
44021
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
43869
44022
  userIp?: string;
43870
44023
  }): Request<CommitmentAggregatedList>;
43871
- /** Returns the specified commitment resource. Gets a list of available commitments by making a list() request. */
44024
+ /** Returns the specified commitment resource. */
43872
44025
  get(request?: {
43873
44026
  /** V1 error format. */
43874
44027
  "$.xgafv"?: string;
@@ -45362,7 +45515,7 @@ declare namespace gapi.client {
45362
45515
  body: Disk): Request<Operation>;
45363
45516
  }
45364
45517
  interface RegionDiskTypesResource {
45365
- /** Returns the specified regional disk type. Gets a list of available disk types by making a list() request. */
45518
+ /** Returns the specified regional disk type. */
45366
45519
  get(request?: {
45367
45520
  /** V1 error format. */
45368
45521
  "$.xgafv"?: string;
@@ -45499,7 +45652,7 @@ declare namespace gapi.client {
45499
45652
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
45500
45653
  userIp?: string;
45501
45654
  }): Request<Operation>;
45502
- /** Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. */
45655
+ /** Returns the specified HealthCheck resource. */
45503
45656
  get(request?: {
45504
45657
  /** V1 error format. */
45505
45658
  "$.xgafv"?: string;
@@ -48756,7 +48909,7 @@ declare namespace gapi.client {
48756
48909
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
48757
48910
  userIp?: string;
48758
48911
  }): Request<Operation>;
48759
- /** Returns the specified instance template. Gets a list of available instance templates by making a list() request. */
48912
+ /** Returns the specified instance template. */
48760
48913
  get(request?: {
48761
48914
  /** V1 error format. */
48762
48915
  "$.xgafv"?: string;
@@ -49582,7 +49735,7 @@ declare namespace gapi.client {
49582
49735
  userIp?: string;
49583
49736
  },
49584
49737
  body: RegionNetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
49585
- /** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
49738
+ /** Returns the specified network endpoint group. */
49586
49739
  get(request?: {
49587
49740
  /** V1 error format. */
49588
49741
  "$.xgafv"?: string;
@@ -51197,10 +51350,9 @@ declare namespace gapi.client {
51197
51350
  }
51198
51351
  interface RegionsResource {
51199
51352
  /**
51200
- * Returns the specified Region resource. Gets a list of available regions by making a list() request. To decrease latency for this method, you can optionally omit any unneeded
51201
- * information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set
51202
- * your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter
51203
- * `?fields=id,selfLink` to your request.
51353
+ * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice
51354
+ * is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields
51355
+ * you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.
51204
51356
  */
51205
51357
  get(request?: {
51206
51358
  /** V1 error format. */
@@ -52512,7 +52664,7 @@ declare namespace gapi.client {
52512
52664
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52513
52665
  userIp?: string;
52514
52666
  }): Request<Operation>;
52515
- /** Returns the specified TargetHttpProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request. */
52667
+ /** Returns the specified TargetHttpProxy resource in the specified region. */
52516
52668
  get(request?: {
52517
52669
  /** V1 error format. */
52518
52670
  "$.xgafv"?: string;
@@ -52843,7 +52995,7 @@ declare namespace gapi.client {
52843
52995
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52844
52996
  userIp?: string;
52845
52997
  }): Request<Operation>;
52846
- /** Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request. */
52998
+ /** Returns the specified TargetHttpsProxy resource in the specified region. */
52847
52999
  get(request?: {
52848
53000
  /** V1 error format. */
52849
53001
  "$.xgafv"?: string;
@@ -53585,7 +53737,7 @@ declare namespace gapi.client {
53585
53737
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
53586
53738
  userIp?: string;
53587
53739
  }): Request<Operation>;
53588
- /** Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. */
53740
+ /** Returns the specified UrlMap resource. */
53589
53741
  get(request?: {
53590
53742
  /** V1 error format. */
53591
53743
  "$.xgafv"?: string;
@@ -55203,7 +55355,7 @@ declare namespace gapi.client {
55203
55355
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
55204
55356
  userIp?: string;
55205
55357
  }): Request<Operation>;
55206
- /** Returns the specified Router resource. Gets a list of available routers by making a list() request. */
55358
+ /** Returns the specified Router resource. */
55207
55359
  get(request?: {
55208
55360
  /** V1 error format. */
55209
55361
  "$.xgafv"?: string;
@@ -55784,7 +55936,7 @@ declare namespace gapi.client {
55784
55936
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
55785
55937
  userIp?: string;
55786
55938
  }): Request<Operation>;
55787
- /** Returns the specified Route resource. Gets a list of available routes by making a list() request. */
55939
+ /** Returns the specified Route resource. */
55788
55940
  get(request?: {
55789
55941
  /** V1 error format. */
55790
55942
  "$.xgafv"?: string;
@@ -56530,6 +56682,8 @@ declare namespace gapi.client {
56530
56682
  quotaUser?: string;
56531
56683
  /** Name of the security policy to update. */
56532
56684
  securityPolicy: string;
56685
+ /** Indicates fields to be cleared as part of this request. */
56686
+ updateMask?: string;
56533
56687
  /** Upload protocol for media (e.g. "raw", "multipart"). */
56534
56688
  upload_protocol?: string;
56535
56689
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -56566,6 +56720,8 @@ declare namespace gapi.client {
56566
56720
  quotaUser?: string;
56567
56721
  /** Name of the security policy to update. */
56568
56722
  securityPolicy: string;
56723
+ /** Indicates fields to be cleared as part of this request. */
56724
+ updateMask?: string;
56569
56725
  /** Upload protocol for media (e.g. "raw", "multipart"). */
56570
56726
  upload_protocol?: string;
56571
56727
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -57011,6 +57167,14 @@ declare namespace gapi.client {
57011
57167
  project: string;
57012
57168
  /** 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. */
57013
57169
  quotaUser?: string;
57170
+ /**
57171
+ * This flag determines how to change the status of consumer connections, when the connection policy for the corresponding project or network is modified. If the flag is false, the
57172
+ * default case, then existing ACCEPTED and REJECTED consumer connections stay in that state. For example, even if the project is removed from the accept list, existing ACCEPTED
57173
+ * connections will stay the same. If the flag is true, then the connection can change from ACCEPTED or REJECTED to pending when the connection policy is modified. For example, if
57174
+ * a project is removed from the reject list, its existing REJECTED connections will move to the PENDING state. If the project is also added to the accept list, then those
57175
+ * connections will move to the ACCEPTED state.
57176
+ */
57177
+ reconcileConnections?: boolean;
57014
57178
  /** The region scoping this request and should conform to RFC1035. */
57015
57179
  region: string;
57016
57180
  /**
@@ -57052,6 +57216,14 @@ declare namespace gapi.client {
57052
57216
  project: string;
57053
57217
  /** 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. */
57054
57218
  quotaUser?: string;
57219
+ /**
57220
+ * This flag determines how to change the status of consumer connections, when the connection policy for the corresponding project or network is modified. If the flag is false, the
57221
+ * default case, then existing ACCEPTED and REJECTED consumer connections stay in that state. For example, even if the project is removed from the accept list, existing ACCEPTED
57222
+ * connections will stay the same. If the flag is true, then the connection can change from ACCEPTED or REJECTED to pending when the connection policy is modified. For example, if
57223
+ * a project is removed from the reject list, its existing REJECTED connections will move to the PENDING state. If the project is also added to the accept list, then those
57224
+ * connections will move to the ACCEPTED state.
57225
+ */
57226
+ reconcileConnections?: boolean;
57055
57227
  /** The region scoping this request and should conform to RFC1035. */
57056
57228
  region: string;
57057
57229
  /**
@@ -57182,7 +57354,7 @@ declare namespace gapi.client {
57182
57354
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57183
57355
  userIp?: string;
57184
57356
  }): Request<Operation>;
57185
- /** Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request. */
57357
+ /** Returns the specified Snapshot resource. */
57186
57358
  get(request?: {
57187
57359
  /** V1 error format. */
57188
57360
  "$.xgafv"?: string;
@@ -57585,7 +57757,7 @@ declare namespace gapi.client {
57585
57757
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57586
57758
  userIp?: string;
57587
57759
  }): Request<Operation>;
57588
- /** Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request. */
57760
+ /** Returns the specified SslCertificate resource. */
57589
57761
  get(request?: {
57590
57762
  /** V1 error format. */
57591
57763
  "$.xgafv"?: string;
@@ -57919,7 +58091,7 @@ declare namespace gapi.client {
57919
58091
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57920
58092
  userIp?: string;
57921
58093
  }): Request<SslPolicy>;
57922
- /** Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request. */
58094
+ /** Returns the specified SSL policy resource. */
57923
58095
  insert(request: {
57924
58096
  /** V1 error format. */
57925
58097
  "$.xgafv"?: string;
@@ -58413,7 +58585,7 @@ declare namespace gapi.client {
58413
58585
  userIp?: string;
58414
58586
  },
58415
58587
  body: SubnetworksExpandIpCidrRangeRequest): Request<Operation>;
58416
- /** Returns the specified subnetwork. Gets a list of available subnetworks list() request. */
58588
+ /** Returns the specified subnetwork. */
58417
58589
  get(request?: {
58418
58590
  /** V1 error format. */
58419
58591
  "$.xgafv"?: string;
@@ -59354,7 +59526,7 @@ declare namespace gapi.client {
59354
59526
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
59355
59527
  userIp?: string;
59356
59528
  }): Request<Operation>;
59357
- /** Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request. */
59529
+ /** Returns the specified TargetHttpProxy resource. */
59358
59530
  get(request?: {
59359
59531
  /** V1 error format. */
59360
59532
  "$.xgafv"?: string;
@@ -59813,7 +59985,7 @@ declare namespace gapi.client {
59813
59985
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
59814
59986
  userIp?: string;
59815
59987
  }): Request<Operation>;
59816
- /** Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request. */
59988
+ /** Returns the specified TargetHttpsProxy resource. */
59817
59989
  get(request?: {
59818
59990
  /** V1 error format. */
59819
59991
  "$.xgafv"?: string;
@@ -60589,7 +60761,7 @@ declare namespace gapi.client {
60589
60761
  /** Name of the zone scoping this request. */
60590
60762
  zone: string;
60591
60763
  }): Request<Operation>;
60592
- /** Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request. */
60764
+ /** Returns the specified TargetInstance resource. */
60593
60765
  get(request?: {
60594
60766
  /** V1 error format. */
60595
60767
  "$.xgafv"?: string;
@@ -61068,7 +61240,7 @@ declare namespace gapi.client {
61068
61240
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
61069
61241
  userIp?: string;
61070
61242
  }): Request<Operation>;
61071
- /** Returns the specified target pool. Gets a list of available target pools by making a list() request. */
61243
+ /** Returns the specified target pool. */
61072
61244
  get(request?: {
61073
61245
  /** V1 error format. */
61074
61246
  "$.xgafv"?: string;
@@ -61633,7 +61805,7 @@ declare namespace gapi.client {
61633
61805
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
61634
61806
  userIp?: string;
61635
61807
  }): Request<Operation>;
61636
- /** Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request. */
61808
+ /** Returns the specified TargetSslProxy resource. */
61637
61809
  get(request?: {
61638
61810
  /** V1 error format. */
61639
61811
  "$.xgafv"?: string;
@@ -62329,7 +62501,7 @@ declare namespace gapi.client {
62329
62501
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
62330
62502
  userIp?: string;
62331
62503
  }): Request<Operation>;
62332
- /** Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request. */
62504
+ /** Returns the specified TargetTcpProxy resource. */
62333
62505
  get(request?: {
62334
62506
  /** V1 error format. */
62335
62507
  "$.xgafv"?: string;
@@ -62790,7 +62962,7 @@ declare namespace gapi.client {
62790
62962
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
62791
62963
  userIp?: string;
62792
62964
  }): Request<Operation>;
62793
- /** Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request. */
62965
+ /** Returns the specified target VPN gateway. */
62794
62966
  get(request?: {
62795
62967
  /** V1 error format. */
62796
62968
  "$.xgafv"?: string;
@@ -63144,7 +63316,7 @@ declare namespace gapi.client {
63144
63316
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
63145
63317
  userIp?: string;
63146
63318
  }): Request<Operation>;
63147
- /** Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. */
63319
+ /** Returns the specified UrlMap resource. */
63148
63320
  get(request?: {
63149
63321
  /** V1 error format. */
63150
63322
  "$.xgafv"?: string;
@@ -63750,7 +63922,7 @@ declare namespace gapi.client {
63750
63922
  /** Name of the VPN gateway to delete. */
63751
63923
  vpnGateway: string;
63752
63924
  }): Request<Operation>;
63753
- /** Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request. */
63925
+ /** Returns the specified VPN gateway. */
63754
63926
  get(request?: {
63755
63927
  /** V1 error format. */
63756
63928
  "$.xgafv"?: string;
@@ -64139,7 +64311,7 @@ declare namespace gapi.client {
64139
64311
  /** Name of the VpnTunnel resource to delete. */
64140
64312
  vpnTunnel: string;
64141
64313
  }): Request<Operation>;
64142
- /** Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request. */
64314
+ /** Returns the specified VpnTunnel resource. */
64143
64315
  get(request?: {
64144
64316
  /** V1 error format. */
64145
64317
  "$.xgafv"?: string;
@@ -64881,7 +65053,7 @@ declare namespace gapi.client {
64881
65053
  }): Request<QueuedResourceList>;
64882
65054
  }
64883
65055
  interface ZonesResource {
64884
- /** Returns the specified Zone resource. Gets a list of available zones by making a list() request. */
65056
+ /** Returns the specified Zone resource. */
64885
65057
  get(request?: {
64886
65058
  /** V1 error format. */
64887
65059
  "$.xgafv"?: string;
@@ -65026,6 +65198,8 @@ declare namespace gapi.client {
65026
65198
 
65027
65199
  const instanceGroups: InstanceGroupsResource;
65028
65200
 
65201
+ const instanceSettings: InstanceSettingsResource;
65202
+
65029
65203
  const instanceTemplates: InstanceTemplatesResource;
65030
65204
 
65031
65205
  const instances: InstancesResource;