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.
1299 1300 1301 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1299 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
1291 1292 1293 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1291 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
1297 1298 1299 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1297 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1304 1305 1306 1307 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1304 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |