Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class CloudSqlSource.
Cloud SQL source import data from.
Generated from protobuf message google.cloud.discoveryengine.v1beta.CloudSqlSource
Namespace
Google \ Cloud \ DiscoveryEngine \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
↳ instance_id
string
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
↳ database_id
string
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
↳ table_id
string
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
↳ gcs_staging_dir
string
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
↳ offload
bool
Option for serverless export. Enabling this option will incur additional cost. More info can be found here .
getProjectId
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string
setProjectId
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
var
string
$this
getInstanceId
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string
setInstanceId
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
var
string
$this
getDatabaseId
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string
setDatabaseId
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
var
string
$this
getTableId
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string
setTableId
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
var
string
$this
getGcsStagingDir
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory.
Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string
setGcsStagingDir
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory.
Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
var
string
$this
getOffload
Option for serverless export. Enabling this option will incur additional cost. More info can be found here .
bool
setOffload
Option for serverless export. Enabling this option will incur additional cost. More info can be found here .
var
bool
$this