Class: Google::Apis::ArtifactregistryV1::CommonRemoteRepository
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::CommonRemoteRepository
- 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
-
#uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommonRemoteRepository
constructor
A new instance of CommonRemoteRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#uri ⇒ String
Required. A common public repository base for remote repository.
Corresponds to the JSON property uri
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 |