Class: Google::Cloud::ArtifactRegistry::V1::ProjectSettings
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::ProjectSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1/settings.rb
Overview
The Artifact Registry settings that apply to a Project.
Defined Under Namespace
Modules: RedirectionState
Instance Attribute Summary collapse
-
#legacy_redirection_state ⇒ ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState
The redirection state of the legacy repositories in this project.
-
#name ⇒ ::String
The name of the project's settings.
-
#pull_percent ⇒ ::Integer
The percentage of pull traffic to redirect from GCR to AR when using partial redirection.
Instance Attribute Details
#legacy_redirection_state ⇒ ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState
Returns The redirection state of the legacy repositories in this project.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'proto_docs/google/devtools/artifactregistry/v1/settings.rb', line 41 class ProjectSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The possible redirection states for legacy repositories. module RedirectionState # No redirection status has been set. REDIRECTION_STATE_UNSPECIFIED = 0 # Redirection is disabled. REDIRECTION_FROM_GCR_IO_DISABLED = 1 # Redirection is enabled. REDIRECTION_FROM_GCR_IO_ENABLED = 2 # Redirection is enabled, and has been finalized so cannot be reverted. REDIRECTION_FROM_GCR_IO_FINALIZED = 3 # Redirection is enabled and missing images are copied from GCR REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING = 5 # Redirection is partially enabled and missing images are copied from GCR REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING = 6 end end |
#name ⇒ ::String
Returns The name of the project's settings.
Always of the form: projects/{project-id}/projectSettings
In update request: never set In response: always set.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'proto_docs/google/devtools/artifactregistry/v1/settings.rb', line 41 class ProjectSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The possible redirection states for legacy repositories. module RedirectionState # No redirection status has been set. REDIRECTION_STATE_UNSPECIFIED = 0 # Redirection is disabled. REDIRECTION_FROM_GCR_IO_DISABLED = 1 # Redirection is enabled. REDIRECTION_FROM_GCR_IO_ENABLED = 2 # Redirection is enabled, and has been finalized so cannot be reverted. REDIRECTION_FROM_GCR_IO_FINALIZED = 3 # Redirection is enabled and missing images are copied from GCR REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING = 5 # Redirection is partially enabled and missing images are copied from GCR REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING = 6 end end |
#pull_percent ⇒ ::Integer
Returns The percentage of pull traffic to redirect from GCR to AR when using partial redirection.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'proto_docs/google/devtools/artifactregistry/v1/settings.rb', line 41 class ProjectSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The possible redirection states for legacy repositories. module RedirectionState # No redirection status has been set. REDIRECTION_STATE_UNSPECIFIED = 0 # Redirection is disabled. REDIRECTION_FROM_GCR_IO_DISABLED = 1 # Redirection is enabled. REDIRECTION_FROM_GCR_IO_ENABLED = 2 # Redirection is enabled, and has been finalized so cannot be reverted. REDIRECTION_FROM_GCR_IO_FINALIZED = 3 # Redirection is enabled and missing images are copied from GCR REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING = 5 # Redirection is partially enabled and missing images are copied from GCR REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING = 6 end end |