Class: Google::Apis::LanguageV2::XpsVideoActionRecognitionTrainResponse

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) ⇒ XpsVideoActionRecognitionTrainResponse

Returns a new instance of XpsVideoActionRecognitionTrainResponse.



4775
4776
4777
# File 'lib/google/apis/language_v2/classes.rb', line 4775

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

Instance Attribute Details

#model_artifact_specGoogle::Apis::LanguageV2::XpsVideoModelArtifactSpec

The fields below are only populated under uCAIP request scope.

Corresponds to the JSON property modelArtifactSpec



4767
4768
4769
# File 'lib/google/apis/language_v2/classes.rb', line 4767

def model_artifact_spec
  @model_artifact_spec
end

#train_cost_node_secondsFixnum

The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour. Corresponds to the JSON property trainCostNodeSeconds

Returns:

  • (Fixnum)


4773
4774
4775
# File 'lib/google/apis/language_v2/classes.rb', line 4773

def train_cost_node_seconds
  @train_cost_node_seconds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4780
4781
4782
4783
# File 'lib/google/apis/language_v2/classes.rb', line 4780

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