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.
455 456 457 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 455 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
453 454 455 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 453 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
460 461 462 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 460 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |