Google Cloud Network Management V1 Client - Class UpdateConnectivityTestRequest (2.1.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class UpdateConnectivityTestRequest.

Request for the UpdateConnectivityTest method.

Generated from protobuf message google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest

Namespace

Google \ Cloud \ NetworkManagement \ 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.

↳ resource Google\Cloud\NetworkManagement\V1\ConnectivityTest

Required. Only fields specified in update_mask are updated.

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

getResource

Required. Only fields specified in update_mask are updated.

Returns
Type Description
Google\Cloud\NetworkManagement\V1\ConnectivityTest|null

hasResource

clearResource

setResource

Required. Only fields specified in update_mask are updated.

Parameter
Name Description
var Google\Cloud\NetworkManagement\V1\ConnectivityTest
Returns
Type Description
$this

static::build

Parameters
Name Description
updateMask Google\Protobuf\FieldMask

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

resource Google\Cloud\NetworkManagement\V1\ConnectivityTest

Required. Only fields specified in update_mask are updated.

Returns
Type Description
Google\Cloud\NetworkManagement\V1\UpdateConnectivityTestRequest