@maxim_mazurok/gapi.client.compute-alpha 0.0.20230201 → 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 +244 -74
  2. package/package.json +1 -1
  3. package/readme.md +57 -47
  4. package/tests.ts +120 -50
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: 20230201
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. */
@@ -4764,8 +4765,9 @@ declare namespace gapi.client {
4764
4765
  /** Size of the image when restored onto a persistent disk (in GB). */
4765
4766
  diskSizeGb?: string;
4766
4767
  /**
4767
- * The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its
4768
- * latest image that is not deprecated. The name of the image family must comply with RFC1035.
4768
+ * The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family
4769
+ * you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image
4770
+ * family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
4769
4771
  */
4770
4772
  family?: string;
4771
4773
  /** A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter. */
@@ -6180,6 +6182,19 @@ declare namespace gapi.client {
6180
6182
  /** Resource policies to be added to this instance. */
6181
6183
  resourcePolicies?: string[];
6182
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
+ }
6183
6198
  interface InstancesGetEffectiveFirewallsResponse {
6184
6199
  /** Effective firewalls from firewall policies. */
6185
6200
  firewallPolicys?: InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy[];
@@ -6669,7 +6684,7 @@ declare namespace gapi.client {
6669
6684
  remoteLocation?: string;
6670
6685
  /** Target number of physical links in the link bundle, as requested by the customer. */
6671
6686
  requestedLinkCount?: number;
6672
- /** [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. */
6673
6688
  satisfiesPzs?: boolean;
6674
6689
  /** [Output Only] Server-defined URL for the resource. */
6675
6690
  selfLink?: string;
@@ -6805,7 +6820,7 @@ declare namespace gapi.client {
6805
6820
  * the Interconnect to the network & region within which the Cloud Router is configured.
6806
6821
  */
6807
6822
  router?: string;
6808
- /** [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. */
6809
6824
  satisfiesPzs?: boolean;
6810
6825
  /** [Output Only] Server-defined URL for the resource. */
6811
6826
  selfLink?: string;
@@ -7118,7 +7133,7 @@ declare namespace gapi.client {
7118
7133
  * new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
7119
7134
  */
7120
7135
  status?: string;
7121
- /** [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. */
7122
7137
  supportsPzs?: boolean;
7123
7138
  }
7124
7139
  interface InterconnectLocationList {
@@ -8591,7 +8606,7 @@ declare namespace gapi.client {
8591
8606
  ipv6AccessType?: string;
8592
8607
  /**
8593
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,
8594
- * 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.
8595
8610
  */
8596
8611
  ipv6Address?: string;
8597
8612
  /** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */
@@ -9048,10 +9063,7 @@ declare namespace gapi.client {
9048
9063
  nodeAffinityLabels?: { [P in string]: string };
9049
9064
  /** The node type to use for nodes group that are created from this template. */
9050
9065
  nodeType?: string;
9051
- /**
9052
- * 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
9053
- * with the node_type property; you can only define one or the other, but not both.
9054
- */
9066
+ /** Do not use. Instead, use the node_type property. */
9055
9067
  nodeTypeFlexibility?: NodeTemplateNodeTypeFlexibility;
9056
9068
  /** [Output Only] The name of the region where the node template resides, such as us-central1. */
9057
9069
  region?: string;
@@ -9470,6 +9482,7 @@ declare namespace gapi.client {
9470
9482
  selfLink?: string;
9471
9483
  /** [Output Only] Server-defined URL for this resource with the resource id. */
9472
9484
  selfLinkWithId?: string;
9485
+ setCommonInstanceMetadataOperationMetadata?: SetCommonInstanceMetadataOperationMetadata;
9473
9486
  /** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */
9474
9487
  startTime?: string;
9475
9488
  /** [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. */
@@ -11432,10 +11445,7 @@ declare namespace gapi.client {
11432
11445
  expirationTime?: string;
11433
11446
  /** The start time of the schedule. The timestamp is an RFC3339 string. */
11434
11447
  startTime?: string;
11435
- /**
11436
- * 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:
11437
- * http://en.wikipedia.org/wiki/Tz_database.
11438
- */
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. */
11439
11449
  timeZone?: string;
11440
11450
  /** Specifies the schedule for starting instances. */
11441
11451
  vmStartSchedule?: ResourcePolicyInstanceSchedulePolicySchedule;
@@ -11828,8 +11838,8 @@ declare namespace gapi.client {
11828
11838
  }
11829
11839
  interface RouterBgpPeer {
11830
11840
  /**
11831
- * 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
11832
- * 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
11833
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.
11834
11844
  */
11835
11845
  advertisedGroups?: string[];
@@ -12366,6 +12376,11 @@ declare namespace gapi.client {
12366
12376
  * the preemptible option is also set.
12367
12377
  */
12368
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;
12369
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. */
12370
12385
  locationHint?: string;
12371
12386
  /** Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance. */
@@ -13173,6 +13188,15 @@ declare namespace gapi.client {
13173
13188
  */
13174
13189
  plan?: string;
13175
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
+ }
13176
13200
  interface ShareSettings {
13177
13201
  /**
13178
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.
@@ -13825,6 +13849,17 @@ declare namespace gapi.client {
13825
13849
  */
13826
13850
  autoDelete?: string;
13827
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
+ }
13828
13863
  interface Subnetwork {
13829
13864
  /**
13830
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
@@ -15245,11 +15280,11 @@ declare namespace gapi.client {
15245
15280
  interface UpcomingMaintenance {
15246
15281
  /** Indicates if the maintenance can be customer triggered. From more detail, see go/sf-ctm-design. */
15247
15282
  canReschedule?: boolean;
15248
- /** [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. */
15249
15284
  date?: string;
15250
- /** [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. */
15251
15286
  startTimeWindow?: UpcomingMaintenanceTimeWindow;
15252
- /** [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. */
15253
15288
  time?: string;
15254
15289
  /** Defines the type of maintenance. */
15255
15290
  type?: string;
@@ -16889,7 +16924,7 @@ declare namespace gapi.client {
16889
16924
  /** Name of the zone for this request. */
16890
16925
  zone: string;
16891
16926
  }): Request<Operation>;
16892
- /** Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request. */
16927
+ /** Returns the specified autoscaler resource. */
16893
16928
  get(request?: {
16894
16929
  /** V1 error format. */
16895
16930
  "$.xgafv"?: string;
@@ -17421,7 +17456,7 @@ declare namespace gapi.client {
17421
17456
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
17422
17457
  userIp?: string;
17423
17458
  }): Request<Operation>;
17424
- /** Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request. */
17459
+ /** Returns the specified BackendBucket resource. */
17425
17460
  get(request?: {
17426
17461
  /** V1 error format. */
17427
17462
  "$.xgafv"?: string;
@@ -18141,7 +18176,7 @@ declare namespace gapi.client {
18141
18176
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
18142
18177
  userIp?: string;
18143
18178
  }): Request<Operation>;
18144
- /** Returns the specified BackendService resource. Gets a list of available backend services. */
18179
+ /** Returns the specified BackendService resource. */
18145
18180
  get(request?: {
18146
18181
  /** V1 error format. */
18147
18182
  "$.xgafv"?: string;
@@ -19140,7 +19175,7 @@ declare namespace gapi.client {
19140
19175
  /** The name of the zone for this request. */
19141
19176
  zone: string;
19142
19177
  }): Request<Operation>;
19143
- /** Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request. */
19178
+ /** Returns the specified persistent disk. */
19144
19179
  get(request?: {
19145
19180
  /** V1 error format. */
19146
19181
  "$.xgafv"?: string;
@@ -20029,7 +20064,7 @@ declare namespace gapi.client {
20029
20064
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
20030
20065
  userIp?: string;
20031
20066
  }): Request<DiskTypeAggregatedList>;
20032
- /** Returns the specified disk type. Gets a list of available disk types by making a list() request. */
20067
+ /** Returns the specified disk type. */
20033
20068
  get(request?: {
20034
20069
  /** V1 error format. */
20035
20070
  "$.xgafv"?: string;
@@ -20868,7 +20903,7 @@ declare namespace gapi.client {
20868
20903
  orderBy?: string;
20869
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. */
20870
20905
  pageToken?: string;
20871
- /** 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. */
20872
20907
  parentId?: string;
20873
20908
  /** Returns response with indentations and line breaks. */
20874
20909
  prettyPrint?: boolean;
@@ -20930,7 +20965,10 @@ declare namespace gapi.client {
20930
20965
  key?: string;
20931
20966
  /** OAuth 2.0 token for the current user. */
20932
20967
  oauth_token?: string;
20933
- /** 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
+ */
20934
20972
  parentId?: string;
20935
20973
  /** Returns response with indentations and line breaks. */
20936
20974
  prettyPrint?: boolean;
@@ -22606,7 +22644,7 @@ declare namespace gapi.client {
22606
22644
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
22607
22645
  userIp?: string;
22608
22646
  }): Request<Operation>;
22609
- /** Returns the specified address resource. Gets a list of available addresses by making a list() request. */
22647
+ /** Returns the specified address resource. */
22610
22648
  get(request?: {
22611
22649
  /** V1 error format. */
22612
22650
  "$.xgafv"?: string;
@@ -23568,7 +23606,7 @@ declare namespace gapi.client {
23568
23606
  userIp?: string;
23569
23607
  },
23570
23608
  body: GlobalNetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
23571
- /** 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. */
23572
23610
  get(request?: {
23573
23611
  /** V1 error format. */
23574
23612
  "$.xgafv"?: string;
@@ -24538,7 +24576,7 @@ declare namespace gapi.client {
24538
24576
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
24539
24577
  userIp?: string;
24540
24578
  }): Request<Operation>;
24541
- /** Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. */
24579
+ /** Returns the specified HealthCheck resource. */
24542
24580
  get(request?: {
24543
24581
  /** V1 error format. */
24544
24582
  "$.xgafv"?: string;
@@ -24934,7 +24972,7 @@ declare namespace gapi.client {
24934
24972
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
24935
24973
  userIp?: string;
24936
24974
  }): Request<Operation>;
24937
- /** Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request. */
24975
+ /** Returns the specified HttpHealthCheck resource. */
24938
24976
  get(request?: {
24939
24977
  /** V1 error format. */
24940
24978
  "$.xgafv"?: string;
@@ -25330,7 +25368,7 @@ declare namespace gapi.client {
25330
25368
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
25331
25369
  userIp?: string;
25332
25370
  }): Request<Operation>;
25333
- /** Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request. */
25371
+ /** Returns the specified HttpsHealthCheck resource. */
25334
25372
  get(request?: {
25335
25373
  /** V1 error format. */
25336
25374
  "$.xgafv"?: string;
@@ -25839,7 +25877,7 @@ declare namespace gapi.client {
25839
25877
  userIp?: string;
25840
25878
  },
25841
25879
  body: DeprecationStatus): Request<Operation>;
25842
- /** Returns the specified image. Gets a list of available images by making a list() request. */
25880
+ /** Returns the specified image. */
25843
25881
  get(request?: {
25844
25882
  /** V1 error format. */
25845
25883
  "$.xgafv"?: string;
@@ -25870,7 +25908,7 @@ declare namespace gapi.client {
25870
25908
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
25871
25909
  userIp?: string;
25872
25910
  }): Request<Image>;
25873
- /** Returns the latest image that is part of an image family and is not deprecated. */
25911
+ /** Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. */
25874
25912
  getFromFamily(request?: {
25875
25913
  /** V1 error format. */
25876
25914
  "$.xgafv"?: string;
@@ -25890,7 +25928,7 @@ declare namespace gapi.client {
25890
25928
  oauth_token?: string;
25891
25929
  /** Returns response with indentations and line breaks. */
25892
25930
  prettyPrint?: boolean;
25893
- /** Project ID for this request. */
25931
+ /** The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project. */
25894
25932
  project: string;
25895
25933
  /** 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. */
25896
25934
  quotaUser?: string;
@@ -26986,7 +27024,7 @@ declare namespace gapi.client {
26986
27024
  zone: string;
26987
27025
  },
26988
27026
  body: InstanceGroupManagersDeletePerInstanceConfigsReq): Request<Operation>;
26989
- /** 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. */
26990
27028
  get(request?: {
26991
27029
  /** V1 error format. */
26992
27030
  "$.xgafv"?: string;
@@ -29816,7 +29854,7 @@ declare namespace gapi.client {
29816
29854
  /** The name of the zone for this request. */
29817
29855
  zone: string;
29818
29856
  }): Request<Operation>;
29819
- /** Returns the specified Instance resource. Gets a list of available instances by making a list() request. */
29857
+ /** Returns the specified Instance resource. */
29820
29858
  get(request?: {
29821
29859
  /** V1 error format. */
29822
29860
  "$.xgafv"?: string;
@@ -32470,6 +32508,121 @@ declare namespace gapi.client {
32470
32508
  },
32471
32509
  body: ShieldedVmConfig): Request<Operation>;
32472
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
+ }
32473
32626
  interface InstanceTemplatesResource {
32474
32627
  /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
32475
32628
  aggregatedList(request?: {
@@ -32578,7 +32731,7 @@ declare namespace gapi.client {
32578
32731
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
32579
32732
  userIp?: string;
32580
32733
  }): Request<Operation>;
32581
- /** Returns the specified instance template. Gets a list of available instance templates by making a list() request. */
32734
+ /** Returns the specified instance template. */
32582
32735
  get(request?: {
32583
32736
  /** V1 error format. */
32584
32737
  "$.xgafv"?: string;
@@ -35080,7 +35233,7 @@ declare namespace gapi.client {
35080
35233
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
35081
35234
  userIp?: string;
35082
35235
  }): Request<Operation>;
35083
- /** Returns the specified machine image. Gets a list of available machine images by making a list() request. */
35236
+ /** Returns the specified machine image. */
35084
35237
  get(request?: {
35085
35238
  /** V1 error format. */
35086
35239
  "$.xgafv"?: string;
@@ -35417,7 +35570,7 @@ declare namespace gapi.client {
35417
35570
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
35418
35571
  userIp?: string;
35419
35572
  }): Request<MachineTypeAggregatedList>;
35420
- /** Returns the specified machine type. Gets a list of available machine types by making a list() request. */
35573
+ /** Returns the specified machine type. */
35421
35574
  get(request?: {
35422
35575
  /** V1 error format. */
35423
35576
  "$.xgafv"?: string;
@@ -36485,7 +36638,7 @@ declare namespace gapi.client {
36485
36638
  zone: string;
36486
36639
  },
36487
36640
  body: NetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
36488
- /** 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. */
36489
36642
  get(request?: {
36490
36643
  /** V1 error format. */
36491
36644
  "$.xgafv"?: string;
@@ -37762,7 +37915,7 @@ declare namespace gapi.client {
37762
37915
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
37763
37916
  userIp?: string;
37764
37917
  }): Request<Operation>;
37765
- /** Returns the specified network. Gets a list of available networks by making a list() request. */
37918
+ /** Returns the specified network. */
37766
37919
  get(request?: {
37767
37920
  /** V1 error format. */
37768
37921
  "$.xgafv"?: string;
@@ -39439,7 +39592,7 @@ declare namespace gapi.client {
39439
39592
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
39440
39593
  userIp?: string;
39441
39594
  }): Request<Operation>;
39442
- /** Returns the specified node template. Gets a list of available node templates by making a list() request. */
39595
+ /** Returns the specified node template. */
39443
39596
  get(request?: {
39444
39597
  /** V1 error format. */
39445
39598
  "$.xgafv"?: string;
@@ -39783,7 +39936,7 @@ declare namespace gapi.client {
39783
39936
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
39784
39937
  userIp?: string;
39785
39938
  }): Request<NodeTypeAggregatedList>;
39786
- /** Returns the specified node type. Gets a list of available node types by making a list() request. */
39939
+ /** Returns the specified node type. */
39787
39940
  get(request?: {
39788
39941
  /** V1 error format. */
39789
39942
  "$.xgafv"?: string;
@@ -43867,7 +44020,7 @@ declare namespace gapi.client {
43867
44020
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
43868
44021
  userIp?: string;
43869
44022
  }): Request<CommitmentAggregatedList>;
43870
- /** Returns the specified commitment resource. Gets a list of available commitments by making a list() request. */
44023
+ /** Returns the specified commitment resource. */
43871
44024
  get(request?: {
43872
44025
  /** V1 error format. */
43873
44026
  "$.xgafv"?: string;
@@ -45361,7 +45514,7 @@ declare namespace gapi.client {
45361
45514
  body: Disk): Request<Operation>;
45362
45515
  }
45363
45516
  interface RegionDiskTypesResource {
45364
- /** 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. */
45365
45518
  get(request?: {
45366
45519
  /** V1 error format. */
45367
45520
  "$.xgafv"?: string;
@@ -45498,7 +45651,7 @@ declare namespace gapi.client {
45498
45651
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
45499
45652
  userIp?: string;
45500
45653
  }): Request<Operation>;
45501
- /** Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. */
45654
+ /** Returns the specified HealthCheck resource. */
45502
45655
  get(request?: {
45503
45656
  /** V1 error format. */
45504
45657
  "$.xgafv"?: string;
@@ -48755,7 +48908,7 @@ declare namespace gapi.client {
48755
48908
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
48756
48909
  userIp?: string;
48757
48910
  }): Request<Operation>;
48758
- /** Returns the specified instance template. Gets a list of available instance templates by making a list() request. */
48911
+ /** Returns the specified instance template. */
48759
48912
  get(request?: {
48760
48913
  /** V1 error format. */
48761
48914
  "$.xgafv"?: string;
@@ -49581,7 +49734,7 @@ declare namespace gapi.client {
49581
49734
  userIp?: string;
49582
49735
  },
49583
49736
  body: RegionNetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
49584
- /** 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. */
49585
49738
  get(request?: {
49586
49739
  /** V1 error format. */
49587
49740
  "$.xgafv"?: string;
@@ -51196,10 +51349,9 @@ declare namespace gapi.client {
51196
51349
  }
51197
51350
  interface RegionsResource {
51198
51351
  /**
51199
- * 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
51200
- * 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
51201
- * 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
51202
- * `?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.
51203
51355
  */
51204
51356
  get(request?: {
51205
51357
  /** V1 error format. */
@@ -52511,7 +52663,7 @@ declare namespace gapi.client {
52511
52663
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52512
52664
  userIp?: string;
52513
52665
  }): Request<Operation>;
52514
- /** 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. */
52515
52667
  get(request?: {
52516
52668
  /** V1 error format. */
52517
52669
  "$.xgafv"?: string;
@@ -52842,7 +52994,7 @@ declare namespace gapi.client {
52842
52994
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52843
52995
  userIp?: string;
52844
52996
  }): Request<Operation>;
52845
- /** 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. */
52846
52998
  get(request?: {
52847
52999
  /** V1 error format. */
52848
53000
  "$.xgafv"?: string;
@@ -53584,7 +53736,7 @@ declare namespace gapi.client {
53584
53736
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
53585
53737
  userIp?: string;
53586
53738
  }): Request<Operation>;
53587
- /** Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. */
53739
+ /** Returns the specified UrlMap resource. */
53588
53740
  get(request?: {
53589
53741
  /** V1 error format. */
53590
53742
  "$.xgafv"?: string;
@@ -55202,7 +55354,7 @@ declare namespace gapi.client {
55202
55354
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
55203
55355
  userIp?: string;
55204
55356
  }): Request<Operation>;
55205
- /** Returns the specified Router resource. Gets a list of available routers by making a list() request. */
55357
+ /** Returns the specified Router resource. */
55206
55358
  get(request?: {
55207
55359
  /** V1 error format. */
55208
55360
  "$.xgafv"?: string;
@@ -55783,7 +55935,7 @@ declare namespace gapi.client {
55783
55935
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
55784
55936
  userIp?: string;
55785
55937
  }): Request<Operation>;
55786
- /** Returns the specified Route resource. Gets a list of available routes by making a list() request. */
55938
+ /** Returns the specified Route resource. */
55787
55939
  get(request?: {
55788
55940
  /** V1 error format. */
55789
55941
  "$.xgafv"?: string;
@@ -57010,6 +57162,14 @@ declare namespace gapi.client {
57010
57162
  project: string;
57011
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. */
57012
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;
57013
57173
  /** The region scoping this request and should conform to RFC1035. */
57014
57174
  region: string;
57015
57175
  /**
@@ -57051,6 +57211,14 @@ declare namespace gapi.client {
57051
57211
  project: string;
57052
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. */
57053
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;
57054
57222
  /** The region scoping this request and should conform to RFC1035. */
57055
57223
  region: string;
57056
57224
  /**
@@ -57181,7 +57349,7 @@ declare namespace gapi.client {
57181
57349
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57182
57350
  userIp?: string;
57183
57351
  }): Request<Operation>;
57184
- /** Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request. */
57352
+ /** Returns the specified Snapshot resource. */
57185
57353
  get(request?: {
57186
57354
  /** V1 error format. */
57187
57355
  "$.xgafv"?: string;
@@ -57584,7 +57752,7 @@ declare namespace gapi.client {
57584
57752
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57585
57753
  userIp?: string;
57586
57754
  }): Request<Operation>;
57587
- /** Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request. */
57755
+ /** Returns the specified SslCertificate resource. */
57588
57756
  get(request?: {
57589
57757
  /** V1 error format. */
57590
57758
  "$.xgafv"?: string;
@@ -57918,7 +58086,7 @@ declare namespace gapi.client {
57918
58086
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
57919
58087
  userIp?: string;
57920
58088
  }): Request<SslPolicy>;
57921
- /** 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. */
57922
58090
  insert(request: {
57923
58091
  /** V1 error format. */
57924
58092
  "$.xgafv"?: string;
@@ -58412,7 +58580,7 @@ declare namespace gapi.client {
58412
58580
  userIp?: string;
58413
58581
  },
58414
58582
  body: SubnetworksExpandIpCidrRangeRequest): Request<Operation>;
58415
- /** Returns the specified subnetwork. Gets a list of available subnetworks list() request. */
58583
+ /** Returns the specified subnetwork. */
58416
58584
  get(request?: {
58417
58585
  /** V1 error format. */
58418
58586
  "$.xgafv"?: string;
@@ -59353,7 +59521,7 @@ declare namespace gapi.client {
59353
59521
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
59354
59522
  userIp?: string;
59355
59523
  }): Request<Operation>;
59356
- /** Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request. */
59524
+ /** Returns the specified TargetHttpProxy resource. */
59357
59525
  get(request?: {
59358
59526
  /** V1 error format. */
59359
59527
  "$.xgafv"?: string;
@@ -59812,7 +59980,7 @@ declare namespace gapi.client {
59812
59980
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
59813
59981
  userIp?: string;
59814
59982
  }): Request<Operation>;
59815
- /** Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request. */
59983
+ /** Returns the specified TargetHttpsProxy resource. */
59816
59984
  get(request?: {
59817
59985
  /** V1 error format. */
59818
59986
  "$.xgafv"?: string;
@@ -60588,7 +60756,7 @@ declare namespace gapi.client {
60588
60756
  /** Name of the zone scoping this request. */
60589
60757
  zone: string;
60590
60758
  }): Request<Operation>;
60591
- /** Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request. */
60759
+ /** Returns the specified TargetInstance resource. */
60592
60760
  get(request?: {
60593
60761
  /** V1 error format. */
60594
60762
  "$.xgafv"?: string;
@@ -61067,7 +61235,7 @@ declare namespace gapi.client {
61067
61235
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
61068
61236
  userIp?: string;
61069
61237
  }): Request<Operation>;
61070
- /** Returns the specified target pool. Gets a list of available target pools by making a list() request. */
61238
+ /** Returns the specified target pool. */
61071
61239
  get(request?: {
61072
61240
  /** V1 error format. */
61073
61241
  "$.xgafv"?: string;
@@ -61632,7 +61800,7 @@ declare namespace gapi.client {
61632
61800
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
61633
61801
  userIp?: string;
61634
61802
  }): Request<Operation>;
61635
- /** Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request. */
61803
+ /** Returns the specified TargetSslProxy resource. */
61636
61804
  get(request?: {
61637
61805
  /** V1 error format. */
61638
61806
  "$.xgafv"?: string;
@@ -62328,7 +62496,7 @@ declare namespace gapi.client {
62328
62496
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
62329
62497
  userIp?: string;
62330
62498
  }): Request<Operation>;
62331
- /** Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request. */
62499
+ /** Returns the specified TargetTcpProxy resource. */
62332
62500
  get(request?: {
62333
62501
  /** V1 error format. */
62334
62502
  "$.xgafv"?: string;
@@ -62789,7 +62957,7 @@ declare namespace gapi.client {
62789
62957
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
62790
62958
  userIp?: string;
62791
62959
  }): Request<Operation>;
62792
- /** 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. */
62793
62961
  get(request?: {
62794
62962
  /** V1 error format. */
62795
62963
  "$.xgafv"?: string;
@@ -63143,7 +63311,7 @@ declare namespace gapi.client {
63143
63311
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
63144
63312
  userIp?: string;
63145
63313
  }): Request<Operation>;
63146
- /** Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. */
63314
+ /** Returns the specified UrlMap resource. */
63147
63315
  get(request?: {
63148
63316
  /** V1 error format. */
63149
63317
  "$.xgafv"?: string;
@@ -63749,7 +63917,7 @@ declare namespace gapi.client {
63749
63917
  /** Name of the VPN gateway to delete. */
63750
63918
  vpnGateway: string;
63751
63919
  }): Request<Operation>;
63752
- /** Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request. */
63920
+ /** Returns the specified VPN gateway. */
63753
63921
  get(request?: {
63754
63922
  /** V1 error format. */
63755
63923
  "$.xgafv"?: string;
@@ -64138,7 +64306,7 @@ declare namespace gapi.client {
64138
64306
  /** Name of the VpnTunnel resource to delete. */
64139
64307
  vpnTunnel: string;
64140
64308
  }): Request<Operation>;
64141
- /** Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request. */
64309
+ /** Returns the specified VpnTunnel resource. */
64142
64310
  get(request?: {
64143
64311
  /** V1 error format. */
64144
64312
  "$.xgafv"?: string;
@@ -64880,7 +65048,7 @@ declare namespace gapi.client {
64880
65048
  }): Request<QueuedResourceList>;
64881
65049
  }
64882
65050
  interface ZonesResource {
64883
- /** Returns the specified Zone resource. Gets a list of available zones by making a list() request. */
65051
+ /** Returns the specified Zone resource. */
64884
65052
  get(request?: {
64885
65053
  /** V1 error format. */
64886
65054
  "$.xgafv"?: string;
@@ -65025,6 +65193,8 @@ declare namespace gapi.client {
65025
65193
 
65026
65194
  const instanceGroups: InstanceGroupsResource;
65027
65195
 
65196
+ const instanceSettings: InstanceSettingsResource;
65197
+
65028
65198
  const instanceTemplates: InstanceTemplatesResource;
65029
65199
 
65030
65200
  const instances: InstancesResource;