1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class SpannerSource : IMessage<SpannerSource>, IEquatable<SpannerSource>, IDeepCloneable<SpannerSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class SpannerSource.

The Spanner source for importing data

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SpannerSource

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SpannerSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SpannerSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SpannerSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SpannerSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SpannerSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SpannerSource), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### SpannerSource()

    public SpannerSource()

### SpannerSource(SpannerSource)

    public SpannerSource(SpannerSource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SpannerSource` |

## Properties

### DatabaseId

    public string DatabaseId { get; set; }

Required. The database ID of the source Spanner table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### EnableDataBoost

    public bool EnableDataBoost { get; set; }

Whether to apply data boost on Spanner export. Enabling this option will
incur additional cost. More info can be found
[here](https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### InstanceId

    public string InstanceId { get; set; }

Required. The instance ID of the source Spanner table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ProjectId

    public string ProjectId { get; set; }

The project ID that contains the Spanner source. Has a length limit of 128
characters. If not specified, inherits the project ID from the parent
request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TableId

    public string TableId { get; set; }

Required. The table name of the Spanner database that needs to be imported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |