Google BigQuery Connection V1 Client - Class Connection (1.3.1)

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

Configuration parameters to establish connection with an external data source, except the credential attributes.

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

Namespace

Google \ Cloud \ BigQuery \ Connection \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/connections/{connection_id}

↳ friendly_name
string

User provided display name for the connection.

↳ description
string

User provided description.

↳ cloud_sql
↳ aws
Google\Cloud\BigQuery\Connection\V1\AwsProperties

Amazon Web Services (AWS) properties.

↳ cloud_spanner
↳ cloud_resource
↳ creation_time
int|string

Output only. The creation timestamp of the connection.

↳ last_modified_time
int|string

Output only. The last update timestamp of the connection.

↳ has_credential
bool

Output only. True, if credential is configured for this connection.

getName

The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/connections/{connection_id}

Returns
Type
Description
string

setName

The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/connections/{connection_id}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFriendlyName

User provided display name for the connection.

Returns
Type
Description
string

setFriendlyName

User provided display name for the connection.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

User provided description.

Returns
Type
Description
string

setDescription

User provided description.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCloudSql

Cloud SQL properties.

hasCloudSql

setCloudSql

Cloud SQL properties.

Returns
Type
Description
$this

getAws

Amazon Web Services (AWS) properties.

Returns
Type
Description

hasAws

setAws

Amazon Web Services (AWS) properties.

Parameter
Name
Description
Returns
Type
Description
$this

getAzure

Azure properties.

hasAzure

setAzure

Azure properties.

Returns
Type
Description
$this

getCloudSpanner

Cloud Spanner properties.

hasCloudSpanner

setCloudSpanner

Cloud Spanner properties.

Returns
Type
Description
$this

getCloudResource

Cloud Resource properties.

hasCloudResource

setCloudResource

Cloud Resource properties.

Returns
Type
Description
$this

getSpark

Spark properties.

hasSpark

setSpark

Spark properties.

Returns
Type
Description
$this

getCreationTime

Output only. The creation timestamp of the connection.

Returns
Type
Description
int|string

setCreationTime

Output only. The creation timestamp of the connection.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getLastModifiedTime

Output only. The last update timestamp of the connection.

Returns
Type
Description
int|string

setLastModifiedTime

Output only. The last update timestamp of the connection.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getHasCredential

Output only. True, if credential is configured for this connection.

Returns
Type
Description
bool

setHasCredential

Output only. True, if credential is configured for this connection.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getProperties

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: