@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/v1alpha1.ts CHANGED
@@ -200,6 +200,10 @@ export namespace tpu_v1alpha1 {
200
200
  * A list of operations that matches the specified filter in the request.
201
201
  */
202
202
  operations?: Schema$Operation[];
203
+ /**
204
+ * 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.
205
+ */
206
+ unreachable?: string[] | null;
203
207
  }
204
208
  /**
205
209
  * Response for ListTensorFlowVersions.
@@ -792,15 +796,13 @@ export namespace tpu_v1alpha1 {
792
796
  }
793
797
  }
794
798
 
795
- export interface Params$Resource$Projects$Locations$Get
796
- extends StandardParameters {
799
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
797
800
  /**
798
801
  * Resource name for the location.
799
802
  */
800
803
  name?: string;
801
804
  }
802
- export interface Params$Resource$Projects$Locations$List
803
- extends StandardParameters {
805
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
804
806
  /**
805
807
  * Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
806
808
  */
@@ -1118,15 +1120,13 @@ export namespace tpu_v1alpha1 {
1118
1120
  }
1119
1121
  }
1120
1122
 
1121
- export interface Params$Resource$Projects$Locations$Acceleratortypes$Get
1122
- extends StandardParameters {
1123
+ export interface Params$Resource$Projects$Locations$Acceleratortypes$Get extends StandardParameters {
1123
1124
  /**
1124
1125
  * Required. The resource name.
1125
1126
  */
1126
1127
  name?: string;
1127
1128
  }
1128
- export interface Params$Resource$Projects$Locations$Acceleratortypes$List
1129
- extends StandardParameters {
1129
+ export interface Params$Resource$Projects$Locations$Acceleratortypes$List extends StandardParameters {
1130
1130
  /**
1131
1131
  * List filter.
1132
1132
  */
@@ -2205,8 +2205,7 @@ export namespace tpu_v1alpha1 {
2205
2205
  }
2206
2206
  }
2207
2207
 
2208
- export interface Params$Resource$Projects$Locations$Nodes$Create
2209
- extends StandardParameters {
2208
+ export interface Params$Resource$Projects$Locations$Nodes$Create extends StandardParameters {
2210
2209
  /**
2211
2210
  * The unqualified resource name.
2212
2211
  */
@@ -2225,8 +2224,7 @@ export namespace tpu_v1alpha1 {
2225
2224
  */
2226
2225
  requestBody?: Schema$Node;
2227
2226
  }
2228
- export interface Params$Resource$Projects$Locations$Nodes$Delete
2229
- extends StandardParameters {
2227
+ export interface Params$Resource$Projects$Locations$Nodes$Delete extends StandardParameters {
2230
2228
  /**
2231
2229
  * Required. The resource name.
2232
2230
  */
@@ -2236,15 +2234,13 @@ export namespace tpu_v1alpha1 {
2236
2234
  */
2237
2235
  requestId?: string;
2238
2236
  }
2239
- export interface Params$Resource$Projects$Locations$Nodes$Get
2240
- extends StandardParameters {
2237
+ export interface Params$Resource$Projects$Locations$Nodes$Get extends StandardParameters {
2241
2238
  /**
2242
2239
  * Required. The resource name.
2243
2240
  */
2244
2241
  name?: string;
2245
2242
  }
2246
- export interface Params$Resource$Projects$Locations$Nodes$List
2247
- extends StandardParameters {
2243
+ export interface Params$Resource$Projects$Locations$Nodes$List extends StandardParameters {
2248
2244
  /**
2249
2245
  * The maximum number of items to return.
2250
2246
  */
@@ -2258,8 +2254,7 @@ export namespace tpu_v1alpha1 {
2258
2254
  */
2259
2255
  parent?: string;
2260
2256
  }
2261
- export interface Params$Resource$Projects$Locations$Nodes$Reimage
2262
- extends StandardParameters {
2257
+ export interface Params$Resource$Projects$Locations$Nodes$Reimage extends StandardParameters {
2263
2258
  /**
2264
2259
  * The resource name.
2265
2260
  */
@@ -2270,8 +2265,7 @@ export namespace tpu_v1alpha1 {
2270
2265
  */
2271
2266
  requestBody?: Schema$ReimageNodeRequest;
2272
2267
  }
2273
- export interface Params$Resource$Projects$Locations$Nodes$Start
2274
- extends StandardParameters {
2268
+ export interface Params$Resource$Projects$Locations$Nodes$Start extends StandardParameters {
2275
2269
  /**
2276
2270
  * The resource name.
2277
2271
  */
@@ -2282,8 +2276,7 @@ export namespace tpu_v1alpha1 {
2282
2276
  */
2283
2277
  requestBody?: Schema$StartNodeRequest;
2284
2278
  }
2285
- export interface Params$Resource$Projects$Locations$Nodes$Stop
2286
- extends StandardParameters {
2279
+ export interface Params$Resource$Projects$Locations$Nodes$Stop extends StandardParameters {
2287
2280
  /**
2288
2281
  * The resource name.
2289
2282
  */
@@ -2745,13 +2738,16 @@ export namespace tpu_v1alpha1 {
2745
2738
  * pageSize: 'placeholder-value',
2746
2739
  * // The standard list page token.
2747
2740
  * pageToken: 'placeholder-value',
2741
+ * // 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.
2742
+ * returnPartialSuccess: 'placeholder-value',
2748
2743
  * });
2749
2744
  * console.log(res.data);
2750
2745
  *
2751
2746
  * // Example response
2752
2747
  * // {
2753
2748
  * // "nextPageToken": "my_nextPageToken",
2754
- * // "operations": []
2749
+ * // "operations": [],
2750
+ * // "unreachable": []
2755
2751
  * // }
2756
2752
  * }
2757
2753
  *
@@ -2853,29 +2849,25 @@ export namespace tpu_v1alpha1 {
2853
2849
  }
2854
2850
  }
2855
2851
 
2856
- export interface Params$Resource$Projects$Locations$Operations$Cancel
2857
- extends StandardParameters {
2852
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
2858
2853
  /**
2859
2854
  * The name of the operation resource to be cancelled.
2860
2855
  */
2861
2856
  name?: string;
2862
2857
  }
2863
- export interface Params$Resource$Projects$Locations$Operations$Delete
2864
- extends StandardParameters {
2858
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
2865
2859
  /**
2866
2860
  * The name of the operation resource to be deleted.
2867
2861
  */
2868
2862
  name?: string;
2869
2863
  }
2870
- export interface Params$Resource$Projects$Locations$Operations$Get
2871
- extends StandardParameters {
2864
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
2872
2865
  /**
2873
2866
  * The name of the operation resource.
2874
2867
  */
2875
2868
  name?: string;
2876
2869
  }
2877
- export interface Params$Resource$Projects$Locations$Operations$List
2878
- extends StandardParameters {
2870
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
2879
2871
  /**
2880
2872
  * The standard list filter.
2881
2873
  */
@@ -2892,6 +2884,10 @@ export namespace tpu_v1alpha1 {
2892
2884
  * The standard list page token.
2893
2885
  */
2894
2886
  pageToken?: string;
2887
+ /**
2888
+ * 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.
2889
+ */
2890
+ returnPartialSuccess?: boolean;
2895
2891
  }
2896
2892
 
2897
2893
  export class Resource$Projects$Locations$Tensorflowversions {
@@ -3191,15 +3187,13 @@ export namespace tpu_v1alpha1 {
3191
3187
  }
3192
3188
  }
3193
3189
 
3194
- export interface Params$Resource$Projects$Locations$Tensorflowversions$Get
3195
- extends StandardParameters {
3190
+ export interface Params$Resource$Projects$Locations$Tensorflowversions$Get extends StandardParameters {
3196
3191
  /**
3197
3192
  * Required. The resource name.
3198
3193
  */
3199
3194
  name?: string;
3200
3195
  }
3201
- export interface Params$Resource$Projects$Locations$Tensorflowversions$List
3202
- extends StandardParameters {
3196
+ export interface Params$Resource$Projects$Locations$Tensorflowversions$List extends StandardParameters {
3203
3197
  /**
3204
3198
  * List filter.
3205
3199
  */
package/v2.ts CHANGED
@@ -378,6 +378,10 @@ export namespace tpu_v2 {
378
378
  * A list of operations that matches the specified filter in the request.
379
379
  */
380
380
  operations?: Schema$Operation[];
381
+ /**
382
+ * 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.
383
+ */
384
+ unreachable?: string[] | null;
381
385
  }
382
386
  /**
383
387
  * Response for ListQueuedResources.
@@ -1428,8 +1432,7 @@ export namespace tpu_v2 {
1428
1432
  }
1429
1433
  }
1430
1434
 
1431
- export interface Params$Resource$Projects$Locations$Generateserviceidentity
1432
- extends StandardParameters {
1435
+ export interface Params$Resource$Projects$Locations$Generateserviceidentity extends StandardParameters {
1433
1436
  /**
1434
1437
  * Required. The parent resource name.
1435
1438
  */
@@ -1440,15 +1443,13 @@ export namespace tpu_v2 {
1440
1443
  */
1441
1444
  requestBody?: Schema$GenerateServiceIdentityRequest;
1442
1445
  }
1443
- export interface Params$Resource$Projects$Locations$Get
1444
- extends StandardParameters {
1446
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
1445
1447
  /**
1446
1448
  * Resource name for the location.
1447
1449
  */
1448
1450
  name?: string;
1449
1451
  }
1450
- export interface Params$Resource$Projects$Locations$List
1451
- extends StandardParameters {
1452
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
1452
1453
  /**
1453
1454
  * Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
1454
1455
  */
@@ -1767,15 +1768,13 @@ export namespace tpu_v2 {
1767
1768
  }
1768
1769
  }
1769
1770
 
1770
- export interface Params$Resource$Projects$Locations$Acceleratortypes$Get
1771
- extends StandardParameters {
1771
+ export interface Params$Resource$Projects$Locations$Acceleratortypes$Get extends StandardParameters {
1772
1772
  /**
1773
1773
  * Required. The resource name.
1774
1774
  */
1775
1775
  name?: string;
1776
1776
  }
1777
- export interface Params$Resource$Projects$Locations$Acceleratortypes$List
1778
- extends StandardParameters {
1777
+ export interface Params$Resource$Projects$Locations$Acceleratortypes$List extends StandardParameters {
1779
1778
  /**
1780
1779
  * List filter.
1781
1780
  */
@@ -3036,8 +3035,7 @@ export namespace tpu_v2 {
3036
3035
  }
3037
3036
  }
3038
3037
 
3039
- export interface Params$Resource$Projects$Locations$Nodes$Create
3040
- extends StandardParameters {
3038
+ export interface Params$Resource$Projects$Locations$Nodes$Create extends StandardParameters {
3041
3039
  /**
3042
3040
  * The unqualified resource name.
3043
3041
  */
@@ -3052,22 +3050,19 @@ export namespace tpu_v2 {
3052
3050
  */
3053
3051
  requestBody?: Schema$Node;
3054
3052
  }
3055
- export interface Params$Resource$Projects$Locations$Nodes$Delete
3056
- extends StandardParameters {
3053
+ export interface Params$Resource$Projects$Locations$Nodes$Delete extends StandardParameters {
3057
3054
  /**
3058
3055
  * Required. The resource name.
3059
3056
  */
3060
3057
  name?: string;
3061
3058
  }
3062
- export interface Params$Resource$Projects$Locations$Nodes$Get
3063
- extends StandardParameters {
3059
+ export interface Params$Resource$Projects$Locations$Nodes$Get extends StandardParameters {
3064
3060
  /**
3065
3061
  * Required. The resource name.
3066
3062
  */
3067
3063
  name?: string;
3068
3064
  }
3069
- export interface Params$Resource$Projects$Locations$Nodes$Getguestattributes
3070
- extends StandardParameters {
3065
+ export interface Params$Resource$Projects$Locations$Nodes$Getguestattributes extends StandardParameters {
3071
3066
  /**
3072
3067
  * Required. The resource name.
3073
3068
  */
@@ -3078,8 +3073,7 @@ export namespace tpu_v2 {
3078
3073
  */
3079
3074
  requestBody?: Schema$GetGuestAttributesRequest;
3080
3075
  }
3081
- export interface Params$Resource$Projects$Locations$Nodes$List
3082
- extends StandardParameters {
3076
+ export interface Params$Resource$Projects$Locations$Nodes$List extends StandardParameters {
3083
3077
  /**
3084
3078
  * The maximum number of items to return.
3085
3079
  */
@@ -3093,8 +3087,7 @@ export namespace tpu_v2 {
3093
3087
  */
3094
3088
  parent?: string;
3095
3089
  }
3096
- export interface Params$Resource$Projects$Locations$Nodes$Patch
3097
- extends StandardParameters {
3090
+ export interface Params$Resource$Projects$Locations$Nodes$Patch extends StandardParameters {
3098
3091
  /**
3099
3092
  * Output only. Immutable. The name of the TPU.
3100
3093
  */
@@ -3109,8 +3102,7 @@ export namespace tpu_v2 {
3109
3102
  */
3110
3103
  requestBody?: Schema$Node;
3111
3104
  }
3112
- export interface Params$Resource$Projects$Locations$Nodes$Start
3113
- extends StandardParameters {
3105
+ export interface Params$Resource$Projects$Locations$Nodes$Start extends StandardParameters {
3114
3106
  /**
3115
3107
  * Required. The resource name.
3116
3108
  */
@@ -3121,8 +3113,7 @@ export namespace tpu_v2 {
3121
3113
  */
3122
3114
  requestBody?: Schema$StartNodeRequest;
3123
3115
  }
3124
- export interface Params$Resource$Projects$Locations$Nodes$Stop
3125
- extends StandardParameters {
3116
+ export interface Params$Resource$Projects$Locations$Nodes$Stop extends StandardParameters {
3126
3117
  /**
3127
3118
  * Required. The resource name.
3128
3119
  */
@@ -3581,13 +3572,16 @@ export namespace tpu_v2 {
3581
3572
  * pageSize: 'placeholder-value',
3582
3573
  * // The standard list page token.
3583
3574
  * pageToken: 'placeholder-value',
3575
+ * // 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.
3576
+ * returnPartialSuccess: 'placeholder-value',
3584
3577
  * });
3585
3578
  * console.log(res.data);
3586
3579
  *
3587
3580
  * // Example response
3588
3581
  * // {
3589
3582
  * // "nextPageToken": "my_nextPageToken",
3590
- * // "operations": []
3583
+ * // "operations": [],
3584
+ * // "unreachable": []
3591
3585
  * // }
3592
3586
  * }
3593
3587
  *
@@ -3689,29 +3683,25 @@ export namespace tpu_v2 {
3689
3683
  }
3690
3684
  }
3691
3685
 
3692
- export interface Params$Resource$Projects$Locations$Operations$Cancel
3693
- extends StandardParameters {
3686
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
3694
3687
  /**
3695
3688
  * The name of the operation resource to be cancelled.
3696
3689
  */
3697
3690
  name?: string;
3698
3691
  }
3699
- export interface Params$Resource$Projects$Locations$Operations$Delete
3700
- extends StandardParameters {
3692
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
3701
3693
  /**
3702
3694
  * The name of the operation resource to be deleted.
3703
3695
  */
3704
3696
  name?: string;
3705
3697
  }
3706
- export interface Params$Resource$Projects$Locations$Operations$Get
3707
- extends StandardParameters {
3698
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
3708
3699
  /**
3709
3700
  * The name of the operation resource.
3710
3701
  */
3711
3702
  name?: string;
3712
3703
  }
3713
- export interface Params$Resource$Projects$Locations$Operations$List
3714
- extends StandardParameters {
3704
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
3715
3705
  /**
3716
3706
  * The standard list filter.
3717
3707
  */
@@ -3728,6 +3718,10 @@ export namespace tpu_v2 {
3728
3718
  * The standard list page token.
3729
3719
  */
3730
3720
  pageToken?: string;
3721
+ /**
3722
+ * 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.
3723
+ */
3724
+ returnPartialSuccess?: boolean;
3731
3725
  }
3732
3726
 
3733
3727
  export class Resource$Projects$Locations$Queuedresources {
@@ -4473,8 +4467,7 @@ export namespace tpu_v2 {
4473
4467
  }
4474
4468
  }
4475
4469
 
4476
- export interface Params$Resource$Projects$Locations$Queuedresources$Create
4477
- extends StandardParameters {
4470
+ export interface Params$Resource$Projects$Locations$Queuedresources$Create extends StandardParameters {
4478
4471
  /**
4479
4472
  * Required. The parent resource name.
4480
4473
  */
@@ -4493,8 +4486,7 @@ export namespace tpu_v2 {
4493
4486
  */
4494
4487
  requestBody?: Schema$QueuedResource;
4495
4488
  }
4496
- export interface Params$Resource$Projects$Locations$Queuedresources$Delete
4497
- extends StandardParameters {
4489
+ export interface Params$Resource$Projects$Locations$Queuedresources$Delete extends StandardParameters {
4498
4490
  /**
4499
4491
  * Optional. 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.
4500
4492
  */
@@ -4508,15 +4500,13 @@ export namespace tpu_v2 {
4508
4500
  */
4509
4501
  requestId?: string;
4510
4502
  }
4511
- export interface Params$Resource$Projects$Locations$Queuedresources$Get
4512
- extends StandardParameters {
4503
+ export interface Params$Resource$Projects$Locations$Queuedresources$Get extends StandardParameters {
4513
4504
  /**
4514
4505
  * Required. The resource name.
4515
4506
  */
4516
4507
  name?: string;
4517
4508
  }
4518
- export interface Params$Resource$Projects$Locations$Queuedresources$List
4519
- extends StandardParameters {
4509
+ export interface Params$Resource$Projects$Locations$Queuedresources$List extends StandardParameters {
4520
4510
  /**
4521
4511
  * Optional. The maximum number of items to return.
4522
4512
  */
@@ -4530,8 +4520,7 @@ export namespace tpu_v2 {
4530
4520
  */
4531
4521
  parent?: string;
4532
4522
  }
4533
- export interface Params$Resource$Projects$Locations$Queuedresources$Reset
4534
- extends StandardParameters {
4523
+ export interface Params$Resource$Projects$Locations$Queuedresources$Reset extends StandardParameters {
4535
4524
  /**
4536
4525
  * Required. The name of the queued resource.
4537
4526
  */
@@ -4836,15 +4825,13 @@ export namespace tpu_v2 {
4836
4825
  }
4837
4826
  }
4838
4827
 
4839
- export interface Params$Resource$Projects$Locations$Runtimeversions$Get
4840
- extends StandardParameters {
4828
+ export interface Params$Resource$Projects$Locations$Runtimeversions$Get extends StandardParameters {
4841
4829
  /**
4842
4830
  * Required. The resource name.
4843
4831
  */
4844
4832
  name?: string;
4845
4833
  }
4846
- export interface Params$Resource$Projects$Locations$Runtimeversions$List
4847
- extends StandardParameters {
4834
+ export interface Params$Resource$Projects$Locations$Runtimeversions$List extends StandardParameters {
4848
4835
  /**
4849
4836
  * List filter.
4850
4837
  */