public sealed class CloudSpannerProperties : IMessage<CloudSpannerProperties>, IEquatable<CloudSpannerProperties>, IDeepCloneable<CloudSpannerProperties>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Connection v1 API class CloudSpannerProperties.
Optional. Cloud Spanner database role for fine-grained access control.
A database role is a collection of fine-grained access privileges. Example:
Admin predefines roles that provides user a set of permissions (SELECT,
INSERT, ..). The user can then specify a predefined role on a connection to
execute their Cloud Spanner query. The role is passthrough here. If the
user is not authorized to use the specified role, they get an error. This
validation happens on Cloud Spanner.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCloudSpannerProperties\u003c/code\u003e class within the BigQuery Connection v1 API, detailing its properties and functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudSpannerProperties\u003c/code\u003e class is used to specify connection details for Cloud Spanner, including the database name and optional database role.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented here for \u003ccode\u003eCloudSpannerProperties\u003c/code\u003e is 2.9.0, but multiple versions are covered, from 1.2.0 up to the latest 2.9.0, with the main reference version being 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCloudSpannerProperties\u003c/code\u003e class include \u003ccode\u003eDatabase\u003c/code\u003e, \u003ccode\u003eDatabaseRole\u003c/code\u003e, \u003ccode\u003eUseParallelism\u003c/code\u003e, and \u003ccode\u003eUseServerlessAnalytics\u003c/code\u003e, which can be used to configure the Spanner database connection.\u003c/p\u003e\n"],["\u003cp\u003eThe CloudSpannerProperties class implements multiple interfaces for advanced functionalities, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities like cloning and buffer management.\u003c/p\u003e\n"]]],[],null,[]]