@googleapis/tpu 10.0.0 → 11.0.1

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.
package/v2alpha1.ts CHANGED
@@ -423,6 +423,10 @@ export namespace tpu_v2alpha1 {
423
423
  * A list of operations that matches the specified filter in the request.
424
424
  */
425
425
  operations?: Schema$Operation[];
426
+ /**
427
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
428
+ */
429
+ unreachable?: string[] | null;
426
430
  }
427
431
  /**
428
432
  * Response for ListQueuedResources.
@@ -1624,8 +1628,7 @@ export namespace tpu_v2alpha1 {
1624
1628
  }
1625
1629
  }
1626
1630
 
1627
- export interface Params$Resource$Projects$Locations$Generateserviceidentity
1628
- extends StandardParameters {
1631
+ export interface Params$Resource$Projects$Locations$Generateserviceidentity extends StandardParameters {
1629
1632
  /**
1630
1633
  * Required. The parent resource name.
1631
1634
  */
@@ -1636,15 +1639,13 @@ export namespace tpu_v2alpha1 {
1636
1639
  */
1637
1640
  requestBody?: Schema$GenerateServiceIdentityRequest;
1638
1641
  }
1639
- export interface Params$Resource$Projects$Locations$Get
1640
- extends StandardParameters {
1642
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
1641
1643
  /**
1642
1644
  * Resource name for the location.
1643
1645
  */
1644
1646
  name?: string;
1645
1647
  }
1646
- export interface Params$Resource$Projects$Locations$List
1647
- extends StandardParameters {
1648
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
1648
1649
  /**
1649
1650
  * Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
1650
1651
  */
@@ -1963,15 +1964,13 @@ export namespace tpu_v2alpha1 {
1963
1964
  }
1964
1965
  }
1965
1966
 
1966
- export interface Params$Resource$Projects$Locations$Acceleratortypes$Get
1967
- extends StandardParameters {
1967
+ export interface Params$Resource$Projects$Locations$Acceleratortypes$Get extends StandardParameters {
1968
1968
  /**
1969
1969
  * Required. The resource name.
1970
1970
  */
1971
1971
  name?: string;
1972
1972
  }
1973
- export interface Params$Resource$Projects$Locations$Acceleratortypes$List
1974
- extends StandardParameters {
1973
+ export interface Params$Resource$Projects$Locations$Acceleratortypes$List extends StandardParameters {
1975
1974
  /**
1976
1975
  * List filter.
1977
1976
  */
@@ -3544,8 +3543,7 @@ export namespace tpu_v2alpha1 {
3544
3543
  }
3545
3544
  }
3546
3545
 
3547
- export interface Params$Resource$Projects$Locations$Nodes$Create
3548
- extends StandardParameters {
3546
+ export interface Params$Resource$Projects$Locations$Nodes$Create extends StandardParameters {
3549
3547
  /**
3550
3548
  * The unqualified resource name.
3551
3549
  */
@@ -3564,8 +3562,7 @@ export namespace tpu_v2alpha1 {
3564
3562
  */
3565
3563
  requestBody?: Schema$Node;
3566
3564
  }
3567
- export interface Params$Resource$Projects$Locations$Nodes$Delete
3568
- extends StandardParameters {
3565
+ export interface Params$Resource$Projects$Locations$Nodes$Delete extends StandardParameters {
3569
3566
  /**
3570
3567
  * Required. The resource name.
3571
3568
  */
@@ -3575,15 +3572,13 @@ export namespace tpu_v2alpha1 {
3575
3572
  */
3576
3573
  requestId?: string;
3577
3574
  }
3578
- export interface Params$Resource$Projects$Locations$Nodes$Get
3579
- extends StandardParameters {
3575
+ export interface Params$Resource$Projects$Locations$Nodes$Get extends StandardParameters {
3580
3576
  /**
3581
3577
  * Required. The resource name.
3582
3578
  */
3583
3579
  name?: string;
3584
3580
  }
3585
- export interface Params$Resource$Projects$Locations$Nodes$Getguestattributes
3586
- extends StandardParameters {
3581
+ export interface Params$Resource$Projects$Locations$Nodes$Getguestattributes extends StandardParameters {
3587
3582
  /**
3588
3583
  * Required. The resource name.
3589
3584
  */
@@ -3594,8 +3589,7 @@ export namespace tpu_v2alpha1 {
3594
3589
  */
3595
3590
  requestBody?: Schema$GetGuestAttributesRequest;
3596
3591
  }
3597
- export interface Params$Resource$Projects$Locations$Nodes$List
3598
- extends StandardParameters {
3592
+ export interface Params$Resource$Projects$Locations$Nodes$List extends StandardParameters {
3599
3593
  /**
3600
3594
  * The maximum number of items to return.
3601
3595
  */
@@ -3609,8 +3603,7 @@ export namespace tpu_v2alpha1 {
3609
3603
  */
3610
3604
  parent?: string;
3611
3605
  }
3612
- export interface Params$Resource$Projects$Locations$Nodes$Patch
3613
- extends StandardParameters {
3606
+ export interface Params$Resource$Projects$Locations$Nodes$Patch extends StandardParameters {
3614
3607
  /**
3615
3608
  * Output only. Immutable. The name of the TPU.
3616
3609
  */
@@ -3625,8 +3618,7 @@ export namespace tpu_v2alpha1 {
3625
3618
  */
3626
3619
  requestBody?: Schema$Node;
3627
3620
  }
3628
- export interface Params$Resource$Projects$Locations$Nodes$Performmaintenance
3629
- extends StandardParameters {
3621
+ export interface Params$Resource$Projects$Locations$Nodes$Performmaintenance extends StandardParameters {
3630
3622
  /**
3631
3623
  * Required. The resource name.
3632
3624
  */
@@ -3637,8 +3629,7 @@ export namespace tpu_v2alpha1 {
3637
3629
  */
3638
3630
  requestBody?: Schema$PerformMaintenanceRequest;
3639
3631
  }
3640
- export interface Params$Resource$Projects$Locations$Nodes$Simulatemaintenanceevent
3641
- extends StandardParameters {
3632
+ export interface Params$Resource$Projects$Locations$Nodes$Simulatemaintenanceevent extends StandardParameters {
3642
3633
  /**
3643
3634
  * Required. The resource name.
3644
3635
  */
@@ -3649,8 +3640,7 @@ export namespace tpu_v2alpha1 {
3649
3640
  */
3650
3641
  requestBody?: Schema$SimulateMaintenanceEventRequest;
3651
3642
  }
3652
- export interface Params$Resource$Projects$Locations$Nodes$Start
3653
- extends StandardParameters {
3643
+ export interface Params$Resource$Projects$Locations$Nodes$Start extends StandardParameters {
3654
3644
  /**
3655
3645
  * Required. The resource name.
3656
3646
  */
@@ -3661,8 +3651,7 @@ export namespace tpu_v2alpha1 {
3661
3651
  */
3662
3652
  requestBody?: Schema$StartNodeRequest;
3663
3653
  }
3664
- export interface Params$Resource$Projects$Locations$Nodes$Stop
3665
- extends StandardParameters {
3654
+ export interface Params$Resource$Projects$Locations$Nodes$Stop extends StandardParameters {
3666
3655
  /**
3667
3656
  * Required. The resource name.
3668
3657
  */
@@ -4124,13 +4113,16 @@ export namespace tpu_v2alpha1 {
4124
4113
  * pageSize: 'placeholder-value',
4125
4114
  * // The standard list page token.
4126
4115
  * pageToken: 'placeholder-value',
4116
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
4117
+ * returnPartialSuccess: 'placeholder-value',
4127
4118
  * });
4128
4119
  * console.log(res.data);
4129
4120
  *
4130
4121
  * // Example response
4131
4122
  * // {
4132
4123
  * // "nextPageToken": "my_nextPageToken",
4133
- * // "operations": []
4124
+ * // "operations": [],
4125
+ * // "unreachable": []
4134
4126
  * // }
4135
4127
  * }
4136
4128
  *
@@ -4232,29 +4224,25 @@ export namespace tpu_v2alpha1 {
4232
4224
  }
4233
4225
  }
4234
4226
 
4235
- export interface Params$Resource$Projects$Locations$Operations$Cancel
4236
- extends StandardParameters {
4227
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
4237
4228
  /**
4238
4229
  * The name of the operation resource to be cancelled.
4239
4230
  */
4240
4231
  name?: string;
4241
4232
  }
4242
- export interface Params$Resource$Projects$Locations$Operations$Delete
4243
- extends StandardParameters {
4233
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
4244
4234
  /**
4245
4235
  * The name of the operation resource to be deleted.
4246
4236
  */
4247
4237
  name?: string;
4248
4238
  }
4249
- export interface Params$Resource$Projects$Locations$Operations$Get
4250
- extends StandardParameters {
4239
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
4251
4240
  /**
4252
4241
  * The name of the operation resource.
4253
4242
  */
4254
4243
  name?: string;
4255
4244
  }
4256
- export interface Params$Resource$Projects$Locations$Operations$List
4257
- extends StandardParameters {
4245
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
4258
4246
  /**
4259
4247
  * The standard list filter.
4260
4248
  */
@@ -4271,6 +4259,10 @@ export namespace tpu_v2alpha1 {
4271
4259
  * The standard list page token.
4272
4260
  */
4273
4261
  pageToken?: string;
4262
+ /**
4263
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
4264
+ */
4265
+ returnPartialSuccess?: boolean;
4274
4266
  }
4275
4267
 
4276
4268
  export class Resource$Projects$Locations$Queuedresources {
@@ -5321,8 +5313,7 @@ export namespace tpu_v2alpha1 {
5321
5313
  }
5322
5314
  }
5323
5315
 
5324
- export interface Params$Resource$Projects$Locations$Queuedresources$Create
5325
- extends StandardParameters {
5316
+ export interface Params$Resource$Projects$Locations$Queuedresources$Create extends StandardParameters {
5326
5317
  /**
5327
5318
  * Required. The parent resource name.
5328
5319
  */
@@ -5341,8 +5332,7 @@ export namespace tpu_v2alpha1 {
5341
5332
  */
5342
5333
  requestBody?: Schema$QueuedResource;
5343
5334
  }
5344
- export interface Params$Resource$Projects$Locations$Queuedresources$Delete
5345
- extends StandardParameters {
5335
+ export interface Params$Resource$Projects$Locations$Queuedresources$Delete extends StandardParameters {
5346
5336
  /**
5347
5337
  * If set to true, all running nodes belonging to this queued resource will be deleted first and then the queued resource will be deleted. Otherwise (i.e. force=false), the queued resource will only be deleted if its nodes have already been deleted or the queued resource is in the ACCEPTED, FAILED, or SUSPENDED state.
5348
5338
  */
@@ -5356,22 +5346,19 @@ export namespace tpu_v2alpha1 {
5356
5346
  */
5357
5347
  requestId?: string;
5358
5348
  }
5359
- export interface Params$Resource$Projects$Locations$Queuedresources$Get
5360
- extends StandardParameters {
5349
+ export interface Params$Resource$Projects$Locations$Queuedresources$Get extends StandardParameters {
5361
5350
  /**
5362
5351
  * Required. The resource name.
5363
5352
  */
5364
5353
  name?: string;
5365
5354
  }
5366
- export interface Params$Resource$Projects$Locations$Queuedresources$Getmaintenanceinfo
5367
- extends StandardParameters {
5355
+ export interface Params$Resource$Projects$Locations$Queuedresources$Getmaintenanceinfo extends StandardParameters {
5368
5356
  /**
5369
5357
  * Required. The QueuedResource name.
5370
5358
  */
5371
5359
  name?: string;
5372
5360
  }
5373
- export interface Params$Resource$Projects$Locations$Queuedresources$List
5374
- extends StandardParameters {
5361
+ export interface Params$Resource$Projects$Locations$Queuedresources$List extends StandardParameters {
5375
5362
  /**
5376
5363
  * The maximum number of items to return.
5377
5364
  */
@@ -5385,8 +5372,7 @@ export namespace tpu_v2alpha1 {
5385
5372
  */
5386
5373
  parent?: string;
5387
5374
  }
5388
- export interface Params$Resource$Projects$Locations$Queuedresources$Performmaintenancequeuedresource
5389
- extends StandardParameters {
5375
+ export interface Params$Resource$Projects$Locations$Queuedresources$Performmaintenancequeuedresource extends StandardParameters {
5390
5376
  /**
5391
5377
  * Required. The name of the QueuedResource which holds the nodes to perform maintenance on.
5392
5378
  */
@@ -5397,8 +5383,7 @@ export namespace tpu_v2alpha1 {
5397
5383
  */
5398
5384
  requestBody?: Schema$PerformMaintenanceQueuedResourceRequest;
5399
5385
  }
5400
- export interface Params$Resource$Projects$Locations$Queuedresources$Reset
5401
- extends StandardParameters {
5386
+ export interface Params$Resource$Projects$Locations$Queuedresources$Reset extends StandardParameters {
5402
5387
  /**
5403
5388
  * Required. The name of the queued resource.
5404
5389
  */
@@ -5561,8 +5546,7 @@ export namespace tpu_v2alpha1 {
5561
5546
  }
5562
5547
  }
5563
5548
 
5564
- export interface Params$Resource$Projects$Locations$Reservations$List
5565
- extends StandardParameters {
5549
+ export interface Params$Resource$Projects$Locations$Reservations$List extends StandardParameters {
5566
5550
  /**
5567
5551
  * The maximum number of items to return. Defaults to 0 if not specified, which means no limit.
5568
5552
  */
@@ -5870,15 +5854,13 @@ export namespace tpu_v2alpha1 {
5870
5854
  }
5871
5855
  }
5872
5856
 
5873
- export interface Params$Resource$Projects$Locations$Runtimeversions$Get
5874
- extends StandardParameters {
5857
+ export interface Params$Resource$Projects$Locations$Runtimeversions$Get extends StandardParameters {
5875
5858
  /**
5876
5859
  * Required. The resource name.
5877
5860
  */
5878
5861
  name?: string;
5879
5862
  }
5880
- export interface Params$Resource$Projects$Locations$Runtimeversions$List
5881
- extends StandardParameters {
5863
+ export interface Params$Resource$Projects$Locations$Runtimeversions$List extends StandardParameters {
5882
5864
  /**
5883
5865
  * List filter.
5884
5866
  */