generated/google/apis/tpu_v1alpha1/classes.rb in google-api-client-0.28.7 vs generated/google/apis/tpu_v1alpha1/classes.rb in google-api-client-0.29.0
- old
+ new
@@ -339,14 +339,13 @@
# has been activated. If none is provided, "default" will be used.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
- # 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.
+ # 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.
# Corresponds to the JSON property `networkEndpoints`
# @return [Array<Google::Apis::TpuV1alpha1::NetworkEndpoint>]
attr_accessor :network_endpoints
# Output only.
@@ -590,16 +589,23 @@
# Corresponds to the JSON property `preemptible`
# @return [Boolean]
attr_accessor :preemptible
alias_method :preemptible?, :preemptible
+ # Whether the node is created under a reservation.
+ # Corresponds to the JSON property `reserved`
+ # @return [Boolean]
+ attr_accessor :reserved
+ alias_method :reserved?, :reserved
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@preemptible = args[:preemptible] if args.key?(:preemptible)
+ @reserved = args[:reserved] if args.key?(:reserved)
end
end
# Request for StartNode.
class StartNodeRequest