@maxim_mazurok/gapi.client.compute-alpha 0.0.20221206 → 0.0.20230103

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 -6
  2. package/package.json +1 -1
  3. package/readme.md +5 -0
  4. package/tests.ts +268 -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: 20221206
12
+ // Revision: 20230103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -382,6 +382,24 @@ declare namespace gapi.client {
382
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. */
383
383
  subnetworkRangeName?: string;
384
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
+ }
385
403
  interface AllocationResourceStatus {
386
404
  /** Allocation Properties of this reservation. */
387
405
  specificSkuAllocation?: AllocationResourceStatusSpecificSKUAllocation;
@@ -427,7 +445,11 @@ declare namespace gapi.client {
427
445
  instanceProperties?: AllocationSpecificSKUAllocationReservedInstanceProperties;
428
446
  /** [Output Only] Indicates how many instances are in use. */
429
447
  inUseCount?: string;
430
- /** 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
+ */
431
453
  sourceInstanceTemplate?: string;
432
454
  }
433
455
  interface AttachedDisk {
@@ -3126,7 +3148,7 @@ declare namespace gapi.client {
3126
3148
  };
3127
3149
  }
3128
3150
  interface FirewallPolicyRule {
3129
- /** 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". */
3130
3152
  action?: string;
3131
3153
  /** An optional description for this resource. */
3132
3154
  description?: string;
@@ -3823,6 +3845,13 @@ declare namespace gapi.client {
3823
3845
  selfLink?: string;
3824
3846
  /** [Output Only] Server-defined URL for this resource with the resource id. */
3825
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[];
3826
3855
  sslHealthCheck?: SSLHealthCheck;
3827
3856
  tcpHealthCheck?: TCPHealthCheck;
3828
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. */
@@ -5007,6 +5036,8 @@ declare namespace gapi.client {
5007
5036
  * that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
5008
5037
  */
5009
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 };
5010
5041
  shieldedInstanceConfig?: ShieldedInstanceConfig;
5011
5042
  shieldedInstanceIntegrityPolicy?: ShieldedInstanceIntegrityPolicy;
5012
5043
  /** Deprecating, please use shielded_instance_config. */
@@ -6102,6 +6133,8 @@ declare namespace gapi.client {
6102
6133
  * queries to obtain the access tokens for these instances.
6103
6134
  */
6104
6135
  serviceAccounts?: ServiceAccount[];
6136
+ /** Mapping of user defined keys to ServiceIntegrationSpec. */
6137
+ serviceIntegrationSpecs?: { [P in string]: ServiceIntegrationSpec };
6105
6138
  /** Note that for MachineImage, this is not supported yet. */
6106
6139
  shieldedInstanceConfig?: ShieldedInstanceConfig;
6107
6140
  /** Specifies the Shielded VM options for the instances that are created from these properties. */
@@ -6262,6 +6295,39 @@ declare namespace gapi.client {
6262
6295
  /** The source instance params to use to create this instance template. */
6263
6296
  sourceInstanceParams?: SourceInstanceParams;
6264
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
+ }
6265
6331
  interface InstanceTemplateList {
6266
6332
  /** [Output Only] Unique identifier for the resource; defined by the server. */
6267
6333
  id?: string;
@@ -6295,6 +6361,28 @@ declare namespace gapi.client {
6295
6361
  message?: string;
6296
6362
  };
6297
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
+ }
6298
6386
  interface InstanceWithNamedPorts {
6299
6387
  /** [Output Only] The URL of the instance. */
6300
6388
  instance?: string;
@@ -8503,6 +8591,8 @@ declare namespace gapi.client {
8503
8591
  networkIP?: string;
8504
8592
  /** The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. */
8505
8593
  nicType?: string;
8594
+ /** Name of the parent network interface of a VLAN based nic. If this field is specified, vlan must be set. */
8595
+ parentNicName?: string;
8506
8596
  /** The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. */
8507
8597
  queueCount?: number;
8508
8598
  /**
@@ -8522,6 +8612,8 @@ declare namespace gapi.client {
8522
8612
  * regions/region/subnetworks/subnetwork
8523
8613
  */
8524
8614
  subnetwork?: string;
8615
+ /** VLAN tag of a VLAN based network interface, must be in range from 2 to 4094 inclusively. This field is mandatory if the parent network interface name is set. */
8616
+ vlan?: number;
8525
8617
  }
8526
8618
  interface NetworkInterfaceSubInterface {
8527
8619
  /** An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP. */
@@ -10998,6 +11090,8 @@ declare namespace gapi.client {
10998
11090
  backendService?: string;
10999
11091
  }
11000
11092
  interface Reservation {
11093
+ /** Reservation for aggregated resources, providing shape flexibility. */
11094
+ aggregateReservation?: AllocationAggregateReservation;
11001
11095
  /** [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. */
11002
11096
  commitment?: string;
11003
11097
  /** [Output Only] Creation timestamp in RFC3339 text format. */
@@ -11422,6 +11516,8 @@ declare namespace gapi.client {
11422
11516
  /** [Output Only] An opaque ID of the host on which the VM is running. */
11423
11517
  physicalHost?: string;
11424
11518
  scheduling?: ResourceStatusScheduling;
11519
+ /** [Output Only] Represents the status of the service integration specs defined by the user in instance.serviceIntegrationSpecs. */
11520
+ serviceIntegrationStatuses?: { [P in string]: ResourceStatusServiceIntegrationStatus };
11425
11521
  upcomingMaintenance?: ResourceStatusUpcomingMaintenance;
11426
11522
  }
11427
11523
  interface ResourceStatusScheduling {
@@ -11433,6 +11529,15 @@ declare namespace gapi.client {
11433
11529
  /** Time in future when the instance will be terminated in RFC3339 text format. */
11434
11530
  terminationTimestamp?: string;
11435
11531
  }
11532
+ interface ResourceStatusServiceIntegrationStatus {
11533
+ backupDr?: ResourceStatusServiceIntegrationStatusBackupDRStatus;
11534
+ }
11535
+ interface ResourceStatusServiceIntegrationStatusBackupDRStatus {
11536
+ /** 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. */
11537
+ integrationDetails?: string;
11538
+ /** Enum representing the registration state of a Backup and DR backup plan for the instance. */
11539
+ state?: string;
11540
+ }
11436
11541
  interface ResourceStatusUpcomingMaintenance {
11437
11542
  /** Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details */
11438
11543
  canReschedule?: boolean;
@@ -12541,7 +12646,7 @@ declare namespace gapi.client {
12541
12646
  redirectOptions?: SecurityPolicyRuleRedirectOptions;
12542
12647
  /** This must be specified for redirect actions. Cannot be specified for any other actions. */
12543
12648
  redirectTarget?: string;
12544
- /** [Output Only] The minimum managed protection tier required for this rule. */
12649
+ /** [Output Only] The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead. */
12545
12650
  ruleManagedProtectionTier?: string;
12546
12651
  /**
12547
12652
  * 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
@@ -13008,6 +13113,16 @@ declare namespace gapi.client {
13008
13113
  message?: string;
13009
13114
  };
13010
13115
  }
13116
+ interface ServiceIntegrationSpec {
13117
+ backupDr?: ServiceIntegrationSpecBackupDRSpec;
13118
+ }
13119
+ interface ServiceIntegrationSpecBackupDRSpec {
13120
+ /**
13121
+ * 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
13122
+ * templates
13123
+ */
13124
+ plan?: string;
13125
+ }
13011
13126
  interface ShareSettings {
13012
13127
  /**
13013
13128
  * 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.
@@ -13247,8 +13362,8 @@ declare namespace gapi.client {
13247
13362
  }
13248
13363
  interface SourceInstanceParams {
13249
13364
  /**
13250
- * Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks,
13251
- * they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
13365
+ * Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they
13366
+ * will be attached in read-only mode. Local SSD disks will be created as blank volumes.
13252
13367
  */
13253
13368
  diskConfigs?: DiskInstantiationConfig[];
13254
13369
  }
@@ -32297,6 +32412,72 @@ declare namespace gapi.client {
32297
32412
  body: ShieldedVmConfig): Request<Operation>;
32298
32413
  }
32299
32414
  interface InstanceTemplatesResource {
32415
+ /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
32416
+ aggregatedList(request?: {
32417
+ /** V1 error format. */
32418
+ "$.xgafv"?: string;
32419
+ /** OAuth access token. */
32420
+ access_token?: string;
32421
+ /** Data format for response. */
32422
+ alt?: string;
32423
+ /** JSONP */
32424
+ callback?: string;
32425
+ /** Selector specifying which fields to include in a partial response. */
32426
+ fields?: string;
32427
+ /**
32428
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
32429
+ * 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
32430
+ * 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
32431
+ * 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
32432
+ * 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
32433
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
32434
+ * 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
32435
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
32436
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
32437
+ * (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
32438
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
32439
+ * 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
32440
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
32441
+ */
32442
+ filter?: string;
32443
+ /**
32444
+ * 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
32445
+ * 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
32446
+ * false, only scopes of the scope types where the resource type is expected to be found will be included.
32447
+ */
32448
+ includeAllScopes?: boolean;
32449
+ /** 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. */
32450
+ key?: string;
32451
+ /**
32452
+ * 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
32453
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
32454
+ */
32455
+ maxResults?: number;
32456
+ /** OAuth 2.0 token for the current user. */
32457
+ oauth_token?: string;
32458
+ /**
32459
+ * 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
32460
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
32461
+ * 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.
32462
+ */
32463
+ orderBy?: string;
32464
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
32465
+ pageToken?: string;
32466
+ /** Returns response with indentations and line breaks. */
32467
+ prettyPrint?: boolean;
32468
+ /** Name of the project scoping this request. */
32469
+ project: string;
32470
+ /** 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. */
32471
+ quotaUser?: string;
32472
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
32473
+ returnPartialSuccess?: boolean;
32474
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32475
+ upload_protocol?: string;
32476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32477
+ uploadType?: string;
32478
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32479
+ userIp?: string;
32480
+ }): Request<InstanceTemplateAggregatedList>;
32300
32481
  /**
32301
32482
  * 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
32302
32483
  * instance group.
@@ -54484,6 +54665,7 @@ declare namespace gapi.client {
54484
54665
  key?: string;
54485
54666
  /** OAuth 2.0 token for the current user. */
54486
54667
  oauth_token?: string;
54668
+ paths?: string | string[];
54487
54669
  /** Returns response with indentations and line breaks. */
54488
54670
  prettyPrint?: boolean;
54489
54671
  /** Project ID for this request. */
@@ -54527,6 +54709,7 @@ declare namespace gapi.client {
54527
54709
  key?: string;
54528
54710
  /** OAuth 2.0 token for the current user. */
54529
54711
  oauth_token?: string;
54712
+ paths?: string | string[];
54530
54713
  /** Returns response with indentations and line breaks. */
54531
54714
  prettyPrint?: boolean;
54532
54715
  /** 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.20221206",
3
+ "version": "0.0.20230103",
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: 20221206
6
+ // Revision: 20230103
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",
@@ -7028,6 +7037,7 @@ gapi.load('client', async () => {
7028
7037
  networkAttachment: "Test string",
7029
7038
  networkIP: "Test string",
7030
7039
  nicType: "Test string",
7040
+ parentNicName: "Test string",
7031
7041
  queueCount: 42,
7032
7042
  stackType: "Test string",
7033
7043
  subinterfaces: [
@@ -7039,6 +7049,7 @@ gapi.load('client', async () => {
7039
7049
  }
7040
7050
  ],
7041
7051
  subnetwork: "Test string",
7052
+ vlan: 42,
7042
7053
  }
7043
7054
  ],
7044
7055
  networkPerformanceConfig: {
@@ -7069,6 +7080,14 @@ gapi.load('client', async () => {
7069
7080
  availabilityDomain: 42,
7070
7081
  terminationTimestamp: "Test string",
7071
7082
  },
7083
+ serviceIntegrationStatuses: {
7084
+ A: {
7085
+ backupDr: {
7086
+ integrationDetails: "Test string",
7087
+ state: "Test string",
7088
+ },
7089
+ }
7090
+ },
7072
7091
  upcomingMaintenance: {
7073
7092
  canReschedule: true,
7074
7093
  },
@@ -7117,6 +7136,13 @@ gapi.load('client', async () => {
7117
7136
  ],
7118
7137
  }
7119
7138
  ],
7139
+ serviceIntegrationSpecs: {
7140
+ A: {
7141
+ backupDr: {
7142
+ plan: "Test string",
7143
+ },
7144
+ }
7145
+ },
7120
7146
  shieldedInstanceConfig: {
7121
7147
  enableIntegrityMonitoring: true,
7122
7148
  enableSecureBoot: true,
@@ -7364,6 +7390,7 @@ gapi.load('client', async () => {
7364
7390
  networkAttachment: "Test string",
7365
7391
  networkIP: "Test string",
7366
7392
  nicType: "Test string",
7393
+ parentNicName: "Test string",
7367
7394
  queueCount: 42,
7368
7395
  stackType: "Test string",
7369
7396
  subinterfaces: [
@@ -7375,6 +7402,7 @@ gapi.load('client', async () => {
7375
7402
  }
7376
7403
  ],
7377
7404
  subnetwork: "Test string",
7405
+ vlan: 42,
7378
7406
  }
7379
7407
  ],
7380
7408
  networkPerformanceConfig: {
@@ -7437,6 +7465,13 @@ gapi.load('client', async () => {
7437
7465
  ],
7438
7466
  }
7439
7467
  ],
7468
+ serviceIntegrationSpecs: {
7469
+ A: {
7470
+ backupDr: {
7471
+ plan: "Test string",
7472
+ },
7473
+ }
7474
+ },
7440
7475
  shieldedInstanceConfig: {
7441
7476
  enableIntegrityMonitoring: true,
7442
7477
  enableSecureBoot: true,
@@ -7784,6 +7819,7 @@ gapi.load('client', async () => {
7784
7819
  networkAttachment: "Test string",
7785
7820
  networkIP: "Test string",
7786
7821
  nicType: "Test string",
7822
+ parentNicName: "Test string",
7787
7823
  queueCount: 42,
7788
7824
  stackType: "Test string",
7789
7825
  subinterfaces: [
@@ -7795,6 +7831,7 @@ gapi.load('client', async () => {
7795
7831
  }
7796
7832
  ],
7797
7833
  subnetwork: "Test string",
7834
+ vlan: 42,
7798
7835
  }
7799
7836
  ],
7800
7837
  networkPerformanceConfig: {
@@ -7825,6 +7862,14 @@ gapi.load('client', async () => {
7825
7862
  availabilityDomain: 42,
7826
7863
  terminationTimestamp: "Test string",
7827
7864
  },
7865
+ serviceIntegrationStatuses: {
7866
+ A: {
7867
+ backupDr: {
7868
+ integrationDetails: "Test string",
7869
+ state: "Test string",
7870
+ },
7871
+ }
7872
+ },
7828
7873
  upcomingMaintenance: {
7829
7874
  canReschedule: true,
7830
7875
  },
@@ -7873,6 +7918,13 @@ gapi.load('client', async () => {
7873
7918
  ],
7874
7919
  }
7875
7920
  ],
7921
+ serviceIntegrationSpecs: {
7922
+ A: {
7923
+ backupDr: {
7924
+ plan: "Test string",
7925
+ },
7926
+ }
7927
+ },
7876
7928
  shieldedInstanceConfig: {
7877
7929
  enableIntegrityMonitoring: true,
7878
7930
  enableSecureBoot: true,
@@ -8592,6 +8644,7 @@ gapi.load('client', async () => {
8592
8644
  networkAttachment: "Test string",
8593
8645
  networkIP: "Test string",
8594
8646
  nicType: "Test string",
8647
+ parentNicName: "Test string",
8595
8648
  queueCount: 42,
8596
8649
  stackType: "Test string",
8597
8650
  subinterfaces: [
@@ -8603,6 +8656,7 @@ gapi.load('client', async () => {
8603
8656
  }
8604
8657
  ],
8605
8658
  subnetwork: "Test string",
8659
+ vlan: 42,
8606
8660
  }
8607
8661
  ],
8608
8662
  networkPerformanceConfig: {
@@ -8633,6 +8687,14 @@ gapi.load('client', async () => {
8633
8687
  availabilityDomain: 42,
8634
8688
  terminationTimestamp: "Test string",
8635
8689
  },
8690
+ serviceIntegrationStatuses: {
8691
+ A: {
8692
+ backupDr: {
8693
+ integrationDetails: "Test string",
8694
+ state: "Test string",
8695
+ },
8696
+ }
8697
+ },
8636
8698
  upcomingMaintenance: {
8637
8699
  canReschedule: true,
8638
8700
  },
@@ -8681,6 +8743,13 @@ gapi.load('client', async () => {
8681
8743
  ],
8682
8744
  }
8683
8745
  ],
8746
+ serviceIntegrationSpecs: {
8747
+ A: {
8748
+ backupDr: {
8749
+ plan: "Test string",
8750
+ },
8751
+ }
8752
+ },
8684
8753
  shieldedInstanceConfig: {
8685
8754
  enableIntegrityMonitoring: true,
8686
8755
  enableSecureBoot: true,
@@ -8821,6 +8890,7 @@ gapi.load('client', async () => {
8821
8890
  networkAttachment: "Test string",
8822
8891
  networkIP: "Test string",
8823
8892
  nicType: "Test string",
8893
+ parentNicName: "Test string",
8824
8894
  queueCount: 42,
8825
8895
  stackType: "Test string",
8826
8896
  subinterfaces: [
@@ -8832,6 +8902,7 @@ gapi.load('client', async () => {
8832
8902
  }
8833
8903
  ],
8834
8904
  subnetwork: "Test string",
8905
+ vlan: 42,
8835
8906
  });
8836
8907
  /**
8837
8908
  * Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and
@@ -8861,6 +8932,16 @@ gapi.load('client', async () => {
8861
8932
  enableSecureBoot: true,
8862
8933
  enableVtpm: true,
8863
8934
  });
8935
+ /** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
8936
+ await gapi.client.compute.instanceTemplates.aggregatedList({
8937
+ filter: "Test string",
8938
+ includeAllScopes: true,
8939
+ maxResults: 42,
8940
+ orderBy: "Test string",
8941
+ pageToken: "Test string",
8942
+ project: "Test string",
8943
+ returnPartialSuccess: true,
8944
+ });
8864
8945
  /**
8865
8946
  * 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
8866
8947
  * instance group.
@@ -9096,6 +9177,7 @@ gapi.load('client', async () => {
9096
9177
  networkAttachment: "Test string",
9097
9178
  networkIP: "Test string",
9098
9179
  nicType: "Test string",
9180
+ parentNicName: "Test string",
9099
9181
  queueCount: 42,
9100
9182
  stackType: "Test string",
9101
9183
  subinterfaces: [
@@ -9107,6 +9189,7 @@ gapi.load('client', async () => {
9107
9189
  }
9108
9190
  ],
9109
9191
  subnetwork: "Test string",
9192
+ vlan: 42,
9110
9193
  }
9111
9194
  ],
9112
9195
  networkPerformanceConfig: {
@@ -9169,6 +9252,13 @@ gapi.load('client', async () => {
9169
9252
  ],
9170
9253
  }
9171
9254
  ],
9255
+ serviceIntegrationSpecs: {
9256
+ A: {
9257
+ backupDr: {
9258
+ plan: "Test string",
9259
+ },
9260
+ }
9261
+ },
9172
9262
  shieldedInstanceConfig: {
9173
9263
  enableIntegrityMonitoring: true,
9174
9264
  enableSecureBoot: true,
@@ -10744,6 +10834,7 @@ gapi.load('client', async () => {
10744
10834
  networkAttachment: "Test string",
10745
10835
  networkIP: "Test string",
10746
10836
  nicType: "Test string",
10837
+ parentNicName: "Test string",
10747
10838
  queueCount: 42,
10748
10839
  stackType: "Test string",
10749
10840
  subinterfaces: [
@@ -10755,6 +10846,7 @@ gapi.load('client', async () => {
10755
10846
  }
10756
10847
  ],
10757
10848
  subnetwork: "Test string",
10849
+ vlan: 42,
10758
10850
  }
10759
10851
  ],
10760
10852
  networkPerformanceConfig: {
@@ -10817,6 +10909,13 @@ gapi.load('client', async () => {
10817
10909
  ],
10818
10910
  }
10819
10911
  ],
10912
+ serviceIntegrationSpecs: {
10913
+ A: {
10914
+ backupDr: {
10915
+ plan: "Test string",
10916
+ },
10917
+ }
10918
+ },
10820
10919
  shieldedInstanceConfig: {
10821
10920
  enableIntegrityMonitoring: true,
10822
10921
  enableSecureBoot: true,
@@ -10976,6 +11075,7 @@ gapi.load('client', async () => {
10976
11075
  networkAttachment: "Test string",
10977
11076
  networkIP: "Test string",
10978
11077
  nicType: "Test string",
11078
+ parentNicName: "Test string",
10979
11079
  queueCount: 42,
10980
11080
  stackType: "Test string",
10981
11081
  subinterfaces: [
@@ -10987,6 +11087,7 @@ gapi.load('client', async () => {
10987
11087
  }
10988
11088
  ],
10989
11089
  subnetwork: "Test string",
11090
+ vlan: 42,
10990
11091
  }
10991
11092
  ],
10992
11093
  postKeyRevocationActionType: "Test string",
@@ -15999,6 +16100,25 @@ gapi.load('client', async () => {
15999
16100
  region: "Test string",
16000
16101
  reservations: [
16001
16102
  {
16103
+ aggregateReservation: {
16104
+ inUseResources: [
16105
+ {
16106
+ accelerator: {
16107
+ acceleratorCount: 42,
16108
+ acceleratorType: "Test string",
16109
+ },
16110
+ }
16111
+ ],
16112
+ reservedResources: [
16113
+ {
16114
+ accelerator: {
16115
+ acceleratorCount: 42,
16116
+ acceleratorType: "Test string",
16117
+ },
16118
+ }
16119
+ ],
16120
+ vmFamily: "Test string",
16121
+ },
16002
16122
  commitment: "Test string",
16003
16123
  creationTimestamp: "Test string",
16004
16124
  description: "Test string",
@@ -16129,6 +16249,25 @@ gapi.load('client', async () => {
16129
16249
  region: "Test string",
16130
16250
  reservations: [
16131
16251
  {
16252
+ aggregateReservation: {
16253
+ inUseResources: [
16254
+ {
16255
+ accelerator: {
16256
+ acceleratorCount: 42,
16257
+ acceleratorType: "Test string",
16258
+ },
16259
+ }
16260
+ ],
16261
+ reservedResources: [
16262
+ {
16263
+ accelerator: {
16264
+ acceleratorCount: 42,
16265
+ acceleratorType: "Test string",
16266
+ },
16267
+ }
16268
+ ],
16269
+ vmFamily: "Test string",
16270
+ },
16132
16271
  commitment: "Test string",
16133
16272
  creationTimestamp: "Test string",
16134
16273
  description: "Test string",
@@ -16216,6 +16355,25 @@ gapi.load('client', async () => {
16216
16355
  }, {
16217
16356
  reservations: [
16218
16357
  {
16358
+ aggregateReservation: {
16359
+ inUseResources: [
16360
+ {
16361
+ accelerator: {
16362
+ acceleratorCount: 42,
16363
+ acceleratorType: "Test string",
16364
+ },
16365
+ }
16366
+ ],
16367
+ reservedResources: [
16368
+ {
16369
+ accelerator: {
16370
+ acceleratorCount: 42,
16371
+ acceleratorType: "Test string",
16372
+ },
16373
+ }
16374
+ ],
16375
+ vmFamily: "Test string",
16376
+ },
16219
16377
  commitment: "Test string",
16220
16378
  creationTimestamp: "Test string",
16221
16379
  description: "Test string",
@@ -16911,6 +17069,9 @@ gapi.load('client', async () => {
16911
17069
  region: "Test string",
16912
17070
  selfLink: "Test string",
16913
17071
  selfLinkWithId: "Test string",
17072
+ sourceRegions: [
17073
+ "Test string"
17074
+ ],
16914
17075
  sslHealthCheck: {
16915
17076
  port: 42,
16916
17077
  portName: "Test string",
@@ -17006,6 +17167,9 @@ gapi.load('client', async () => {
17006
17167
  region: "Test string",
17007
17168
  selfLink: "Test string",
17008
17169
  selfLinkWithId: "Test string",
17170
+ sourceRegions: [
17171
+ "Test string"
17172
+ ],
17009
17173
  sslHealthCheck: {
17010
17174
  port: 42,
17011
17175
  portName: "Test string",
@@ -17098,6 +17262,9 @@ gapi.load('client', async () => {
17098
17262
  region: "Test string",
17099
17263
  selfLink: "Test string",
17100
17264
  selfLinkWithId: "Test string",
17265
+ sourceRegions: [
17266
+ "Test string"
17267
+ ],
17101
17268
  sslHealthCheck: {
17102
17269
  port: 42,
17103
17270
  portName: "Test string",
@@ -18444,6 +18611,7 @@ gapi.load('client', async () => {
18444
18611
  networkAttachment: "Test string",
18445
18612
  networkIP: "Test string",
18446
18613
  nicType: "Test string",
18614
+ parentNicName: "Test string",
18447
18615
  queueCount: 42,
18448
18616
  stackType: "Test string",
18449
18617
  subinterfaces: [
@@ -18455,6 +18623,7 @@ gapi.load('client', async () => {
18455
18623
  }
18456
18624
  ],
18457
18625
  subnetwork: "Test string",
18626
+ vlan: 42,
18458
18627
  }
18459
18628
  ],
18460
18629
  networkPerformanceConfig: {
@@ -18485,6 +18654,14 @@ gapi.load('client', async () => {
18485
18654
  availabilityDomain: 42,
18486
18655
  terminationTimestamp: "Test string",
18487
18656
  },
18657
+ serviceIntegrationStatuses: {
18658
+ A: {
18659
+ backupDr: {
18660
+ integrationDetails: "Test string",
18661
+ state: "Test string",
18662
+ },
18663
+ }
18664
+ },
18488
18665
  upcomingMaintenance: {
18489
18666
  canReschedule: true,
18490
18667
  },
@@ -18533,6 +18710,13 @@ gapi.load('client', async () => {
18533
18710
  ],
18534
18711
  }
18535
18712
  ],
18713
+ serviceIntegrationSpecs: {
18714
+ A: {
18715
+ backupDr: {
18716
+ plan: "Test string",
18717
+ },
18718
+ }
18719
+ },
18536
18720
  shieldedInstanceConfig: {
18537
18721
  enableIntegrityMonitoring: true,
18538
18722
  enableSecureBoot: true,
@@ -18780,6 +18964,7 @@ gapi.load('client', async () => {
18780
18964
  networkAttachment: "Test string",
18781
18965
  networkIP: "Test string",
18782
18966
  nicType: "Test string",
18967
+ parentNicName: "Test string",
18783
18968
  queueCount: 42,
18784
18969
  stackType: "Test string",
18785
18970
  subinterfaces: [
@@ -18791,6 +18976,7 @@ gapi.load('client', async () => {
18791
18976
  }
18792
18977
  ],
18793
18978
  subnetwork: "Test string",
18979
+ vlan: 42,
18794
18980
  }
18795
18981
  ],
18796
18982
  networkPerformanceConfig: {
@@ -18853,6 +19039,13 @@ gapi.load('client', async () => {
18853
19039
  ],
18854
19040
  }
18855
19041
  ],
19042
+ serviceIntegrationSpecs: {
19043
+ A: {
19044
+ backupDr: {
19045
+ plan: "Test string",
19046
+ },
19047
+ }
19048
+ },
18856
19049
  shieldedInstanceConfig: {
18857
19050
  enableIntegrityMonitoring: true,
18858
19051
  enableSecureBoot: true,
@@ -19119,6 +19312,7 @@ gapi.load('client', async () => {
19119
19312
  networkAttachment: "Test string",
19120
19313
  networkIP: "Test string",
19121
19314
  nicType: "Test string",
19315
+ parentNicName: "Test string",
19122
19316
  queueCount: 42,
19123
19317
  stackType: "Test string",
19124
19318
  subinterfaces: [
@@ -19130,6 +19324,7 @@ gapi.load('client', async () => {
19130
19324
  }
19131
19325
  ],
19132
19326
  subnetwork: "Test string",
19327
+ vlan: 42,
19133
19328
  }
19134
19329
  ],
19135
19330
  networkPerformanceConfig: {
@@ -19192,6 +19387,13 @@ gapi.load('client', async () => {
19192
19387
  ],
19193
19388
  }
19194
19389
  ],
19390
+ serviceIntegrationSpecs: {
19391
+ A: {
19392
+ backupDr: {
19393
+ plan: "Test string",
19394
+ },
19395
+ }
19396
+ },
19195
19397
  shieldedInstanceConfig: {
19196
19398
  enableIntegrityMonitoring: true,
19197
19399
  enableSecureBoot: true,
@@ -24166,6 +24368,25 @@ gapi.load('client', async () => {
24166
24368
  requestId: "Test string",
24167
24369
  zone: "Test string",
24168
24370
  }, {
24371
+ aggregateReservation: {
24372
+ inUseResources: [
24373
+ {
24374
+ accelerator: {
24375
+ acceleratorCount: 42,
24376
+ acceleratorType: "Test string",
24377
+ },
24378
+ }
24379
+ ],
24380
+ reservedResources: [
24381
+ {
24382
+ accelerator: {
24383
+ acceleratorCount: 42,
24384
+ acceleratorType: "Test string",
24385
+ },
24386
+ }
24387
+ ],
24388
+ vmFamily: "Test string",
24389
+ },
24169
24390
  commitment: "Test string",
24170
24391
  creationTimestamp: "Test string",
24171
24392
  description: "Test string",
@@ -24374,6 +24595,25 @@ gapi.load('client', async () => {
24374
24595
  updateMask: "Test string",
24375
24596
  zone: "Test string",
24376
24597
  }, {
24598
+ aggregateReservation: {
24599
+ inUseResources: [
24600
+ {
24601
+ accelerator: {
24602
+ acceleratorCount: 42,
24603
+ acceleratorType: "Test string",
24604
+ },
24605
+ }
24606
+ ],
24607
+ reservedResources: [
24608
+ {
24609
+ accelerator: {
24610
+ acceleratorCount: 42,
24611
+ acceleratorType: "Test string",
24612
+ },
24613
+ }
24614
+ ],
24615
+ vmFamily: "Test string",
24616
+ },
24377
24617
  commitment: "Test string",
24378
24618
  creationTimestamp: "Test string",
24379
24619
  description: "Test string",
@@ -24573,6 +24813,7 @@ gapi.load('client', async () => {
24573
24813
  });
24574
24814
  /** Modify the specified resource policy. */
24575
24815
  await gapi.client.compute.resourcePolicies.patch({
24816
+ paths: "Test string",
24576
24817
  project: "Test string",
24577
24818
  region: "Test string",
24578
24819
  requestId: "Test string",
@@ -31242,6 +31483,7 @@ gapi.load('client', async () => {
31242
31483
  networkAttachment: "Test string",
31243
31484
  networkIP: "Test string",
31244
31485
  nicType: "Test string",
31486
+ parentNicName: "Test string",
31245
31487
  queueCount: 42,
31246
31488
  stackType: "Test string",
31247
31489
  subinterfaces: [
@@ -31253,6 +31495,7 @@ gapi.load('client', async () => {
31253
31495
  }
31254
31496
  ],
31255
31497
  subnetwork: "Test string",
31498
+ vlan: 42,
31256
31499
  }
31257
31500
  ],
31258
31501
  networkPerformanceConfig: {
@@ -31283,6 +31526,14 @@ gapi.load('client', async () => {
31283
31526
  availabilityDomain: 42,
31284
31527
  terminationTimestamp: "Test string",
31285
31528
  },
31529
+ serviceIntegrationStatuses: {
31530
+ A: {
31531
+ backupDr: {
31532
+ integrationDetails: "Test string",
31533
+ state: "Test string",
31534
+ },
31535
+ }
31536
+ },
31286
31537
  upcomingMaintenance: {
31287
31538
  canReschedule: true,
31288
31539
  },
@@ -31331,6 +31582,13 @@ gapi.load('client', async () => {
31331
31582
  ],
31332
31583
  }
31333
31584
  ],
31585
+ serviceIntegrationSpecs: {
31586
+ A: {
31587
+ backupDr: {
31588
+ plan: "Test string",
31589
+ },
31590
+ }
31591
+ },
31334
31592
  shieldedInstanceConfig: {
31335
31593
  enableIntegrityMonitoring: true,
31336
31594
  enableSecureBoot: true,
@@ -31578,6 +31836,7 @@ gapi.load('client', async () => {
31578
31836
  networkAttachment: "Test string",
31579
31837
  networkIP: "Test string",
31580
31838
  nicType: "Test string",
31839
+ parentNicName: "Test string",
31581
31840
  queueCount: 42,
31582
31841
  stackType: "Test string",
31583
31842
  subinterfaces: [
@@ -31589,6 +31848,7 @@ gapi.load('client', async () => {
31589
31848
  }
31590
31849
  ],
31591
31850
  subnetwork: "Test string",
31851
+ vlan: 42,
31592
31852
  }
31593
31853
  ],
31594
31854
  networkPerformanceConfig: {
@@ -31651,6 +31911,13 @@ gapi.load('client', async () => {
31651
31911
  ],
31652
31912
  }
31653
31913
  ],
31914
+ serviceIntegrationSpecs: {
31915
+ A: {
31916
+ backupDr: {
31917
+ plan: "Test string",
31918
+ },
31919
+ }
31920
+ },
31654
31921
  shieldedInstanceConfig: {
31655
31922
  enableIntegrityMonitoring: true,
31656
31923
  enableSecureBoot: true,