Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class FhirStoreSource.
Cloud FhirStore source import data from.
Generated from protobuf message google.cloud.discoveryengine.v1.FhirStoreSource
Namespace
Google \ Cloud \ DiscoveryEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ fhir_store
string
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}.
↳ gcs_staging_dir
string
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.
↳ resource_types
array
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.
↳ update_from_latest_predefined_schema
bool
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.
getFhirStore
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}.
Returns
Type
Description
string
setFhirStore
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}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getGcsStagingDir
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.
Returns
Type
Description
string
setGcsStagingDir
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.
Default to all supported FHIR resource types if empty.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getUpdateFromLatestPredefinedSchema
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.
Returns
Type
Description
bool
setUpdateFromLatestPredefinedSchema
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class FhirStoreSource (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.FhirStoreSource)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.FhirStoreSource)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.FhirStoreSource)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.FhirStoreSource)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.FhirStoreSource)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.FhirStoreSource)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.FhirStoreSource)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.FhirStoreSource)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.FhirStoreSource)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.FhirStoreSource)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.FhirStoreSource)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.FhirStoreSource)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.FhirStoreSource)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.FhirStoreSource)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.FhirStoreSource)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.FhirStoreSource)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.FhirStoreSource) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class FhirStoreSource.\n\nCloud FhirStore source import data from.\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.FhirStoreSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFhirStore\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### setFhirStore\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### getGcsStagingDir\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### setGcsStagingDir\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### getResourceTypes\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).\n\nDefault to all supported FHIR resource types if empty.\n\n### setResourceTypes\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).\n\nDefault to all supported FHIR resource types if empty.\n\n### getUpdateFromLatestPredefinedSchema\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.\nNote this field cannot be used in conjunction with `resource_types`. It\nshould be used after initial import.\n\n### setUpdateFromLatestPredefinedSchema\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.\nNote this field cannot be used in conjunction with `resource_types`. It\nshould be used after initial import."]]