lib/google/apis/tpu_v2/classes.rb in google-apis-tpu_v2-0.8.0 vs lib/google/apis/tpu_v2/classes.rb in google-apis-tpu_v2-0.9.0
- old
+ new
@@ -507,10 +507,16 @@
# Compute Engine network. If none is provided, "default" will be used.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
+ # Optional. Specifies networking queue count for TPU VM instance's network
+ # interface.
+ # Corresponds to the JSON property `queueCount`
+ # @return [Fixnum]
+ attr_accessor :queue_count
+
# The name of the subnetwork for the TPU node. It must be a preexisting Google
# Compute Engine subnetwork. If none is provided, "default" will be used.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
@@ -522,9 +528,10 @@
# Update properties of this object
def update!(**args)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@enable_external_ips = args[:enable_external_ips] if args.key?(:enable_external_ips)
@network = args[:network] if args.key?(:network)
+ @queue_count = args[:queue_count] if args.key?(:queue_count)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
end
end
# A network endpoint over which a TPU worker can be reached.