Google BigQuery Connection V1 Client - Class UpdateConnectionRequest (1.5.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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnection

Required. Connection containing the updated fields.

Returns
TypeDescription
Google\Cloud\BigQuery\Connection\V1\Connection|null

hasConnection

clearConnection

setConnection

Required. Connection containing the updated fields.

Parameter
NameDescription
var Google\Cloud\BigQuery\Connection\V1\Connection
Returns
TypeDescription
$this

getUpdateMask

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

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\BigQuery\Connection\V1\UpdateConnectionRequest