Class: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig
- 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
Remote repository configuration.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the remote source.
-
#docker_repository ⇒ Google::Apis::ArtifactregistryV1::DockerRepository
Configuration for a Docker remote repository.
-
#maven_repository ⇒ Google::Apis::ArtifactregistryV1::MavenRepository
Configuration for a Maven remote repository.
-
#npm_repository ⇒ Google::Apis::ArtifactregistryV1::NpmRepository
Configuration for a Npm remote repository.
-
#python_repository ⇒ Google::Apis::ArtifactregistryV1::PythonRepository
Configuration for a Python remote repository.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RemoteRepositoryConfig
constructor
A new instance of RemoteRepositoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RemoteRepositoryConfig
Returns a new instance of RemoteRepositoryConfig.
1567 1568 1569 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the remote source.
Corresponds to the JSON property description
1545 1546 1547 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1545 def description @description end |
#docker_repository ⇒ Google::Apis::ArtifactregistryV1::DockerRepository
Configuration for a Docker remote repository.
Corresponds to the JSON property dockerRepository
1550 1551 1552 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1550 def docker_repository @docker_repository end |
#maven_repository ⇒ Google::Apis::ArtifactregistryV1::MavenRepository
Configuration for a Maven remote repository.
Corresponds to the JSON property mavenRepository
1555 1556 1557 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1555 def maven_repository @maven_repository end |
#npm_repository ⇒ Google::Apis::ArtifactregistryV1::NpmRepository
Configuration for a Npm remote repository.
Corresponds to the JSON property npmRepository
1560 1561 1562 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1560 def npm_repository @npm_repository end |
#python_repository ⇒ Google::Apis::ArtifactregistryV1::PythonRepository
Configuration for a Python remote repository.
Corresponds to the JSON property pythonRepository
1565 1566 1567 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1565 def python_repository @python_repository end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1572 1573 1574 1575 1576 1577 1578 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1572 def update!(**args) @description = args[:description] if args.key?(:description) @docker_repository = args[:docker_repository] if args.key?(:docker_repository) @maven_repository = args[:maven_repository] if args.key?(:maven_repository) @npm_repository = args[:npm_repository] if args.key?(:npm_repository) @python_repository = args[:python_repository] if args.key?(:python_repository) end |