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

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 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
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 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 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
UpdatePersistentResourceRequest