Class: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/artifactregistry_v1beta2/classes.rb,
lib/google/apis/artifactregistry_v1beta2/representations.rb,
lib/google/apis/artifactregistry_v1beta2/representations.rb

Overview

The response message from importing YUM artifacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportYumArtifactsResponse

Returns a new instance of ImportYumArtifactsResponse.



513
514
515
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 513

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errorsArray<Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsErrorInfo>

Detailed error info for packages that were not imported. Corresponds to the JSON property errors



506
507
508
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 506

def errors
  @errors
end

#yum_artifactsArray<Google::Apis::ArtifactregistryV1beta2::YumArtifact>

The yum artifacts imported. Corresponds to the JSON property yumArtifacts



511
512
513
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 511

def yum_artifacts
  @yum_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



518
519
520
521
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 518

def update!(**args)
  @errors = args[:errors] if args.key?(:errors)
  @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
end