View Source GoogleApi.BigQueryConnection.V1.Model.CloudSpannerProperties (google_api_big_query_connection v0.12.1)

Connection properties specific to Cloud Spanner.

Attributes

  • database (type: String.t, default: nil) - Cloud Spanner database in the form project/instance/database' *databaseRole(*type:*String.t, *default:*nil) - Optional. Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such asSELECTandINSERT. 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. *maxParallelism(*type:*integer(), *default:*nil) - 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_parallelismmust be set. REQUIRES:use_data_boostmust be set. *useDataBoost(*type:*boolean(), *default:*nil) - If set, the request will be executed via Spanner independent compute resources. REQUIRES:use_parallelismmust be set. *useParallelism(*type:*boolean(), *default:*nil) - If parallelism should be used when reading from Cloud Spanner *useServerlessAnalytics(*type:*boolean(), *default:*nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQueryConnection.V1.Model.CloudSpannerProperties{
  database: String.t() | nil,
  databaseRole: String.t() | nil,
  maxParallelism: integer() | nil,
  useDataBoost: boolean() | nil,
  useParallelism: boolean() | nil,
  useServerlessAnalytics: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.