Class: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource

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

Google Cloud Storage location where the artifacts currently reside.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportGoogetArtifactsGcsSource

Returns a new instance of ImportGoogetArtifactsGcsSource.



1264
1265
1266
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1264

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

Instance Attribute Details

#urisArray<String>

Cloud Storage paths URI (e.g., gs://my_bucket/my_object). Corresponds to the JSON property uris

Returns:

  • (Array<String>)


1256
1257
1258
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1256

def uris
  @uris
end

#use_wildcardsBoolean Also known as: use_wildcards?

Supports URI wildcards for matching multiple objects from a single URI. Corresponds to the JSON property useWildcards

Returns:

  • (Boolean)


1261
1262
1263
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1261

def use_wildcards
  @use_wildcards
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1269
1270
1271
1272
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1269

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