@maxim_mazurok/gapi.client.compute-alpha 0.0.20221205 → 0.0.20221224

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 +189 -9
  2. package/package.json +1 -1
  3. package/readme.md +5 -0
  4. package/tests.ts +253 -1
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: 20221205
12
+ // Revision: 20221224
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -360,6 +360,8 @@ declare namespace gapi.client {
360
360
  enableUefiNetworking?: boolean;
361
361
  /** The number of vNUMA nodes. */
362
362
  numaNodeCount?: number;
363
+ /** Type of Performance Monitoring Unit requested on instance. */
364
+ performanceMonitoringUnit?: string;
363
365
  /**
364
366
  * The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying
365
367
  * processor is assumed.
@@ -380,6 +382,24 @@ declare namespace gapi.client {
380
382
  /** The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used. */
381
383
  subnetworkRangeName?: string;
382
384
  }
385
+ interface AllocationAggregateReservation {
386
+ /** [Output only] List of resources currently in use. */
387
+ inUseResources?: AllocationAggregateReservationReservedResourceInfo[];
388
+ /** List of reserved resources (CPUs, memory, accelerators). */
389
+ reservedResources?: AllocationAggregateReservationReservedResourceInfo[];
390
+ /** The VM family that all instances scheduled against this reservation must belong to. */
391
+ vmFamily?: string;
392
+ }
393
+ interface AllocationAggregateReservationReservedResourceInfo {
394
+ /** Properties of accelerator resources in this reservation. */
395
+ accelerator?: AllocationAggregateReservationReservedResourceInfoAccelerator;
396
+ }
397
+ interface AllocationAggregateReservationReservedResourceInfoAccelerator {
398
+ /** Number of accelerators of specified type. */
399
+ acceleratorCount?: number;
400
+ /** Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l" */
401
+ acceleratorType?: string;
402
+ }
383
403
  interface AllocationResourceStatus {
384
404
  /** Allocation Properties of this reservation. */
385
405
  specificSkuAllocation?: AllocationResourceStatusSpecificSKUAllocation;
@@ -425,7 +445,11 @@ declare namespace gapi.client {
425
445
  instanceProperties?: AllocationSpecificSKUAllocationReservedInstanceProperties;
426
446
  /** [Output Only] Indicates how many instances are in use. */
427
447
  inUseCount?: string;
428
- /** Specific URL of the instance template used in the reservation */
448
+ /**
449
+ * Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or
450
+ * partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project
451
+ * /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
452
+ */
429
453
  sourceInstanceTemplate?: string;
430
454
  }
431
455
  interface AttachedDisk {
@@ -3124,7 +3148,7 @@ declare namespace gapi.client {
3124
3148
  };
3125
3149
  }
3126
3150
  interface FirewallPolicyRule {
3127
- /** The Action to perform when the client connection triggers the rule. Can currently be either "allow" or "deny()" where valid values for status are 403, 404, and 502. */
3151
+ /** The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". */
3128
3152
  action?: string;
3129
3153
  /** An optional description for this resource. */
3130
3154
  description?: string;
@@ -3396,9 +3420,10 @@ declare namespace gapi.client {
3396
3420
  subnetwork?: string;
3397
3421
  /**
3398
3422
  * The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding
3399
- * rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. For more information, see the "Target" column
3400
- * in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). For Private Service Connect forwarding rules that forward
3401
- * traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs.
3423
+ * rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column
3424
+ * in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that
3425
+ * forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For
3426
+ * Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment.
3402
3427
  */
3403
3428
  target?: string;
3404
3429
  }
@@ -3820,6 +3845,13 @@ declare namespace gapi.client {
3820
3845
  selfLink?: string;
3821
3846
  /** [Output Only] Server-defined URL for this resource with the resource id. */
3822
3847
  selfLinkWithId?: string;
3848
+ /**
3849
+ * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of
3850
+ * GCP regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other
3851
+ * resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP
3852
+ * is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing.
3853
+ */
3854
+ sourceRegions?: string[];
3823
3855
  sslHealthCheck?: SSLHealthCheck;
3824
3856
  tcpHealthCheck?: TCPHealthCheck;
3825
3857
  /** How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. */
@@ -5004,6 +5036,8 @@ declare namespace gapi.client {
5004
5036
  * that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
5005
5037
  */
5006
5038
  serviceAccounts?: ServiceAccount[];
5039
+ /** Mapping of user-defined keys to specifications for service integrations. Currently only a single key-value pair is supported. */
5040
+ serviceIntegrationSpecs?: { [P in string]: ServiceIntegrationSpec };
5007
5041
  shieldedInstanceConfig?: ShieldedInstanceConfig;
5008
5042
  shieldedInstanceIntegrityPolicy?: ShieldedInstanceIntegrityPolicy;
5009
5043
  /** Deprecating, please use shielded_instance_config. */
@@ -6099,6 +6133,8 @@ declare namespace gapi.client {
6099
6133
  * queries to obtain the access tokens for these instances.
6100
6134
  */
6101
6135
  serviceAccounts?: ServiceAccount[];
6136
+ /** Mapping of user defined keys to ServiceIntegrationSpec. */
6137
+ serviceIntegrationSpecs?: { [P in string]: ServiceIntegrationSpec };
6102
6138
  /** Note that for MachineImage, this is not supported yet. */
6103
6139
  shieldedInstanceConfig?: ShieldedInstanceConfig;
6104
6140
  /** Specifies the Shielded VM options for the instances that are created from these properties. */
@@ -6259,6 +6295,39 @@ declare namespace gapi.client {
6259
6295
  /** The source instance params to use to create this instance template. */
6260
6296
  sourceInstanceParams?: SourceInstanceParams;
6261
6297
  }
6298
+ interface InstanceTemplateAggregatedList {
6299
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
6300
+ id?: string;
6301
+ /** A list of InstanceTemplatesScopedList resources. */
6302
+ items?: { [P in string]: InstanceTemplatesScopedList };
6303
+ /** Type of resource. */
6304
+ kind?: string;
6305
+ /**
6306
+ * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the
6307
+ * query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
6308
+ */
6309
+ nextPageToken?: string;
6310
+ /** [Output Only] Server-defined URL for this resource. */
6311
+ selfLink?: string;
6312
+ /** [Output Only] Informational warning message. */
6313
+ warning?: {
6314
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
6315
+ code?: string;
6316
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
6317
+ data?: Array<{
6318
+ /**
6319
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone,
6320
+ * this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning
6321
+ * about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
6322
+ */
6323
+ key?: string;
6324
+ /** [Output Only] A warning data value corresponding to the key. */
6325
+ value?: string;
6326
+ }>;
6327
+ /** [Output Only] A human-readable description of the warning code. */
6328
+ message?: string;
6329
+ };
6330
+ }
6262
6331
  interface InstanceTemplateList {
6263
6332
  /** [Output Only] Unique identifier for the resource; defined by the server. */
6264
6333
  id?: string;
@@ -6292,6 +6361,28 @@ declare namespace gapi.client {
6292
6361
  message?: string;
6293
6362
  };
6294
6363
  }
6364
+ interface InstanceTemplatesScopedList {
6365
+ /** [Output Only] A list of instance templates that are contained within the specified project and zone. */
6366
+ instanceTemplates?: InstanceTemplate[];
6367
+ /** [Output Only] An informational warning that replaces the list of instance templates when the list is empty. */
6368
+ warning?: {
6369
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
6370
+ code?: string;
6371
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
6372
+ data?: Array<{
6373
+ /**
6374
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone,
6375
+ * this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning
6376
+ * about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
6377
+ */
6378
+ key?: string;
6379
+ /** [Output Only] A warning data value corresponding to the key. */
6380
+ value?: string;
6381
+ }>;
6382
+ /** [Output Only] A human-readable description of the warning code. */
6383
+ message?: string;
6384
+ };
6385
+ }
6295
6386
  interface InstanceWithNamedPorts {
6296
6387
  /** [Output Only] The URL of the instance. */
6297
6388
  instance?: string;
@@ -9332,8 +9423,6 @@ declare namespace gapi.client {
9332
9423
  insertTime?: string;
9333
9424
  /** [Output Only] Type of the resource. Always `compute#operation` for Operation resources. */
9334
9425
  kind?: string;
9335
- /** [Output Only] Service-specific metadata attached to this operation. */
9336
- metadata?: { [P in string]: any };
9337
9426
  /** [Output Only] Name of the operation. */
9338
9427
  name?: string;
9339
9428
  /** [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request. */
@@ -10997,6 +11086,8 @@ declare namespace gapi.client {
10997
11086
  backendService?: string;
10998
11087
  }
10999
11088
  interface Reservation {
11089
+ /** Reservation for aggregated resources, providing shape flexibility. */
11090
+ aggregateReservation?: AllocationAggregateReservation;
11000
11091
  /** [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. */
11001
11092
  commitment?: string;
11002
11093
  /** [Output Only] Creation timestamp in RFC3339 text format. */
@@ -11421,6 +11512,8 @@ declare namespace gapi.client {
11421
11512
  /** [Output Only] An opaque ID of the host on which the VM is running. */
11422
11513
  physicalHost?: string;
11423
11514
  scheduling?: ResourceStatusScheduling;
11515
+ /** [Output Only] Represents the status of the service integration specs defined by the user in instance.serviceIntegrationSpecs. */
11516
+ serviceIntegrationStatuses?: { [P in string]: ResourceStatusServiceIntegrationStatus };
11424
11517
  upcomingMaintenance?: ResourceStatusUpcomingMaintenance;
11425
11518
  }
11426
11519
  interface ResourceStatusScheduling {
@@ -11432,6 +11525,15 @@ declare namespace gapi.client {
11432
11525
  /** Time in future when the instance will be terminated in RFC3339 text format. */
11433
11526
  terminationTimestamp?: string;
11434
11527
  }
11528
+ interface ResourceStatusServiceIntegrationStatus {
11529
+ backupDr?: ResourceStatusServiceIntegrationStatusBackupDRStatus;
11530
+ }
11531
+ interface ResourceStatusServiceIntegrationStatusBackupDRStatus {
11532
+ /** The PlanReference object created by Backup and DR to maintain the actual status of backups. May still be present if removing the backup plan fails. */
11533
+ integrationDetails?: string;
11534
+ /** Enum representing the registration state of a Backup and DR backup plan for the instance. */
11535
+ state?: string;
11536
+ }
11435
11537
  interface ResourceStatusUpcomingMaintenance {
11436
11538
  /** Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details */
11437
11539
  canReschedule?: boolean;
@@ -12540,7 +12642,7 @@ declare namespace gapi.client {
12540
12642
  redirectOptions?: SecurityPolicyRuleRedirectOptions;
12541
12643
  /** This must be specified for redirect actions. Cannot be specified for any other actions. */
12542
12644
  redirectTarget?: string;
12543
- /** [Output Only] The minimum managed protection tier required for this rule. */
12645
+ /** [Output Only] The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead. */
12544
12646
  ruleManagedProtectionTier?: string;
12545
12647
  /**
12546
12648
  * Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the
@@ -13007,6 +13109,16 @@ declare namespace gapi.client {
13007
13109
  message?: string;
13008
13110
  };
13009
13111
  }
13112
+ interface ServiceIntegrationSpec {
13113
+ backupDr?: ServiceIntegrationSpecBackupDRSpec;
13114
+ }
13115
+ interface ServiceIntegrationSpecBackupDRSpec {
13116
+ /**
13117
+ * The BackupPlan resource to attach to the instance. Specified as a resource reference in instances, and regional instance templates, and as just the plan name in global instance
13118
+ * templates
13119
+ */
13120
+ plan?: string;
13121
+ }
13010
13122
  interface ShareSettings {
13011
13123
  /**
13012
13124
  * 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.
@@ -32296,6 +32408,72 @@ declare namespace gapi.client {
32296
32408
  body: ShieldedVmConfig): Request<Operation>;
32297
32409
  }
32298
32410
  interface InstanceTemplatesResource {
32411
+ /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
32412
+ aggregatedList(request?: {
32413
+ /** V1 error format. */
32414
+ "$.xgafv"?: string;
32415
+ /** OAuth access token. */
32416
+ access_token?: string;
32417
+ /** Data format for response. */
32418
+ alt?: string;
32419
+ /** JSONP */
32420
+ callback?: string;
32421
+ /** Selector specifying which fields to include in a partial response. */
32422
+ fields?: string;
32423
+ /**
32424
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
32425
+ * and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
32426
+ * to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering
32427
+ * Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
32428
+ * substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
32429
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
32430
+ * if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each
32431
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
32432
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
32433
+ * (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression
32434
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
32435
+ * quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value
32436
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
32437
+ */
32438
+ filter?: string;
32439
+ /**
32440
+ * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has
32441
+ * no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or
32442
+ * false, only scopes of the scope types where the resource type is expected to be found will be included.
32443
+ */
32444
+ includeAllScopes?: boolean;
32445
+ /** 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. */
32446
+ key?: string;
32447
+ /**
32448
+ * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can
32449
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
32450
+ */
32451
+ maxResults?: number;
32452
+ /** OAuth 2.0 token for the current user. */
32453
+ oauth_token?: string;
32454
+ /**
32455
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based
32456
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
32457
+ * first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
32458
+ */
32459
+ orderBy?: string;
32460
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
32461
+ pageToken?: string;
32462
+ /** Returns response with indentations and line breaks. */
32463
+ prettyPrint?: boolean;
32464
+ /** Name of the project scoping this request. */
32465
+ project: string;
32466
+ /** 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. */
32467
+ quotaUser?: string;
32468
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
32469
+ returnPartialSuccess?: boolean;
32470
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32471
+ upload_protocol?: string;
32472
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32473
+ uploadType?: string;
32474
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32475
+ userIp?: string;
32476
+ }): Request<InstanceTemplateAggregatedList>;
32299
32477
  /**
32300
32478
  * Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed
32301
32479
  * instance group.
@@ -54483,6 +54661,7 @@ declare namespace gapi.client {
54483
54661
  key?: string;
54484
54662
  /** OAuth 2.0 token for the current user. */
54485
54663
  oauth_token?: string;
54664
+ paths?: string | string[];
54486
54665
  /** Returns response with indentations and line breaks. */
54487
54666
  prettyPrint?: boolean;
54488
54667
  /** Project ID for this request. */
@@ -54526,6 +54705,7 @@ declare namespace gapi.client {
54526
54705
  key?: string;
54527
54706
  /** OAuth 2.0 token for the current user. */
54528
54707
  oauth_token?: string;
54708
+ paths?: string | string[];
54529
54709
  /** Returns response with indentations and line breaks. */
54530
54710
  prettyPrint?: boolean;
54531
54711
  /** Project ID for this request. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20221205",
3
+ "version": "0.0.20221224",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -1461,6 +1461,11 @@ Updates the Shielded VM config for a VM instance. You can only use this method o
1461
1461
  */
1462
1462
  await gapi.client.compute.instances.updateShieldedVmConfig({ instance: "instance", project: "project", zone: "zone", });
1463
1463
 
1464
+ /*
1465
+ Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project.
1466
+ */
1467
+ await gapi.client.compute.instanceTemplates.aggregatedList({ project: "project", });
1468
+
1464
1469
  /*
1465
1470
  Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group.
1466
1471
  */
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20221205
6
+ // Revision: 20221224
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -4608,6 +4608,9 @@ gapi.load('client', async () => {
4608
4608
  region: "Test string",
4609
4609
  selfLink: "Test string",
4610
4610
  selfLinkWithId: "Test string",
4611
+ sourceRegions: [
4612
+ "Test string"
4613
+ ],
4611
4614
  sslHealthCheck: {
4612
4615
  port: 42,
4613
4616
  portName: "Test string",
@@ -4701,6 +4704,9 @@ gapi.load('client', async () => {
4701
4704
  region: "Test string",
4702
4705
  selfLink: "Test string",
4703
4706
  selfLinkWithId: "Test string",
4707
+ sourceRegions: [
4708
+ "Test string"
4709
+ ],
4704
4710
  sslHealthCheck: {
4705
4711
  port: 42,
4706
4712
  portName: "Test string",
@@ -4791,6 +4797,9 @@ gapi.load('client', async () => {
4791
4797
  region: "Test string",
4792
4798
  selfLink: "Test string",
4793
4799
  selfLinkWithId: "Test string",
4800
+ sourceRegions: [
4801
+ "Test string"
4802
+ ],
4794
4803
  sslHealthCheck: {
4795
4804
  port: 42,
4796
4805
  portName: "Test string",
@@ -6811,6 +6820,7 @@ gapi.load('client', async () => {
6811
6820
  enableNestedVirtualization: true,
6812
6821
  enableUefiNetworking: true,
6813
6822
  numaNodeCount: 42,
6823
+ performanceMonitoringUnit: "Test string",
6814
6824
  threadsPerCore: 42,
6815
6825
  visibleCoreCount: 42,
6816
6826
  },
@@ -7068,6 +7078,14 @@ gapi.load('client', async () => {
7068
7078
  availabilityDomain: 42,
7069
7079
  terminationTimestamp: "Test string",
7070
7080
  },
7081
+ serviceIntegrationStatuses: {
7082
+ A: {
7083
+ backupDr: {
7084
+ integrationDetails: "Test string",
7085
+ state: "Test string",
7086
+ },
7087
+ }
7088
+ },
7071
7089
  upcomingMaintenance: {
7072
7090
  canReschedule: true,
7073
7091
  },
@@ -7116,6 +7134,13 @@ gapi.load('client', async () => {
7116
7134
  ],
7117
7135
  }
7118
7136
  ],
7137
+ serviceIntegrationSpecs: {
7138
+ A: {
7139
+ backupDr: {
7140
+ plan: "Test string",
7141
+ },
7142
+ }
7143
+ },
7119
7144
  shieldedInstanceConfig: {
7120
7145
  enableIntegrityMonitoring: true,
7121
7146
  enableSecureBoot: true,
@@ -7166,6 +7191,7 @@ gapi.load('client', async () => {
7166
7191
  enableNestedVirtualization: true,
7167
7192
  enableUefiNetworking: true,
7168
7193
  numaNodeCount: 42,
7194
+ performanceMonitoringUnit: "Test string",
7169
7195
  threadsPerCore: 42,
7170
7196
  visibleCoreCount: 42,
7171
7197
  },
@@ -7435,6 +7461,13 @@ gapi.load('client', async () => {
7435
7461
  ],
7436
7462
  }
7437
7463
  ],
7464
+ serviceIntegrationSpecs: {
7465
+ A: {
7466
+ backupDr: {
7467
+ plan: "Test string",
7468
+ },
7469
+ }
7470
+ },
7438
7471
  shieldedInstanceConfig: {
7439
7472
  enableIntegrityMonitoring: true,
7440
7473
  enableSecureBoot: true,
@@ -7565,6 +7598,7 @@ gapi.load('client', async () => {
7565
7598
  enableNestedVirtualization: true,
7566
7599
  enableUefiNetworking: true,
7567
7600
  numaNodeCount: 42,
7601
+ performanceMonitoringUnit: "Test string",
7568
7602
  threadsPerCore: 42,
7569
7603
  visibleCoreCount: 42,
7570
7604
  },
@@ -7822,6 +7856,14 @@ gapi.load('client', async () => {
7822
7856
  availabilityDomain: 42,
7823
7857
  terminationTimestamp: "Test string",
7824
7858
  },
7859
+ serviceIntegrationStatuses: {
7860
+ A: {
7861
+ backupDr: {
7862
+ integrationDetails: "Test string",
7863
+ state: "Test string",
7864
+ },
7865
+ }
7866
+ },
7825
7867
  upcomingMaintenance: {
7826
7868
  canReschedule: true,
7827
7869
  },
@@ -7870,6 +7912,13 @@ gapi.load('client', async () => {
7870
7912
  ],
7871
7913
  }
7872
7914
  ],
7915
+ serviceIntegrationSpecs: {
7916
+ A: {
7917
+ backupDr: {
7918
+ plan: "Test string",
7919
+ },
7920
+ }
7921
+ },
7873
7922
  shieldedInstanceConfig: {
7874
7923
  enableIntegrityMonitoring: true,
7875
7924
  enableSecureBoot: true,
@@ -8372,6 +8421,7 @@ gapi.load('client', async () => {
8372
8421
  enableNestedVirtualization: true,
8373
8422
  enableUefiNetworking: true,
8374
8423
  numaNodeCount: 42,
8424
+ performanceMonitoringUnit: "Test string",
8375
8425
  threadsPerCore: 42,
8376
8426
  visibleCoreCount: 42,
8377
8427
  },
@@ -8629,6 +8679,14 @@ gapi.load('client', async () => {
8629
8679
  availabilityDomain: 42,
8630
8680
  terminationTimestamp: "Test string",
8631
8681
  },
8682
+ serviceIntegrationStatuses: {
8683
+ A: {
8684
+ backupDr: {
8685
+ integrationDetails: "Test string",
8686
+ state: "Test string",
8687
+ },
8688
+ }
8689
+ },
8632
8690
  upcomingMaintenance: {
8633
8691
  canReschedule: true,
8634
8692
  },
@@ -8677,6 +8735,13 @@ gapi.load('client', async () => {
8677
8735
  ],
8678
8736
  }
8679
8737
  ],
8738
+ serviceIntegrationSpecs: {
8739
+ A: {
8740
+ backupDr: {
8741
+ plan: "Test string",
8742
+ },
8743
+ }
8744
+ },
8680
8745
  shieldedInstanceConfig: {
8681
8746
  enableIntegrityMonitoring: true,
8682
8747
  enableSecureBoot: true,
@@ -8857,6 +8922,16 @@ gapi.load('client', async () => {
8857
8922
  enableSecureBoot: true,
8858
8923
  enableVtpm: true,
8859
8924
  });
8925
+ /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
8926
+ await gapi.client.compute.instanceTemplates.aggregatedList({
8927
+ filter: "Test string",
8928
+ includeAllScopes: true,
8929
+ maxResults: 42,
8930
+ orderBy: "Test string",
8931
+ pageToken: "Test string",
8932
+ project: "Test string",
8933
+ returnPartialSuccess: true,
8934
+ });
8860
8935
  /**
8861
8936
  * Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed
8862
8937
  * instance group.
@@ -8895,6 +8970,7 @@ gapi.load('client', async () => {
8895
8970
  enableNestedVirtualization: true,
8896
8971
  enableUefiNetworking: true,
8897
8972
  numaNodeCount: 42,
8973
+ performanceMonitoringUnit: "Test string",
8898
8974
  threadsPerCore: 42,
8899
8975
  visibleCoreCount: 42,
8900
8976
  },
@@ -9164,6 +9240,13 @@ gapi.load('client', async () => {
9164
9240
  ],
9165
9241
  }
9166
9242
  ],
9243
+ serviceIntegrationSpecs: {
9244
+ A: {
9245
+ backupDr: {
9246
+ plan: "Test string",
9247
+ },
9248
+ }
9249
+ },
9167
9250
  shieldedInstanceConfig: {
9168
9251
  enableIntegrityMonitoring: true,
9169
9252
  enableSecureBoot: true,
@@ -10542,6 +10625,7 @@ gapi.load('client', async () => {
10542
10625
  enableNestedVirtualization: true,
10543
10626
  enableUefiNetworking: true,
10544
10627
  numaNodeCount: 42,
10628
+ performanceMonitoringUnit: "Test string",
10545
10629
  threadsPerCore: 42,
10546
10630
  visibleCoreCount: 42,
10547
10631
  },
@@ -10811,6 +10895,13 @@ gapi.load('client', async () => {
10811
10895
  ],
10812
10896
  }
10813
10897
  ],
10898
+ serviceIntegrationSpecs: {
10899
+ A: {
10900
+ backupDr: {
10901
+ plan: "Test string",
10902
+ },
10903
+ }
10904
+ },
10814
10905
  shieldedInstanceConfig: {
10815
10906
  enableIntegrityMonitoring: true,
10816
10907
  enableSecureBoot: true,
@@ -15993,6 +16084,25 @@ gapi.load('client', async () => {
15993
16084
  region: "Test string",
15994
16085
  reservations: [
15995
16086
  {
16087
+ aggregateReservation: {
16088
+ inUseResources: [
16089
+ {
16090
+ accelerator: {
16091
+ acceleratorCount: 42,
16092
+ acceleratorType: "Test string",
16093
+ },
16094
+ }
16095
+ ],
16096
+ reservedResources: [
16097
+ {
16098
+ accelerator: {
16099
+ acceleratorCount: 42,
16100
+ acceleratorType: "Test string",
16101
+ },
16102
+ }
16103
+ ],
16104
+ vmFamily: "Test string",
16105
+ },
15996
16106
  commitment: "Test string",
15997
16107
  creationTimestamp: "Test string",
15998
16108
  description: "Test string",
@@ -16123,6 +16233,25 @@ gapi.load('client', async () => {
16123
16233
  region: "Test string",
16124
16234
  reservations: [
16125
16235
  {
16236
+ aggregateReservation: {
16237
+ inUseResources: [
16238
+ {
16239
+ accelerator: {
16240
+ acceleratorCount: 42,
16241
+ acceleratorType: "Test string",
16242
+ },
16243
+ }
16244
+ ],
16245
+ reservedResources: [
16246
+ {
16247
+ accelerator: {
16248
+ acceleratorCount: 42,
16249
+ acceleratorType: "Test string",
16250
+ },
16251
+ }
16252
+ ],
16253
+ vmFamily: "Test string",
16254
+ },
16126
16255
  commitment: "Test string",
16127
16256
  creationTimestamp: "Test string",
16128
16257
  description: "Test string",
@@ -16210,6 +16339,25 @@ gapi.load('client', async () => {
16210
16339
  }, {
16211
16340
  reservations: [
16212
16341
  {
16342
+ aggregateReservation: {
16343
+ inUseResources: [
16344
+ {
16345
+ accelerator: {
16346
+ acceleratorCount: 42,
16347
+ acceleratorType: "Test string",
16348
+ },
16349
+ }
16350
+ ],
16351
+ reservedResources: [
16352
+ {
16353
+ accelerator: {
16354
+ acceleratorCount: 42,
16355
+ acceleratorType: "Test string",
16356
+ },
16357
+ }
16358
+ ],
16359
+ vmFamily: "Test string",
16360
+ },
16213
16361
  commitment: "Test string",
16214
16362
  creationTimestamp: "Test string",
16215
16363
  description: "Test string",
@@ -16905,6 +17053,9 @@ gapi.load('client', async () => {
16905
17053
  region: "Test string",
16906
17054
  selfLink: "Test string",
16907
17055
  selfLinkWithId: "Test string",
17056
+ sourceRegions: [
17057
+ "Test string"
17058
+ ],
16908
17059
  sslHealthCheck: {
16909
17060
  port: 42,
16910
17061
  portName: "Test string",
@@ -17000,6 +17151,9 @@ gapi.load('client', async () => {
17000
17151
  region: "Test string",
17001
17152
  selfLink: "Test string",
17002
17153
  selfLinkWithId: "Test string",
17154
+ sourceRegions: [
17155
+ "Test string"
17156
+ ],
17003
17157
  sslHealthCheck: {
17004
17158
  port: 42,
17005
17159
  portName: "Test string",
@@ -17092,6 +17246,9 @@ gapi.load('client', async () => {
17092
17246
  region: "Test string",
17093
17247
  selfLink: "Test string",
17094
17248
  selfLinkWithId: "Test string",
17249
+ sourceRegions: [
17250
+ "Test string"
17251
+ ],
17095
17252
  sslHealthCheck: {
17096
17253
  port: 42,
17097
17254
  portName: "Test string",
@@ -18221,6 +18378,7 @@ gapi.load('client', async () => {
18221
18378
  enableNestedVirtualization: true,
18222
18379
  enableUefiNetworking: true,
18223
18380
  numaNodeCount: 42,
18381
+ performanceMonitoringUnit: "Test string",
18224
18382
  threadsPerCore: 42,
18225
18383
  visibleCoreCount: 42,
18226
18384
  },
@@ -18478,6 +18636,14 @@ gapi.load('client', async () => {
18478
18636
  availabilityDomain: 42,
18479
18637
  terminationTimestamp: "Test string",
18480
18638
  },
18639
+ serviceIntegrationStatuses: {
18640
+ A: {
18641
+ backupDr: {
18642
+ integrationDetails: "Test string",
18643
+ state: "Test string",
18644
+ },
18645
+ }
18646
+ },
18481
18647
  upcomingMaintenance: {
18482
18648
  canReschedule: true,
18483
18649
  },
@@ -18526,6 +18692,13 @@ gapi.load('client', async () => {
18526
18692
  ],
18527
18693
  }
18528
18694
  ],
18695
+ serviceIntegrationSpecs: {
18696
+ A: {
18697
+ backupDr: {
18698
+ plan: "Test string",
18699
+ },
18700
+ }
18701
+ },
18529
18702
  shieldedInstanceConfig: {
18530
18703
  enableIntegrityMonitoring: true,
18531
18704
  enableSecureBoot: true,
@@ -18576,6 +18749,7 @@ gapi.load('client', async () => {
18576
18749
  enableNestedVirtualization: true,
18577
18750
  enableUefiNetworking: true,
18578
18751
  numaNodeCount: 42,
18752
+ performanceMonitoringUnit: "Test string",
18579
18753
  threadsPerCore: 42,
18580
18754
  visibleCoreCount: 42,
18581
18755
  },
@@ -18845,6 +19019,13 @@ gapi.load('client', async () => {
18845
19019
  ],
18846
19020
  }
18847
19021
  ],
19022
+ serviceIntegrationSpecs: {
19023
+ A: {
19024
+ backupDr: {
19025
+ plan: "Test string",
19026
+ },
19027
+ }
19028
+ },
18848
19029
  shieldedInstanceConfig: {
18849
19030
  enableIntegrityMonitoring: true,
18850
19031
  enableSecureBoot: true,
@@ -18914,6 +19095,7 @@ gapi.load('client', async () => {
18914
19095
  enableNestedVirtualization: true,
18915
19096
  enableUefiNetworking: true,
18916
19097
  numaNodeCount: 42,
19098
+ performanceMonitoringUnit: "Test string",
18917
19099
  threadsPerCore: 42,
18918
19100
  visibleCoreCount: 42,
18919
19101
  },
@@ -19183,6 +19365,13 @@ gapi.load('client', async () => {
19183
19365
  ],
19184
19366
  }
19185
19367
  ],
19368
+ serviceIntegrationSpecs: {
19369
+ A: {
19370
+ backupDr: {
19371
+ plan: "Test string",
19372
+ },
19373
+ }
19374
+ },
19186
19375
  shieldedInstanceConfig: {
19187
19376
  enableIntegrityMonitoring: true,
19188
19377
  enableSecureBoot: true,
@@ -24157,6 +24346,25 @@ gapi.load('client', async () => {
24157
24346
  requestId: "Test string",
24158
24347
  zone: "Test string",
24159
24348
  }, {
24349
+ aggregateReservation: {
24350
+ inUseResources: [
24351
+ {
24352
+ accelerator: {
24353
+ acceleratorCount: 42,
24354
+ acceleratorType: "Test string",
24355
+ },
24356
+ }
24357
+ ],
24358
+ reservedResources: [
24359
+ {
24360
+ accelerator: {
24361
+ acceleratorCount: 42,
24362
+ acceleratorType: "Test string",
24363
+ },
24364
+ }
24365
+ ],
24366
+ vmFamily: "Test string",
24367
+ },
24160
24368
  commitment: "Test string",
24161
24369
  creationTimestamp: "Test string",
24162
24370
  description: "Test string",
@@ -24365,6 +24573,25 @@ gapi.load('client', async () => {
24365
24573
  updateMask: "Test string",
24366
24574
  zone: "Test string",
24367
24575
  }, {
24576
+ aggregateReservation: {
24577
+ inUseResources: [
24578
+ {
24579
+ accelerator: {
24580
+ acceleratorCount: 42,
24581
+ acceleratorType: "Test string",
24582
+ },
24583
+ }
24584
+ ],
24585
+ reservedResources: [
24586
+ {
24587
+ accelerator: {
24588
+ acceleratorCount: 42,
24589
+ acceleratorType: "Test string",
24590
+ },
24591
+ }
24592
+ ],
24593
+ vmFamily: "Test string",
24594
+ },
24368
24595
  commitment: "Test string",
24369
24596
  creationTimestamp: "Test string",
24370
24597
  description: "Test string",
@@ -24564,6 +24791,7 @@ gapi.load('client', async () => {
24564
24791
  });
24565
24792
  /** Modify the specified resource policy. */
24566
24793
  await gapi.client.compute.resourcePolicies.patch({
24794
+ paths: "Test string",
24567
24795
  project: "Test string",
24568
24796
  region: "Test string",
24569
24797
  requestId: "Test string",
@@ -31016,6 +31244,7 @@ gapi.load('client', async () => {
31016
31244
  enableNestedVirtualization: true,
31017
31245
  enableUefiNetworking: true,
31018
31246
  numaNodeCount: 42,
31247
+ performanceMonitoringUnit: "Test string",
31019
31248
  threadsPerCore: 42,
31020
31249
  visibleCoreCount: 42,
31021
31250
  },
@@ -31273,6 +31502,14 @@ gapi.load('client', async () => {
31273
31502
  availabilityDomain: 42,
31274
31503
  terminationTimestamp: "Test string",
31275
31504
  },
31505
+ serviceIntegrationStatuses: {
31506
+ A: {
31507
+ backupDr: {
31508
+ integrationDetails: "Test string",
31509
+ state: "Test string",
31510
+ },
31511
+ }
31512
+ },
31276
31513
  upcomingMaintenance: {
31277
31514
  canReschedule: true,
31278
31515
  },
@@ -31321,6 +31558,13 @@ gapi.load('client', async () => {
31321
31558
  ],
31322
31559
  }
31323
31560
  ],
31561
+ serviceIntegrationSpecs: {
31562
+ A: {
31563
+ backupDr: {
31564
+ plan: "Test string",
31565
+ },
31566
+ }
31567
+ },
31324
31568
  shieldedInstanceConfig: {
31325
31569
  enableIntegrityMonitoring: true,
31326
31570
  enableSecureBoot: true,
@@ -31371,6 +31615,7 @@ gapi.load('client', async () => {
31371
31615
  enableNestedVirtualization: true,
31372
31616
  enableUefiNetworking: true,
31373
31617
  numaNodeCount: 42,
31618
+ performanceMonitoringUnit: "Test string",
31374
31619
  threadsPerCore: 42,
31375
31620
  visibleCoreCount: 42,
31376
31621
  },
@@ -31640,6 +31885,13 @@ gapi.load('client', async () => {
31640
31885
  ],
31641
31886
  }
31642
31887
  ],
31888
+ serviceIntegrationSpecs: {
31889
+ A: {
31890
+ backupDr: {
31891
+ plan: "Test string",
31892
+ },
31893
+ }
31894
+ },
31643
31895
  shieldedInstanceConfig: {
31644
31896
  enableIntegrityMonitoring: true,
31645
31897
  enableSecureBoot: true,