Google Cloud Ai Platform V1 Client - Class UpdatePersistentResourceRequest (0.39.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UpdatePersistentResourceRequest.

Request message for UpdatePersistentResource method.

Generated from protobuf message google.cloud.aiplatform.v1.UpdatePersistentResourceRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ persistent_resource Google\Cloud\AIPlatform\V1\PersistentResource

Required. The PersistentResource to update. The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

↳ update_mask Google\Protobuf\FieldMask

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

getPersistentResource

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

Returns
Type Description
Google\Cloud\AIPlatform\V1\PersistentResource|null

hasPersistentResource

clearPersistentResource

setPersistentResource

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\PersistentResource
Returns
Type Description
$this

getUpdateMask

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

static::build

Parameters
Name Description
persistentResource Google\Cloud\AIPlatform\V1\PersistentResource

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

updateMask Google\Protobuf\FieldMask

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

Returns
Type Description
Google\Cloud\AIPlatform\V1\UpdatePersistentResourceRequest