Google Cloud Artifact Registry V1beta2 Client - Class UpdateRepositoryRequest (0.5.1)

Reference documentation and code samples for the Google Cloud Artifact Registry V1beta2 Client class UpdateRepositoryRequest.

The request to update a repository.

Generated from protobuf message google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest

Namespace

Google \ Cloud \ ArtifactRegistry \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ repository Google\Cloud\ArtifactRegistry\V1beta2\Repository

The repository that replaces the resource on the server.

↳ update_mask Google\Protobuf\FieldMask

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

getRepository

The repository that replaces the resource on the server.

Returns
TypeDescription
Google\Cloud\ArtifactRegistry\V1beta2\Repository|null

hasRepository

clearRepository

setRepository

The repository that replaces the resource on the server.

Parameter
NameDescription
var Google\Cloud\ArtifactRegistry\V1beta2\Repository
Returns
TypeDescription
$this

getUpdateMask

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this