Class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportYumArtifactsResponse

Returns a new instance of ImportYumArtifactsResponse.



1622
1623
1624
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1622

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

Instance Attribute Details

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

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



1615
1616
1617
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1615

def errors
  @errors
end

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

The yum artifacts imported. Corresponds to the JSON property yumArtifacts



1620
1621
1622
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1620

def yum_artifacts
  @yum_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1627
1628
1629
1630
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1627

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