Google Cloud Artifact Registry V1 Client - Class UpdateTagRequest (1.0.0-RC1)

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

The request to create or update a tag.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tag Google\Cloud\ArtifactRegistry\V1\Tag

The tag 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

getTag

The tag that replaces the resource on the server.

Returns
Type Description
Google\Cloud\ArtifactRegistry\V1\Tag|null

hasTag

clearTag

setTag

The tag that replaces the resource on the server.

Parameter
Name Description
var Google\Cloud\ArtifactRegistry\V1\Tag
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
tag Google\Cloud\ArtifactRegistry\V1\Tag

The tag that replaces the resource on the server.

updateMask 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

Returns
Type Description
Google\Cloud\ArtifactRegistry\V1\UpdateTagRequest