Class: Google::Cloud::ArtifactRegistry::V1::Repository
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::Repository
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1/repository.rb
Overview
A Repository for storing artifacts with a specific format.
Defined Under Namespace
Modules: Format, Mode Classes: CleanupPoliciesEntry, DockerRepositoryConfig, LabelsEntry, MavenRepositoryConfig
Instance Attribute Summary collapse
-
#cleanup_policies ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy}
Optional.
-
#cleanup_policy_dry_run ⇒ ::Boolean
Optional.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
The user-provided description of the repository.
-
#docker_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::DockerRepositoryConfig
Docker repository config contains repository level configuration for the repositories of docker type.
-
#format ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::Format
Optional.
-
#kms_key_name ⇒ ::String
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels with user-defined metadata.
-
#maven_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig
Maven repository config contains repository level configuration for the repositories of maven type.
-
#mode ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::Mode
Optional.
-
#name ⇒ ::String
The name of the repository, for example:
projects/p1/locations/us-central1/repositories/repo1
. -
#remote_repository_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig
Configuration specific for a Remote Repository.
-
#satisfies_pzs ⇒ ::Boolean
readonly
Output only.
-
#size_bytes ⇒ ::Integer
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#virtual_repository_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::VirtualRepositoryConfig
Configuration specific for a Virtual Repository.
Instance Attribute Details
#cleanup_policies ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy}
Returns Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#cleanup_policy_dry_run ⇒ ::Boolean
Returns Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the repository was created.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#description ⇒ ::String
Returns The user-provided description of the repository.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#docker_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::DockerRepositoryConfig
Returns Docker repository config contains repository level configuration for the repositories of docker type.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#format ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::Format
Returns Optional. The format of packages that are stored in the repository.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#kms_key_name ⇒ ::String
Returns The Cloud KMS resource name of the customer managed encryption key that's
used to encrypt the contents of the Repository. Has the form:
projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key
.
This value may not be changed after the Repository has been created.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#maven_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig
Returns Maven repository config contains repository level configuration for the repositories of maven type.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#mode ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::Mode
Returns Optional. The mode of the repository.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#name ⇒ ::String
Returns The name of the repository, for example:
projects/p1/locations/us-central1/repositories/repo1
.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#remote_repository_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig
Returns Configuration specific for a Remote Repository.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#satisfies_pzs ⇒ ::Boolean (readonly)
Returns Output only. If set, the repository satisfies physical zone separation.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#size_bytes ⇒ ::Integer (readonly)
Returns Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the repository was last updated.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |
#virtual_repository_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::VirtualRepositoryConfig
Returns Configuration specific for a Virtual Repository.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 413 class Repository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MavenRepositoryConfig is maven related repository details. # Provides additional configuration details for repositories of the maven # format type. # @!attribute [rw] allow_snapshot_overwrites # @return [::Boolean] # The repository with this flag will allow publishing # the same snapshot versions. # @!attribute [rw] version_policy # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy] # Version policy defines the versions that the registry will accept. class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end # DockerRepositoryConfig is docker related repository details. # Provides additional configuration details for repositories of the docker # format type. # @!attribute [rw] immutable_tags # @return [::Boolean] # The repository which enabled this flag prevents all tags from being # modified, moved or deleted. This does not prevent tags from being # created. class DockerRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy] class CleanupPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A package format. module Format # Unspecified package format. FORMAT_UNSPECIFIED = 0 # Docker package format. DOCKER = 1 # Maven package format. MAVEN = 2 # NPM package format. NPM = 3 # APT package format. APT = 5 # YUM package format. YUM = 6 # Python package format. PYTHON = 8 # Kubeflow Pipelines package format. KFP = 9 # Go package format. GO = 10 end # The mode configures the repository to serve artifacts from different # sources. module Mode # Unspecified mode. MODE_UNSPECIFIED = 0 # A standard repository storing artifacts. STANDARD_REPOSITORY = 1 # A virtual repository to serve artifacts from one or more sources. VIRTUAL_REPOSITORY = 2 # A remote repository to serve artifacts from a remote source. REMOTE_REPOSITORY = 3 end end |