{-# 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.DicomStores.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 DICOM stores in the given dataset. -- -- /See:/ for @healthcare.projects.locations.datasets.dicomStores.list@. module Gogol.Healthcare.Projects.Locations.Datasets.DicomStores.List ( -- * Resource HealthcareProjectsLocationsDatasetsDicomStoresListResource, -- ** Constructing a Request HealthcareProjectsLocationsDatasetsDicomStoresList (..), newHealthcareProjectsLocationsDatasetsDicomStoresList, ) where import Gogol.Healthcare.Types import Gogol.Prelude qualified as Core -- | A resource alias for @healthcare.projects.locations.datasets.dicomStores.list@ method which the -- 'HealthcareProjectsLocationsDatasetsDicomStoresList' request conforms to. type HealthcareProjectsLocationsDatasetsDicomStoresListResource = "v1" Core.:> Core.Capture "parent" Core.Text Core.:> "dicomStores" 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] ListDicomStoresResponse -- | Lists the DICOM stores in the given dataset. -- -- /See:/ 'newHealthcareProjectsLocationsDatasetsDicomStoresList' smart constructor. data HealthcareProjectsLocationsDatasetsDicomStoresList = HealthcareProjectsLocationsDatasetsDicomStoresList { -- | 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 DICOM 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 'HealthcareProjectsLocationsDatasetsDicomStoresList' with the minimum fields required to make a request. newHealthcareProjectsLocationsDatasetsDicomStoresList :: -- | Required. Name of the dataset. See 'parent'. Core.Text -> HealthcareProjectsLocationsDatasetsDicomStoresList newHealthcareProjectsLocationsDatasetsDicomStoresList parent = HealthcareProjectsLocationsDatasetsDicomStoresList { 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 HealthcareProjectsLocationsDatasetsDicomStoresList where type Rs HealthcareProjectsLocationsDatasetsDicomStoresList = ListDicomStoresResponse type Scopes HealthcareProjectsLocationsDatasetsDicomStoresList = '[CloudHealthcare'FullControl, CloudPlatform'FullControl] requestClient HealthcareProjectsLocationsDatasetsDicomStoresList {..} = go parent xgafv accessToken callback filter pageSize pageToken uploadType uploadProtocol (Core.Just Core.AltJSON) healthcareService where go = Core.buildClient ( Core.Proxy :: Core.Proxy HealthcareProjectsLocationsDatasetsDicomStoresListResource ) Core.mempty