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.
1463 1464 1465 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1463 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
1455 1456 1457 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1455 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
1461 1462 1463 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1461 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1468 1469 1470 1471 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1468 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |