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.
[[["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\u003eSpannerSource\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, detailing its use for importing data from Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpannerSource\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in data handling and manipulation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSpannerSource\u003c/code\u003e class include \u003ccode\u003eDatabaseId\u003c/code\u003e, \u003ccode\u003eInstanceId\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eTableId\u003c/code\u003e, which are used to specify the source Spanner database and table for data import.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpannerSource\u003c/code\u003e class includes a property, \u003ccode\u003eEnableDataBoost\u003c/code\u003e, which allows for applying data boost on Spanner exports, with additional cost implications as noted in the linked documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines various versions of the \u003ccode\u003eSpannerSource\u003c/code\u003e class, from 1.0.0-beta06 up to the latest version 1.6.0, demonstrating the evolution and potential updates to this component.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class SpannerSource (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.SpannerSource)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.SpannerSource) \n\n public sealed class SpannerSource : IMessage\u003cSpannerSource\u003e, IEquatable\u003cSpannerSource\u003e, IDeepCloneable\u003cSpannerSource\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class SpannerSource.\n\nThe Spanner source for importing data \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SpannerSource \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SpannerSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SpannerSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SpannerSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SpannerSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SpannerSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### SpannerSource()\n\n public SpannerSource()\n\n### SpannerSource(SpannerSource)\n\n public SpannerSource(SpannerSource other)\n\nProperties\n----------\n\n### DatabaseId\n\n public string DatabaseId { get; set; }\n\nRequired. The database ID of the source Spanner table.\n\n### EnableDataBoost\n\n public bool EnableDataBoost { get; set; }\n\nWhether to apply data boost on Spanner export. Enabling this option will\nincur additional cost. More info can be found\n[here](https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas).\n\n### InstanceId\n\n public string InstanceId { get; set; }\n\nRequired. The instance ID of the source Spanner table.\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nThe project ID that contains the Spanner source. Has a length limit of 128\ncharacters. If not specified, inherits the project ID from the parent\nrequest.\n\n### TableId\n\n public string TableId { get; set; }\n\nRequired. The table name of the Spanner database that needs to be imported."]]