@googleapis/tpu 0.2.0 → 0.6.0

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2alpha1.js","sourceRoot":"","sources":["../v2alpha1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,YAAY,CAg8G5B;AAh8GD,WAAiB,YAAY;IAgE3B;;;;;;;;;;OAUG;IACH,MAAa,GAAG;QAId,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,CAAC;KACF;IAZY,gBAAG,MAYf,CAAA;IA6eD,MAAa,iBAAiB;QAG5B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjE,CAAC;KACF;IAPY,8BAAiB,oBAO7B,CAAA;IAED,MAAa,2BAA2B;QAMtC,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC,gBAAgB,GAAG,IAAI,4CAA4C,CACtE,IAAI,CAAC,OAAO,CACb,CAAC;YACF,IAAI,CAAC,KAAK,GAAG,IAAI,iCAAi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ACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,oCAAgB,CACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,oCAAgB,CAAqC,UAAU,CAAC,CAAC;aACzE;QACH,CAAC;KACF;IAtRY,wDAA2C,8CAsRvD,CAAA;AAgCH,CAAC,EAh8GgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAg8G5B"}
package/index.ts CHANGED
@@ -16,19 +16,29 @@
16
16
  import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common';
17
17
  import {tpu_v1} from './v1';
18
18
  import {tpu_v1alpha1} from './v1alpha1';
19
+ import {tpu_v2alpha1} from './v2alpha1';
19
20
 
20
21
  export const VERSIONS = {
21
22
  v1: tpu_v1.Tpu,
22
23
  v1alpha1: tpu_v1alpha1.Tpu,
24
+ v2alpha1: tpu_v2alpha1.Tpu,
23
25
  };
24
26
 
25
27
  export function tpu(version: 'v1'): tpu_v1.Tpu;
26
28
  export function tpu(options: tpu_v1.Options): tpu_v1.Tpu;
27
29
  export function tpu(version: 'v1alpha1'): tpu_v1alpha1.Tpu;
28
30
  export function tpu(options: tpu_v1alpha1.Options): tpu_v1alpha1.Tpu;
29
- export function tpu<T = tpu_v1.Tpu | tpu_v1alpha1.Tpu>(
31
+ export function tpu(version: 'v2alpha1'): tpu_v2alpha1.Tpu;
32
+ export function tpu(options: tpu_v2alpha1.Options): tpu_v2alpha1.Tpu;
33
+ export function tpu<T = tpu_v1.Tpu | tpu_v1alpha1.Tpu | tpu_v2alpha1.Tpu>(
30
34
  this: GoogleConfigurable,
31
- versionOrOptions: 'v1' | tpu_v1.Options | 'v1alpha1' | tpu_v1alpha1.Options
35
+ versionOrOptions:
36
+ | 'v1'
37
+ | tpu_v1.Options
38
+ | 'v1alpha1'
39
+ | tpu_v1alpha1.Options
40
+ | 'v2alpha1'
41
+ | tpu_v2alpha1.Options
32
42
  ) {
33
43
  return getAPI<T>('tpu', versionOrOptions, VERSIONS, this);
34
44
  }
@@ -37,6 +47,7 @@ const auth = new AuthPlus();
37
47
  export {auth};
38
48
  export {tpu_v1};
39
49
  export {tpu_v1alpha1};
50
+ export {tpu_v2alpha1};
40
51
  export {
41
52
  AuthPlus,
42
53
  GlobalOptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/tpu",
3
- "version": "0.2.0",
3
+ "version": "0.6.0",
4
4
  "description": "tpu",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -265,6 +265,10 @@ export namespace tpu_v1 {
265
265
  * Required. The type of hardware accelerators associated with this node.
266
266
  */
267
267
  acceleratorType?: string | null;
268
+ /**
269
+ * Output only. The API version that created this Node.
270
+ */
271
+ apiVersion?: string | null;
268
272
  /**
269
273
  * The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
270
274
  */
@@ -364,31 +368,31 @@ export namespace tpu_v1 {
364
368
  */
365
369
  export interface Schema$OperationMetadata {
366
370
  /**
367
- * [Output only] API version used to start the operation.
371
+ * Output only. API version used to start the operation.
368
372
  */
369
373
  apiVersion?: string | null;
370
374
  /**
371
- * [Output only] Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
375
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
372
376
  */
373
377
  cancelRequested?: boolean | null;
374
378
  /**
375
- * [Output only] The time the operation was created.
379
+ * Output only. The time the operation was created.
376
380
  */
377
381
  createTime?: string | null;
378
382
  /**
379
- * [Output only] The time the operation finished running.
383
+ * Output only. The time the operation finished running.
380
384
  */
381
385
  endTime?: string | null;
382
386
  /**
383
- * [Output only] Human-readable status of the operation, if any.
387
+ * Output only. Human-readable status of the operation, if any.
384
388
  */
385
389
  statusDetail?: string | null;
386
390
  /**
387
- * [Output only] Server-defined resource path for the target of the operation.
391
+ * Output only. Server-defined resource path for the target of the operation.
388
392
  */
389
393
  target?: string | null;
390
394
  /**
391
- * [Output only] Name of the verb executed by the operation.
395
+ * Output only. Name of the verb executed by the operation.
392
396
  */
393
397
  verb?: string | null;
394
398
  }
@@ -498,9 +502,8 @@ export namespace tpu_v1 {
498
502
  this.operations = new Resource$Projects$Locations$Operations(
499
503
  this.context
500
504
  );
501
- this.tensorflowVersions = new Resource$Projects$Locations$Tensorflowversions(
502
- this.context
503
- );
505
+ this.tensorflowVersions =
506
+ new Resource$Projects$Locations$Tensorflowversions(this.context);
504
507
  }
505
508
 
506
509
  /**
@@ -660,13 +663,13 @@ export namespace tpu_v1 {
660
663
  *
661
664
  * // Do the magic
662
665
  * const res = await tpu.projects.locations.list({
663
- * // The standard list filter.
666
+ * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
664
667
  * filter: 'placeholder-value',
665
668
  * // The resource that owns the locations collection, if applicable.
666
669
  * name: 'projects/my-project',
667
- * // The standard list page size.
670
+ * // The maximum number of results to return. If not set, the service selects a default.
668
671
  * pageSize: 'placeholder-value',
669
- * // The standard list page token.
672
+ * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
670
673
  * pageToken: 'placeholder-value',
671
674
  * });
672
675
  * console.log(res.data);
@@ -785,7 +788,7 @@ export namespace tpu_v1 {
785
788
  export interface Params$Resource$Projects$Locations$List
786
789
  extends StandardParameters {
787
790
  /**
788
- * The standard list filter.
791
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
789
792
  */
790
793
  filter?: string;
791
794
  /**
@@ -793,11 +796,11 @@ export namespace tpu_v1 {
793
796
  */
794
797
  name?: string;
795
798
  /**
796
- * The standard list page size.
799
+ * The maximum number of results to return. If not set, the service selects a default.
797
800
  */
798
801
  pageSize?: number;
799
802
  /**
800
- * The standard list page token.
803
+ * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
801
804
  */
802
805
  pageToken?: string;
803
806
  }
@@ -836,8 +839,7 @@ export namespace tpu_v1 {
836
839
  * // Do the magic
837
840
  * const res = await tpu.projects.locations.acceleratorTypes.get({
838
841
  * // Required. The resource name.
839
- * name:
840
- * 'projects/my-project/locations/my-location/acceleratorTypes/my-acceleratorType',
842
+ * name: 'projects/my-project/locations/my-location/acceleratorTypes/my-acceleratorType',
841
843
  * });
842
844
  * console.log(res.data);
843
845
  *
@@ -1159,6 +1161,7 @@ export namespace tpu_v1 {
1159
1161
  * // request body parameters
1160
1162
  * // {
1161
1163
  * // "acceleratorType": "my_acceleratorType",
1164
+ * // "apiVersion": "my_apiVersion",
1162
1165
  * // "cidrBlock": "my_cidrBlock",
1163
1166
  * // "createTime": "my_createTime",
1164
1167
  * // "description": "my_description",
@@ -1447,6 +1450,7 @@ export namespace tpu_v1 {
1447
1450
  * // Example response
1448
1451
  * // {
1449
1452
  * // "acceleratorType": "my_acceleratorType",
1453
+ * // "apiVersion": "my_apiVersion",
1450
1454
  * // "cidrBlock": "my_cidrBlock",
1451
1455
  * // "createTime": "my_createTime",
1452
1456
  * // "description": "my_description",
@@ -1971,7 +1975,7 @@ export namespace tpu_v1 {
1971
1975
  }
1972
1976
 
1973
1977
  /**
1974
- * Stops a node.
1978
+ * Stops a node, this operation is only available with single TPU nodes.
1975
1979
  * @example
1976
1980
  * ```js
1977
1981
  * // Before running the sample:
@@ -2790,8 +2794,7 @@ export namespace tpu_v1 {
2790
2794
  * // Do the magic
2791
2795
  * const res = await tpu.projects.locations.tensorflowVersions.get({
2792
2796
  * // Required. The resource name.
2793
- * name:
2794
- * 'projects/my-project/locations/my-location/tensorflowVersions/my-tensorflowVersion',
2797
+ * name: 'projects/my-project/locations/my-location/tensorflowVersions/my-tensorflowVersion',
2795
2798
  * });
2796
2799
  * console.log(res.data);
2797
2800
  *
@@ -2860,7 +2863,8 @@ export namespace tpu_v1 {
2860
2863
 
2861
2864
  if (typeof paramsOrCallback === 'function') {
2862
2865
  callback = paramsOrCallback;
2863
- params = {} as Params$Resource$Projects$Locations$Tensorflowversions$Get;
2866
+ params =
2867
+ {} as Params$Resource$Projects$Locations$Tensorflowversions$Get;
2864
2868
  options = {};
2865
2869
  }
2866
2870
 
@@ -3003,7 +3007,8 @@ export namespace tpu_v1 {
3003
3007
 
3004
3008
  if (typeof paramsOrCallback === 'function') {
3005
3009
  callback = paramsOrCallback;
3006
- params = {} as Params$Resource$Projects$Locations$Tensorflowversions$List;
3010
+ params =
3011
+ {} as Params$Resource$Projects$Locations$Tensorflowversions$List;
3007
3012
  options = {};
3008
3013
  }
3009
3014
 
package/v1alpha1.ts CHANGED
@@ -265,6 +265,10 @@ export namespace tpu_v1alpha1 {
265
265
  * Required. The type of hardware accelerators associated with this node.
266
266
  */
267
267
  acceleratorType?: string | null;
268
+ /**
269
+ * Output only. The API version that created this Node.
270
+ */
271
+ apiVersion?: string | null;
268
272
  /**
269
273
  * The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
270
274
  */
@@ -364,31 +368,31 @@ export namespace tpu_v1alpha1 {
364
368
  */
365
369
  export interface Schema$OperationMetadata {
366
370
  /**
367
- * [Output only] API version used to start the operation.
371
+ * Output only. API version used to start the operation.
368
372
  */
369
373
  apiVersion?: string | null;
370
374
  /**
371
- * [Output only] Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
375
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
372
376
  */
373
377
  cancelRequested?: boolean | null;
374
378
  /**
375
- * [Output only] The time the operation was created.
379
+ * Output only. The time the operation was created.
376
380
  */
377
381
  createTime?: string | null;
378
382
  /**
379
- * [Output only] The time the operation finished running.
383
+ * Output only. The time the operation finished running.
380
384
  */
381
385
  endTime?: string | null;
382
386
  /**
383
- * [Output only] Human-readable status of the operation, if any.
387
+ * Output only. Human-readable status of the operation, if any.
384
388
  */
385
389
  statusDetail?: string | null;
386
390
  /**
387
- * [Output only] Server-defined resource path for the target of the operation.
391
+ * Output only. Server-defined resource path for the target of the operation.
388
392
  */
389
393
  target?: string | null;
390
394
  /**
391
- * [Output only] Name of the verb executed by the operation.
395
+ * Output only. Name of the verb executed by the operation.
392
396
  */
393
397
  verb?: string | null;
394
398
  }
@@ -498,9 +502,8 @@ export namespace tpu_v1alpha1 {
498
502
  this.operations = new Resource$Projects$Locations$Operations(
499
503
  this.context
500
504
  );
501
- this.tensorflowVersions = new Resource$Projects$Locations$Tensorflowversions(
502
- this.context
503
- );
505
+ this.tensorflowVersions =
506
+ new Resource$Projects$Locations$Tensorflowversions(this.context);
504
507
  }
505
508
 
506
509
  /**
@@ -660,13 +663,13 @@ export namespace tpu_v1alpha1 {
660
663
  *
661
664
  * // Do the magic
662
665
  * const res = await tpu.projects.locations.list({
663
- * // The standard list filter.
666
+ * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
664
667
  * filter: 'placeholder-value',
665
668
  * // The resource that owns the locations collection, if applicable.
666
669
  * name: 'projects/my-project',
667
- * // The standard list page size.
670
+ * // The maximum number of results to return. If not set, the service selects a default.
668
671
  * pageSize: 'placeholder-value',
669
- * // The standard list page token.
672
+ * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
670
673
  * pageToken: 'placeholder-value',
671
674
  * });
672
675
  * console.log(res.data);
@@ -785,7 +788,7 @@ export namespace tpu_v1alpha1 {
785
788
  export interface Params$Resource$Projects$Locations$List
786
789
  extends StandardParameters {
787
790
  /**
788
- * The standard list filter.
791
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
789
792
  */
790
793
  filter?: string;
791
794
  /**
@@ -793,11 +796,11 @@ export namespace tpu_v1alpha1 {
793
796
  */
794
797
  name?: string;
795
798
  /**
796
- * The standard list page size.
799
+ * The maximum number of results to return. If not set, the service selects a default.
797
800
  */
798
801
  pageSize?: number;
799
802
  /**
800
- * The standard list page token.
803
+ * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
801
804
  */
802
805
  pageToken?: string;
803
806
  }
@@ -836,8 +839,7 @@ export namespace tpu_v1alpha1 {
836
839
  * // Do the magic
837
840
  * const res = await tpu.projects.locations.acceleratorTypes.get({
838
841
  * // Required. The resource name.
839
- * name:
840
- * 'projects/my-project/locations/my-location/acceleratorTypes/my-acceleratorType',
842
+ * name: 'projects/my-project/locations/my-location/acceleratorTypes/my-acceleratorType',
841
843
  * });
842
844
  * console.log(res.data);
843
845
  *
@@ -1153,12 +1155,15 @@ export namespace tpu_v1alpha1 {
1153
1155
  * nodeId: 'placeholder-value',
1154
1156
  * // Required. The parent resource name.
1155
1157
  * parent: 'projects/my-project/locations/my-location',
1158
+ * // Idempotent request UUID.
1159
+ * requestId: 'placeholder-value',
1156
1160
  *
1157
1161
  * // Request body metadata
1158
1162
  * requestBody: {
1159
1163
  * // request body parameters
1160
1164
  * // {
1161
1165
  * // "acceleratorType": "my_acceleratorType",
1166
+ * // "apiVersion": "my_apiVersion",
1162
1167
  * // "cidrBlock": "my_cidrBlock",
1163
1168
  * // "createTime": "my_createTime",
1164
1169
  * // "description": "my_description",
@@ -1311,6 +1316,8 @@ export namespace tpu_v1alpha1 {
1311
1316
  * const res = await tpu.projects.locations.nodes.delete({
1312
1317
  * // Required. The resource name.
1313
1318
  * name: 'projects/my-project/locations/my-location/nodes/my-node',
1319
+ * // Idempotent request UUID.
1320
+ * requestId: 'placeholder-value',
1314
1321
  * });
1315
1322
  * console.log(res.data);
1316
1323
  *
@@ -1447,6 +1454,7 @@ export namespace tpu_v1alpha1 {
1447
1454
  * // Example response
1448
1455
  * // {
1449
1456
  * // "acceleratorType": "my_acceleratorType",
1457
+ * // "apiVersion": "my_apiVersion",
1450
1458
  * // "cidrBlock": "my_cidrBlock",
1451
1459
  * // "createTime": "my_createTime",
1452
1460
  * // "description": "my_description",
@@ -1974,7 +1982,7 @@ export namespace tpu_v1alpha1 {
1974
1982
  }
1975
1983
 
1976
1984
  /**
1977
- * Stops a node.
1985
+ * Stops a node. This operation is only available with single TPU nodes.
1978
1986
  * @example
1979
1987
  * ```js
1980
1988
  * // Before running the sample:
@@ -2123,6 +2131,10 @@ export namespace tpu_v1alpha1 {
2123
2131
  * Required. The parent resource name.
2124
2132
  */
2125
2133
  parent?: string;
2134
+ /**
2135
+ * Idempotent request UUID.
2136
+ */
2137
+ requestId?: string;
2126
2138
 
2127
2139
  /**
2128
2140
  * Request body metadata
@@ -2135,6 +2147,10 @@ export namespace tpu_v1alpha1 {
2135
2147
  * Required. The resource name.
2136
2148
  */
2137
2149
  name?: string;
2150
+ /**
2151
+ * Idempotent request UUID.
2152
+ */
2153
+ requestId?: string;
2138
2154
  }
2139
2155
  export interface Params$Resource$Projects$Locations$Nodes$Get
2140
2156
  extends StandardParameters {
@@ -2799,8 +2815,7 @@ export namespace tpu_v1alpha1 {
2799
2815
  * // Do the magic
2800
2816
  * const res = await tpu.projects.locations.tensorflowVersions.get({
2801
2817
  * // Required. The resource name.
2802
- * name:
2803
- * 'projects/my-project/locations/my-location/tensorflowVersions/my-tensorflowVersion',
2818
+ * name: 'projects/my-project/locations/my-location/tensorflowVersions/my-tensorflowVersion',
2804
2819
  * });
2805
2820
  * console.log(res.data);
2806
2821
  *
@@ -2869,7 +2884,8 @@ export namespace tpu_v1alpha1 {
2869
2884
 
2870
2885
  if (typeof paramsOrCallback === 'function') {
2871
2886
  callback = paramsOrCallback;
2872
- params = {} as Params$Resource$Projects$Locations$Tensorflowversions$Get;
2887
+ params =
2888
+ {} as Params$Resource$Projects$Locations$Tensorflowversions$Get;
2873
2889
  options = {};
2874
2890
  }
2875
2891
 
@@ -3012,7 +3028,8 @@ export namespace tpu_v1alpha1 {
3012
3028
 
3013
3029
  if (typeof paramsOrCallback === 'function') {
3014
3030
  callback = paramsOrCallback;
3015
- params = {} as Params$Resource$Projects$Locations$Tensorflowversions$List;
3031
+ params =
3032
+ {} as Params$Resource$Projects$Locations$Tensorflowversions$List;
3016
3033
  options = {};
3017
3034
  }
3018
3035