lib/google/apis/tpu_v2/classes.rb in google-apis-tpu_v2-0.6.0 vs lib/google/apis/tpu_v2/classes.rb in google-apis-tpu_v2-0.7.0

- old
+ new

@@ -59,11 +59,11 @@ # The resource name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # the accelerator type. + # The accelerator type. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type def initialize(**args) @@ -566,11 +566,11 @@ # A TPU accelerator configuration. # Corresponds to the JSON property `acceleratorConfig` # @return [Google::Apis::TpuV2::AcceleratorConfig] attr_accessor :accelerator_config - # Required. The type of hardware accelerators associated with this node. + # Optional. The type of hardware accelerators associated with this node. # Corresponds to the JSON property `acceleratorType` # @return [String] attr_accessor :accelerator_type # Output only. The API version that created this Node. @@ -629,10 +629,16 @@ # script # Corresponds to the JSON property `metadata` # @return [Hash<String,String>] attr_accessor :metadata + # Output only. Whether the Node belongs to a Multislice group. + # Corresponds to the JSON property `multisliceNode` + # @return [Boolean] + attr_accessor :multislice_node + alias_method :multislice_node?, :multislice_node + # Output only. Immutable. The name of the TPU. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -646,10 +652,15 @@ # entry in this map first. # Corresponds to the JSON property `networkEndpoints` # @return [Array<Google::Apis::TpuV2::NetworkEndpoint>] attr_accessor :network_endpoints + # Output only. The qualified name of the QueuedResource that requested this Node. + # Corresponds to the JSON property `queuedResource` + # @return [String] + attr_accessor :queued_resource + # Required. The runtime version running in the Node. # Corresponds to the JSON property `runtimeVersion` # @return [String] attr_accessor :runtime_version @@ -700,12 +711,14 @@ @health = args[:health] if args.key?(:health) @health_description = args[:health_description] if args.key?(:health_description) @id = args[:id] if args.key?(:id) @labels = args[:labels] if args.key?(:labels) @metadata = args[:metadata] if args.key?(:metadata) + @multislice_node = args[:multislice_node] if args.key?(:multislice_node) @name = args[:name] if args.key?(:name) @network_config = args[:network_config] if args.key?(:network_config) @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints) + @queued_resource = args[:queued_resource] if args.key?(:queued_resource) @runtime_version = args[:runtime_version] if args.key?(:runtime_version) @scheduling_config = args[:scheduling_config] if args.key?(:scheduling_config) @service_account = args[:service_account] if args.key?(:service_account) @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config) @state = args[:state] if args.key?(:state)