Class: Google::Apis::LanguageV1beta2::XpsVideoClassificationTrainResponse
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsVideoClassificationTrainResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#model_artifact_spec ⇒ Google::Apis::LanguageV1beta2::XpsVideoModelArtifactSpec
The fields below are only populated under uCAIP request scope.
-
#train_cost_node_seconds ⇒ Fixnum
The actual train cost of creating this model, expressed in node seconds, i.e.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsVideoClassificationTrainResponse
constructor
A new instance of XpsVideoClassificationTrainResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsVideoClassificationTrainResponse
Returns a new instance of XpsVideoClassificationTrainResponse.
5124 5125 5126 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_artifact_spec ⇒ Google::Apis::LanguageV1beta2::XpsVideoModelArtifactSpec
The fields below are only populated under uCAIP request scope.
Corresponds to the JSON property modelArtifactSpec
5116 5117 5118 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5116 def model_artifact_spec @model_artifact_spec end |
#train_cost_node_seconds ⇒ Fixnum
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
5122 5123 5124 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5122 def train_cost_node_seconds @train_cost_node_seconds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5129 5130 5131 5132 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5129 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 |