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

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 +239 -70
  2. package/package.json +1 -1
  3. package/readme.md +56 -46
  4. package/tests.ts +119 -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: 20230221
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. */
@@ -6181,6 +6182,19 @@ declare namespace gapi.client {
6181
6182
  /** Resource policies to be added to this instance. */
6182
6183
  resourcePolicies?: string[];
6183
6184
  }
6185
+ interface InstanceSettings {
6186
+ /** Email address of the service account. */
6187
+ email?: string;
6188
+ /** [Output Only] Type of the resource. Always compute#instance_settings for instance settings. */
6189
+ kind?: string;
6190
+ /**
6191
+ * 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
6192
+ * example, the following is a valid partial url to a predefined machine type: machineTypes/n2-standard-1
6193
+ */
6194
+ machineType?: string;
6195
+ /** [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. */
6196
+ zone?: string;
6197
+ }
6184
6198
  interface InstancesGetEffectiveFirewallsResponse {
6185
6199
  /** Effective firewalls from firewall policies. */
6186
6200
  firewallPolicys?: InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy[];
@@ -6670,7 +6684,7 @@ declare namespace gapi.client {
6670
6684
  remoteLocation?: string;
6671
6685
  /** Target number of physical links in the link bundle, as requested by the customer. */
6672
6686
  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. */
6687
+ /** [Output Only] Reserved for future use. */
6674
6688
  satisfiesPzs?: boolean;
6675
6689
  /** [Output Only] Server-defined URL for the resource. */
6676
6690
  selfLink?: string;
@@ -6806,7 +6820,7 @@ declare namespace gapi.client {
6806
6820
  * the Interconnect to the network & region within which the Cloud Router is configured.
6807
6821
  */
6808
6822
  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. */
6823
+ /** [Output Only] Reserved for future use. */
6810
6824
  satisfiesPzs?: boolean;
6811
6825
  /** [Output Only] Server-defined URL for the resource. */
6812
6826
  selfLink?: string;
@@ -7119,7 +7133,7 @@ declare namespace gapi.client {
7119
7133
  * new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
7120
7134
  */
7121
7135
  status?: string;
7122
- /** [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present. */
7136
+ /** [Output Only] Reserved for future use. */
7123
7137
  supportsPzs?: boolean;
7124
7138
  }
7125
7139
  interface InterconnectLocationList {
@@ -8592,7 +8606,7 @@ declare namespace gapi.client {
8592
8606
  ipv6AccessType?: string;
8593
8607
  /**
8594
8608
  * 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.
8609
+ * Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
8596
8610
  */
8597
8611
  ipv6Address?: string;
8598
8612
  /** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */
@@ -9049,10 +9063,7 @@ declare namespace gapi.client {
9049
9063
  nodeAffinityLabels?: { [P in string]: string };
9050
9064
  /** The node type to use for nodes group that are created from this template. */
9051
9065
  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
- */
9066
+ /** Do not use. Instead, use the node_type property. */
9056
9067
  nodeTypeFlexibility?: NodeTemplateNodeTypeFlexibility;
9057
9068
  /** [Output Only] The name of the region where the node template resides, such as us-central1. */
9058
9069
  region?: string;
@@ -9471,6 +9482,7 @@ declare namespace gapi.client {
9471
9482
  selfLink?: string;
9472
9483
  /** [Output Only] Server-defined URL for this resource with the resource id. */
9473
9484
  selfLinkWithId?: string;
9485
+ setCommonInstanceMetadataOperationMetadata?: SetCommonInstanceMetadataOperationMetadata;
9474
9486
  /** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */
9475
9487
  startTime?: string;
9476
9488
  /** [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. */
@@ -11433,10 +11445,7 @@ declare namespace gapi.client {
11433
11445
  expirationTime?: string;
11434
11446
  /** The start time of the schedule. The timestamp is an RFC3339 string. */
11435
11447
  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
- */
11448
+ /** 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
11449
  timeZone?: string;
11441
11450
  /** Specifies the schedule for starting instances. */
11442
11451
  vmStartSchedule?: ResourcePolicyInstanceSchedulePolicySchedule;
@@ -11829,8 +11838,8 @@ declare namespace gapi.client {
11829
11838
  }
11830
11839
  interface RouterBgpPeer {
11831
11840
  /**
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
11841
+ * 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
11842
+ * 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
11843
  * 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
11844
  */
11836
11845
  advertisedGroups?: string[];
@@ -12367,6 +12376,11 @@ declare namespace gapi.client {
12367
12376
  * the preemptible option is also set.
12368
12377
  */
12369
12378
  latencyTolerant?: boolean;
12379
+ /**
12380
+ * 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
12381
+ * granularity and the default value being 1 hour.
12382
+ */
12383
+ localSsdRecoveryTimeout?: Duration;
12370
12384
  /** 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
12385
  locationHint?: string;
12372
12386
  /** Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance. */
@@ -13174,6 +13188,15 @@ declare namespace gapi.client {
13174
13188
  */
13175
13189
  plan?: string;
13176
13190
  }
13191
+ interface SetCommonInstanceMetadataOperationMetadata {
13192
+ clientOperationId?: string;
13193
+ perLocationOperations?: { [P in string]: SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo };
13194
+ }
13195
+ interface SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo {
13196
+ error?: Status;
13197
+ operation?: string;
13198
+ state?: string;
13199
+ }
13177
13200
  interface ShareSettings {
13178
13201
  /**
13179
13202
  * 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 +13849,17 @@ declare namespace gapi.client {
13826
13849
  */
13827
13850
  autoDelete?: string;
13828
13851
  }
13852
+ interface Status {
13853
+ /** The status code, which should be an enum value of google.rpc.Code. */
13854
+ code?: number;
13855
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
13856
+ details?: Array<{ [P in string]: any }>;
13857
+ /**
13858
+ * 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
13859
+ * client.
13860
+ */
13861
+ message?: string;
13862
+ }
13829
13863
  interface Subnetwork {
13830
13864
  /**
13831
13865
  * 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 +15280,11 @@ declare namespace gapi.client {
15246
15280
  interface UpcomingMaintenance {
15247
15281
  /** Indicates if the maintenance can be customer triggered. From more detail, see go/sf-ctm-design. */
15248
15282
  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. */
15283
+ /** [Output Only] The date when the maintenance will take place. This value is in RFC3339 text format. DEPRECATED: Use window_start_time instead. */
15250
15284
  date?: string;
15251
- /** [Output Only] The start time window of the maintenance disruption. */
15285
+ /** [Output Only] The start time window of the maintenance disruption. DEPRECATED: Use window_start_time instead. */
15252
15286
  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. */
15287
+ /** [Output Only] The time when the maintenance will take place. This value is in RFC3339 text format. DEPRECATED: Use window_start_time instead. */
15254
15288
  time?: string;
15255
15289
  /** Defines the type of maintenance. */
15256
15290
  type?: string;
@@ -16890,7 +16924,7 @@ declare namespace gapi.client {
16890
16924
  /** Name of the zone for this request. */
16891
16925
  zone: string;
16892
16926
  }): Request<Operation>;
16893
- /** Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request. */
16927
+ /** Returns the specified autoscaler resource. */
16894
16928
  get(request?: {
16895
16929
  /** V1 error format. */
16896
16930
  "$.xgafv"?: string;
@@ -17422,7 +17456,7 @@ declare namespace gapi.client {
17422
17456
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
17423
17457
  userIp?: string;
17424
17458
  }): Request<Operation>;
17425
- /** Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request. */
17459
+ /** Returns the specified BackendBucket resource. */
17426
17460
  get(request?: {
17427
17461
  /** V1 error format. */
17428
17462
  "$.xgafv"?: string;
@@ -18142,7 +18176,7 @@ declare namespace gapi.client {
18142
18176
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
18143
18177
  userIp?: string;
18144
18178
  }): Request<Operation>;
18145
- /** Returns the specified BackendService resource. Gets a list of available backend services. */
18179
+ /** Returns the specified BackendService resource. */
18146
18180
  get(request?: {
18147
18181
  /** V1 error format. */
18148
18182
  "$.xgafv"?: string;
@@ -19141,7 +19175,7 @@ declare namespace gapi.client {
19141
19175
  /** The name of the zone for this request. */
19142
19176
  zone: string;
19143
19177
  }): Request<Operation>;
19144
- /** Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request. */
19178
+ /** Returns the specified persistent disk. */
19145
19179
  get(request?: {
19146
19180
  /** V1 error format. */
19147
19181
  "$.xgafv"?: string;
@@ -20030,7 +20064,7 @@ declare namespace gapi.client {
20030
20064
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
20031
20065
  userIp?: string;
20032
20066
  }): Request<DiskTypeAggregatedList>;
20033
- /** Returns the specified disk type. Gets a list of available disk types by making a list() request. */
20067
+ /** Returns the specified disk type. */
20034
20068
  get(request?: {
20035
20069
  /** V1 error format. */
20036
20070
  "$.xgafv"?: string;
@@ -20869,7 +20903,7 @@ declare namespace gapi.client {
20869
20903
  orderBy?: string;
20870
20904
  /** 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
20905
  pageToken?: string;
20872
- /** Parent ID for this request. */
20906
+ /** 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
20907
  parentId?: string;
20874
20908
  /** Returns response with indentations and line breaks. */
20875
20909
  prettyPrint?: boolean;
@@ -20931,7 +20965,10 @@ declare namespace gapi.client {
20931
20965
  key?: string;
20932
20966
  /** OAuth 2.0 token for the current user. */
20933
20967
  oauth_token?: string;
20934
- /** The new parent of the firewall policy. */
20968
+ /**
20969
+ * 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
20970
+ * organization.
20971
+ */
20935
20972
  parentId?: string;
20936
20973
  /** Returns response with indentations and line breaks. */
20937
20974
  prettyPrint?: boolean;
@@ -22607,7 +22644,7 @@ declare namespace gapi.client {
22607
22644
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
22608
22645
  userIp?: string;
22609
22646
  }): Request<Operation>;
22610
- /** Returns the specified address resource. Gets a list of available addresses by making a list() request. */
22647
+ /** Returns the specified address resource. */
22611
22648
  get(request?: {
22612
22649
  /** V1 error format. */
22613
22650
  "$.xgafv"?: string;
@@ -23569,7 +23606,7 @@ declare namespace gapi.client {
23569
23606
  userIp?: string;
23570
23607
  },
23571
23608
  body: GlobalNetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
23572
- /** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
23609
+ /** Returns the specified network endpoint group. */
23573
23610
  get(request?: {
23574
23611
  /** V1 error format. */
23575
23612
  "$.xgafv"?: string;
@@ -24539,7 +24576,7 @@ declare namespace gapi.client {
24539
24576
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
24540
24577
  userIp?: string;
24541
24578
  }): Request<Operation>;
24542
- /** Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. */
24579
+ /** Returns the specified HealthCheck resource. */
24543
24580
  get(request?: {
24544
24581
  /** V1 error format. */
24545
24582
  "$.xgafv"?: string;
@@ -24935,7 +24972,7 @@ declare namespace gapi.client {
24935
24972
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
24936
24973
  userIp?: string;
24937
24974
  }): Request<Operation>;
24938
- /** Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request. */
24975
+ /** Returns the specified HttpHealthCheck resource. */
24939
24976
  get(request?: {
24940
24977
  /** V1 error format. */
24941
24978
  "$.xgafv"?: string;
@@ -25331,7 +25368,7 @@ declare namespace gapi.client {
25331
25368
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
25332
25369
  userIp?: string;
25333
25370
  }): Request<Operation>;
25334
- /** Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request. */
25371
+ /** Returns the specified HttpsHealthCheck resource. */
25335
25372
  get(request?: {
25336
25373
  /** V1 error format. */
25337
25374
  "$.xgafv"?: string;
@@ -25840,7 +25877,7 @@ declare namespace gapi.client {
25840
25877
  userIp?: string;
25841
25878
  },
25842
25879
  body: DeprecationStatus): Request<Operation>;
25843
- /** Returns the specified image. Gets a list of available images by making a list() request. */
25880
+ /** Returns the specified image. */
25844
25881
  get(request?: {
25845
25882
  /** V1 error format. */
25846
25883
  "$.xgafv"?: string;
@@ -26987,7 +27024,7 @@ declare namespace gapi.client {
26987
27024
  zone: string;
26988
27025
  },
26989
27026
  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. */
27027
+ /** Returns all of the details about the specified managed instance group. */
26991
27028
  get(request?: {
26992
27029
  /** V1 error format. */
26993
27030
  "$.xgafv"?: string;
@@ -29817,7 +29854,7 @@ declare namespace gapi.client {
29817
29854
  /** The name of the zone for this request. */
29818
29855
  zone: string;
29819
29856
  }): Request<Operation>;
29820
- /** Returns the specified Instance resource. Gets a list of available instances by making a list() request. */
29857
+ /** Returns the specified Instance resource. */
29821
29858
  get(request?: {
29822
29859
  /** V1 error format. */
29823
29860
  "$.xgafv"?: string;
@@ -32471,6 +32508,121 @@ declare namespace gapi.client {
32471
32508
  },
32472
32509
  body: ShieldedVmConfig): Request<Operation>;
32473
32510
  }
32511
+ interface InstanceSettingsResource {
32512
+ /** Get Instance settings. */
32513
+ get(request?: {
32514
+ /** V1 error format. */
32515
+ "$.xgafv"?: string;
32516
+ /** OAuth access token. */
32517
+ access_token?: string;
32518
+ /** Data format for response. */
32519
+ alt?: string;
32520
+ /** JSONP */
32521
+ callback?: string;
32522
+ /** Selector specifying which fields to include in a partial response. */
32523
+ fields?: string;
32524
+ /** 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. */
32525
+ key?: string;
32526
+ /** OAuth 2.0 token for the current user. */
32527
+ oauth_token?: string;
32528
+ /** Returns response with indentations and line breaks. */
32529
+ prettyPrint?: boolean;
32530
+ /** Project ID for this request. */
32531
+ project: string;
32532
+ /** 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. */
32533
+ quotaUser?: string;
32534
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32535
+ upload_protocol?: string;
32536
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32537
+ uploadType?: string;
32538
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32539
+ userIp?: string;
32540
+ /** Name of the zone for this request. */
32541
+ zone: string;
32542
+ }): Request<InstanceSettings>;
32543
+ /** Patch Instance settings */
32544
+ patch(request: {
32545
+ /** V1 error format. */
32546
+ "$.xgafv"?: string;
32547
+ /** OAuth access token. */
32548
+ access_token?: string;
32549
+ /** Data format for response. */
32550
+ alt?: string;
32551
+ /** JSONP */
32552
+ callback?: string;
32553
+ /** Selector specifying which fields to include in a partial response. */
32554
+ fields?: string;
32555
+ /** 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. */
32556
+ key?: string;
32557
+ /** OAuth 2.0 token for the current user. */
32558
+ oauth_token?: string;
32559
+ /** Returns response with indentations and line breaks. */
32560
+ prettyPrint?: boolean;
32561
+ /** Project ID for this request. */
32562
+ project: string;
32563
+ /** 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. */
32564
+ quotaUser?: string;
32565
+ /**
32566
+ * 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
32567
+ * 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
32568
+ * 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
32569
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
32570
+ */
32571
+ requestId?: string;
32572
+ /** update_mask indicates fields to be updated as part of this request. */
32573
+ updateMask?: string;
32574
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32575
+ upload_protocol?: string;
32576
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32577
+ uploadType?: string;
32578
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32579
+ userIp?: string;
32580
+ /** The zone scoping this request. It should conform to RFC1035. */
32581
+ zone: string;
32582
+ /** Request body */
32583
+ resource: InstanceSettings;
32584
+ }): Request<Operation>;
32585
+ patch(request: {
32586
+ /** V1 error format. */
32587
+ "$.xgafv"?: string;
32588
+ /** OAuth access token. */
32589
+ access_token?: string;
32590
+ /** Data format for response. */
32591
+ alt?: string;
32592
+ /** JSONP */
32593
+ callback?: string;
32594
+ /** Selector specifying which fields to include in a partial response. */
32595
+ fields?: string;
32596
+ /** 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. */
32597
+ key?: string;
32598
+ /** OAuth 2.0 token for the current user. */
32599
+ oauth_token?: string;
32600
+ /** Returns response with indentations and line breaks. */
32601
+ prettyPrint?: boolean;
32602
+ /** Project ID for this request. */
32603
+ project: string;
32604
+ /** 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. */
32605
+ quotaUser?: string;
32606
+ /**
32607
+ * 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
32608
+ * 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
32609
+ * 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
32610
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
32611
+ */
32612
+ requestId?: string;
32613
+ /** update_mask indicates fields to be updated as part of this request. */
32614
+ updateMask?: string;
32615
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32616
+ upload_protocol?: string;
32617
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32618
+ uploadType?: string;
32619
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32620
+ userIp?: string;
32621
+ /** The zone scoping this request. It should conform to RFC1035. */
32622
+ zone: string;
32623
+ },
32624
+ body: InstanceSettings): Request<Operation>;
32625
+ }
32474
32626
  interface InstanceTemplatesResource {
32475
32627
  /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
32476
32628
  aggregatedList(request?: {
@@ -32579,7 +32731,7 @@ declare namespace gapi.client {
32579
32731
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
32580
32732
  userIp?: string;
32581
32733
  }): Request<Operation>;
32582
- /** Returns the specified instance template. Gets a list of available instance templates by making a list() request. */
32734
+ /** Returns the specified instance template. */
32583
32735
  get(request?: {
32584
32736
  /** V1 error format. */
32585
32737
  "$.xgafv"?: string;
@@ -35081,7 +35233,7 @@ declare namespace gapi.client {
35081
35233
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
35082
35234
  userIp?: string;
35083
35235
  }): Request<Operation>;
35084
- /** Returns the specified machine image. Gets a list of available machine images by making a list() request. */
35236
+ /** Returns the specified machine image. */
35085
35237
  get(request?: {
35086
35238
  /** V1 error format. */
35087
35239
  "$.xgafv"?: string;
@@ -35418,7 +35570,7 @@ declare namespace gapi.client {
35418
35570
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
35419
35571
  userIp?: string;
35420
35572
  }): Request<MachineTypeAggregatedList>;
35421
- /** Returns the specified machine type. Gets a list of available machine types by making a list() request. */
35573
+ /** Returns the specified machine type. */
35422
35574
  get(request?: {
35423
35575
  /** V1 error format. */
35424
35576
  "$.xgafv"?: string;
@@ -36486,7 +36638,7 @@ declare namespace gapi.client {
36486
36638
  zone: string;
36487
36639
  },
36488
36640
  body: NetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
36489
- /** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
36641
+ /** Returns the specified network endpoint group. */
36490
36642
  get(request?: {
36491
36643
  /** V1 error format. */
36492
36644
  "$.xgafv"?: string;
@@ -37763,7 +37915,7 @@ declare namespace gapi.client {
37763
37915
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
37764
37916
  userIp?: string;
37765
37917
  }): Request<Operation>;
37766
- /** Returns the specified network. Gets a list of available networks by making a list() request. */
37918
+ /** Returns the specified network. */
37767
37919
  get(request?: {
37768
37920
  /** V1 error format. */
37769
37921
  "$.xgafv"?: string;
@@ -39440,7 +39592,7 @@ declare namespace gapi.client {
39440
39592
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
39441
39593
  userIp?: string;
39442
39594
  }): Request<Operation>;
39443
- /** Returns the specified node template. Gets a list of available node templates by making a list() request. */
39595
+ /** Returns the specified node template. */
39444
39596
  get(request?: {
39445
39597
  /** V1 error format. */
39446
39598
  "$.xgafv"?: string;
@@ -39784,7 +39936,7 @@ declare namespace gapi.client {
39784
39936
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
39785
39937
  userIp?: string;
39786
39938
  }): Request<NodeTypeAggregatedList>;
39787
- /** Returns the specified node type. Gets a list of available node types by making a list() request. */
39939
+ /** Returns the specified node type. */
39788
39940
  get(request?: {
39789
39941
  /** V1 error format. */
39790
39942
  "$.xgafv"?: string;
@@ -43868,7 +44020,7 @@ declare namespace gapi.client {
43868
44020
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
43869
44021
  userIp?: string;
43870
44022
  }): Request<CommitmentAggregatedList>;
43871
- /** Returns the specified commitment resource. Gets a list of available commitments by making a list() request. */
44023
+ /** Returns the specified commitment resource. */
43872
44024
  get(request?: {
43873
44025
  /** V1 error format. */
43874
44026
  "$.xgafv"?: string;
@@ -45362,7 +45514,7 @@ declare namespace gapi.client {
45362
45514
  body: Disk): Request<Operation>;
45363
45515
  }
45364
45516
  interface RegionDiskTypesResource {
45365
- /** Returns the specified regional disk type. Gets a list of available disk types by making a list() request. */
45517
+ /** Returns the specified regional disk type. */
45366
45518
  get(request?: {
45367
45519
  /** V1 error format. */
45368
45520
  "$.xgafv"?: string;
@@ -45499,7 +45651,7 @@ declare namespace gapi.client {
45499
45651
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
45500
45652
  userIp?: string;
45501
45653
  }): Request<Operation>;
45502
- /** Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. */
45654
+ /** Returns the specified HealthCheck resource. */
45503
45655
  get(request?: {
45504
45656
  /** V1 error format. */
45505
45657
  "$.xgafv"?: string;
@@ -48756,7 +48908,7 @@ declare namespace gapi.client {
48756
48908
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
48757
48909
  userIp?: string;
48758
48910
  }): Request<Operation>;
48759
- /** Returns the specified instance template. Gets a list of available instance templates by making a list() request. */
48911
+ /** Returns the specified instance template. */
48760
48912
  get(request?: {
48761
48913
  /** V1 error format. */
48762
48914
  "$.xgafv"?: string;
@@ -49582,7 +49734,7 @@ declare namespace gapi.client {
49582
49734
  userIp?: string;
49583
49735
  },
49584
49736
  body: RegionNetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
49585
- /** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
49737
+ /** Returns the specified network endpoint group. */
49586
49738
  get(request?: {
49587
49739
  /** V1 error format. */
49588
49740
  "$.xgafv"?: string;
@@ -51197,10 +51349,9 @@ declare namespace gapi.client {
51197
51349
  }
51198
51350
  interface RegionsResource {
51199
51351
  /**
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.
51352
+ * 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
51353
+ * 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
51354
+ * you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.
51204
51355
  */
51205
51356
  get(request?: {
51206
51357
  /** V1 error format. */
@@ -52512,7 +52663,7 @@ declare namespace gapi.client {
52512
52663
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52513
52664
  userIp?: string;
52514
52665
  }): 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. */
52666
+ /** Returns the specified TargetHttpProxy resource in the specified region. */
52516
52667
  get(request?: {
52517
52668
  /** V1 error format. */
52518
52669
  "$.xgafv"?: string;
@@ -52843,7 +52994,7 @@ declare namespace gapi.client {
52843
52994
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52844
52995
  userIp?: string;
52845
52996
  }): 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. */
52997
+ /** Returns the specified TargetHttpsProxy resource in the specified region. */
52847
52998
  get(request?: {
52848
52999
  /** V1 error format. */
52849
53000
  "$.xgafv"?: string;
@@ -53585,7 +53736,7 @@ declare namespace gapi.client {
53585
53736
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
53586
53737
  userIp?: string;
53587
53738
  }): Request<Operation>;
53588
- /** Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. */
53739
+ /** Returns the specified UrlMap resource. */
53589
53740
  get(request?: {
53590
53741
  /** V1 error format. */
53591
53742
  "$.xgafv"?: string;
@@ -55203,7 +55354,7 @@ declare namespace gapi.client {
55203
55354
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
55204
55355
  userIp?: string;
55205
55356
  }): Request<Operation>;
55206
- /** Returns the specified Router resource. Gets a list of available routers by making a list() request. */
55357
+ /** Returns the specified Router resource. */
55207
55358
  get(request?: {
55208
55359
  /** V1 error format. */
55209
55360
  "$.xgafv"?: string;
@@ -55784,7 +55935,7 @@ declare namespace gapi.client {
55784
55935
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
55785
55936
  userIp?: string;
55786
55937
  }): Request<Operation>;
55787
- /** Returns the specified Route resource. Gets a list of available routes by making a list() request. */
55938
+ /** Returns the specified Route resource. */
55788
55939
  get(request?: {
55789
55940
  /** V1 error format. */
55790
55941
  "$.xgafv"?: string;
@@ -57011,6 +57162,14 @@ declare namespace gapi.client {
57011
57162
  project: string;
57012
57163
  /** 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
57164
  quotaUser?: string;
57165
+ /**
57166
+ * 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
57167
+ * 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
57168
+ * 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
57169
+ * 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
57170
+ * connections will move to the ACCEPTED state.
57171
+ */
57172
+ reconcileConnections?: boolean;
57014
57173
  /** The region scoping this request and should conform to RFC1035. */
57015
57174
  region: string;
57016
57175
  /**
@@ -57052,6 +57211,14 @@ declare namespace gapi.client {
57052
57211
  project: string;
57053
57212
  /** 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
57213
  quotaUser?: string;
57214
+ /**
57215
+ * 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
57216
+ * 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
57217
+ * 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
57218
+ * 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
57219
+ * connections will move to the ACCEPTED state.
57220
+ */
57221
+ reconcileConnections?: boolean;
57055
57222
  /** The region scoping this request and should conform to RFC1035. */
57056
57223
  region: string;
57057
57224
  /**
@@ -57182,7 +57349,7 @@ declare namespace gapi.client {
57182
57349
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57183
57350
  userIp?: string;
57184
57351
  }): Request<Operation>;
57185
- /** Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request. */
57352
+ /** Returns the specified Snapshot resource. */
57186
57353
  get(request?: {
57187
57354
  /** V1 error format. */
57188
57355
  "$.xgafv"?: string;
@@ -57585,7 +57752,7 @@ declare namespace gapi.client {
57585
57752
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57586
57753
  userIp?: string;
57587
57754
  }): Request<Operation>;
57588
- /** Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request. */
57755
+ /** Returns the specified SslCertificate resource. */
57589
57756
  get(request?: {
57590
57757
  /** V1 error format. */
57591
57758
  "$.xgafv"?: string;
@@ -57919,7 +58086,7 @@ declare namespace gapi.client {
57919
58086
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57920
58087
  userIp?: string;
57921
58088
  }): Request<SslPolicy>;
57922
- /** Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request. */
58089
+ /** Returns the specified SSL policy resource. */
57923
58090
  insert(request: {
57924
58091
  /** V1 error format. */
57925
58092
  "$.xgafv"?: string;
@@ -58413,7 +58580,7 @@ declare namespace gapi.client {
58413
58580
  userIp?: string;
58414
58581
  },
58415
58582
  body: SubnetworksExpandIpCidrRangeRequest): Request<Operation>;
58416
- /** Returns the specified subnetwork. Gets a list of available subnetworks list() request. */
58583
+ /** Returns the specified subnetwork. */
58417
58584
  get(request?: {
58418
58585
  /** V1 error format. */
58419
58586
  "$.xgafv"?: string;
@@ -59354,7 +59521,7 @@ declare namespace gapi.client {
59354
59521
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
59355
59522
  userIp?: string;
59356
59523
  }): Request<Operation>;
59357
- /** Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request. */
59524
+ /** Returns the specified TargetHttpProxy resource. */
59358
59525
  get(request?: {
59359
59526
  /** V1 error format. */
59360
59527
  "$.xgafv"?: string;
@@ -59813,7 +59980,7 @@ declare namespace gapi.client {
59813
59980
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
59814
59981
  userIp?: string;
59815
59982
  }): Request<Operation>;
59816
- /** Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request. */
59983
+ /** Returns the specified TargetHttpsProxy resource. */
59817
59984
  get(request?: {
59818
59985
  /** V1 error format. */
59819
59986
  "$.xgafv"?: string;
@@ -60589,7 +60756,7 @@ declare namespace gapi.client {
60589
60756
  /** Name of the zone scoping this request. */
60590
60757
  zone: string;
60591
60758
  }): Request<Operation>;
60592
- /** Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request. */
60759
+ /** Returns the specified TargetInstance resource. */
60593
60760
  get(request?: {
60594
60761
  /** V1 error format. */
60595
60762
  "$.xgafv"?: string;
@@ -61068,7 +61235,7 @@ declare namespace gapi.client {
61068
61235
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
61069
61236
  userIp?: string;
61070
61237
  }): Request<Operation>;
61071
- /** Returns the specified target pool. Gets a list of available target pools by making a list() request. */
61238
+ /** Returns the specified target pool. */
61072
61239
  get(request?: {
61073
61240
  /** V1 error format. */
61074
61241
  "$.xgafv"?: string;
@@ -61633,7 +61800,7 @@ declare namespace gapi.client {
61633
61800
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
61634
61801
  userIp?: string;
61635
61802
  }): Request<Operation>;
61636
- /** Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request. */
61803
+ /** Returns the specified TargetSslProxy resource. */
61637
61804
  get(request?: {
61638
61805
  /** V1 error format. */
61639
61806
  "$.xgafv"?: string;
@@ -62329,7 +62496,7 @@ declare namespace gapi.client {
62329
62496
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
62330
62497
  userIp?: string;
62331
62498
  }): Request<Operation>;
62332
- /** Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request. */
62499
+ /** Returns the specified TargetTcpProxy resource. */
62333
62500
  get(request?: {
62334
62501
  /** V1 error format. */
62335
62502
  "$.xgafv"?: string;
@@ -62790,7 +62957,7 @@ declare namespace gapi.client {
62790
62957
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
62791
62958
  userIp?: string;
62792
62959
  }): Request<Operation>;
62793
- /** Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request. */
62960
+ /** Returns the specified target VPN gateway. */
62794
62961
  get(request?: {
62795
62962
  /** V1 error format. */
62796
62963
  "$.xgafv"?: string;
@@ -63144,7 +63311,7 @@ declare namespace gapi.client {
63144
63311
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
63145
63312
  userIp?: string;
63146
63313
  }): Request<Operation>;
63147
- /** Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. */
63314
+ /** Returns the specified UrlMap resource. */
63148
63315
  get(request?: {
63149
63316
  /** V1 error format. */
63150
63317
  "$.xgafv"?: string;
@@ -63750,7 +63917,7 @@ declare namespace gapi.client {
63750
63917
  /** Name of the VPN gateway to delete. */
63751
63918
  vpnGateway: string;
63752
63919
  }): Request<Operation>;
63753
- /** Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request. */
63920
+ /** Returns the specified VPN gateway. */
63754
63921
  get(request?: {
63755
63922
  /** V1 error format. */
63756
63923
  "$.xgafv"?: string;
@@ -64139,7 +64306,7 @@ declare namespace gapi.client {
64139
64306
  /** Name of the VpnTunnel resource to delete. */
64140
64307
  vpnTunnel: string;
64141
64308
  }): Request<Operation>;
64142
- /** Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request. */
64309
+ /** Returns the specified VpnTunnel resource. */
64143
64310
  get(request?: {
64144
64311
  /** V1 error format. */
64145
64312
  "$.xgafv"?: string;
@@ -64881,7 +65048,7 @@ declare namespace gapi.client {
64881
65048
  }): Request<QueuedResourceList>;
64882
65049
  }
64883
65050
  interface ZonesResource {
64884
- /** Returns the specified Zone resource. Gets a list of available zones by making a list() request. */
65051
+ /** Returns the specified Zone resource. */
64885
65052
  get(request?: {
64886
65053
  /** V1 error format. */
64887
65054
  "$.xgafv"?: string;
@@ -65026,6 +65193,8 @@ declare namespace gapi.client {
65026
65193
 
65027
65194
  const instanceGroups: InstanceGroupsResource;
65028
65195
 
65196
+ const instanceSettings: InstanceSettingsResource;
65197
+
65029
65198
  const instanceTemplates: InstanceTemplatesResource;
65030
65199
 
65031
65200
  const instances: InstancesResource;