Class: Google::Apis::LanguageV2::XpsVideoExportModelSpec

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

Overview

Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsVideoExportModelSpec

Returns a new instance of XpsVideoExportModelSpec.



4836
4837
4838
# File 'lib/google/apis/language_v2/classes.rb', line 4836

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

Instance Attribute Details

#export_model_output_configArray<Google::Apis::LanguageV2::XpsExportModelOutputConfig>

Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. Corresponds to the JSON property exportModelOutputConfig



4834
4835
4836
# File 'lib/google/apis/language_v2/classes.rb', line 4834

def export_model_output_config
  @export_model_output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4841
4842
4843
# File 'lib/google/apis/language_v2/classes.rb', line 4841

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