Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1VertexModelSpec

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

Overview

Specification for vertex model resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1VertexModelSpec

Returns a new instance of GoogleCloudDatacatalogV1VertexModelSpec.



2324
2325
2326
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2324

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

Instance Attribute Details

#container_image_uriString

URI of the Docker image to be used as the custom container for serving predictions. Corresponds to the JSON property containerImageUri

Returns:

  • (String)


2301
2302
2303
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2301

def container_image_uri
  @container_image_uri
end

#version_aliasesArray<String>

User provided version aliases so that a model version can be referenced via alias Corresponds to the JSON property versionAliases

Returns:

  • (Array<String>)


2307
2308
2309
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2307

def version_aliases
  @version_aliases
end

#version_descriptionString

The description of this version. Corresponds to the JSON property versionDescription

Returns:

  • (String)


2312
2313
2314
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2312

def version_description
  @version_description
end

#version_idString

The version ID of the model. Corresponds to the JSON property versionId

Returns:

  • (String)


2317
2318
2319
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2317

def version_id
  @version_id
end

#vertex_model_source_infoGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1VertexModelSourceInfo

Detail description of the source information of a Vertex model. Corresponds to the JSON property vertexModelSourceInfo



2322
2323
2324
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2322

def vertex_model_source_info
  @vertex_model_source_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2329
2330
2331
2332
2333
2334
2335
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2329

def update!(**args)
  @container_image_uri = args[:container_image_uri] if args.key?(:container_image_uri)
  @version_aliases = args[:version_aliases] if args.key?(:version_aliases)
  @version_description = args[:version_description] if args.key?(:version_description)
  @version_id = args[:version_id] if args.key?(:version_id)
  @vertex_model_source_info = args[:vertex_model_source_info] if args.key?(:vertex_model_source_info)
end