View Source GoogleApi.Language.V2.Model.XPSTextComponentModel (google_api_language v0.14.0)

Component model. Next ID: 10

Attributes

  • batchPredictionModelGcsUri (type: String.t, default: nil) - The Cloud Storage resource path to hold batch prediction model.
  • onlinePredictionModelGcsUri (type: String.t, default: nil) - The Cloud Storage resource path to hold online prediction model.
  • partition (type: String.t, default: nil) - The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest.
  • servingArtifact (type: GoogleApi.Language.V2.Model.XPSModelArtifactItem.t, default: nil) - The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai Platform API.
  • servoModelName (type: String.t, default: nil) - The name of servo model. Populated by uCAIP BE as part of online PredictRequest.
  • submodelName (type: String.t, default: nil) - The name of the trained NL submodel.
  • submodelType (type: String.t, default: nil) - The type of trained NL submodel
  • tfRuntimeVersion (type: String.t, default: nil) - ## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list
  • versionNumber (type: String.t, default: nil) - The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Language.V2.Model.XPSTextComponentModel{
  batchPredictionModelGcsUri: String.t() | nil,
  onlinePredictionModelGcsUri: String.t() | nil,
  partition: String.t() | nil,
  servingArtifact: GoogleApi.Language.V2.Model.XPSModelArtifactItem.t() | nil,
  servoModelName: String.t() | nil,
  submodelName: String.t() | nil,
  submodelType: String.t() | nil,
  tfRuntimeVersion: String.t() | nil,
  versionNumber: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.