Class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportAptArtifactsResponse

Returns a new instance of ImportAptArtifactsResponse.



1208
1209
1210
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1208

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

Instance Attribute Details

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

The Apt artifacts imported. Corresponds to the JSON property aptArtifacts



1201
1202
1203
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1201

def apt_artifacts
  @apt_artifacts
end

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

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



1206
1207
1208
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1206

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1213
1214
1215
1216
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1213

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