Class: Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsResponse

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 artifacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportAptArtifactsResponse

Returns a new instance of ImportAptArtifactsResponse.



385
386
387
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 385

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

Instance Attribute Details

#apt_artifactsArray<Google::Apis::ArtifactregistryV1beta2::AptArtifact>

The Apt artifacts updated. Corresponds to the JSON property aptArtifacts



378
379
380
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 378

def apt_artifacts
  @apt_artifacts
end

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

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



383
384
385
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 383

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



390
391
392
393
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 390

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