{-# LANGUAGE DataKinds #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE ImportQualifiedPost #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-duplicate-exports #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- | -- Module : Gogol.Healthcare.Projects.Locations.Datasets.FhirStores.List -- Copyright : (c) 2015-2025 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Toni Cebrián -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Lists the FHIR stores in the given dataset. -- -- /See:/ for @healthcare.projects.locations.datasets.fhirStores.list@. module Gogol.Healthcare.Projects.Locations.Datasets.FhirStores.List ( -- * Resource HealthcareProjectsLocationsDatasetsFhirStoresListResource, -- ** Constructing a Request HealthcareProjectsLocationsDatasetsFhirStoresList (..), newHealthcareProjectsLocationsDatasetsFhirStoresList, ) where import Gogol.Healthcare.Types import Gogol.Prelude qualified as Core -- | A resource alias for @healthcare.projects.locations.datasets.fhirStores.list@ method which the -- 'HealthcareProjectsLocationsDatasetsFhirStoresList' request conforms to. type HealthcareProjectsLocationsDatasetsFhirStoresListResource = "v1" Core.:> Core.Capture "parent" Core.Text Core.:> "fhirStores" Core.:> Core.QueryParam "$.xgafv" Xgafv Core.:> Core.QueryParam "access_token" Core.Text Core.:> Core.QueryParam "callback" Core.Text Core.:> Core.QueryParam "filter" Core.Text Core.:> Core.QueryParam "pageSize" Core.Int32 Core.:> Core.QueryParam "pageToken" Core.Text Core.:> Core.QueryParam "uploadType" Core.Text Core.:> Core.QueryParam "upload_protocol" Core.Text Core.:> Core.QueryParam "alt" Core.AltJSON Core.:> Core.Get '[Core.JSON] ListFhirStoresResponse -- | Lists the FHIR stores in the given dataset. -- -- /See:/ 'newHealthcareProjectsLocationsDatasetsFhirStoresList' smart constructor. data HealthcareProjectsLocationsDatasetsFhirStoresList = HealthcareProjectsLocationsDatasetsFhirStoresList { -- | V1 error format. xgafv :: (Core.Maybe Xgafv), -- | OAuth access token. accessToken :: (Core.Maybe Core.Text), -- | JSONP callback :: (Core.Maybe Core.Text), -- | Restricts stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example @\"query text\"@. The only valid relational operation for text fields is equality (@=@), where text is searched within the field, rather than having the field be equal to the text. For example, @\"Comment = great\"@ returns messages with @great@ in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (@=@), along with the less than\/greater than operators (@\<@, @\<=@, @>@, @>=@). Note that there is no inequality (@!=@) operator. You can prepend the @NOT@ operator to an expression to negate it. * A date field value must be written in @yyyy-mm-dd@ form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the -- equality operator (@=@) , along with the less than\/greater than operators (@\<@, @\<=@, @>@, @>=@). Note that there is no inequality (@!=@) operator. You can prepend the @NOT@ operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding @AND@ or @OR@ operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it\'s just another part of the character string to be matched. You can prepend the @NOT@ operator to an expression to negate it. Only filtering on labels is supported, for example @labels.key=value@. filter :: (Core.Maybe Core.Text), -- | Limit on the number of FHIR stores to return in a single response. If not specified, 100 is used. May not be larger than 1000. pageSize :: (Core.Maybe Core.Int32), -- | The next/page/token value returned from the previous List request, if any. pageToken :: (Core.Maybe Core.Text), -- | Required. Name of the dataset. parent :: Core.Text, -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\"). uploadType :: (Core.Maybe Core.Text), -- | Upload protocol for media (e.g. \"raw\", \"multipart\"). uploadProtocol :: (Core.Maybe Core.Text) } deriving (Core.Eq, Core.Show, Core.Generic) -- | Creates a value of 'HealthcareProjectsLocationsDatasetsFhirStoresList' with the minimum fields required to make a request. newHealthcareProjectsLocationsDatasetsFhirStoresList :: -- | Required. Name of the dataset. See 'parent'. Core.Text -> HealthcareProjectsLocationsDatasetsFhirStoresList newHealthcareProjectsLocationsDatasetsFhirStoresList parent = HealthcareProjectsLocationsDatasetsFhirStoresList { xgafv = Core.Nothing, accessToken = Core.Nothing, callback = Core.Nothing, filter = Core.Nothing, pageSize = Core.Nothing, pageToken = Core.Nothing, parent = parent, uploadType = Core.Nothing, uploadProtocol = Core.Nothing } instance Core.GoogleRequest HealthcareProjectsLocationsDatasetsFhirStoresList where type Rs HealthcareProjectsLocationsDatasetsFhirStoresList = ListFhirStoresResponse type Scopes HealthcareProjectsLocationsDatasetsFhirStoresList = '[CloudHealthcare'FullControl, CloudPlatform'FullControl] requestClient HealthcareProjectsLocationsDatasetsFhirStoresList {..} = go parent xgafv accessToken callback filter pageSize pageToken uploadType uploadProtocol (Core.Just Core.AltJSON) healthcareService where go = Core.buildClient ( Core.Proxy :: Core.Proxy HealthcareProjectsLocationsDatasetsFhirStoresListResource ) Core.mempty