Class: Google::Apis::ArtifactregistryV1::CommonRemoteRepository

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

Common remote repository settings type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonRemoteRepository

Returns a new instance of CommonRemoteRepository.



454
455
456
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 454

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

Instance Attribute Details

#uriString

Required. A common public repository base for remote repository. Corresponds to the JSON property uri

Returns:

  • (String)


452
453
454
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 452

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



459
460
461
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 459

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