NAME

Google::Devtools::Artifactregistry::V1::Settings - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1/settings.proto

SYNOPSIS

use Google::Devtools::Artifactregistry::V1::Settings;

my $msg = Google::Devtools::Artifactregistry::V1::Settings::ProjectSettings->new({
    name => $name,
    legacy_redirection_state => $legacy_redirection_state,
    pull_percent => $pull_percent,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Devtools::Artifactregistry::V1::Settings::ProjectSettings->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1/settings.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Devtools::Artifactregistry::V1::Settings::ProjectSettings

The Artifact Registry settings that apply to a Project.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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

  • $msg->legacy_redirection_state() / $msg->legacy_redirection_state($value)

    Type: Enum (Google::Devtools::Artifactregistry::V1::ProjectSettings::RedirectionState)

    The redirection state of the legacy repositories in this project.

  • $msg->pull_percent() / $msg->pull_percent($value)

    Type: Int32

    The percentage of pull traffic to redirect from GCR to AR when using partial redirection.

Enum: ProjectSettings::RedirectionState

  • REDIRECTION_STATE_UNSPECIFIED => 0

  • REDIRECTION_FROM_GCR_IO_DISABLED => 1

  • REDIRECTION_FROM_GCR_IO_ENABLED => 2

  • REDIRECTION_FROM_GCR_IO_FINALIZED => 3

  • REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING => 5

  • REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING => 6

Google::Devtools::Artifactregistry::V1::Settings::GetProjectSettingsRequest

Gets the redirection status for a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the projectSettings resource.

Google::Devtools::Artifactregistry::V1::Settings::UpdateProjectSettingsRequest

Sets the settings of the project.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1::Settings::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.