Class: Google::Apis::LanguageV1::XpsVideoModelArtifactSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsVideoModelArtifactSpec

Returns a new instance of XpsVideoModelArtifactSpec.



5160
5161
5162
# File 'lib/google/apis/language_v1/classes.rb', line 5160

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

Instance Attribute Details

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

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



5153
5154
5155
# File 'lib/google/apis/language_v1/classes.rb', line 5153

def export_artifact
  @export_artifact
end

#serving_artifactGoogle::Apis::LanguageV1::XpsModelArtifactItem

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



5158
5159
5160
# File 'lib/google/apis/language_v1/classes.rb', line 5158

def serving_artifact
  @serving_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5165
5166
5167
5168
# File 'lib/google/apis/language_v1/classes.rb', line 5165

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