diff --git a/discovery/tpu-v1.json b/discovery/tpu-v1.json index 22ceddd334..1acd84df29 100644 --- a/discovery/tpu-v1.json +++ b/discovery/tpu-v1.json @@ -659,7 +659,7 @@ } } }, - "revision": "20200814", + "revision": "20200909", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": { @@ -964,6 +964,14 @@ ], "type": "string" }, + "symptoms": { + "description": "Output only. The Symptoms that have occurred to the TPU Node.", + "items": { + "$ref": "Symptom" + }, + "readOnly": true, + "type": "array" + }, "tensorflowVersion": { "description": "The version of Tensorflow running in the Node. Required.", "type": "string" @@ -1112,6 +1120,46 @@ "properties": {}, "type": "object" }, + "Symptom": { + "description": "A Symptom instance.", + "id": "Symptom", + "properties": { + "createTime": { + "description": "Timestamp when the Symptom is created.", + "format": "google-datetime", + "type": "string" + }, + "details": { + "description": "Detailed information of the current Symptom.", + "type": "string" + }, + "symptomType": { + "description": "Type of the Symptom.", + "enum": [ + "SYMPTOM_TYPE_UNSPECIFIED", + "LOW_MEMORY", + "OUT_OF_MEMORY", + "EXECUTE_TIMED_OUT", + "MESH_BUILD_FAIL", + "HBM_OUT_OF_MEMORY" + ], + "enumDescriptions": [ + "Unspecified symptom.", + "TPU VM memory is low.", + "TPU runtime is out of memory.", + "TPU runtime execution has timed out.", + "TPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.", + "TPU HBM is out of memory." + ], + "type": "string" + }, + "workerId": { + "description": "A string used to uniquely distinguish a worker within a TPU node.", + "type": "string" + } + }, + "type": "object" + }, "TensorFlowVersion": { "description": "A tensorflow version that a Node can be configured with.", "id": "TensorFlowVersion", diff --git a/discovery/tpu-v1alpha1.json b/discovery/tpu-v1alpha1.json index 24a1375b2e..88b90567c8 100644 --- a/discovery/tpu-v1alpha1.json +++ b/discovery/tpu-v1alpha1.json @@ -659,7 +659,7 @@ } } }, - "revision": "20200814", + "revision": "20200909", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": { @@ -964,6 +964,14 @@ ], "type": "string" }, + "symptoms": { + "description": "Output only. The Symptoms that have occurred to the TPU Node.", + "items": { + "$ref": "Symptom" + }, + "readOnly": true, + "type": "array" + }, "tensorflowVersion": { "description": "The version of Tensorflow running in the Node. Required.", "type": "string" @@ -1112,6 +1120,46 @@ "properties": {}, "type": "object" }, + "Symptom": { + "description": "A Symptom instance.", + "id": "Symptom", + "properties": { + "createTime": { + "description": "Timestamp when the Symptom is created.", + "format": "google-datetime", + "type": "string" + }, + "details": { + "description": "Detailed information of the current Symptom.", + "type": "string" + }, + "symptomType": { + "description": "Type of the Symptom.", + "enum": [ + "SYMPTOM_TYPE_UNSPECIFIED", + "LOW_MEMORY", + "OUT_OF_MEMORY", + "EXECUTE_TIMED_OUT", + "MESH_BUILD_FAIL", + "HBM_OUT_OF_MEMORY" + ], + "enumDescriptions": [ + "Unspecified symptom.", + "TPU VM memory is low.", + "TPU runtime is out of memory.", + "TPU runtime execution has timed out.", + "TPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.", + "TPU HBM is out of memory." + ], + "type": "string" + }, + "workerId": { + "description": "A string used to uniquely distinguish a worker within a TPU node.", + "type": "string" + } + }, + "type": "object" + }, "TensorFlowVersion": { "description": "A tensorflow version that a Node can be configured with.", "id": "TensorFlowVersion", diff --git a/src/apis/tpu/v1.ts b/src/apis/tpu/v1.ts index dc8235b045..99daece158 100644 --- a/src/apis/tpu/v1.ts +++ b/src/apis/tpu/v1.ts @@ -320,6 +320,10 @@ export namespace tpu_v1 { * Output only. The current state for the TPU Node. */ state?: string | null; + /** + * Output only. The Symptoms that have occurred to the TPU Node. + */ + symptoms?: Schema$Symptom[]; /** * The version of Tensorflow running in the Node. Required. */ @@ -434,6 +438,27 @@ export namespace tpu_v1 { * Request for StopNode. */ export interface Schema$StopNodeRequest {} + /** + * A Symptom instance. + */ + export interface Schema$Symptom { + /** + * Timestamp when the Symptom is created. + */ + createTime?: string | null; + /** + * Detailed information of the current Symptom. + */ + details?: string | null; + /** + * Type of the Symptom. + */ + symptomType?: string | null; + /** + * A string used to uniquely distinguish a worker within a TPU node. + */ + workerId?: string | null; + } /** * A tensorflow version that a Node can be configured with. */ @@ -1162,6 +1187,7 @@ export namespace tpu_v1 { * // "schedulingConfig": {}, * // "serviceAccount": "my_serviceAccount", * // "state": "my_state", + * // "symptoms": [], * // "tensorflowVersion": "my_tensorflowVersion", * // "useServiceNetworking": false * // } @@ -1455,6 +1481,7 @@ export namespace tpu_v1 { * // "schedulingConfig": {}, * // "serviceAccount": "my_serviceAccount", * // "state": "my_state", + * // "symptoms": [], * // "tensorflowVersion": "my_tensorflowVersion", * // "useServiceNetworking": false * // } diff --git a/src/apis/tpu/v1alpha1.ts b/src/apis/tpu/v1alpha1.ts index 8291f1a976..c425d1d2e5 100644 --- a/src/apis/tpu/v1alpha1.ts +++ b/src/apis/tpu/v1alpha1.ts @@ -320,6 +320,10 @@ export namespace tpu_v1alpha1 { * Output only. The current state for the TPU Node. */ state?: string | null; + /** + * Output only. The Symptoms that have occurred to the TPU Node. + */ + symptoms?: Schema$Symptom[]; /** * The version of Tensorflow running in the Node. Required. */ @@ -434,6 +438,27 @@ export namespace tpu_v1alpha1 { * Request for StopNode. */ export interface Schema$StopNodeRequest {} + /** + * A Symptom instance. + */ + export interface Schema$Symptom { + /** + * Timestamp when the Symptom is created. + */ + createTime?: string | null; + /** + * Detailed information of the current Symptom. + */ + details?: string | null; + /** + * Type of the Symptom. + */ + symptomType?: string | null; + /** + * A string used to uniquely distinguish a worker within a TPU node. + */ + workerId?: string | null; + } /** * A tensorflow version that a Node can be configured with. */ @@ -1162,6 +1187,7 @@ export namespace tpu_v1alpha1 { * // "schedulingConfig": {}, * // "serviceAccount": "my_serviceAccount", * // "state": "my_state", + * // "symptoms": [], * // "tensorflowVersion": "my_tensorflowVersion", * // "useServiceNetworking": false * // } @@ -1455,6 +1481,7 @@ export namespace tpu_v1alpha1 { * // "schedulingConfig": {}, * // "serviceAccount": "my_serviceAccount", * // "state": "my_state", + * // "symptoms": [], * // "tensorflowVersion": "my_tensorflowVersion", * // "useServiceNetworking": false * // }