Package com.pulumi.gcp.bigquery.outputs
Class ConnectionCloudSpanner
- java.lang.Object
-
- com.pulumi.gcp.bigquery.outputs.ConnectionCloudSpanner
-
public final class ConnectionCloudSpanner extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionCloudSpanner.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConnectionCloudSpanner.Builder
builder()
static ConnectionCloudSpanner.Builder
builder(ConnectionCloudSpanner defaults)
java.lang.String
database()
java.util.Optional<java.lang.String>
databaseRole()
java.util.Optional<java.lang.Integer>
maxParallelism()
java.util.Optional<java.lang.Boolean>
useDataBoost()
java.util.Optional<java.lang.Boolean>
useParallelism()
java.util.Optional<java.lang.Boolean>
useServerlessAnalytics()
Deprecated.`useServerlessAnalytics` is deprecated and will be removed in a future major release.
-
-
-
Method Detail
-
database
public java.lang.String database()
- Returns:
- Cloud Spanner database in the form `project/instance/database'.
-
databaseRole
public java.util.Optional<java.lang.String> databaseRole()
- Returns:
- 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. The database role name must start with a letter, and can only contain letters, numbers, and underscores. For more details, see https://cloud.google.com/spanner/docs/fgac-about.
-
maxParallelism
public java.util.Optional<java.lang.Integer> maxParallelism()
- Returns:
- 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. `useParallelism` and `useDataBoost` must be set when setting max parallelism.
-
useDataBoost
public java.util.Optional<java.lang.Boolean> useDataBoost()
- Returns:
- If set, the request will be executed via Spanner independent compute resources. `use_parallelism` must be set when using data boost.
-
useParallelism
public java.util.Optional<java.lang.Boolean> useParallelism()
- Returns:
- If parallelism should be used when reading from Cloud Spanner.
-
useServerlessAnalytics
@Deprecated public java.util.Optional<java.lang.Boolean> useServerlessAnalytics()
Deprecated.`useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.- Returns:
- (Optional, Deprecated) If the serverless analytics service should be used to read data from Cloud Spanner. `useParallelism` must be set when using serverless analytics. > **Warning:** `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.
-
builder
public static ConnectionCloudSpanner.Builder builder()
-
builder
public static ConnectionCloudSpanner.Builder builder(ConnectionCloudSpanner defaults)
-
-