Class: Google::Apis::LanguageV2::XpsVideoModelArtifactSpec

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

Returns a new instance of XpsVideoModelArtifactSpec.



4874
4875
4876
# File 'lib/google/apis/language_v2/classes.rb', line 4874

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

Instance Attribute Details

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

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



4867
4868
4869
# File 'lib/google/apis/language_v2/classes.rb', line 4867

def export_artifact
  @export_artifact
end

#serving_artifactGoogle::Apis::LanguageV2::XpsModelArtifactItem

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



4872
4873
4874
# File 'lib/google/apis/language_v2/classes.rb', line 4872

def serving_artifact
  @serving_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4879
4880
4881
4882
# File 'lib/google/apis/language_v2/classes.rb', line 4879

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