Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SpannerSource.
The Spanner source for importing data
Generated from protobuf message google.cloud.discoveryengine.v1.SpannerSource
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 Spanner source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
↳ instance_id
string
Required. The instance ID of the source Spanner table.
↳ database_id
string
Required. The database ID of the source Spanner table.
↳ table_id
string
Required. The table name of the Spanner database that needs to be imported.
↳ enable_data_boost
bool
Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found here .
getProjectId
The project ID that contains the Spanner 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 Spanner source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
var
string
$this
getInstanceId
Required. The instance ID of the source Spanner table.
string
setInstanceId
Required. The instance ID of the source Spanner table.
var
string
$this
getDatabaseId
Required. The database ID of the source Spanner table.
string
setDatabaseId
Required. The database ID of the source Spanner table.
var
string
$this
getTableId
Required. The table name of the Spanner database that needs to be imported.
string
setTableId
Required. The table name of the Spanner database that needs to be imported.
var
string
$this
getEnableDataBoost
Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found here .
bool
setEnableDataBoost
Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found here .
var
bool
$this