Google Cloud Net App V1 Client - Class UpdateSnapshotRequest (1.2.1)

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

UpdateSnapshotRequest updates description and/or labels for a snapshot.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 Snapshot

Required. A snapshot resource

getUpdateMask

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

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

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

getSnapshot

Required. A snapshot resource

Returns
Type Description
Snapshot|null

hasSnapshot

clearSnapshot

setSnapshot

Required. A snapshot resource

Parameter
Name Description
var Snapshot
Returns
Type Description
$this

static::build

Parameters
Name Description
snapshot Snapshot

Required. A snapshot resource

updateMask Google\Protobuf\FieldMask

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

Returns
Type Description
UpdateSnapshotRequest