Google Cloud Artifact Registry V1 Client - Class UpdateVersionRequest (1.1.3)

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

The request to update a version.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ version
Version

Required. The Version 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

getVersion

Required. The Version that replaces the resource on the server.

Returns
Type
Description
Version |null

hasVersion

clearVersion

setVersion

Required. The Version that replaces the resource on the server.

Parameter
Name
Description
var
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

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

static::build

Parameters
Name
Description
version
Version

Required. The Version 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
Create a Mobile Website
View Site in Mobile | Classic
Share by: