public sealed class FhirStoreSource : IMessage<FhirStoreSource>, IEquatable<FhirStoreSource>, IDeepCloneable<FhirStoreSource>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class FhirStoreSource.
Required. The full resource name of the FHIR store to import data from, in
the format of
projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}.
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters. Can be specified if one wants to have the
FhirStore export to a specific Cloud Storage directory.
public RepeatedField<string> ResourceTypes { get; }
The FHIR resource types to import. The resource types should be a subset of
all supported FHIR resource
types.
Default to all supported FHIR resource types if empty.
public bool UpdateFromLatestPredefinedSchema { get; set; }
Optional. Whether to update the DataStore schema to the latest predefined
schema.
If true, the DataStore schema will be updated to include any FHIR fields
or resource types that have been added since the last import and
corresponding FHIR resources will be imported from the FHIR store.
Note this field cannot be used in conjunction with resource_types. It
should be used after initial import.
[[["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\u003eThe latest version of the \u003ccode\u003eFhirStoreSource\u003c/code\u003e class in the Discovery Engine v1 API is 1.6.0, with previous versions ranging from 1.5.0 down to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFhirStoreSource\u003c/code\u003e is a class used to import data from Cloud FhirStore, implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFhirStore\u003c/code\u003e property is required and specifies the full resource name of the FHIR store to import from, following a specific format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourceTypes\u003c/code\u003e property allows specifying a subset of FHIR resource types for import, defaulting to all supported types if left empty.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsStagingDir\u003c/code\u003e property allows specifying an intermediate Cloud Storage directory for the import process.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class FhirStoreSource (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.FhirStoreSource)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource) \n\n public sealed class FhirStoreSource : IMessage\u003cFhirStoreSource\u003e, IEquatable\u003cFhirStoreSource\u003e, IDeepCloneable\u003cFhirStoreSource\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class FhirStoreSource.\n\nCloud FhirStore source import data from. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FhirStoreSource \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FhirStoreSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FhirStoreSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FhirStoreSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource), [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### FhirStoreSource()\n\n public FhirStoreSource()\n\n### FhirStoreSource(FhirStoreSource)\n\n public FhirStoreSource(FhirStoreSource other)\n\nProperties\n----------\n\n### FhirStore\n\n public string FhirStore { get; set; }\n\nRequired. The full resource name of the FHIR store to import data from, in\nthe format of\n`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.\n\n### FhirStoreAsFhirStoreName\n\n public FhirStoreName FhirStoreAsFhirStoreName { get; set; }\n\n[FhirStoreName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.FhirStoreName)-typed view over the [FhirStore](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.FhirStoreSource#Google_Cloud_DiscoveryEngine_V1_FhirStoreSource_FhirStore) resource name property.\n\n### GcsStagingDir\n\n public string GcsStagingDir { get; set; }\n\nIntermediate Cloud Storage directory used for the import with a length\nlimit of 2,000 characters. Can be specified if one wants to have the\nFhirStore export to a specific Cloud Storage directory.\n\n### ResourceTypes\n\n public RepeatedField\u003cstring\u003e ResourceTypes { get; }\n\nThe FHIR resource types to import. The resource types should be a subset of\nall [supported FHIR resource\ntypes](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).\nDefault to all supported FHIR resource types if empty.\n\n### UpdateFromLatestPredefinedSchema\n\n public bool UpdateFromLatestPredefinedSchema { get; set; }\n\nOptional. Whether to update the DataStore schema to the latest predefined\nschema.\n\nIf true, the DataStore schema will be updated to include any FHIR fields\nor resource types that have been added since the last import and\ncorresponding FHIR resources will be imported from the FHIR store.\n\nNote this field cannot be used in conjunction with `resource_types`. It\nshould be used after initial import."]]