Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RuntimeArtifact
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RuntimeArtifact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
The definition of a runtime artifact.
Instance Attribute Summary collapse
-
#custom_properties ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Value>
The custom properties of the artifact.
-
#metadata ⇒ Hash<String,Object>
Properties of the Artifact.
-
#name ⇒ String
The name of an artifact.
-
#properties ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Value>
The properties of the artifact.
-
#type ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ArtifactTypeSchema
The definition of a artifact type in MLMD.
-
#uri ⇒ String
The URI of the artifact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RuntimeArtifact
constructor
A new instance of GoogleCloudAiplatformV1beta1RuntimeArtifact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RuntimeArtifact
Returns a new instance of GoogleCloudAiplatformV1beta1RuntimeArtifact.
41409 41410 41411 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41409 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_properties ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Value>
The custom properties of the artifact. Deprecated. Use RuntimeArtifact.
metadata instead.
Corresponds to the JSON property customProperties
41381 41382 41383 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41381 def custom_properties @custom_properties end |
#metadata ⇒ Hash<String,Object>
Properties of the Artifact.
Corresponds to the JSON property metadata
41386 41387 41388 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41386 def @metadata end |
#name ⇒ String
The name of an artifact.
Corresponds to the JSON property name
41391 41392 41393 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41391 def name @name end |
#properties ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Value>
The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata
instead.
Corresponds to the JSON property properties
41397 41398 41399 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41397 def properties @properties end |
#type ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ArtifactTypeSchema
The definition of a artifact type in MLMD.
Corresponds to the JSON property type
41402 41403 41404 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41402 def type @type end |
#uri ⇒ String
The URI of the artifact.
Corresponds to the JSON property uri
41407 41408 41409 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41407 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41414 41415 41416 41417 41418 41419 41420 41421 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41414 def update!(**args) @custom_properties = args[:custom_properties] if args.key?(:custom_properties) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @properties = args[:properties] if args.key?(:properties) @type = args[:type] if args.key?(:type) @uri = args[:uri] if args.key?(:uri) end |