Google Cloud Net App V1 Client - Class UpdateReplicationRequest (0.1.1)

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

UpdateReplicationRequest updates description and/or labels for a replication.

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

Namespace

Google \ Cloud \ NetApp \ V1

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.

↳ replication Google\Cloud\NetApp\V1\Replication

Required. A replication 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

getReplication

Required. A replication resource

Returns
TypeDescription
Google\Cloud\NetApp\V1\Replication|null

hasReplication

clearReplication

setReplication

Required. A replication resource

Parameter
NameDescription
var Google\Cloud\NetApp\V1\Replication
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
replication Google\Cloud\NetApp\V1\Replication

Required. A replication resource

updateMask Google\Protobuf\FieldMask

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

Returns
TypeDescription
Google\Cloud\NetApp\V1\UpdateReplicationRequest