Class: Google::Apis::ArtifactregistryV1::KfpArtifact
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::KfpArtifact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/artifactregistry_v1/classes.rb,
lib/google/apis/artifactregistry_v1/representations.rb,
lib/google/apis/artifactregistry_v1/representations.rb
Overview
A detailed representation of a KFP artifact.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#version ⇒ String
The version associated with the KFP artifact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KfpArtifact
constructor
A new instance of KfpArtifact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KfpArtifact
Returns a new instance of KfpArtifact.
1462 1463 1464 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. Resource name of the KFP artifact. Since users don't directly
interact with this resource, the name will be derived from the associated
version. For example, when version = ".../versions/sha256:abcdef...", the name
will be ".../kfpArtifacts/sha256:abcdef...".
Corresponds to the JSON property name
1454 1455 1456 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1454 def name @name end |
#version ⇒ String
The version associated with the KFP artifact. Must follow the Semantic
Versioning standard.
Corresponds to the JSON property version
1460 1461 1462 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1460 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1467 1468 1469 1470 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1467 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |