Class: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/artifactregistry_v1beta1/classes.rb,
lib/google/apis/artifactregistry_v1beta1/representations.rb,
lib/google/apis/artifactregistry_v1beta1/representations.rb
Overview
The response message from importing artifacts.
Instance Attribute Summary collapse
-
#apt_artifacts ⇒ Array<Google::Apis::ArtifactregistryV1beta1::AptArtifact>
The Apt artifacts updated.
-
#errors ⇒ Array<Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo>
Detailed error info for packages that were not imported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportAptArtifactsResponse
constructor
A new instance of ImportAptArtifactsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportAptArtifactsResponse
Returns a new instance of ImportAptArtifactsResponse.
366 367 368 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apt_artifacts ⇒ Array<Google::Apis::ArtifactregistryV1beta1::AptArtifact>
The Apt artifacts updated.
Corresponds to the JSON property aptArtifacts
359 360 361 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 359 def apt_artifacts @apt_artifacts end |
#errors ⇒ Array<Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo>
Detailed error info for packages that were not imported.
Corresponds to the JSON property errors
364 365 366 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 364 def errors @errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
371 372 373 374 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 371 def update!(**args) @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts) @errors = args[:errors] if args.key?(:errors) end |