Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::ProjectSettings (v1.1.0)

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
Returns

#legacy_redirection_state=

def legacy_redirection_state=(value) -> ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::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
Parameter
  • 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

Returns
  • (::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
Returns
  • (::Integer) — The percentage of pull traffic to redirect from GCR to AR when using partial redirection.

#pull_percent=

def pull_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — The percentage of pull traffic to redirect from GCR to AR when using partial redirection.
Returns
  • (::Integer) — The percentage of pull traffic to redirect from GCR to AR when using partial redirection.