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.



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

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



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

def export_artifact
  @export_artifact
end

#serving_artifactGoogle::Apis::LanguageV2::XpsModelArtifactItem

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



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

def serving_artifact
  @serving_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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