Google BigQuery Connection V1 Client - Class Connection (2.0.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 CloudSqlProperties

Cloud SQL properties.

↳ aws AwsProperties

Amazon Web Services (AWS) properties.

↳ azure AzureProperties

Azure properties.

↳ cloud_spanner CloudSpannerProperties

Cloud Spanner properties.

↳ cloud_resource CloudResourceProperties

Cloud Resource properties.

↳ spark SparkProperties

Spark properties.

↳ salesforce_data_cloud SalesforceDataCloudProperties

Optional. Salesforce DataCloud properties. This field is intended for use only by Salesforce partner projects. This field contains properties for your Salesforce DataCloud connection.

↳ 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.

Returns
Type Description
CloudSqlProperties|null

hasCloudSql

setCloudSql

Cloud SQL properties.

Parameter
Name Description
var CloudSqlProperties
Returns
Type Description
$this

getAws

Amazon Web Services (AWS) properties.

Returns
Type Description
AwsProperties|null

hasAws

setAws

Amazon Web Services (AWS) properties.

Parameter
Name Description
var AwsProperties
Returns
Type Description
$this

getAzure

Azure properties.

Returns
Type Description
AzureProperties|null

hasAzure

setAzure

Azure properties.

Parameter
Name Description
var AzureProperties
Returns
Type Description
$this

getCloudSpanner

Cloud Spanner properties.

Returns
Type Description
CloudSpannerProperties|null

hasCloudSpanner

setCloudSpanner

Cloud Spanner properties.

Parameter
Name Description
var CloudSpannerProperties
Returns
Type Description
$this

getCloudResource

Cloud Resource properties.

Returns
Type Description
CloudResourceProperties|null

hasCloudResource

setCloudResource

Cloud Resource properties.

Parameter
Name Description
var CloudResourceProperties
Returns
Type Description
$this

getSpark

Spark properties.

Returns
Type Description
SparkProperties|null

hasSpark

setSpark

Spark properties.

Parameter
Name Description
var SparkProperties
Returns
Type Description
$this

getSalesforceDataCloud

Optional. Salesforce DataCloud properties. This field is intended for use only by Salesforce partner projects. This field contains properties for your Salesforce DataCloud connection.

Returns
Type Description
SalesforceDataCloudProperties|null

hasSalesforceDataCloud

setSalesforceDataCloud

Optional. Salesforce DataCloud properties. This field is intended for use only by Salesforce partner projects. This field contains properties for your Salesforce DataCloud connection.

Parameter
Name Description
var SalesforceDataCloudProperties
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