Google Cloud Api Hub V1 Client - Class UpdateVersionRequest (0.1.3)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class UpdateVersionRequest.

The UpdateVersion method's request.

Generated from protobuf message google.cloud.apihub.v1.UpdateVersionRequest

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version Version

Required. The API version to update. The version's name field is used to identify the API version to update. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getVersion

Required. The API version to update.

The version's name field is used to identify the API version to update. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}

Returns
Type Description
Version|null

hasVersion

clearVersion

setVersion

Required. The API version to update.

The version's name field is used to identify the API version to update. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}

Parameter
Name Description
var Version
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
version Version

Required. The API version to update.

The version's name field is used to identify the API version to update. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdateVersionRequest