Class: Google::Apis::LanguageV1beta2::XpsModelArtifactItem
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsModelArtifactItem
- 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
A single model artifact item.
Instance Attribute Summary collapse
-
#artifact_format ⇒ String
The model artifact format.
-
#gcs_uri ⇒ String
The Google Cloud Storage (GCS) uri that stores the model binary files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsModelArtifactItem
constructor
A new instance of XpsModelArtifactItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsModelArtifactItem
Returns a new instance of XpsModelArtifactItem.
3124 3125 3126 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_format ⇒ String
The model artifact format.
Corresponds to the JSON property artifactFormat
3117 3118 3119 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3117 def artifact_format @artifact_format end |
#gcs_uri ⇒ String
The Google Cloud Storage (GCS) uri that stores the model binary files.
Corresponds to the JSON property gcsUri
3122 3123 3124 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3122 def gcs_uri @gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3129 3130 3131 3132 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3129 def update!(**args) @artifact_format = args[:artifact_format] if args.key?(:artifact_format) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) end |