Google Cloud Filestore V1 Client - Class UpdateSnapshotRequest (1.1.2)

Reference documentation and code samples for the Google Cloud Filestore V1 Client class UpdateSnapshotRequest.

UpdateSnapshotRequest updates description and/or labels for a snapshot.

Generated from protobuf message google.cloud.filestore.v1.UpdateSnapshotRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field.

↳ snapshot Google\Cloud\Filestore\V1\Snapshot

Required. A snapshot resource.

getUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getSnapshot

Required. A snapshot resource.

Returns
TypeDescription
Google\Cloud\Filestore\V1\Snapshot|null

hasSnapshot

clearSnapshot

setSnapshot

Required. A snapshot resource.

Parameter
NameDescription
var Google\Cloud\Filestore\V1\Snapshot
Returns
TypeDescription
$this