Class: Google::Apis::LanguageV2::XpsVideoTrainingOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsVideoTrainingOperationMetadata

Returns a new instance of XpsVideoTrainingOperationMetadata.



5007
5008
5009
# File 'lib/google/apis/language_v2/classes.rb', line 5007

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#train_cost_milli_node_hourFixnum

This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends running your training job. The cost of one node running for one hour is a node hour. Corresponds to the JSON property trainCostMilliNodeHour

Returns:

  • (Fixnum)


5005
5006
5007
# File 'lib/google/apis/language_v2/classes.rb', line 5005

def train_cost_milli_node_hour
  @train_cost_milli_node_hour
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5012
5013
5014
# File 'lib/google/apis/language_v2/classes.rb', line 5012

def update!(**args)
  @train_cost_milli_node_hour = args[:train_cost_milli_node_hour] if args.key?(:train_cost_milli_node_hour)
end