Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AlloyDbSource.
AlloyDB source import data from.
Generated from protobuf message google.cloud.discoveryengine.v1.AlloyDbSource
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
↳ location_id
string
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
↳ cluster_id
string
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
↳ database_id
string
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
↳ table_id
string
Required. The AlloyDB 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 AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
getProjectId
The project ID that contains the AlloyDB source.
Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string
setProjectId
The project ID that contains the AlloyDB source.
Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
var
string
$this
getLocationId
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
string
setLocationId
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
var
string
$this
getClusterId
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
string
setClusterId
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
var
string
$this
getDatabaseId
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
string
setDatabaseId
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
var
string
$this
getTableId
Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
string
setTableId
Required. The AlloyDB 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 AlloyDB export to a specific Cloud Storage directory.
Ensure that the AlloyDB 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 AlloyDB export to a specific Cloud Storage directory.
Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
var
string
$this