Google Cloud Design Center V1 Client - Class UpdateConnectionRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class UpdateConnectionRequest.

Message for updating a connection.

Generated from protobuf message google.cloud.designcenter.v1.UpdateConnectionRequest

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. Fields to overwrite in the connection 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 you don't provide a mask, all fields are overwritten.

↳ connection Connection

Required. The connection to update.

getUpdateMask

Optional. Fields to overwrite in the connection 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 you don't provide a mask, all fields are overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Fields to overwrite in the connection 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 you don't provide a mask, all fields are overwritten.

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

getConnection

Required. The connection to update.

Returns
Type Description
Connection|null

hasConnection

clearConnection

setConnection

Required. The connection to update.

Parameter
Name Description
var Connection
Returns
Type Description
$this

static::build

Parameters
Name Description
connection Connection

Required. The connection to update.

updateMask Google\Protobuf\FieldMask

Optional. Fields to overwrite in the connection 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 you don't provide a mask, all fields are overwritten.

Returns
Type Description
UpdateConnectionRequest