Class: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportYumArtifactsRequest

Returns a new instance of ImportYumArtifactsRequest.



491
492
493
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 491

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

Instance Attribute Details

#gcs_sourceGoogle::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource

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



489
490
491
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 489

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



496
497
498
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 496

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