Google Cloud Artifact Registry V1 Client - Class ProjectSettings (0.4.4)

Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class ProjectSettings.

The Artifact Registry settings that apply to a Project.

Generated from protobuf message google.devtools.artifactregistry.v1.ProjectSettings

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name 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

↳ legacy_redirection_state int

The redirection state of the legacy repositories in this project.

getName

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
TypeDescription
string

setName

The name of the project's settings.

Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLegacyRedirectionState

The redirection state of the legacy repositories in this project.

Returns
TypeDescription
int

setLegacyRedirectionState

The redirection state of the legacy repositories in this project.

Parameter
NameDescription
var int
Returns
TypeDescription
$this