generated/google/apis/tpu_v1alpha1/classes.rb in google-api-client-0.18.1 vs generated/google/apis/tpu_v1alpha1/classes.rb in google-api-client-0.19.0
- old
+ new
@@ -201,24 +201,29 @@
# Required.
# Corresponds to the JSON property `cidrBlock`
# @return [String]
attr_accessor :cidr_block
- # The time when the node was created.
# Output only.
+ # The time when the node was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# The user-supplied description of the TPU. Maximum of 512 characters.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
+ # The health status of the TPU node.
+ # Corresponds to the JSON property `health`
+ # @return [String]
+ attr_accessor :health
+
+ # Output only.
# If this field is populated, it contains a description of why the TPU Node
# is unhealthy.
- # Output only.
# Corresponds to the JSON property `healthDescription`
# @return [String]
attr_accessor :health_description
# Output only.
@@ -226,10 +231,11 @@
# The network address for the TPU Node as visible to GCE instances.
# Corresponds to the JSON property `ipAddress`
# @return [String]
attr_accessor :ip_address
+ # Output only.
# The immutable name of the TPU
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -253,21 +259,21 @@
# The network port for the TPU Node as visible to GCE instances.
# Corresponds to the JSON property `port`
# @return [String]
attr_accessor :port
+ # 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.
- # Output only.
# Corresponds to the JSON property `serviceAccount`
# @return [String]
attr_accessor :service_account
- # The current state for the TPU Node.
# Output only.
+ # The current state for the TPU Node.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# The version of Tensorflow running in the Node.
@@ -284,9 +290,10 @@
def update!(**args)
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
@cidr_block = args[:cidr_block] if args.key?(:cidr_block)
@create_time = args[:create_time] if args.key?(:create_time)
@description = args[:description] if args.key?(:description)
+ @health = args[:health] if args.key?(:health)
@health_description = args[:health_description] if args.key?(:health_description)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)