Google Cloud Network Services V1 Client - Class UpdateTcpRouteRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class UpdateTcpRouteRequest.

Request used by the UpdateTcpRoute method.

Generated from protobuf message google.cloud.networkservices.v1.UpdateTcpRouteRequest

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

↳ tcp_route Google\Cloud\NetworkServices\V1\TcpRoute

Required. Updated TcpRoute resource.

getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

getTcpRoute

Required. Updated TcpRoute resource.

Returns
Type Description
Google\Cloud\NetworkServices\V1\TcpRoute|null

hasTcpRoute

clearTcpRoute

setTcpRoute

Required. Updated TcpRoute resource.

Parameter
Name Description
var Google\Cloud\NetworkServices\V1\TcpRoute
Returns
Type Description
$this

static::build

Parameters
Name Description
tcpRoute Google\Cloud\NetworkServices\V1\TcpRoute

Required. Updated TcpRoute resource.

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
Google\Cloud\NetworkServices\V1\UpdateTcpRouteRequest