public sealed class SpannerProfile : IMessage<SpannerProfile>, IEquatable<SpannerProfile>, IDeepCloneable<SpannerProfile>, IBufferMessage, IMessageReference documentation and code samples for the DataStream v1 API class SpannerProfile.
Profile for connecting to a Spanner source.
Implements
IMessageSpannerProfile, IEquatableSpannerProfile, IDeepCloneableSpannerProfile, IBufferMessage, IMessageNamespace
Google.Cloud.Datastream.V1Assembly
Google.Cloud.Datastream.V1.dll
Constructors
SpannerProfile()
public SpannerProfile()SpannerProfile(SpannerProfile)
public SpannerProfile(SpannerProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
SpannerProfile |
Properties
Database
public string Database { get; set; }Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DatabaseAsDatabaseName
public DatabaseName DatabaseAsDatabaseName { get; set; }DatabaseName-typed view over the Database resource name property.
| Property Value | |
|---|---|
| Type | Description |
DatabaseName |
|
Host
public string Host { get; set; }Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.
| Property Value | |
|---|---|
| Type | Description |
string |
|