Class: Google::Apis::LanguageV1::XpsModelArtifactItem

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb

Overview

A single model artifact item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsModelArtifactItem

Returns a new instance of XpsModelArtifactItem.



3104
3105
3106
# File 'lib/google/apis/language_v1/classes.rb', line 3104

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

Instance Attribute Details

#artifact_formatString

The model artifact format. Corresponds to the JSON property artifactFormat

Returns:

  • (String)


3097
3098
3099
# File 'lib/google/apis/language_v1/classes.rb', line 3097

def artifact_format
  @artifact_format
end

#gcs_uriString

The Google Cloud Storage (GCS) uri that stores the model binary files. Corresponds to the JSON property gcsUri

Returns:

  • (String)


3102
3103
3104
# File 'lib/google/apis/language_v1/classes.rb', line 3102

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3109
3110
3111
3112
# File 'lib/google/apis/language_v1/classes.rb', line 3109

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