Class: Google::Apis::LanguageV1beta2::XpsTextComponentModel
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsTextComponentModel
- 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
Overview
Component model. Next ID: 10
Instance Attribute Summary collapse
-
#batch_prediction_model_gcs_uri ⇒ String
The Cloud Storage resource path to hold batch prediction model.
-
#online_prediction_model_gcs_uri ⇒ String
The Cloud Storage resource path to hold online prediction model.
-
#partition ⇒ String
The partition where the model is deployed.
-
#serving_artifact ⇒ Google::Apis::LanguageV1beta2::XpsModelArtifactItem
A single model artifact item.
-
#servo_model_name ⇒ String
The name of servo model.
-
#submodel_name ⇒ String
The name of the trained NL submodel.
-
#submodel_type ⇒ String
The type of trained NL submodel Corresponds to the JSON property
submodelType
. -
#tf_runtime_version ⇒ String
The fields below are only populated under uCAIP request scope.
-
#version_number ⇒ Fixnum
The servomatic model version number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTextComponentModel
constructor
A new instance of XpsTextComponentModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTextComponentModel
Returns a new instance of XpsTextComponentModel.
4382 4383 4384 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch_prediction_model_gcs_uri ⇒ String
The Cloud Storage resource path to hold batch prediction model.
Corresponds to the JSON property batchPredictionModelGcsUri
4336 4337 4338 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4336 def batch_prediction_model_gcs_uri @batch_prediction_model_gcs_uri end |
#online_prediction_model_gcs_uri ⇒ String
The Cloud Storage resource path to hold online prediction model.
Corresponds to the JSON property onlinePredictionModelGcsUri
4341 4342 4343 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4341 def online_prediction_model_gcs_uri @online_prediction_model_gcs_uri end |
#partition ⇒ String
The partition where the model is deployed. Populated by uCAIP BE as part of
online PredictRequest.
Corresponds to the JSON property partition
4347 4348 4349 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4347 def partition @partition end |
#serving_artifact ⇒ Google::Apis::LanguageV1beta2::XpsModelArtifactItem
A single model artifact item.
Corresponds to the JSON property servingArtifact
4352 4353 4354 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4352 def serving_artifact @serving_artifact end |
#servo_model_name ⇒ String
The name of servo model. Populated by uCAIP BE as part of online
PredictRequest.
Corresponds to the JSON property servoModelName
4358 4359 4360 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4358 def servo_model_name @servo_model_name end |
#submodel_name ⇒ String
The name of the trained NL submodel.
Corresponds to the JSON property submodelName
4363 4364 4365 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4363 def submodel_name @submodel_name end |
#submodel_type ⇒ String
The type of trained NL submodel
Corresponds to the JSON property submodelType
4368 4369 4370 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4368 def submodel_type @submodel_type end |
#tf_runtime_version ⇒ String
The fields below are only populated under uCAIP request scope. https://
cloud.google.com/ml-engine/docs/runtime-version-list
Corresponds to the JSON property tfRuntimeVersion
4374 4375 4376 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4374 def tf_runtime_version @tf_runtime_version end |
#version_number ⇒ Fixnum
The servomatic model version number. Populated by uCAIP BE as part of online
PredictRequest.
Corresponds to the JSON property versionNumber
4380 4381 4382 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4380 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4387 def update!(**args) @batch_prediction_model_gcs_uri = args[:batch_prediction_model_gcs_uri] if args.key?(:batch_prediction_model_gcs_uri) @online_prediction_model_gcs_uri = args[:online_prediction_model_gcs_uri] if args.key?(:online_prediction_model_gcs_uri) @partition = args[:partition] if args.key?(:partition) @serving_artifact = args[:serving_artifact] if args.key?(:serving_artifact) @servo_model_name = args[:servo_model_name] if args.key?(:servo_model_name) @submodel_name = args[:submodel_name] if args.key?(:submodel_name) @submodel_type = args[:submodel_type] if args.key?(:submodel_type) @tf_runtime_version = args[:tf_runtime_version] if args.key?(:tf_runtime_version) @version_number = args[:version_number] if args.key?(:version_number) end |