Class CloudSpannerProperties
Connection properties specific to Cloud Spanner.
Implements
Inherited Members
Namespace: Google.Apis.BigQueryConnectionService.v1.Data
Assembly: Google.Apis.BigQueryConnectionService.v1.dll
Syntax
public class CloudSpannerProperties : IDirectResponseSchema
Properties
Database
Cloud Spanner database in the form `project/instance/database'
Declaration
[JsonProperty("database")]
public virtual string Database { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DatabaseRole
Optional. Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have
provisioned the database role with appropriate permissions, such as SELECT and INSERT. Other users
should only use roles provided by their Cloud Spanner admins. For more details, see [About fine-grained
access control] (https://cloud.google.com/spanner/docs/fgac-about). REQUIRES: The database role name must
start with a letter, and can only contain letters, numbers, and underscores.
Declaration
[JsonProperty("databaseRole")]
public virtual string DatabaseRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxParallelism
Allows setting max parallelism per query when executing on Spanner independent compute resources. If
unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance
configuration. REQUIRES: use_parallelism must be set. REQUIRES: use_data_boost must be set.
Declaration
[JsonProperty("maxParallelism")]
public virtual int? MaxParallelism { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
UseDataBoost
If set, the request will be executed via Spanner independent compute resources. REQUIRES: use_parallelism
must be set.
Declaration
[JsonProperty("useDataBoost")]
public virtual bool? UseDataBoost { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
UseParallelism
If parallelism should be used when reading from Cloud Spanner
Declaration
[JsonProperty("useParallelism")]
public virtual bool? UseParallelism { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
UseServerlessAnalytics
Deprecated: prefer use_data_boost instead. If the serverless analytics service should be used to read data
from Cloud Spanner. Note: use_parallelism must be set when using serverless analytics.
Declaration
[JsonProperty("useServerlessAnalytics")]
public virtual bool? UseServerlessAnalytics { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |