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.



5175
5176
5177
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5175

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



5168
5169
5170
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5168

def export_artifact
  @export_artifact
end

#serving_artifactGoogle::Apis::LanguageV1beta2::XpsModelArtifactItem

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



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

def serving_artifact
  @serving_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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