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.



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

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)


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