Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::ProjectSettings.
The Artifact Registry settings that apply to a Project.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#legacy_redirection_state
def legacy_redirection_state() -> ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState
- (::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState) — The redirection state of the legacy repositories in this project.
#legacy_redirection_state=
def legacy_redirection_state=(value) -> ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState
- value (::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState) — The redirection state of the legacy repositories in this project.
- (::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState) — The redirection state of the legacy repositories in this project.
#name
def name() -> ::String
-
(::String) — The name of the project's settings.
Always of the form: projects/{project-id}/projectSettings
In update request: never set In response: always set
#name=
def name=(value) -> ::String
-
value (::String) — The name of the project's settings.
Always of the form: projects/{project-id}/projectSettings
In update request: never set In response: always set
-
(::String) — The name of the project's settings.
Always of the form: projects/{project-id}/projectSettings
In update request: never set In response: always set
#pull_percent
def pull_percent() -> ::Integer
- (::Integer) — The percentage of pull traffic to redirect from GCR to AR when using partial redirection.
#pull_percent=
def pull_percent=(value) -> ::Integer
- value (::Integer) — The percentage of pull traffic to redirect from GCR to AR when using partial redirection.
- (::Integer) — The percentage of pull traffic to redirect from GCR to AR when using partial redirection.