Google BigQuery Connection V1 Client - Class CreateConnectionRequest (1.3.1)

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

The request for ConnectionService.CreateConnection.

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

Namespace

Google \ Cloud \ BigQuery \ Connection \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent resource name. Must be in the format projects/{project_id}/locations/{location_id}

↳ connection_id string

Optional. Connection id that should be assigned to the created connection.

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

Required. Connection to create.

getParent

Required. Parent resource name.

Must be in the format projects/{project_id}/locations/{location_id}

Returns
TypeDescription
string

setParent

Required. Parent resource name.

Must be in the format projects/{project_id}/locations/{location_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnectionId

Optional. Connection id that should be assigned to the created connection.

Returns
TypeDescription
string

setConnectionId

Optional. Connection id that should be assigned to the created connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnection

Required. Connection to create.

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

hasConnection

clearConnection

setConnection

Required. Connection to create.

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

static::build

Parameters
NameDescription
parent string

Required. Parent resource name. Must be in the format projects/{project_id}/locations/{location_id} Please see Google\Cloud\BigQuery\Connection\V1\ConnectionServiceClient::locationName() for help formatting this field.

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

Required. Connection to create.

connectionId string

Optional. Connection id that should be assigned to the created connection.

Returns
TypeDescription
Google\Cloud\BigQuery\Connection\V1\CreateConnectionRequest