Class: Google::Cloud::Tpu::V1::Node
- Inherits:
-
Object
- Object
- Google::Cloud::Tpu::V1::Node
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/tpu/v1/cloud_tpu.rb
Overview
A TPU instance.
Defined Under Namespace
Modules: ApiVersion, Health, State Classes: LabelsEntry
Instance Attribute Summary collapse
-
#accelerator_type ⇒ ::String
Required.
-
#api_version ⇒ ::Google::Cloud::Tpu::V1::Node::ApiVersion
readonly
Output only.
-
#cidr_block ⇒ ::String
The CIDR block that the TPU node will use when selecting an IP address.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
The user-supplied description of the TPU.
-
#health ⇒ ::Google::Cloud::Tpu::V1::Node::Health
The health status of the TPU node.
-
#health_description ⇒ ::String
readonly
Output only.
-
#ip_address ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Resource labels to represent user-provided metadata.
-
#name ⇒ ::String
readonly
Output only.
-
#network ⇒ ::String
The name of a network they wish to peer the TPU node to.
-
#network_endpoints ⇒ ::Array<::Google::Cloud::Tpu::V1::NetworkEndpoint>
readonly
Output only.
-
#port ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#scheduling_config ⇒ ::Google::Cloud::Tpu::V1::SchedulingConfig
The scheduling options for this node.
-
#service_account ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Tpu::V1::Node::State
readonly
Output only.
-
#symptoms ⇒ ::Array<::Google::Cloud::Tpu::V1::Symptom>
readonly
Output only.
-
#tensorflow_version ⇒ ::String
Required.
-
#use_service_networking ⇒ ::Boolean
Whether the VPC peering for the node is set up through Service Networking API.
Instance Attribute Details
#accelerator_type ⇒ ::String
Returns Required. The type of hardware accelerators associated with this node.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#api_version ⇒ ::Google::Cloud::Tpu::V1::Node::ApiVersion (readonly)
Returns Output only. The API version that created this Node.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#cidr_block ⇒ ::String
Returns 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.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the node was created.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#description ⇒ ::String
Returns The user-supplied description of the TPU. Maximum of 512 characters.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#health ⇒ ::Google::Cloud::Tpu::V1::Node::Health
Returns The health status of the TPU node.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#health_description ⇒ ::String (readonly)
Returns Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#ip_address ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Resource labels to represent user-provided metadata.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#name ⇒ ::String (readonly)
Returns Output only. Immutable. The name of the TPU.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#network ⇒ ::String
Returns The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#network_endpoints ⇒ ::Array<::Google::Cloud::Tpu::V1::NetworkEndpoint> (readonly)
Returns Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#port ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#scheduling_config ⇒ ::Google::Cloud::Tpu::V1::SchedulingConfig
Returns The scheduling options for this node.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#service_account ⇒ ::String (readonly)
Returns Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#state ⇒ ::Google::Cloud::Tpu::V1::Node::State (readonly)
Returns Output only. The current state for the TPU Node.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#symptoms ⇒ ::Array<::Google::Cloud::Tpu::V1::Symptom> (readonly)
Returns Output only. The Symptoms that have occurred to the TPU Node.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#tensorflow_version ⇒ ::String
Returns Required. The version of Tensorflow running in the Node.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |
#use_service_networking ⇒ ::Boolean
Returns Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 130 class Node include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the different states of a TPU node during its lifecycle. module State # TPU node state is not known/set. STATE_UNSPECIFIED = 0 # TPU node is being created. CREATING = 1 # TPU node has been created. READY = 2 # TPU node is restarting. RESTARTING = 3 # TPU node is undergoing reimaging. REIMAGING = 4 # TPU node is being deleted. DELETING = 5 # TPU node is being repaired and may be unusable. Details can be # found in the `help_description` field. REPAIRING = 6 # TPU node is stopped. STOPPED = 8 # TPU node is currently stopping. STOPPING = 9 # TPU node is currently starting. STARTING = 10 # TPU node has been preempted. Only applies to Preemptible TPU Nodes. PREEMPTED = 11 # TPU node has been terminated due to maintenance or has reached the end of # its life cycle (for preemptible nodes). TERMINATED = 12 # TPU node is currently hiding. HIDING = 13 # TPU node has been hidden. HIDDEN = 14 # TPU node is currently unhiding. UNHIDING = 15 end # Health defines the status of a TPU node as reported by # Health Monitor. module Health # Health status is unknown: not initialized or failed to retrieve. HEALTH_UNSPECIFIED = 0 # The resource is healthy. HEALTHY = 1 # The resource is unhealthy. DEPRECATED_UNHEALTHY = 2 # The resource is unresponsive. TIMEOUT = 3 # The in-guest ML stack is unhealthy. UNHEALTHY_TENSORFLOW = 4 # The node is under maintenance/priority boost caused rescheduling and # will resume running once rescheduled. UNHEALTHY_MAINTENANCE = 5 end # TPU API Version. module ApiVersion # API version is unknown. API_VERSION_UNSPECIFIED = 0 # TPU API V1Alpha1 version. V1_ALPHA1 = 1 # TPU API V1 version. V1 = 2 # TPU API V2Alpha1 version. V2_ALPHA1 = 3 end end |