Google BigQuery Connection V1 Client - Class UpdateConnectionRequest (2.0.0)

Reference documentation and code samples for the Google BigQuery Connection V1 Client class UpdateConnectionRequest.

The request for ConnectionService.UpdateConnection.

Generated from protobuf message google.cloud.bigquery.connection.v1.UpdateConnectionRequest

Namespace

Google \ Cloud \ BigQuery \ Connection \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

↳ connection Google\Cloud\BigQuery\Connection\V1\Connection

Required. Connection containing the updated fields.

↳ update_mask Google\Protobuf\FieldMask

Required. Update mask for the connection fields to be updated.

getName

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

Returns
Type Description
string

setName

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getConnection

Required. Connection containing the updated fields.

Returns
Type Description
Google\Cloud\BigQuery\Connection\V1\Connection|null

hasConnection

clearConnection

setConnection

Required. Connection containing the updated fields.

Parameter
Name Description
var Google\Cloud\BigQuery\Connection\V1\Connection
Returns
Type Description
$this

getUpdateMask

Required. Update mask for the connection fields to be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Update mask for the connection fields to be updated.

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

static::build

Parameters
Name Description
name string

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id} Please see Google\Cloud\BigQuery\Connection\V1\ConnectionServiceClient::connectionName() for help formatting this field.

connection Google\Cloud\BigQuery\Connection\V1\Connection

Required. Connection containing the updated fields.

updateMask Google\Protobuf\FieldMask

Required. Update mask for the connection fields to be updated.

Returns
Type Description
Google\Cloud\BigQuery\Connection\V1\UpdateConnectionRequest