Class: Google::Apis::LanguageV1beta2::XpsVideoModelArtifactSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsVideoModelArtifactSpec

Returns a new instance of XpsVideoModelArtifactSpec.



5180
5181
5182
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5180

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

Instance Attribute Details

#export_artifactArray<Google::Apis::LanguageV1beta2::XpsModelArtifactItem>

The model binary files in different formats for model export. Corresponds to the JSON property exportArtifact



5173
5174
5175
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5173

def export_artifact
  @export_artifact
end

#serving_artifactGoogle::Apis::LanguageV1beta2::XpsModelArtifactItem

A single model artifact item. Corresponds to the JSON property servingArtifact



5178
5179
5180
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5178

def serving_artifact
  @serving_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5185
5186
5187
5188
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5185

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