Package types (1.0.2)

API documentation for tpu_v1.types package.

Classes

AcceleratorType

A accelerator type that a Node can be configured with. .. attribute:: name

The resource name.

:type: str

CreateNodeRequest

Request for CreateNode. .. attribute:: parent

Required. The parent resource name.

:type: str

DeleteNodeRequest

Request for DeleteNode. .. attribute:: name

Required. The resource name.

:type: str

GetAcceleratorTypeRequest

Request for GetAcceleratorType.

GetNodeRequest

Request for GetNode. .. attribute:: name

Required. The resource name.

:type: str

GetTensorFlowVersionRequest

Request for GetTensorFlowVersion.

ListAcceleratorTypesRequest

Request for ListAcceleratorTypes.

ListAcceleratorTypesResponse

Response for ListAcceleratorTypes.

ListNodesRequest

Request for ListNodes. .. attribute:: parent

Required. The parent resource name.

:type: str

ListNodesResponse

Response for ListNodes. .. attribute:: nodes

The listed nodes.

:type: Sequence[google.cloud.tpu_v1.types.Node]

ListTensorFlowVersionsRequest

Request for ListTensorFlowVersions.

ListTensorFlowVersionsResponse

Response for ListTensorFlowVersions.

NetworkEndpoint

A network endpoint over which a TPU worker can be reached. .. attribute:: ip_address

The IP address of this network endpoint.

:type: str

Node

A TPU instance. .. attribute:: name

Output only. Immutable. The name of the TPU

:type: str

OperationMetadata

Metadata describing an Operation][google.longrunning.Operation] .. attribute:: create_time

The time the operation was created.

:type: google.protobuf.timestamp_pb2.Timestamp

ReimageNodeRequest

Request for ReimageNode. .. attribute:: name

The resource name.

:type: str

SchedulingConfig

Sets the scheduling options for this node. .. attribute:: preemptible

Defines whether the node is preemptible.

:type: bool

StartNodeRequest

Request for StartNode. .. attribute:: name

The resource name.

:type: str

StopNodeRequest

Request for StopNode. .. attribute:: name

The resource name.

:type: str

Symptom

A Symptom instance. .. attribute:: create_time

Timestamp when the Symptom is created.

:type: google.protobuf.timestamp_pb2.Timestamp

TensorFlowVersion

A tensorflow version that a Node can be configured with. .. attribute:: name

The resource name.

:type: str