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

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getLegacyRedirectionState

The redirection state of the legacy repositories in this project.

Returns
Type Description
int

setLegacyRedirectionState

The redirection state of the legacy repositories in this project.

Parameter
Name Description
var int
Returns
Type Description
$this