Class: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource
- 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
Google Cloud Storage location where the artifacts currently reside.
Instance Attribute Summary collapse
-
#uris ⇒ Array<String>
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
-
#use_wildcards ⇒ Boolean
(also: #use_wildcards?)
Supports URI wildcards for matching multiple objects from a single URI.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportYumArtifactsGcsSource
constructor
A new instance of ImportYumArtifactsGcsSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportYumArtifactsGcsSource
Returns a new instance of ImportYumArtifactsGcsSource.
496 497 498 |
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uris ⇒ Array<String>
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
Corresponds to the JSON property uris
488 489 490 |
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 488 def uris @uris end |
#use_wildcards ⇒ Boolean Also known as: use_wildcards?
Supports URI wildcards for matching multiple objects from a single URI.
Corresponds to the JSON property useWildcards
493 494 495 |
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 493 def use_wildcards @use_wildcards end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
501 502 503 504 |
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 501 def update!(**args) @uris = args[:uris] if args.key?(:uris) @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards) end |