Class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsRequest

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 request to import new apt artifacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportAptArtifactsRequest

Returns a new instance of ImportAptArtifactsRequest.



1184
1185
1186
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1184

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

Instance Attribute Details

#gcs_sourceGoogle::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource

Google Cloud Storage location where the artifacts currently reside. Corresponds to the JSON property gcsSource



1182
1183
1184
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1182

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1189
1190
1191
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1189

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