Google Cloud Network Management V1 Client - Class UpdateConnectivityTestRequest (1.5.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
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.

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

getResource

Required. Only fields specified in update_mask are updated.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\ConnectivityTest|null

hasResource

clearResource

setResource

Required. Only fields specified in update_mask are updated.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\ConnectivityTest
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\NetworkManagement\V1\UpdateConnectivityTestRequest