Class: Google::Apis::ArtifactregistryV1::UploadKfpArtifactRequest
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::UploadKfpArtifactRequest
- 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
The request to upload an artifact.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the package version.
-
#tags ⇒ Array<String>
Tags to be created with the version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadKfpArtifactRequest
constructor
A new instance of UploadKfpArtifactRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UploadKfpArtifactRequest
Returns a new instance of UploadKfpArtifactRequest.
3263 3264 3265 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description of the package version.
Corresponds to the JSON property description
3256 3257 3258 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3256 def description @description end |
#tags ⇒ Array<String>
Tags to be created with the version.
Corresponds to the JSON property tags
3261 3262 3263 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3261 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3268 3269 3270 3271 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3268 def update!(**args) @description = args[:description] if args.key?(:description) @tags = args[:tags] if args.key?(:tags) end |