Class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::ImportYumArtifactsResponse
- 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 response message from importing YUM artifacts.
Instance Attribute Summary collapse
-
#errors ⇒ Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>
Detailed error info for packages that were not imported.
-
#yum_artifacts ⇒ Array<Google::Apis::ArtifactregistryV1::YumArtifact>
The yum artifacts imported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportYumArtifactsResponse
constructor
A new instance of ImportYumArtifactsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportYumArtifactsResponse
Returns a new instance of ImportYumArtifactsResponse.
583 584 585 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>
Detailed error info for packages that were not imported.
Corresponds to the JSON property errors
576 577 578 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 576 def errors @errors end |
#yum_artifacts ⇒ Array<Google::Apis::ArtifactregistryV1::YumArtifact>
The yum artifacts imported.
Corresponds to the JSON property yumArtifacts
581 582 583 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 581 def yum_artifacts @yum_artifacts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
588 589 590 591 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 588 def update!(**args) @errors = args[:errors] if args.key?(:errors) @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts) end |