gogol-bigquerydatatransfer 0.5.0 → 1.0.0
raw patch · 74 files changed
+7429/−8715 lines, 74 filesdep −basedep ~gogol-coresetup-changed
Dependencies removed: base
Dependency ranges changed: gogol-core
Files
- README.md +1/−1
- Setup.hs +2/−1
- gen/Gogol/BigQueryDataTransfer.hs +425/−0
- gen/Gogol/BigQueryDataTransfer/Internal/Product.hs +1651/−0
- gen/Gogol/BigQueryDataTransfer/Internal/Sum.hs +697/−0
- gen/Gogol/BigQueryDataTransfer/Projects/DataSources/CheckValidCreds.hs +131/−0
- gen/Gogol/BigQueryDataTransfer/Projects/DataSources/Get.hs +117/−0
- gen/Gogol/BigQueryDataTransfer/Projects/DataSources/List.hs +130/−0
- gen/Gogol/BigQueryDataTransfer/Projects/EnrollDataSources.hs +122/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/DataSources/CheckValidCreds.hs +133/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/DataSources/Get.hs +122/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/DataSources/List.hs +133/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/EnrollDataSources.hs +128/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/Get.hs +117/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/List.hs +135/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Create.hs +145/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Delete.hs +120/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Get.hs +122/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/List.hs +139/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Patch.hs +149/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Delete.hs +122/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Get.hs +123/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/List.hs +150/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/TransferLogs/List.hs +153/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/ScheduleRuns.hs +130/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/StartManualRuns.hs +131/−0
- gen/Gogol/BigQueryDataTransfer/Projects/Locations/UnenrollDataSources.hs +129/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Create.hs +141/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Delete.hs +116/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Get.hs +120/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/List.hs +136/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Patch.hs +145/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Delete.hs +119/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Get.hs +122/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/List.hs +145/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/TransferLogs/List.hs +146/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/ScheduleRuns.hs +128/−0
- gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/StartManualRuns.hs +129/−0
- gen/Gogol/BigQueryDataTransfer/Types.hs +242/−0
- gen/Network/Google/BigQueryDataTransfer.hs +0/−428
- gen/Network/Google/BigQueryDataTransfer/Types.hs +0/−275
- gen/Network/Google/BigQueryDataTransfer/Types/Product.hs +0/−2015
- gen/Network/Google/BigQueryDataTransfer/Types/Sum.hs +0/−354
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/DataSources/CheckValidCreds.hs +0/−181
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/DataSources/Get.hs +0/−154
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/DataSources/List.hs +0/−188
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/DataSources/CheckValidCreds.hs +0/−187
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/DataSources/Get.hs +0/−159
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/DataSources/List.hs +0/−193
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/Get.hs +0/−150
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/List.hs +0/−189
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Create.hs +0/−219
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Delete.hs +0/−160
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Get.hs +0/−160
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/List.hs +0/−208
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Patch.hs +0/−235
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Delete.hs +0/−162
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Get.hs +0/−161
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/List.hs +0/−224
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/TransferLogs/List.hs +0/−216
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/ScheduleRuns.hs +0/−183
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/StartManualRuns.hs +0/−186
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Create.hs +0/−216
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Delete.hs +0/−155
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Get.hs +0/−154
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/List.hs +0/−203
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Patch.hs +0/−229
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Delete.hs +0/−156
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Get.hs +0/−156
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/List.hs +0/−220
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/TransferLogs/List.hs +0/−214
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/ScheduleRuns.hs +0/−178
- gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/StartManualRuns.hs +0/−179
- gogol-bigquerydatatransfer.cabal +83/−66
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.5.0`+`1.0.0` ## Description
Setup.hs view
@@ -1,2 +1,3 @@-import Distribution.Simple+import Distribution.Simple+ main = defaultMain
+ gen/Gogol/BigQueryDataTransfer.hs view
@@ -0,0 +1,425 @@+{-# 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.BigQueryDataTransfer+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference>+module Gogol.BigQueryDataTransfer+ ( -- * Configuration+ bigQueryDataTransferService,++ -- * OAuth Scopes+ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly,++ -- * Resources++ -- ** bigquerydatatransfer.projects.dataSources.checkValidCreds+ BigQueryDataTransferProjectsDataSourcesCheckValidCredsResource,+ BigQueryDataTransferProjectsDataSourcesCheckValidCreds (..),+ newBigQueryDataTransferProjectsDataSourcesCheckValidCreds,++ -- ** bigquerydatatransfer.projects.dataSources.get+ BigQueryDataTransferProjectsDataSourcesGetResource,+ BigQueryDataTransferProjectsDataSourcesGet (..),+ newBigQueryDataTransferProjectsDataSourcesGet,++ -- ** bigquerydatatransfer.projects.dataSources.list+ BigQueryDataTransferProjectsDataSourcesListResource,+ BigQueryDataTransferProjectsDataSourcesList (..),+ newBigQueryDataTransferProjectsDataSourcesList,++ -- ** bigquerydatatransfer.projects.enrollDataSources+ BigQueryDataTransferProjectsEnrollDataSourcesResource,+ BigQueryDataTransferProjectsEnrollDataSources (..),+ newBigQueryDataTransferProjectsEnrollDataSources,++ -- ** bigquerydatatransfer.projects.locations.dataSources.checkValidCreds+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCredsResource,+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds (..),+ newBigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds,++ -- ** bigquerydatatransfer.projects.locations.dataSources.get+ BigQueryDataTransferProjectsLocationsDataSourcesGetResource,+ BigQueryDataTransferProjectsLocationsDataSourcesGet (..),+ newBigQueryDataTransferProjectsLocationsDataSourcesGet,++ -- ** bigquerydatatransfer.projects.locations.dataSources.list+ BigQueryDataTransferProjectsLocationsDataSourcesListResource,+ BigQueryDataTransferProjectsLocationsDataSourcesList (..),+ newBigQueryDataTransferProjectsLocationsDataSourcesList,++ -- ** bigquerydatatransfer.projects.locations.enrollDataSources+ BigQueryDataTransferProjectsLocationsEnrollDataSourcesResource,+ BigQueryDataTransferProjectsLocationsEnrollDataSources (..),+ newBigQueryDataTransferProjectsLocationsEnrollDataSources,++ -- ** bigquerydatatransfer.projects.locations.get+ BigQueryDataTransferProjectsLocationsGetResource,+ BigQueryDataTransferProjectsLocationsGet (..),+ newBigQueryDataTransferProjectsLocationsGet,++ -- ** bigquerydatatransfer.projects.locations.list+ BigQueryDataTransferProjectsLocationsListResource,+ BigQueryDataTransferProjectsLocationsList (..),+ newBigQueryDataTransferProjectsLocationsList,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.create+ BigQueryDataTransferProjectsLocationsTransferConfigsCreateResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsCreate (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsCreate,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.delete+ BigQueryDataTransferProjectsLocationsTransferConfigsDeleteResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsDelete (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsDelete,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.get+ BigQueryDataTransferProjectsLocationsTransferConfigsGetResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsGet (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsGet,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.list+ BigQueryDataTransferProjectsLocationsTransferConfigsListResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsList (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsList,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.patch+ BigQueryDataTransferProjectsLocationsTransferConfigsPatchResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsPatch (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsPatch,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.delete+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDeleteResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.get+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGetResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsGet,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.list+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsListResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsList,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsListResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRunsResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns,++ -- ** bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRunsResource,+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns,++ -- ** bigquerydatatransfer.projects.locations.unenrollDataSources+ BigQueryDataTransferProjectsLocationsUnenrollDataSourcesResource,+ BigQueryDataTransferProjectsLocationsUnenrollDataSources (..),+ newBigQueryDataTransferProjectsLocationsUnenrollDataSources,++ -- ** bigquerydatatransfer.projects.transferConfigs.create+ BigQueryDataTransferProjectsTransferConfigsCreateResource,+ BigQueryDataTransferProjectsTransferConfigsCreate (..),+ newBigQueryDataTransferProjectsTransferConfigsCreate,++ -- ** bigquerydatatransfer.projects.transferConfigs.delete+ BigQueryDataTransferProjectsTransferConfigsDeleteResource,+ BigQueryDataTransferProjectsTransferConfigsDelete (..),+ newBigQueryDataTransferProjectsTransferConfigsDelete,++ -- ** bigquerydatatransfer.projects.transferConfigs.get+ BigQueryDataTransferProjectsTransferConfigsGetResource,+ BigQueryDataTransferProjectsTransferConfigsGet (..),+ newBigQueryDataTransferProjectsTransferConfigsGet,++ -- ** bigquerydatatransfer.projects.transferConfigs.list+ BigQueryDataTransferProjectsTransferConfigsListResource,+ BigQueryDataTransferProjectsTransferConfigsList (..),+ newBigQueryDataTransferProjectsTransferConfigsList,++ -- ** bigquerydatatransfer.projects.transferConfigs.patch+ BigQueryDataTransferProjectsTransferConfigsPatchResource,+ BigQueryDataTransferProjectsTransferConfigsPatch (..),+ newBigQueryDataTransferProjectsTransferConfigsPatch,++ -- ** bigquerydatatransfer.projects.transferConfigs.runs.delete+ BigQueryDataTransferProjectsTransferConfigsRunsDeleteResource,+ BigQueryDataTransferProjectsTransferConfigsRunsDelete (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsDelete,++ -- ** bigquerydatatransfer.projects.transferConfigs.runs.get+ BigQueryDataTransferProjectsTransferConfigsRunsGetResource,+ BigQueryDataTransferProjectsTransferConfigsRunsGet (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsGet,++ -- ** bigquerydatatransfer.projects.transferConfigs.runs.list+ BigQueryDataTransferProjectsTransferConfigsRunsListResource,+ BigQueryDataTransferProjectsTransferConfigsRunsList (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsList,++ -- ** bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsListResource,+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList,++ -- ** bigquerydatatransfer.projects.transferConfigs.scheduleRuns+ BigQueryDataTransferProjectsTransferConfigsScheduleRunsResource,+ BigQueryDataTransferProjectsTransferConfigsScheduleRuns (..),+ newBigQueryDataTransferProjectsTransferConfigsScheduleRuns,++ -- ** bigquerydatatransfer.projects.transferConfigs.startManualRuns+ BigQueryDataTransferProjectsTransferConfigsStartManualRunsResource,+ BigQueryDataTransferProjectsTransferConfigsStartManualRuns (..),+ newBigQueryDataTransferProjectsTransferConfigsStartManualRuns,++ -- * Types++ -- ** Xgafv+ Xgafv (..),++ -- ** CheckValidCredsRequest+ CheckValidCredsRequest (..),+ newCheckValidCredsRequest,++ -- ** CheckValidCredsResponse+ CheckValidCredsResponse (..),+ newCheckValidCredsResponse,++ -- ** DataSource+ DataSource (..),+ newDataSource,++ -- ** DataSource_AuthorizationType+ DataSource_AuthorizationType (..),++ -- ** DataSource_DataRefreshType+ DataSource_DataRefreshType (..),++ -- ** DataSource_TransferType+ DataSource_TransferType (..),++ -- ** DataSourceParameter+ DataSourceParameter (..),+ newDataSourceParameter,++ -- ** DataSourceParameter_Type+ DataSourceParameter_Type (..),++ -- ** EmailPreferences+ EmailPreferences (..),+ newEmailPreferences,++ -- ** Empty+ Empty (..),+ newEmpty,++ -- ** EncryptionConfiguration+ EncryptionConfiguration (..),+ newEncryptionConfiguration,++ -- ** EnrollDataSourcesRequest+ EnrollDataSourcesRequest (..),+ newEnrollDataSourcesRequest,++ -- ** EventDrivenSchedule+ EventDrivenSchedule (..),+ newEventDrivenSchedule,++ -- ** ListDataSourcesResponse+ ListDataSourcesResponse (..),+ newListDataSourcesResponse,++ -- ** ListLocationsResponse+ ListLocationsResponse (..),+ newListLocationsResponse,++ -- ** ListTransferConfigsResponse+ ListTransferConfigsResponse (..),+ newListTransferConfigsResponse,++ -- ** ListTransferLogsResponse+ ListTransferLogsResponse (..),+ newListTransferLogsResponse,++ -- ** ListTransferRunsResponse+ ListTransferRunsResponse (..),+ newListTransferRunsResponse,++ -- ** Location+ Location (..),+ newLocation,++ -- ** Location_Labels+ Location_Labels (..),+ newLocation_Labels,++ -- ** Location_Metadata+ Location_Metadata (..),+ newLocation_Metadata,++ -- ** ManualSchedule+ ManualSchedule (..),+ newManualSchedule,++ -- ** ScheduleOptions+ ScheduleOptions (..),+ newScheduleOptions,++ -- ** ScheduleOptionsV2+ ScheduleOptionsV2 (..),+ newScheduleOptionsV2,++ -- ** ScheduleTransferRunsRequest+ ScheduleTransferRunsRequest (..),+ newScheduleTransferRunsRequest,++ -- ** ScheduleTransferRunsResponse+ ScheduleTransferRunsResponse (..),+ newScheduleTransferRunsResponse,++ -- ** StartManualTransferRunsRequest+ StartManualTransferRunsRequest (..),+ newStartManualTransferRunsRequest,++ -- ** StartManualTransferRunsResponse+ StartManualTransferRunsResponse (..),+ newStartManualTransferRunsResponse,++ -- ** Status+ Status (..),+ newStatus,++ -- ** Status_DetailsItem+ Status_DetailsItem (..),+ newStatus_DetailsItem,++ -- ** TimeBasedSchedule+ TimeBasedSchedule (..),+ newTimeBasedSchedule,++ -- ** TimeRange+ TimeRange (..),+ newTimeRange,++ -- ** TransferConfig+ TransferConfig (..),+ newTransferConfig,++ -- ** TransferConfig_Params+ TransferConfig_Params (..),+ newTransferConfig_Params,++ -- ** TransferConfig_State+ TransferConfig_State (..),++ -- ** TransferMessage+ TransferMessage (..),+ newTransferMessage,++ -- ** TransferMessage_Severity+ TransferMessage_Severity (..),++ -- ** TransferRun+ TransferRun (..),+ newTransferRun,++ -- ** TransferRun_Params+ TransferRun_Params (..),+ newTransferRun_Params,++ -- ** TransferRun_State+ TransferRun_State (..),++ -- ** UnenrollDataSourcesRequest+ UnenrollDataSourcesRequest (..),+ newUnenrollDataSourcesRequest,++ -- ** UserInfo+ UserInfo (..),+ newUserInfo,++ -- ** ProjectsLocationsTransferConfigsRunsListRunAttempt+ ProjectsLocationsTransferConfigsRunsListRunAttempt (..),++ -- ** ProjectsLocationsTransferConfigsRunsListStates+ ProjectsLocationsTransferConfigsRunsListStates (..),++ -- ** ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes (..),++ -- ** ProjectsTransferConfigsRunsListRunAttempt+ ProjectsTransferConfigsRunsListRunAttempt (..),++ -- ** ProjectsTransferConfigsRunsListStates+ ProjectsTransferConfigsRunsListStates (..),++ -- ** ProjectsTransferConfigsRunsTransferLogsListMessageTypes+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes (..),+ )+where++import Gogol.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds+import Gogol.BigQueryDataTransfer.Projects.DataSources.Get+import Gogol.BigQueryDataTransfer.Projects.DataSources.List+import Gogol.BigQueryDataTransfer.Projects.EnrollDataSources+import Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds+import Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.Get+import Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.List+import Gogol.BigQueryDataTransfer.Projects.Locations.EnrollDataSources+import Gogol.BigQueryDataTransfer.Projects.Locations.Get+import Gogol.BigQueryDataTransfer.Projects.Locations.List+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns+import Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns+import Gogol.BigQueryDataTransfer.Projects.Locations.UnenrollDataSources+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Create+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Delete+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Get+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.List+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Patch+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns+import Gogol.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns+import Gogol.BigQueryDataTransfer.Types
+ gen/Gogol/BigQueryDataTransfer/Internal/Product.hs view
@@ -0,0 +1,1651 @@+{-# 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.BigQueryDataTransfer.Internal.Product+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.BigQueryDataTransfer.Internal.Product+ ( -- * CheckValidCredsRequest+ CheckValidCredsRequest (..),+ newCheckValidCredsRequest,++ -- * CheckValidCredsResponse+ CheckValidCredsResponse (..),+ newCheckValidCredsResponse,++ -- * DataSource+ DataSource (..),+ newDataSource,++ -- * DataSourceParameter+ DataSourceParameter (..),+ newDataSourceParameter,++ -- * EmailPreferences+ EmailPreferences (..),+ newEmailPreferences,++ -- * Empty+ Empty (..),+ newEmpty,++ -- * EncryptionConfiguration+ EncryptionConfiguration (..),+ newEncryptionConfiguration,++ -- * EnrollDataSourcesRequest+ EnrollDataSourcesRequest (..),+ newEnrollDataSourcesRequest,++ -- * EventDrivenSchedule+ EventDrivenSchedule (..),+ newEventDrivenSchedule,++ -- * ListDataSourcesResponse+ ListDataSourcesResponse (..),+ newListDataSourcesResponse,++ -- * ListLocationsResponse+ ListLocationsResponse (..),+ newListLocationsResponse,++ -- * ListTransferConfigsResponse+ ListTransferConfigsResponse (..),+ newListTransferConfigsResponse,++ -- * ListTransferLogsResponse+ ListTransferLogsResponse (..),+ newListTransferLogsResponse,++ -- * ListTransferRunsResponse+ ListTransferRunsResponse (..),+ newListTransferRunsResponse,++ -- * Location+ Location (..),+ newLocation,++ -- * Location_Labels+ Location_Labels (..),+ newLocation_Labels,++ -- * Location_Metadata+ Location_Metadata (..),+ newLocation_Metadata,++ -- * ManualSchedule+ ManualSchedule (..),+ newManualSchedule,++ -- * ScheduleOptions+ ScheduleOptions (..),+ newScheduleOptions,++ -- * ScheduleOptionsV2+ ScheduleOptionsV2 (..),+ newScheduleOptionsV2,++ -- * ScheduleTransferRunsRequest+ ScheduleTransferRunsRequest (..),+ newScheduleTransferRunsRequest,++ -- * ScheduleTransferRunsResponse+ ScheduleTransferRunsResponse (..),+ newScheduleTransferRunsResponse,++ -- * StartManualTransferRunsRequest+ StartManualTransferRunsRequest (..),+ newStartManualTransferRunsRequest,++ -- * StartManualTransferRunsResponse+ StartManualTransferRunsResponse (..),+ newStartManualTransferRunsResponse,++ -- * Status+ Status (..),+ newStatus,++ -- * Status_DetailsItem+ Status_DetailsItem (..),+ newStatus_DetailsItem,++ -- * TimeBasedSchedule+ TimeBasedSchedule (..),+ newTimeBasedSchedule,++ -- * TimeRange+ TimeRange (..),+ newTimeRange,++ -- * TransferConfig+ TransferConfig (..),+ newTransferConfig,++ -- * TransferConfig_Params+ TransferConfig_Params (..),+ newTransferConfig_Params,++ -- * TransferMessage+ TransferMessage (..),+ newTransferMessage,++ -- * TransferRun+ TransferRun (..),+ newTransferRun,++ -- * TransferRun_Params+ TransferRun_Params (..),+ newTransferRun_Params,++ -- * UnenrollDataSourcesRequest+ UnenrollDataSourcesRequest (..),+ newUnenrollDataSourcesRequest,++ -- * UserInfo+ UserInfo (..),+ newUserInfo,+ )+where++import Gogol.BigQueryDataTransfer.Internal.Sum+import Gogol.Prelude qualified as Core++-- | A request to determine whether the user has valid credentials. This method is used to limit the number of OAuth popups in the user interface. The user id is inferred from the API call context. If the data source has the Google+ authorization type, this method returns false, as it cannot be determined whether the credentials are already valid merely based on the user id.+--+-- /See:/ 'newCheckValidCredsRequest' smart constructor.+data CheckValidCredsRequest = CheckValidCredsRequest+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CheckValidCredsRequest' with the minimum fields required to make a request.+newCheckValidCredsRequest ::+ CheckValidCredsRequest+newCheckValidCredsRequest = CheckValidCredsRequest++instance Core.FromJSON CheckValidCredsRequest where+ parseJSON =+ Core.withObject+ "CheckValidCredsRequest"+ (\o -> Core.pure CheckValidCredsRequest)++instance Core.ToJSON CheckValidCredsRequest where+ toJSON = Core.const Core.emptyObject++-- | A response indicating whether the credentials exist and are valid.+--+-- /See:/ 'newCheckValidCredsResponse' smart constructor.+newtype CheckValidCredsResponse = CheckValidCredsResponse+ { -- | If set to @true@, the credentials exist and are valid.+ hasValidCreds :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CheckValidCredsResponse' with the minimum fields required to make a request.+newCheckValidCredsResponse ::+ CheckValidCredsResponse+newCheckValidCredsResponse =+ CheckValidCredsResponse {hasValidCreds = Core.Nothing}++instance Core.FromJSON CheckValidCredsResponse where+ parseJSON =+ Core.withObject+ "CheckValidCredsResponse"+ ( \o ->+ CheckValidCredsResponse Core.<$> (o Core..:? "hasValidCreds")+ )++instance Core.ToJSON CheckValidCredsResponse where+ toJSON CheckValidCredsResponse {..} =+ Core.object+ (Core.catMaybes [("hasValidCreds" Core..=) Core.<$> hasValidCreds])++-- | Defines the properties and custom parameters for a data source.+--+-- /See:/ 'newDataSource' smart constructor.+data DataSource = DataSource+ { -- | Indicates the type of authorization.+ authorizationType :: (Core.Maybe DataSource_AuthorizationType),+ -- | Data source client id which should be used to receive refresh token.+ clientId :: (Core.Maybe Core.Text),+ -- | Specifies whether the data source supports automatic data refresh for the past few days, and how it\'s supported. For some data sources, data might not be complete until a few days later, so it\'s useful to refresh data automatically.+ dataRefreshType :: (Core.Maybe DataSource_DataRefreshType),+ -- | Data source id.+ dataSourceId :: (Core.Maybe Core.Text),+ -- | Default data refresh window on days. Only meaningful when @data_refresh_type@ = @SLIDING_WINDOW@.+ defaultDataRefreshWindowDays :: (Core.Maybe Core.Int32),+ -- | Default data transfer schedule. Examples of valid schedules include: @1st,3rd monday of month 15:30@, @every wed,fri of jan,jun 13:15@, and @first sunday of quarter 00:00@.+ defaultSchedule :: (Core.Maybe Core.Text),+ -- | User friendly data source description string.+ description :: (Core.Maybe Core.Text),+ -- | User friendly data source name.+ displayName :: (Core.Maybe Core.Text),+ -- | Url for the help document for this data source.+ helpUrl :: (Core.Maybe Core.Text),+ -- | Disables backfilling and manual run scheduling for the data source.+ manualRunsDisabled :: (Core.Maybe Core.Bool),+ -- | The minimum interval for scheduler to schedule runs.+ minimumScheduleInterval :: (Core.Maybe Core.Duration),+ -- | Output only. Data source resource name.+ name :: (Core.Maybe Core.Text),+ -- | Data source parameters.+ parameters :: (Core.Maybe [DataSourceParameter]),+ -- | Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https:\/\/www.googleapis.com\/auth\/bigquery+ scopes :: (Core.Maybe [Core.Text]),+ -- | Specifies whether the data source supports a user defined schedule, or operates on the default schedule. When set to @true@, user can override default schedule.+ supportsCustomSchedule :: (Core.Maybe Core.Bool),+ -- | Deprecated. This field has no effect.+ supportsMultipleTransfers :: (Core.Maybe Core.Bool),+ -- | Deprecated. This field has no effect.+ transferType :: (Core.Maybe DataSource_TransferType),+ -- | The number of seconds to wait for an update from the data source before the Data Transfer Service marks the transfer as FAILED.+ updateDeadlineSeconds :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataSource' with the minimum fields required to make a request.+newDataSource ::+ DataSource+newDataSource =+ DataSource+ { authorizationType = Core.Nothing,+ clientId = Core.Nothing,+ dataRefreshType = Core.Nothing,+ dataSourceId = Core.Nothing,+ defaultDataRefreshWindowDays = Core.Nothing,+ defaultSchedule = Core.Nothing,+ description = Core.Nothing,+ displayName = Core.Nothing,+ helpUrl = Core.Nothing,+ manualRunsDisabled = Core.Nothing,+ minimumScheduleInterval = Core.Nothing,+ name = Core.Nothing,+ parameters = Core.Nothing,+ scopes = Core.Nothing,+ supportsCustomSchedule = Core.Nothing,+ supportsMultipleTransfers = Core.Nothing,+ transferType = Core.Nothing,+ updateDeadlineSeconds = Core.Nothing+ }++instance Core.FromJSON DataSource where+ parseJSON =+ Core.withObject+ "DataSource"+ ( \o ->+ DataSource+ Core.<$> (o Core..:? "authorizationType")+ Core.<*> (o Core..:? "clientId")+ Core.<*> (o Core..:? "dataRefreshType")+ Core.<*> (o Core..:? "dataSourceId")+ Core.<*> (o Core..:? "defaultDataRefreshWindowDays")+ Core.<*> (o Core..:? "defaultSchedule")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "helpUrl")+ Core.<*> (o Core..:? "manualRunsDisabled")+ Core.<*> (o Core..:? "minimumScheduleInterval")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "parameters")+ Core.<*> (o Core..:? "scopes")+ Core.<*> (o Core..:? "supportsCustomSchedule")+ Core.<*> (o Core..:? "supportsMultipleTransfers")+ Core.<*> (o Core..:? "transferType")+ Core.<*> (o Core..:? "updateDeadlineSeconds")+ )++instance Core.ToJSON DataSource where+ toJSON DataSource {..} =+ Core.object+ ( Core.catMaybes+ [ ("authorizationType" Core..=) Core.<$> authorizationType,+ ("clientId" Core..=) Core.<$> clientId,+ ("dataRefreshType" Core..=) Core.<$> dataRefreshType,+ ("dataSourceId" Core..=) Core.<$> dataSourceId,+ ("defaultDataRefreshWindowDays" Core..=)+ Core.<$> defaultDataRefreshWindowDays,+ ("defaultSchedule" Core..=) Core.<$> defaultSchedule,+ ("description" Core..=) Core.<$> description,+ ("displayName" Core..=) Core.<$> displayName,+ ("helpUrl" Core..=) Core.<$> helpUrl,+ ("manualRunsDisabled" Core..=) Core.<$> manualRunsDisabled,+ ("minimumScheduleInterval" Core..=)+ Core.<$> minimumScheduleInterval,+ ("name" Core..=) Core.<$> name,+ ("parameters" Core..=) Core.<$> parameters,+ ("scopes" Core..=) Core.<$> scopes,+ ("supportsCustomSchedule" Core..=) Core.<$> supportsCustomSchedule,+ ("supportsMultipleTransfers" Core..=)+ Core.<$> supportsMultipleTransfers,+ ("transferType" Core..=) Core.<$> transferType,+ ("updateDeadlineSeconds" Core..=) Core.<$> updateDeadlineSeconds+ ]+ )++-- | A parameter used to define custom fields in a data source definition.+--+-- /See:/ 'newDataSourceParameter' smart constructor.+data DataSourceParameter = DataSourceParameter+ { -- | All possible values for the parameter.+ allowedValues :: (Core.Maybe [Core.Text]),+ -- | If true, it should not be used in new transfers, and it should not be visible to users.+ deprecated :: (Core.Maybe Core.Bool),+ -- | Parameter description.+ description :: (Core.Maybe Core.Text),+ -- | Parameter display name in the user interface.+ displayName :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ fields :: (Core.Maybe [DataSourceParameter]),+ -- | Cannot be changed after initial creation.+ immutable :: (Core.Maybe Core.Bool),+ -- | For integer and double values specifies maximum allowed value.+ maxValue :: (Core.Maybe Core.Double),+ -- | For integer and double values specifies minimum allowed value.+ minValue :: (Core.Maybe Core.Double),+ -- | Parameter identifier.+ paramId :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ recurse :: (Core.Maybe Core.Bool),+ -- | Deprecated. This field has no effect.+ repeated :: (Core.Maybe Core.Bool),+ -- | Is parameter required.+ required :: (Core.Maybe Core.Bool),+ -- | Parameter type.+ type' :: (Core.Maybe DataSourceParameter_Type),+ -- | Description of the requirements for this field, in case the user input does not fulfill the regex pattern or min\/max values.+ validationDescription :: (Core.Maybe Core.Text),+ -- | URL to a help document to further explain the naming requirements.+ validationHelpUrl :: (Core.Maybe Core.Text),+ -- | Regular expression which can be used for parameter validation.+ validationRegex :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataSourceParameter' with the minimum fields required to make a request.+newDataSourceParameter ::+ DataSourceParameter+newDataSourceParameter =+ DataSourceParameter+ { allowedValues = Core.Nothing,+ deprecated = Core.Nothing,+ description = Core.Nothing,+ displayName = Core.Nothing,+ fields = Core.Nothing,+ immutable = Core.Nothing,+ maxValue = Core.Nothing,+ minValue = Core.Nothing,+ paramId = Core.Nothing,+ recurse = Core.Nothing,+ repeated = Core.Nothing,+ required = Core.Nothing,+ type' = Core.Nothing,+ validationDescription = Core.Nothing,+ validationHelpUrl = Core.Nothing,+ validationRegex = Core.Nothing+ }++instance Core.FromJSON DataSourceParameter where+ parseJSON =+ Core.withObject+ "DataSourceParameter"+ ( \o ->+ DataSourceParameter+ Core.<$> (o Core..:? "allowedValues")+ Core.<*> (o Core..:? "deprecated")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "fields")+ Core.<*> (o Core..:? "immutable")+ Core.<*> (o Core..:? "maxValue")+ Core.<*> (o Core..:? "minValue")+ Core.<*> (o Core..:? "paramId")+ Core.<*> (o Core..:? "recurse")+ Core.<*> (o Core..:? "repeated")+ Core.<*> (o Core..:? "required")+ Core.<*> (o Core..:? "type")+ Core.<*> (o Core..:? "validationDescription")+ Core.<*> (o Core..:? "validationHelpUrl")+ Core.<*> (o Core..:? "validationRegex")+ )++instance Core.ToJSON DataSourceParameter where+ toJSON DataSourceParameter {..} =+ Core.object+ ( Core.catMaybes+ [ ("allowedValues" Core..=) Core.<$> allowedValues,+ ("deprecated" Core..=) Core.<$> deprecated,+ ("description" Core..=) Core.<$> description,+ ("displayName" Core..=) Core.<$> displayName,+ ("fields" Core..=) Core.<$> fields,+ ("immutable" Core..=) Core.<$> immutable,+ ("maxValue" Core..=) Core.<$> maxValue,+ ("minValue" Core..=) Core.<$> minValue,+ ("paramId" Core..=) Core.<$> paramId,+ ("recurse" Core..=) Core.<$> recurse,+ ("repeated" Core..=) Core.<$> repeated,+ ("required" Core..=) Core.<$> required,+ ("type" Core..=) Core.<$> type',+ ("validationDescription" Core..=) Core.<$> validationDescription,+ ("validationHelpUrl" Core..=) Core.<$> validationHelpUrl,+ ("validationRegex" Core..=) Core.<$> validationRegex+ ]+ )++-- | Represents preferences for sending email notifications for transfer run events.+--+-- /See:/ 'newEmailPreferences' smart constructor.+newtype EmailPreferences = EmailPreferences+ { -- | If true, email notifications will be sent on transfer run failures.+ enableFailureEmail :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EmailPreferences' with the minimum fields required to make a request.+newEmailPreferences ::+ EmailPreferences+newEmailPreferences =+ EmailPreferences {enableFailureEmail = Core.Nothing}++instance Core.FromJSON EmailPreferences where+ parseJSON =+ Core.withObject+ "EmailPreferences"+ ( \o ->+ EmailPreferences Core.<$> (o Core..:? "enableFailureEmail")+ )++instance Core.ToJSON EmailPreferences where+ toJSON EmailPreferences {..} =+ Core.object+ ( Core.catMaybes+ [("enableFailureEmail" Core..=) Core.<$> enableFailureEmail]+ )++-- | A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }+--+-- /See:/ 'newEmpty' smart constructor.+data Empty = Empty+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Empty' with the minimum fields required to make a request.+newEmpty ::+ Empty+newEmpty = Empty++instance Core.FromJSON Empty where+ parseJSON = Core.withObject "Empty" (\o -> Core.pure Empty)++instance Core.ToJSON Empty where+ toJSON = Core.const Core.emptyObject++-- | Represents the encryption configuration for a transfer.+--+-- /See:/ 'newEncryptionConfiguration' smart constructor.+newtype EncryptionConfiguration = EncryptionConfiguration+ { -- | The name of the KMS key used for encrypting BigQuery data.+ kmsKeyName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EncryptionConfiguration' with the minimum fields required to make a request.+newEncryptionConfiguration ::+ EncryptionConfiguration+newEncryptionConfiguration =+ EncryptionConfiguration {kmsKeyName = Core.Nothing}++instance Core.FromJSON EncryptionConfiguration where+ parseJSON =+ Core.withObject+ "EncryptionConfiguration"+ (\o -> EncryptionConfiguration Core.<$> (o Core..:? "kmsKeyName"))++instance Core.ToJSON EncryptionConfiguration where+ toJSON EncryptionConfiguration {..} =+ Core.object+ (Core.catMaybes [("kmsKeyName" Core..=) Core.<$> kmsKeyName])++-- | A request to enroll a set of data sources so they are visible in the BigQuery UI\'s @Transfer@ tab.+--+-- /See:/ 'newEnrollDataSourcesRequest' smart constructor.+newtype EnrollDataSourcesRequest = EnrollDataSourcesRequest+ { -- | Data sources that are enrolled. It is required to provide at least one data source id.+ dataSourceIds :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EnrollDataSourcesRequest' with the minimum fields required to make a request.+newEnrollDataSourcesRequest ::+ EnrollDataSourcesRequest+newEnrollDataSourcesRequest =+ EnrollDataSourcesRequest {dataSourceIds = Core.Nothing}++instance Core.FromJSON EnrollDataSourcesRequest where+ parseJSON =+ Core.withObject+ "EnrollDataSourcesRequest"+ ( \o ->+ EnrollDataSourcesRequest Core.<$> (o Core..:? "dataSourceIds")+ )++instance Core.ToJSON EnrollDataSourcesRequest where+ toJSON EnrollDataSourcesRequest {..} =+ Core.object+ (Core.catMaybes [("dataSourceIds" Core..=) Core.<$> dataSourceIds])++-- | Options customizing EventDriven transfers schedule.+--+-- /See:/ 'newEventDrivenSchedule' smart constructor.+newtype EventDrivenSchedule = EventDrivenSchedule+ { -- | Pub\/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects\/{project}\/subscriptions\/{subscription}+ pubsubSubscription :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EventDrivenSchedule' with the minimum fields required to make a request.+newEventDrivenSchedule ::+ EventDrivenSchedule+newEventDrivenSchedule =+ EventDrivenSchedule {pubsubSubscription = Core.Nothing}++instance Core.FromJSON EventDrivenSchedule where+ parseJSON =+ Core.withObject+ "EventDrivenSchedule"+ ( \o ->+ EventDrivenSchedule Core.<$> (o Core..:? "pubsubSubscription")+ )++instance Core.ToJSON EventDrivenSchedule where+ toJSON EventDrivenSchedule {..} =+ Core.object+ ( Core.catMaybes+ [("pubsubSubscription" Core..=) Core.<$> pubsubSubscription]+ )++-- | Returns list of supported data sources and their metadata.+--+-- /See:/ 'newListDataSourcesResponse' smart constructor.+data ListDataSourcesResponse = ListDataSourcesResponse+ { -- | List of supported data sources and their transfer settings.+ dataSources :: (Core.Maybe [DataSource]),+ -- | Output only. The next-pagination token. For multiple-page list results, this token can be used as the @ListDataSourcesRequest.page_token@ to request the next page of list results.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListDataSourcesResponse' with the minimum fields required to make a request.+newListDataSourcesResponse ::+ ListDataSourcesResponse+newListDataSourcesResponse =+ ListDataSourcesResponse+ { dataSources = Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance Core.FromJSON ListDataSourcesResponse where+ parseJSON =+ Core.withObject+ "ListDataSourcesResponse"+ ( \o ->+ ListDataSourcesResponse+ Core.<$> (o Core..:? "dataSources")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON ListDataSourcesResponse where+ toJSON ListDataSourcesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataSources" Core..=) Core.<$> dataSources,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | The response message for Locations.ListLocations.+--+-- /See:/ 'newListLocationsResponse' smart constructor.+data ListLocationsResponse = ListLocationsResponse+ { -- | A list of locations that matches the specified filter in the request.+ locations :: (Core.Maybe [Location]),+ -- | The standard List next-page token.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListLocationsResponse' with the minimum fields required to make a request.+newListLocationsResponse ::+ ListLocationsResponse+newListLocationsResponse =+ ListLocationsResponse+ { locations = Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance Core.FromJSON ListLocationsResponse where+ parseJSON =+ Core.withObject+ "ListLocationsResponse"+ ( \o ->+ ListLocationsResponse+ Core.<$> (o Core..:? "locations")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON ListLocationsResponse where+ toJSON ListLocationsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("locations" Core..=) Core.<$> locations,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | The returned list of pipelines in the project.+--+-- /See:/ 'newListTransferConfigsResponse' smart constructor.+data ListTransferConfigsResponse = ListTransferConfigsResponse+ { -- | Output only. The next-pagination token. For multiple-page list results, this token can be used as the @ListTransferConfigsRequest.page_token@ to request the next page of list results.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | Output only. The stored pipeline transfer configurations.+ transferConfigs :: (Core.Maybe [TransferConfig])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListTransferConfigsResponse' with the minimum fields required to make a request.+newListTransferConfigsResponse ::+ ListTransferConfigsResponse+newListTransferConfigsResponse =+ ListTransferConfigsResponse+ { nextPageToken = Core.Nothing,+ transferConfigs = Core.Nothing+ }++instance Core.FromJSON ListTransferConfigsResponse where+ parseJSON =+ Core.withObject+ "ListTransferConfigsResponse"+ ( \o ->+ ListTransferConfigsResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "transferConfigs")+ )++instance Core.ToJSON ListTransferConfigsResponse where+ toJSON ListTransferConfigsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("transferConfigs" Core..=) Core.<$> transferConfigs+ ]+ )++-- | The returned list transfer run messages.+--+-- /See:/ 'newListTransferLogsResponse' smart constructor.+data ListTransferLogsResponse = ListTransferLogsResponse+ { -- | Output only. The next-pagination token. For multiple-page list results, this token can be used as the @GetTransferRunLogRequest.page_token@ to request the next page of list results.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | Output only. The stored pipeline transfer messages.+ transferMessages :: (Core.Maybe [TransferMessage])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListTransferLogsResponse' with the minimum fields required to make a request.+newListTransferLogsResponse ::+ ListTransferLogsResponse+newListTransferLogsResponse =+ ListTransferLogsResponse+ { nextPageToken = Core.Nothing,+ transferMessages = Core.Nothing+ }++instance Core.FromJSON ListTransferLogsResponse where+ parseJSON =+ Core.withObject+ "ListTransferLogsResponse"+ ( \o ->+ ListTransferLogsResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "transferMessages")+ )++instance Core.ToJSON ListTransferLogsResponse where+ toJSON ListTransferLogsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("transferMessages" Core..=) Core.<$> transferMessages+ ]+ )++-- | The returned list of pipelines in the project.+--+-- /See:/ 'newListTransferRunsResponse' smart constructor.+data ListTransferRunsResponse = ListTransferRunsResponse+ { -- | Output only. The next-pagination token. For multiple-page list results, this token can be used as the @ListTransferRunsRequest.page_token@ to request the next page of list results.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | Output only. The stored pipeline transfer runs.+ transferRuns :: (Core.Maybe [TransferRun])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListTransferRunsResponse' with the minimum fields required to make a request.+newListTransferRunsResponse ::+ ListTransferRunsResponse+newListTransferRunsResponse =+ ListTransferRunsResponse+ { nextPageToken = Core.Nothing,+ transferRuns = Core.Nothing+ }++instance Core.FromJSON ListTransferRunsResponse where+ parseJSON =+ Core.withObject+ "ListTransferRunsResponse"+ ( \o ->+ ListTransferRunsResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "transferRuns")+ )++instance Core.ToJSON ListTransferRunsResponse where+ toJSON ListTransferRunsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("transferRuns" Core..=) Core.<$> transferRuns+ ]+ )++-- | A resource that represents a Google Cloud location.+--+-- /See:/ 'newLocation' smart constructor.+data Location = Location+ { -- | The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".+ displayName :: (Core.Maybe Core.Text),+ -- | Cross-service attributes for the location. For example {\"cloud.googleapis.com\/region\": \"us-east1\"}+ labels :: (Core.Maybe Location_Labels),+ -- | The canonical id for this location. For example: @\"us-east1\"@.+ locationId :: (Core.Maybe Core.Text),+ -- | Service-specific metadata. For example the available capacity at the given location.+ metadata :: (Core.Maybe Location_Metadata),+ -- | Resource name for the location, which may vary between implementations. For example: @\"projects\/example-project\/locations\/us-east1\"@+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Location' with the minimum fields required to make a request.+newLocation ::+ Location+newLocation =+ Location+ { displayName = Core.Nothing,+ labels = Core.Nothing,+ locationId = Core.Nothing,+ metadata = Core.Nothing,+ name = Core.Nothing+ }++instance Core.FromJSON Location where+ parseJSON =+ Core.withObject+ "Location"+ ( \o ->+ Location+ Core.<$> (o Core..:? "displayName")+ Core.<*> (o Core..:? "labels")+ Core.<*> (o Core..:? "locationId")+ Core.<*> (o Core..:? "metadata")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON Location where+ toJSON Location {..} =+ Core.object+ ( Core.catMaybes+ [ ("displayName" Core..=) Core.<$> displayName,+ ("labels" Core..=) Core.<$> labels,+ ("locationId" Core..=) Core.<$> locationId,+ ("metadata" Core..=) Core.<$> metadata,+ ("name" Core..=) Core.<$> name+ ]+ )++-- | Cross-service attributes for the location. For example {\"cloud.googleapis.com\/region\": \"us-east1\"}+--+-- /See:/ 'newLocation_Labels' smart constructor.+newtype Location_Labels = Location_Labels+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Location_Labels' with the minimum fields required to make a request.+newLocation_Labels ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ Location_Labels+newLocation_Labels additional =+ Location_Labels {additional = additional}++instance Core.FromJSON Location_Labels where+ parseJSON =+ Core.withObject+ "Location_Labels"+ (\o -> Location_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Location_Labels where+ toJSON Location_Labels {..} = Core.toJSON additional++-- | Service-specific metadata. For example the available capacity at the given location.+--+-- /See:/ 'newLocation_Metadata' smart constructor.+newtype Location_Metadata = Location_Metadata+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Location_Metadata' with the minimum fields required to make a request.+newLocation_Metadata ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ Location_Metadata+newLocation_Metadata additional =+ Location_Metadata {additional = additional}++instance Core.FromJSON Location_Metadata where+ parseJSON =+ Core.withObject+ "Location_Metadata"+ (\o -> Location_Metadata Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Location_Metadata where+ toJSON Location_Metadata {..} = Core.toJSON additional++-- | Options customizing manual transfers schedule.+--+-- /See:/ 'newManualSchedule' smart constructor.+data ManualSchedule = ManualSchedule+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ManualSchedule' with the minimum fields required to make a request.+newManualSchedule ::+ ManualSchedule+newManualSchedule = ManualSchedule++instance Core.FromJSON ManualSchedule where+ parseJSON =+ Core.withObject+ "ManualSchedule"+ (\o -> Core.pure ManualSchedule)++instance Core.ToJSON ManualSchedule where+ toJSON = Core.const Core.emptyObject++-- | Options customizing the data transfer schedule.+--+-- /See:/ 'newScheduleOptions' smart constructor.+data ScheduleOptions = ScheduleOptions+ { -- | If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored.+ disableAutoScheduling :: (Core.Maybe Core.Bool),+ -- | Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.+ startTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ScheduleOptions' with the minimum fields required to make a request.+newScheduleOptions ::+ ScheduleOptions+newScheduleOptions =+ ScheduleOptions+ { disableAutoScheduling = Core.Nothing,+ endTime = Core.Nothing,+ startTime = Core.Nothing+ }++instance Core.FromJSON ScheduleOptions where+ parseJSON =+ Core.withObject+ "ScheduleOptions"+ ( \o ->+ ScheduleOptions+ Core.<$> (o Core..:? "disableAutoScheduling")+ Core.<*> (o Core..:? "endTime")+ Core.<*> (o Core..:? "startTime")+ )++instance Core.ToJSON ScheduleOptions where+ toJSON ScheduleOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("disableAutoScheduling" Core..=) Core.<$> disableAutoScheduling,+ ("endTime" Core..=) Core.<$> endTime,+ ("startTime" Core..=) Core.<$> startTime+ ]+ )++-- | V2 options customizing different types of data transfer schedule. This field supports existing time-based and manual transfer schedule. Also supports Event-Driven transfer schedule. ScheduleOptionsV2 cannot be used together with ScheduleOptions\/Schedule.+--+-- /See:/ 'newScheduleOptionsV2' smart constructor.+data ScheduleOptionsV2 = ScheduleOptionsV2+ { -- | Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial.+ eventDrivenSchedule :: (Core.Maybe EventDrivenSchedule),+ -- | Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable/auto/scheduling = true.+ manualSchedule :: (Core.Maybe ManualSchedule),+ -- | Time based transfer schedule options. This is the default schedule option.+ timeBasedSchedule :: (Core.Maybe TimeBasedSchedule)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ScheduleOptionsV2' with the minimum fields required to make a request.+newScheduleOptionsV2 ::+ ScheduleOptionsV2+newScheduleOptionsV2 =+ ScheduleOptionsV2+ { eventDrivenSchedule = Core.Nothing,+ manualSchedule = Core.Nothing,+ timeBasedSchedule = Core.Nothing+ }++instance Core.FromJSON ScheduleOptionsV2 where+ parseJSON =+ Core.withObject+ "ScheduleOptionsV2"+ ( \o ->+ ScheduleOptionsV2+ Core.<$> (o Core..:? "eventDrivenSchedule")+ Core.<*> (o Core..:? "manualSchedule")+ Core.<*> (o Core..:? "timeBasedSchedule")+ )++instance Core.ToJSON ScheduleOptionsV2 where+ toJSON ScheduleOptionsV2 {..} =+ Core.object+ ( Core.catMaybes+ [ ("eventDrivenSchedule" Core..=) Core.<$> eventDrivenSchedule,+ ("manualSchedule" Core..=) Core.<$> manualSchedule,+ ("timeBasedSchedule" Core..=) Core.<$> timeBasedSchedule+ ]+ )++-- | A request to schedule transfer runs for a time range.+--+-- /See:/ 'newScheduleTransferRunsRequest' smart constructor.+data ScheduleTransferRunsRequest = ScheduleTransferRunsRequest+ { -- | Required. End time of the range of transfer runs. For example, @\"2017-05-30T00:00:00+00:00\"@.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Required. Start time of the range of transfer runs. For example, @\"2017-05-25T00:00:00+00:00\"@.+ startTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ScheduleTransferRunsRequest' with the minimum fields required to make a request.+newScheduleTransferRunsRequest ::+ ScheduleTransferRunsRequest+newScheduleTransferRunsRequest =+ ScheduleTransferRunsRequest+ { endTime = Core.Nothing,+ startTime = Core.Nothing+ }++instance Core.FromJSON ScheduleTransferRunsRequest where+ parseJSON =+ Core.withObject+ "ScheduleTransferRunsRequest"+ ( \o ->+ ScheduleTransferRunsRequest+ Core.<$> (o Core..:? "endTime")+ Core.<*> (o Core..:? "startTime")+ )++instance Core.ToJSON ScheduleTransferRunsRequest where+ toJSON ScheduleTransferRunsRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("endTime" Core..=) Core.<$> endTime,+ ("startTime" Core..=) Core.<$> startTime+ ]+ )++-- | A response to schedule transfer runs for a time range.+--+-- /See:/ 'newScheduleTransferRunsResponse' smart constructor.+newtype ScheduleTransferRunsResponse = ScheduleTransferRunsResponse+ { -- | The transfer runs that were scheduled.+ runs :: (Core.Maybe [TransferRun])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ScheduleTransferRunsResponse' with the minimum fields required to make a request.+newScheduleTransferRunsResponse ::+ ScheduleTransferRunsResponse+newScheduleTransferRunsResponse =+ ScheduleTransferRunsResponse {runs = Core.Nothing}++instance Core.FromJSON ScheduleTransferRunsResponse where+ parseJSON =+ Core.withObject+ "ScheduleTransferRunsResponse"+ (\o -> ScheduleTransferRunsResponse Core.<$> (o Core..:? "runs"))++instance Core.ToJSON ScheduleTransferRunsResponse where+ toJSON ScheduleTransferRunsResponse {..} =+ Core.object (Core.catMaybes [("runs" Core..=) Core.<$> runs])++-- | A request to start manual transfer runs.+--+-- /See:/ 'newStartManualTransferRunsRequest' smart constructor.+data StartManualTransferRunsRequest = StartManualTransferRunsRequest+ { -- | A run/time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested/run_time must be a past time and cannot include future time values.+ requestedRunTime :: (Core.Maybe Core.DateTime),+ -- | A time/range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested/time_range must be a past time and cannot include future time values.+ requestedTimeRange :: (Core.Maybe TimeRange)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StartManualTransferRunsRequest' with the minimum fields required to make a request.+newStartManualTransferRunsRequest ::+ StartManualTransferRunsRequest+newStartManualTransferRunsRequest =+ StartManualTransferRunsRequest+ { requestedRunTime = Core.Nothing,+ requestedTimeRange = Core.Nothing+ }++instance Core.FromJSON StartManualTransferRunsRequest where+ parseJSON =+ Core.withObject+ "StartManualTransferRunsRequest"+ ( \o ->+ StartManualTransferRunsRequest+ Core.<$> (o Core..:? "requestedRunTime")+ Core.<*> (o Core..:? "requestedTimeRange")+ )++instance Core.ToJSON StartManualTransferRunsRequest where+ toJSON StartManualTransferRunsRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("requestedRunTime" Core..=) Core.<$> requestedRunTime,+ ("requestedTimeRange" Core..=) Core.<$> requestedTimeRange+ ]+ )++-- | A response to start manual transfer runs.+--+-- /See:/ 'newStartManualTransferRunsResponse' smart constructor.+newtype StartManualTransferRunsResponse = StartManualTransferRunsResponse+ { -- | The transfer runs that were created.+ runs :: (Core.Maybe [TransferRun])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StartManualTransferRunsResponse' with the minimum fields required to make a request.+newStartManualTransferRunsResponse ::+ StartManualTransferRunsResponse+newStartManualTransferRunsResponse =+ StartManualTransferRunsResponse {runs = Core.Nothing}++instance Core.FromJSON StartManualTransferRunsResponse where+ parseJSON =+ Core.withObject+ "StartManualTransferRunsResponse"+ ( \o ->+ StartManualTransferRunsResponse Core.<$> (o Core..:? "runs")+ )++instance Core.ToJSON StartManualTransferRunsResponse where+ toJSON StartManualTransferRunsResponse {..} =+ Core.object (Core.catMaybes [("runs" Core..=) Core.<$> runs])++-- | The @Status@ type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by <https://github.com/grpc gRPC>. Each @Status@ message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the <https://cloud.google.com/apis/design/errors API Design Guide>.+--+-- /See:/ 'newStatus' smart constructor.+data Status = Status+ { -- | The status code, which should be an enum value of google.rpc.Code.+ code :: (Core.Maybe Core.Int32),+ -- | A list of messages that carry the error details. There is a common set of message types for APIs to use.+ details :: (Core.Maybe [Status_DetailsItem]),+ -- | A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.+ message :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Status' with the minimum fields required to make a request.+newStatus ::+ Status+newStatus =+ Status+ { code = Core.Nothing,+ details = Core.Nothing,+ message = Core.Nothing+ }++instance Core.FromJSON Status where+ parseJSON =+ Core.withObject+ "Status"+ ( \o ->+ Status+ Core.<$> (o Core..:? "code")+ Core.<*> (o Core..:? "details")+ Core.<*> (o Core..:? "message")+ )++instance Core.ToJSON Status where+ toJSON Status {..} =+ Core.object+ ( Core.catMaybes+ [ ("code" Core..=) Core.<$> code,+ ("details" Core..=) Core.<$> details,+ ("message" Core..=) Core.<$> message+ ]+ )++--+-- /See:/ 'newStatus_DetailsItem' smart constructor.+newtype Status_DetailsItem = Status_DetailsItem+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Status_DetailsItem' with the minimum fields required to make a request.+newStatus_DetailsItem ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ Status_DetailsItem+newStatus_DetailsItem additional =+ Status_DetailsItem {additional = additional}++instance Core.FromJSON Status_DetailsItem where+ parseJSON =+ Core.withObject+ "Status_DetailsItem"+ (\o -> Status_DetailsItem Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Status_DetailsItem where+ toJSON Status_DetailsItem {..} = Core.toJSON additional++-- | Options customizing the time based transfer schedule. Options are migrated from the original ScheduleOptions message.+--+-- /See:/ 'newTimeBasedSchedule' smart constructor.+data TimeBasedSchedule = TimeBasedSchedule+ { -- | Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: @1st,3rd monday of month 15:30@, @every wed,fri of jan,jun 13:15@, and @first sunday of quarter 00:00@. See more explanation about the format here: https:\/\/cloud.google.com\/appengine\/docs\/flexible\/python\/scheduling-jobs-with-cron-yaml#the/schedule/format NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.+ schedule :: (Core.Maybe Core.Text),+ -- | Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment.+ startTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TimeBasedSchedule' with the minimum fields required to make a request.+newTimeBasedSchedule ::+ TimeBasedSchedule+newTimeBasedSchedule =+ TimeBasedSchedule+ { endTime = Core.Nothing,+ schedule = Core.Nothing,+ startTime = Core.Nothing+ }++instance Core.FromJSON TimeBasedSchedule where+ parseJSON =+ Core.withObject+ "TimeBasedSchedule"+ ( \o ->+ TimeBasedSchedule+ Core.<$> (o Core..:? "endTime")+ Core.<*> (o Core..:? "schedule")+ Core.<*> (o Core..:? "startTime")+ )++instance Core.ToJSON TimeBasedSchedule where+ toJSON TimeBasedSchedule {..} =+ Core.object+ ( Core.catMaybes+ [ ("endTime" Core..=) Core.<$> endTime,+ ("schedule" Core..=) Core.<$> schedule,+ ("startTime" Core..=) Core.<$> startTime+ ]+ )++-- | A specification for a time range, this will request transfer runs with run/time between start/time (inclusive) and end_time (exclusive).+--+-- /See:/ 'newTimeRange' smart constructor.+data TimeRange = TimeRange+ { -- | End time of the range of transfer runs. For example, @\"2017-05-30T00:00:00+00:00\"@. The end/time must not be in the future. Creates transfer runs where run/time is in the range between start/time (inclusive) and end/time (exclusive).+ endTime :: (Core.Maybe Core.DateTime),+ -- | Start time of the range of transfer runs. For example, @\"2017-05-25T00:00:00+00:00\"@. The start/time must be strictly less than the end/time. Creates transfer runs where run/time is in the range between start/time (inclusive) and end_time (exclusive).+ startTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TimeRange' with the minimum fields required to make a request.+newTimeRange ::+ TimeRange+newTimeRange =+ TimeRange {endTime = Core.Nothing, startTime = Core.Nothing}++instance Core.FromJSON TimeRange where+ parseJSON =+ Core.withObject+ "TimeRange"+ ( \o ->+ TimeRange+ Core.<$> (o Core..:? "endTime")+ Core.<*> (o Core..:? "startTime")+ )++instance Core.ToJSON TimeRange where+ toJSON TimeRange {..} =+ Core.object+ ( Core.catMaybes+ [ ("endTime" Core..=) Core.<$> endTime,+ ("startTime" Core..=) Core.<$> startTime+ ]+ )++-- | Represents a data transfer configuration. A transfer configuration contains all metadata needed to perform a data transfer. For example, @destination_dataset_id@ specifies where data should be stored. When a new transfer configuration is created, the specified @destination_dataset_id@ is created when needed and shared with the appropriate data source service account.+--+-- /See:/ 'newTransferConfig' smart constructor.+data TransferConfig = TransferConfig+ { -- | The number of days to look back to automatically refresh the data. For example, if @data_refresh_window_days = 10@, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.+ dataRefreshWindowDays :: (Core.Maybe Core.Int32),+ -- | Data source ID. This cannot be changed once data transfer is created. The full list of available data source IDs can be returned through an API call: https:\/\/cloud.google.com\/bigquery-transfer\/docs\/reference\/datatransfer\/rest\/v1\/projects.locations.dataSources\/list+ dataSourceId :: (Core.Maybe Core.Text),+ -- | Output only. Region in which BigQuery dataset is located.+ datasetRegion :: (Core.Maybe Core.Text),+ -- | The BigQuery target dataset id.+ destinationDatasetId :: (Core.Maybe Core.Text),+ -- | Is this config disabled. When set to true, no runs will be scheduled for this transfer config.+ disabled :: (Core.Maybe Core.Bool),+ -- | User specified display name for the data transfer.+ displayName :: (Core.Maybe Core.Text),+ -- | Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.+ emailPreferences :: (Core.Maybe EmailPreferences),+ -- | The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent.+ encryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+ -- | Output only. Error code with detailed information about reason of the latest config failure.+ error :: (Core.Maybe Status),+ -- | Identifier. The resource name of the transfer config. Transfer config names have the form either @projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/transferConfigs\/{config_id}@, where @config_id@ is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.+ name :: (Core.Maybe Core.Text),+ -- | Output only. Next time when data transfer will run.+ nextRunTime :: (Core.Maybe Core.DateTime),+ -- | Pub\/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish. The format for specifying a pubsub topic is: @projects\/{project_id}\/topics\/{topic_id}@+ notificationPubsubTopic :: (Core.Maybe Core.Text),+ -- | Output only. Information about the user whose credentials are used to transfer data. Populated only for @transferConfigs.get@ requests. In case the user information is not available, this field will not be populated.+ ownerInfo :: (Core.Maybe UserInfo),+ -- | Parameters specific to each data source. For more information see the bq tab in the \'Setting up a data transfer\' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https:\/\/cloud.google.com\/bigquery-transfer\/docs\/cloud-storage-transfer#bq+ params :: (Core.Maybe TransferConfig_Params),+ -- | Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: @1st,3rd monday of month 15:30@, @every wed,fri of jan,jun 13:15@, and @first sunday of quarter 00:00@. See more explanation about the format here: https:\/\/cloud.google.com\/appengine\/docs\/flexible\/python\/scheduling-jobs-with-cron-yaml#the/schedule/format NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.+ schedule :: (Core.Maybe Core.Text),+ -- | Options customizing the data transfer schedule.+ scheduleOptions :: (Core.Maybe ScheduleOptions),+ -- | Options customizing different types of data transfer schedule. This field replaces \"schedule\" and \"schedule_options\" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions\/Schedule.+ scheduleOptionsV2 :: (Core.Maybe ScheduleOptionsV2),+ -- | Output only. State of the most recently updated transfer run.+ state :: (Core.Maybe TransferConfig_State),+ -- | Output only. Data transfer modification time. Ignored by server on input.+ updateTime :: (Core.Maybe Core.DateTime),+ -- | Deprecated. Unique ID of the user on whose behalf transfer is done.+ userId :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TransferConfig' with the minimum fields required to make a request.+newTransferConfig ::+ TransferConfig+newTransferConfig =+ TransferConfig+ { dataRefreshWindowDays = Core.Nothing,+ dataSourceId = Core.Nothing,+ datasetRegion = Core.Nothing,+ destinationDatasetId = Core.Nothing,+ disabled = Core.Nothing,+ displayName = Core.Nothing,+ emailPreferences = Core.Nothing,+ encryptionConfiguration = Core.Nothing,+ error = Core.Nothing,+ name = Core.Nothing,+ nextRunTime = Core.Nothing,+ notificationPubsubTopic = Core.Nothing,+ ownerInfo = Core.Nothing,+ params = Core.Nothing,+ schedule = Core.Nothing,+ scheduleOptions = Core.Nothing,+ scheduleOptionsV2 = Core.Nothing,+ state = Core.Nothing,+ updateTime = Core.Nothing,+ userId = Core.Nothing+ }++instance Core.FromJSON TransferConfig where+ parseJSON =+ Core.withObject+ "TransferConfig"+ ( \o ->+ TransferConfig+ Core.<$> (o Core..:? "dataRefreshWindowDays")+ Core.<*> (o Core..:? "dataSourceId")+ Core.<*> (o Core..:? "datasetRegion")+ Core.<*> (o Core..:? "destinationDatasetId")+ Core.<*> (o Core..:? "disabled")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "emailPreferences")+ Core.<*> (o Core..:? "encryptionConfiguration")+ Core.<*> (o Core..:? "error")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "nextRunTime")+ Core.<*> (o Core..:? "notificationPubsubTopic")+ Core.<*> (o Core..:? "ownerInfo")+ Core.<*> (o Core..:? "params")+ Core.<*> (o Core..:? "schedule")+ Core.<*> (o Core..:? "scheduleOptions")+ Core.<*> (o Core..:? "scheduleOptionsV2")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "updateTime")+ Core.<*> (o Core..:? "userId" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON TransferConfig where+ toJSON TransferConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataRefreshWindowDays" Core..=) Core.<$> dataRefreshWindowDays,+ ("dataSourceId" Core..=) Core.<$> dataSourceId,+ ("datasetRegion" Core..=) Core.<$> datasetRegion,+ ("destinationDatasetId" Core..=) Core.<$> destinationDatasetId,+ ("disabled" Core..=) Core.<$> disabled,+ ("displayName" Core..=) Core.<$> displayName,+ ("emailPreferences" Core..=) Core.<$> emailPreferences,+ ("encryptionConfiguration" Core..=)+ Core.<$> encryptionConfiguration,+ ("error" Core..=) Core.<$> error,+ ("name" Core..=) Core.<$> name,+ ("nextRunTime" Core..=) Core.<$> nextRunTime,+ ("notificationPubsubTopic" Core..=)+ Core.<$> notificationPubsubTopic,+ ("ownerInfo" Core..=) Core.<$> ownerInfo,+ ("params" Core..=) Core.<$> params,+ ("schedule" Core..=) Core.<$> schedule,+ ("scheduleOptions" Core..=) Core.<$> scheduleOptions,+ ("scheduleOptionsV2" Core..=) Core.<$> scheduleOptionsV2,+ ("state" Core..=) Core.<$> state,+ ("updateTime" Core..=) Core.<$> updateTime,+ ("userId" Core..=) Core.. Core.AsText Core.<$> userId+ ]+ )++-- | Parameters specific to each data source. For more information see the bq tab in the \'Setting up a data transfer\' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https:\/\/cloud.google.com\/bigquery-transfer\/docs\/cloud-storage-transfer#bq+--+-- /See:/ 'newTransferConfig_Params' smart constructor.+newtype TransferConfig_Params = TransferConfig_Params+ { -- | Properties of the object.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TransferConfig_Params' with the minimum fields required to make a request.+newTransferConfig_Params ::+ -- | Properties of the object. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ TransferConfig_Params+newTransferConfig_Params additional =+ TransferConfig_Params {additional = additional}++instance Core.FromJSON TransferConfig_Params where+ parseJSON =+ Core.withObject+ "TransferConfig_Params"+ (\o -> TransferConfig_Params Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON TransferConfig_Params where+ toJSON TransferConfig_Params {..} = Core.toJSON additional++-- | Represents a user facing message for a particular data transfer run.+--+-- /See:/ 'newTransferMessage' smart constructor.+data TransferMessage = TransferMessage+ { -- | Message text.+ messageText :: (Core.Maybe Core.Text),+ -- | Time when message was logged.+ messageTime :: (Core.Maybe Core.DateTime),+ -- | Message severity.+ severity :: (Core.Maybe TransferMessage_Severity)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TransferMessage' with the minimum fields required to make a request.+newTransferMessage ::+ TransferMessage+newTransferMessage =+ TransferMessage+ { messageText = Core.Nothing,+ messageTime = Core.Nothing,+ severity = Core.Nothing+ }++instance Core.FromJSON TransferMessage where+ parseJSON =+ Core.withObject+ "TransferMessage"+ ( \o ->+ TransferMessage+ Core.<$> (o Core..:? "messageText")+ Core.<*> (o Core..:? "messageTime")+ Core.<*> (o Core..:? "severity")+ )++instance Core.ToJSON TransferMessage where+ toJSON TransferMessage {..} =+ Core.object+ ( Core.catMaybes+ [ ("messageText" Core..=) Core.<$> messageText,+ ("messageTime" Core..=) Core.<$> messageTime,+ ("severity" Core..=) Core.<$> severity+ ]+ )++-- | Represents a data transfer run.+--+-- /See:/ 'newTransferRun' smart constructor.+data TransferRun = TransferRun+ { -- | Output only. Data source id.+ dataSourceId :: (Core.Maybe Core.Text),+ -- | Output only. The BigQuery target dataset id.+ destinationDatasetId :: (Core.Maybe Core.Text),+ -- | Output only. Email notifications will be sent according to these preferences to the email address of the user who owns the transfer config this run was derived from.+ emailPreferences :: (Core.Maybe EmailPreferences),+ -- | Output only. Time when transfer run ended. Parameter ignored by server for input requests.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Status of the transfer run.+ errorStatus :: (Core.Maybe Status),+ -- | Identifier. The resource name of the transfer run. Transfer run names have the form @projects\/{project_id}\/locations\/{location}\/transferConfigs\/{config_id}\/runs\/{run_id}@. The name is ignored when creating a transfer run.+ name :: (Core.Maybe Core.Text),+ -- | Output only. Pub\/Sub topic where a notification will be sent after this transfer run finishes. The format for specifying a pubsub topic is: @projects\/{project_id}\/topics\/{topic_id}@+ notificationPubsubTopic :: (Core.Maybe Core.Text),+ -- | Output only. Parameters specific to each data source. For more information see the bq tab in the \'Setting up a data transfer\' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https:\/\/cloud.google.com\/bigquery-transfer\/docs\/cloud-storage-transfer#bq+ params :: (Core.Maybe TransferRun_Params),+ -- | For batch transfer runs, specifies the date and time of the data should be ingested.+ runTime :: (Core.Maybe Core.DateTime),+ -- | Output only. Describes the schedule of this transfer run if it was created as part of a regular schedule. For batch transfer runs that are scheduled manually, this is empty. NOTE: the system might choose to delay the schedule depending on the current load, so @schedule_time@ doesn\'t always match this.+ schedule :: (Core.Maybe Core.Text),+ -- | Minimum time after which a transfer run can be started.+ scheduleTime :: (Core.Maybe Core.DateTime),+ -- | Output only. Time when transfer run was started. Parameter ignored by server for input requests.+ startTime :: (Core.Maybe Core.DateTime),+ -- | Data transfer run state. Ignored for input requests.+ state :: (Core.Maybe TransferRun_State),+ -- | Output only. Last time the data transfer run state was updated.+ updateTime :: (Core.Maybe Core.DateTime),+ -- | Deprecated. Unique ID of the user on whose behalf transfer is done.+ userId :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TransferRun' with the minimum fields required to make a request.+newTransferRun ::+ TransferRun+newTransferRun =+ TransferRun+ { dataSourceId = Core.Nothing,+ destinationDatasetId = Core.Nothing,+ emailPreferences = Core.Nothing,+ endTime = Core.Nothing,+ errorStatus = Core.Nothing,+ name = Core.Nothing,+ notificationPubsubTopic = Core.Nothing,+ params = Core.Nothing,+ runTime = Core.Nothing,+ schedule = Core.Nothing,+ scheduleTime = Core.Nothing,+ startTime = Core.Nothing,+ state = Core.Nothing,+ updateTime = Core.Nothing,+ userId = Core.Nothing+ }++instance Core.FromJSON TransferRun where+ parseJSON =+ Core.withObject+ "TransferRun"+ ( \o ->+ TransferRun+ Core.<$> (o Core..:? "dataSourceId")+ Core.<*> (o Core..:? "destinationDatasetId")+ Core.<*> (o Core..:? "emailPreferences")+ Core.<*> (o Core..:? "endTime")+ Core.<*> (o Core..:? "errorStatus")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "notificationPubsubTopic")+ Core.<*> (o Core..:? "params")+ Core.<*> (o Core..:? "runTime")+ Core.<*> (o Core..:? "schedule")+ Core.<*> (o Core..:? "scheduleTime")+ Core.<*> (o Core..:? "startTime")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "updateTime")+ Core.<*> (o Core..:? "userId" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON TransferRun where+ toJSON TransferRun {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataSourceId" Core..=) Core.<$> dataSourceId,+ ("destinationDatasetId" Core..=) Core.<$> destinationDatasetId,+ ("emailPreferences" Core..=) Core.<$> emailPreferences,+ ("endTime" Core..=) Core.<$> endTime,+ ("errorStatus" Core..=) Core.<$> errorStatus,+ ("name" Core..=) Core.<$> name,+ ("notificationPubsubTopic" Core..=)+ Core.<$> notificationPubsubTopic,+ ("params" Core..=) Core.<$> params,+ ("runTime" Core..=) Core.<$> runTime,+ ("schedule" Core..=) Core.<$> schedule,+ ("scheduleTime" Core..=) Core.<$> scheduleTime,+ ("startTime" Core..=) Core.<$> startTime,+ ("state" Core..=) Core.<$> state,+ ("updateTime" Core..=) Core.<$> updateTime,+ ("userId" Core..=) Core.. Core.AsText Core.<$> userId+ ]+ )++-- | Output only. Parameters specific to each data source. For more information see the bq tab in the \'Setting up a data transfer\' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https:\/\/cloud.google.com\/bigquery-transfer\/docs\/cloud-storage-transfer#bq+--+-- /See:/ 'newTransferRun_Params' smart constructor.+newtype TransferRun_Params = TransferRun_Params+ { -- | Properties of the object.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TransferRun_Params' with the minimum fields required to make a request.+newTransferRun_Params ::+ -- | Properties of the object. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ TransferRun_Params+newTransferRun_Params additional =+ TransferRun_Params {additional = additional}++instance Core.FromJSON TransferRun_Params where+ parseJSON =+ Core.withObject+ "TransferRun_Params"+ (\o -> TransferRun_Params Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON TransferRun_Params where+ toJSON TransferRun_Params {..} = Core.toJSON additional++-- | A request to unenroll a set of data sources so they are no longer visible in the BigQuery UI\'s @Transfer@ tab.+--+-- /See:/ 'newUnenrollDataSourcesRequest' smart constructor.+newtype UnenrollDataSourcesRequest = UnenrollDataSourcesRequest+ { -- | Data sources that are unenrolled. It is required to provide at least one data source id.+ dataSourceIds :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UnenrollDataSourcesRequest' with the minimum fields required to make a request.+newUnenrollDataSourcesRequest ::+ UnenrollDataSourcesRequest+newUnenrollDataSourcesRequest =+ UnenrollDataSourcesRequest {dataSourceIds = Core.Nothing}++instance Core.FromJSON UnenrollDataSourcesRequest where+ parseJSON =+ Core.withObject+ "UnenrollDataSourcesRequest"+ ( \o ->+ UnenrollDataSourcesRequest Core.<$> (o Core..:? "dataSourceIds")+ )++instance Core.ToJSON UnenrollDataSourcesRequest where+ toJSON UnenrollDataSourcesRequest {..} =+ Core.object+ (Core.catMaybes [("dataSourceIds" Core..=) Core.<$> dataSourceIds])++-- | Information about a user.+--+-- /See:/ 'newUserInfo' smart constructor.+newtype UserInfo = UserInfo+ { -- | E-mail address of the user.+ email :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UserInfo' with the minimum fields required to make a request.+newUserInfo ::+ UserInfo+newUserInfo = UserInfo {email = Core.Nothing}++instance Core.FromJSON UserInfo where+ parseJSON =+ Core.withObject+ "UserInfo"+ (\o -> UserInfo Core.<$> (o Core..:? "email"))++instance Core.ToJSON UserInfo where+ toJSON UserInfo {..} =+ Core.object (Core.catMaybes [("email" Core..=) Core.<$> email])
+ gen/Gogol/BigQueryDataTransfer/Internal/Sum.hs view
@@ -0,0 +1,697 @@+{-# 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.BigQueryDataTransfer.Internal.Sum+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.BigQueryDataTransfer.Internal.Sum+ ( -- * Xgafv+ Xgafv+ ( Xgafv_1,+ Xgafv_2,+ ..+ ),++ -- * DataSource_AuthorizationType+ DataSource_AuthorizationType+ ( DataSource_AuthorizationType_AUTHORIZATIONTYPEUNSPECIFIED,+ DataSource_AuthorizationType_AUTHORIZATIONCODE,+ DataSource_AuthorizationType_GOOGLEPLUSAUTHORIZATIONCODE,+ DataSource_AuthorizationType_FIRSTPARTYOAUTH,+ ..+ ),++ -- * DataSource_DataRefreshType+ DataSource_DataRefreshType+ ( DataSource_DataRefreshType_DATAREFRESHTYPEUNSPECIFIED,+ DataSource_DataRefreshType_SLIDINGWINDOW,+ DataSource_DataRefreshType_CUSTOMSLIDINGWINDOW,+ ..+ ),++ -- * DataSource_TransferType+ DataSource_TransferType+ ( DataSource_TransferType_TRANSFERTYPEUNSPECIFIED,+ DataSource_TransferType_Batch,+ DataSource_TransferType_Streaming,+ ..+ ),++ -- * DataSourceParameter_Type+ DataSourceParameter_Type+ ( DataSourceParameter_Type_TYPEUNSPECIFIED,+ DataSourceParameter_Type_String,+ DataSourceParameter_Type_Integer,+ DataSourceParameter_Type_Double,+ DataSourceParameter_Type_Boolean,+ DataSourceParameter_Type_Record,+ DataSourceParameter_Type_PLUSPAGE,+ DataSourceParameter_Type_List,+ ..+ ),++ -- * TransferConfig_State+ TransferConfig_State+ ( TransferConfig_State_TRANSFERSTATEUNSPECIFIED,+ TransferConfig_State_Pending,+ TransferConfig_State_Running,+ TransferConfig_State_Succeeded,+ TransferConfig_State_Failed,+ TransferConfig_State_Cancelled,+ ..+ ),++ -- * TransferMessage_Severity+ TransferMessage_Severity+ ( TransferMessage_Severity_MESSAGESEVERITYUNSPECIFIED,+ TransferMessage_Severity_Info,+ TransferMessage_Severity_Warning,+ TransferMessage_Severity_Error',+ ..+ ),++ -- * TransferRun_State+ TransferRun_State+ ( TransferRun_State_TRANSFERSTATEUNSPECIFIED,+ TransferRun_State_Pending,+ TransferRun_State_Running,+ TransferRun_State_Succeeded,+ TransferRun_State_Failed,+ TransferRun_State_Cancelled,+ ..+ ),++ -- * ProjectsLocationsTransferConfigsRunsListRunAttempt+ ProjectsLocationsTransferConfigsRunsListRunAttempt+ ( ProjectsLocationsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED,+ ProjectsLocationsTransferConfigsRunsListRunAttempt_Latest,+ ..+ ),++ -- * ProjectsLocationsTransferConfigsRunsListStates+ ProjectsLocationsTransferConfigsRunsListStates+ ( ProjectsLocationsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED,+ ProjectsLocationsTransferConfigsRunsListStates_Pending,+ ProjectsLocationsTransferConfigsRunsListStates_Running,+ ProjectsLocationsTransferConfigsRunsListStates_Succeeded,+ ProjectsLocationsTransferConfigsRunsListStates_Failed,+ ProjectsLocationsTransferConfigsRunsListStates_Cancelled,+ ..+ ),++ -- * ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+ ( ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED,+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Info,+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Warning,+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Error',+ ..+ ),++ -- * ProjectsTransferConfigsRunsListRunAttempt+ ProjectsTransferConfigsRunsListRunAttempt+ ( ProjectsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED,+ ProjectsTransferConfigsRunsListRunAttempt_Latest,+ ..+ ),++ -- * ProjectsTransferConfigsRunsListStates+ ProjectsTransferConfigsRunsListStates+ ( ProjectsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED,+ ProjectsTransferConfigsRunsListStates_Pending,+ ProjectsTransferConfigsRunsListStates_Running,+ ProjectsTransferConfigsRunsListStates_Succeeded,+ ProjectsTransferConfigsRunsListStates_Failed,+ ProjectsTransferConfigsRunsListStates_Cancelled,+ ..+ ),++ -- * ProjectsTransferConfigsRunsTransferLogsListMessageTypes+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes+ ( ProjectsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED,+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Info,+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Warning,+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Error',+ ..+ ),+ )+where++import Gogol.Prelude qualified as Core++-- | V1 error format.+newtype Xgafv = Xgafv {fromXgafv :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | v1 error format+pattern Xgafv_1 :: Xgafv+pattern Xgafv_1 = Xgafv "1"++-- | v2 error format+pattern Xgafv_2 :: Xgafv+pattern Xgafv_2 = Xgafv "2"++{-# COMPLETE+ Xgafv_1,+ Xgafv_2,+ Xgafv+ #-}++-- | Indicates the type of authorization.+newtype DataSource_AuthorizationType = DataSource_AuthorizationType {fromDataSource_AuthorizationType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Type unspecified.+pattern DataSource_AuthorizationType_AUTHORIZATIONTYPEUNSPECIFIED :: DataSource_AuthorizationType+pattern DataSource_AuthorizationType_AUTHORIZATIONTYPEUNSPECIFIED = DataSource_AuthorizationType "AUTHORIZATION_TYPE_UNSPECIFIED"++-- | Use OAuth 2 authorization codes that can be exchanged for a refresh token on the backend.+pattern DataSource_AuthorizationType_AUTHORIZATIONCODE :: DataSource_AuthorizationType+pattern DataSource_AuthorizationType_AUTHORIZATIONCODE = DataSource_AuthorizationType "AUTHORIZATION_CODE"++-- | Return an authorization code for a given Google+ page that can then be exchanged for a refresh token on the backend.+pattern DataSource_AuthorizationType_GOOGLEPLUSAUTHORIZATIONCODE :: DataSource_AuthorizationType+pattern DataSource_AuthorizationType_GOOGLEPLUSAUTHORIZATIONCODE = DataSource_AuthorizationType "GOOGLE_PLUS_AUTHORIZATION_CODE"++-- | Use First Party OAuth.+pattern DataSource_AuthorizationType_FIRSTPARTYOAUTH :: DataSource_AuthorizationType+pattern DataSource_AuthorizationType_FIRSTPARTYOAUTH = DataSource_AuthorizationType "FIRST_PARTY_OAUTH"++{-# COMPLETE+ DataSource_AuthorizationType_AUTHORIZATIONTYPEUNSPECIFIED,+ DataSource_AuthorizationType_AUTHORIZATIONCODE,+ DataSource_AuthorizationType_GOOGLEPLUSAUTHORIZATIONCODE,+ DataSource_AuthorizationType_FIRSTPARTYOAUTH,+ DataSource_AuthorizationType+ #-}++-- | Specifies whether the data source supports automatic data refresh for the past few days, and how it\'s supported. For some data sources, data might not be complete until a few days later, so it\'s useful to refresh data automatically.+newtype DataSource_DataRefreshType = DataSource_DataRefreshType {fromDataSource_DataRefreshType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | The data source won\'t support data auto refresh, which is default value.+pattern DataSource_DataRefreshType_DATAREFRESHTYPEUNSPECIFIED :: DataSource_DataRefreshType+pattern DataSource_DataRefreshType_DATAREFRESHTYPEUNSPECIFIED = DataSource_DataRefreshType "DATA_REFRESH_TYPE_UNSPECIFIED"++-- | The data source supports data auto refresh, and runs will be scheduled for the past few days. Does not allow custom values to be set for each transfer config.+pattern DataSource_DataRefreshType_SLIDINGWINDOW :: DataSource_DataRefreshType+pattern DataSource_DataRefreshType_SLIDINGWINDOW = DataSource_DataRefreshType "SLIDING_WINDOW"++-- | The data source supports data auto refresh, and runs will be scheduled for the past few days. Allows custom values to be set for each transfer config.+pattern DataSource_DataRefreshType_CUSTOMSLIDINGWINDOW :: DataSource_DataRefreshType+pattern DataSource_DataRefreshType_CUSTOMSLIDINGWINDOW = DataSource_DataRefreshType "CUSTOM_SLIDING_WINDOW"++{-# COMPLETE+ DataSource_DataRefreshType_DATAREFRESHTYPEUNSPECIFIED,+ DataSource_DataRefreshType_SLIDINGWINDOW,+ DataSource_DataRefreshType_CUSTOMSLIDINGWINDOW,+ DataSource_DataRefreshType+ #-}++-- | Deprecated. This field has no effect.+newtype DataSource_TransferType = DataSource_TransferType {fromDataSource_TransferType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Invalid or Unknown transfer type placeholder.+pattern DataSource_TransferType_TRANSFERTYPEUNSPECIFIED :: DataSource_TransferType+pattern DataSource_TransferType_TRANSFERTYPEUNSPECIFIED = DataSource_TransferType "TRANSFER_TYPE_UNSPECIFIED"++-- | Batch data transfer.+pattern DataSource_TransferType_Batch :: DataSource_TransferType+pattern DataSource_TransferType_Batch = DataSource_TransferType "BATCH"++-- | Streaming data transfer. Streaming data source currently doesn\'t support multiple transfer configs per project.+pattern DataSource_TransferType_Streaming :: DataSource_TransferType+pattern DataSource_TransferType_Streaming = DataSource_TransferType "STREAMING"++{-# COMPLETE+ DataSource_TransferType_TRANSFERTYPEUNSPECIFIED,+ DataSource_TransferType_Batch,+ DataSource_TransferType_Streaming,+ DataSource_TransferType+ #-}++-- | Parameter type.+newtype DataSourceParameter_Type = DataSourceParameter_Type {fromDataSourceParameter_Type :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Type unspecified.+pattern DataSourceParameter_Type_TYPEUNSPECIFIED :: DataSourceParameter_Type+pattern DataSourceParameter_Type_TYPEUNSPECIFIED = DataSourceParameter_Type "TYPE_UNSPECIFIED"++-- | String parameter.+pattern DataSourceParameter_Type_String :: DataSourceParameter_Type+pattern DataSourceParameter_Type_String = DataSourceParameter_Type "STRING"++-- | Integer parameter (64-bits). Will be serialized to json as string.+pattern DataSourceParameter_Type_Integer :: DataSourceParameter_Type+pattern DataSourceParameter_Type_Integer = DataSourceParameter_Type "INTEGER"++-- | Double precision floating point parameter.+pattern DataSourceParameter_Type_Double :: DataSourceParameter_Type+pattern DataSourceParameter_Type_Double = DataSourceParameter_Type "DOUBLE"++-- | Boolean parameter.+pattern DataSourceParameter_Type_Boolean :: DataSourceParameter_Type+pattern DataSourceParameter_Type_Boolean = DataSourceParameter_Type "BOOLEAN"++-- | Deprecated. This field has no effect.+pattern DataSourceParameter_Type_Record :: DataSourceParameter_Type+pattern DataSourceParameter_Type_Record = DataSourceParameter_Type "RECORD"++-- | Page ID for a Google+ Page.+pattern DataSourceParameter_Type_PLUSPAGE :: DataSourceParameter_Type+pattern DataSourceParameter_Type_PLUSPAGE = DataSourceParameter_Type "PLUS_PAGE"++-- | List of strings parameter.+pattern DataSourceParameter_Type_List :: DataSourceParameter_Type+pattern DataSourceParameter_Type_List = DataSourceParameter_Type "LIST"++{-# COMPLETE+ DataSourceParameter_Type_TYPEUNSPECIFIED,+ DataSourceParameter_Type_String,+ DataSourceParameter_Type_Integer,+ DataSourceParameter_Type_Double,+ DataSourceParameter_Type_Boolean,+ DataSourceParameter_Type_Record,+ DataSourceParameter_Type_PLUSPAGE,+ DataSourceParameter_Type_List,+ DataSourceParameter_Type+ #-}++-- | Output only. State of the most recently updated transfer run.+newtype TransferConfig_State = TransferConfig_State {fromTransferConfig_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | State placeholder (0).+pattern TransferConfig_State_TRANSFERSTATEUNSPECIFIED :: TransferConfig_State+pattern TransferConfig_State_TRANSFERSTATEUNSPECIFIED = TransferConfig_State "TRANSFER_STATE_UNSPECIFIED"++-- | Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).+pattern TransferConfig_State_Pending :: TransferConfig_State+pattern TransferConfig_State_Pending = TransferConfig_State "PENDING"++-- | Data transfer is in progress (3).+pattern TransferConfig_State_Running :: TransferConfig_State+pattern TransferConfig_State_Running = TransferConfig_State "RUNNING"++-- | Data transfer completed successfully (4).+pattern TransferConfig_State_Succeeded :: TransferConfig_State+pattern TransferConfig_State_Succeeded = TransferConfig_State "SUCCEEDED"++-- | Data transfer failed (5).+pattern TransferConfig_State_Failed :: TransferConfig_State+pattern TransferConfig_State_Failed = TransferConfig_State "FAILED"++-- | Data transfer is cancelled (6).+pattern TransferConfig_State_Cancelled :: TransferConfig_State+pattern TransferConfig_State_Cancelled = TransferConfig_State "CANCELLED"++{-# COMPLETE+ TransferConfig_State_TRANSFERSTATEUNSPECIFIED,+ TransferConfig_State_Pending,+ TransferConfig_State_Running,+ TransferConfig_State_Succeeded,+ TransferConfig_State_Failed,+ TransferConfig_State_Cancelled,+ TransferConfig_State+ #-}++-- | Message severity.+newtype TransferMessage_Severity = TransferMessage_Severity {fromTransferMessage_Severity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No severity specified.+pattern TransferMessage_Severity_MESSAGESEVERITYUNSPECIFIED :: TransferMessage_Severity+pattern TransferMessage_Severity_MESSAGESEVERITYUNSPECIFIED = TransferMessage_Severity "MESSAGE_SEVERITY_UNSPECIFIED"++-- | Informational message.+pattern TransferMessage_Severity_Info :: TransferMessage_Severity+pattern TransferMessage_Severity_Info = TransferMessage_Severity "INFO"++-- | Warning message.+pattern TransferMessage_Severity_Warning :: TransferMessage_Severity+pattern TransferMessage_Severity_Warning = TransferMessage_Severity "WARNING"++-- | Error message.+pattern TransferMessage_Severity_Error' :: TransferMessage_Severity+pattern TransferMessage_Severity_Error' = TransferMessage_Severity "ERROR"++{-# COMPLETE+ TransferMessage_Severity_MESSAGESEVERITYUNSPECIFIED,+ TransferMessage_Severity_Info,+ TransferMessage_Severity_Warning,+ TransferMessage_Severity_Error',+ TransferMessage_Severity+ #-}++-- | Data transfer run state. Ignored for input requests.+newtype TransferRun_State = TransferRun_State {fromTransferRun_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | State placeholder (0).+pattern TransferRun_State_TRANSFERSTATEUNSPECIFIED :: TransferRun_State+pattern TransferRun_State_TRANSFERSTATEUNSPECIFIED = TransferRun_State "TRANSFER_STATE_UNSPECIFIED"++-- | Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).+pattern TransferRun_State_Pending :: TransferRun_State+pattern TransferRun_State_Pending = TransferRun_State "PENDING"++-- | Data transfer is in progress (3).+pattern TransferRun_State_Running :: TransferRun_State+pattern TransferRun_State_Running = TransferRun_State "RUNNING"++-- | Data transfer completed successfully (4).+pattern TransferRun_State_Succeeded :: TransferRun_State+pattern TransferRun_State_Succeeded = TransferRun_State "SUCCEEDED"++-- | Data transfer failed (5).+pattern TransferRun_State_Failed :: TransferRun_State+pattern TransferRun_State_Failed = TransferRun_State "FAILED"++-- | Data transfer is cancelled (6).+pattern TransferRun_State_Cancelled :: TransferRun_State+pattern TransferRun_State_Cancelled = TransferRun_State "CANCELLED"++{-# COMPLETE+ TransferRun_State_TRANSFERSTATEUNSPECIFIED,+ TransferRun_State_Pending,+ TransferRun_State_Running,+ TransferRun_State_Succeeded,+ TransferRun_State_Failed,+ TransferRun_State_Cancelled,+ TransferRun_State+ #-}++-- | Indicates how run attempts are to be pulled.+newtype ProjectsLocationsTransferConfigsRunsListRunAttempt = ProjectsLocationsTransferConfigsRunsListRunAttempt {fromProjectsLocationsTransferConfigsRunsListRunAttempt :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | All runs should be returned.+pattern ProjectsLocationsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED :: ProjectsLocationsTransferConfigsRunsListRunAttempt+pattern ProjectsLocationsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED = ProjectsLocationsTransferConfigsRunsListRunAttempt "RUN_ATTEMPT_UNSPECIFIED"++-- | Only latest run per day should be returned.+pattern ProjectsLocationsTransferConfigsRunsListRunAttempt_Latest :: ProjectsLocationsTransferConfigsRunsListRunAttempt+pattern ProjectsLocationsTransferConfigsRunsListRunAttempt_Latest = ProjectsLocationsTransferConfigsRunsListRunAttempt "LATEST"++{-# COMPLETE+ ProjectsLocationsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED,+ ProjectsLocationsTransferConfigsRunsListRunAttempt_Latest,+ ProjectsLocationsTransferConfigsRunsListRunAttempt+ #-}++-- | When specified, only transfer runs with requested states are returned.+newtype ProjectsLocationsTransferConfigsRunsListStates = ProjectsLocationsTransferConfigsRunsListStates {fromProjectsLocationsTransferConfigsRunsListStates :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | State placeholder (0).+pattern ProjectsLocationsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED :: ProjectsLocationsTransferConfigsRunsListStates+pattern ProjectsLocationsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED = ProjectsLocationsTransferConfigsRunsListStates "TRANSFER_STATE_UNSPECIFIED"++-- | Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).+pattern ProjectsLocationsTransferConfigsRunsListStates_Pending :: ProjectsLocationsTransferConfigsRunsListStates+pattern ProjectsLocationsTransferConfigsRunsListStates_Pending = ProjectsLocationsTransferConfigsRunsListStates "PENDING"++-- | Data transfer is in progress (3).+pattern ProjectsLocationsTransferConfigsRunsListStates_Running :: ProjectsLocationsTransferConfigsRunsListStates+pattern ProjectsLocationsTransferConfigsRunsListStates_Running = ProjectsLocationsTransferConfigsRunsListStates "RUNNING"++-- | Data transfer completed successfully (4).+pattern ProjectsLocationsTransferConfigsRunsListStates_Succeeded :: ProjectsLocationsTransferConfigsRunsListStates+pattern ProjectsLocationsTransferConfigsRunsListStates_Succeeded = ProjectsLocationsTransferConfigsRunsListStates "SUCCEEDED"++-- | Data transfer failed (5).+pattern ProjectsLocationsTransferConfigsRunsListStates_Failed :: ProjectsLocationsTransferConfigsRunsListStates+pattern ProjectsLocationsTransferConfigsRunsListStates_Failed = ProjectsLocationsTransferConfigsRunsListStates "FAILED"++-- | Data transfer is cancelled (6).+pattern ProjectsLocationsTransferConfigsRunsListStates_Cancelled :: ProjectsLocationsTransferConfigsRunsListStates+pattern ProjectsLocationsTransferConfigsRunsListStates_Cancelled = ProjectsLocationsTransferConfigsRunsListStates "CANCELLED"++{-# COMPLETE+ ProjectsLocationsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED,+ ProjectsLocationsTransferConfigsRunsListStates_Pending,+ ProjectsLocationsTransferConfigsRunsListStates_Running,+ ProjectsLocationsTransferConfigsRunsListStates_Succeeded,+ ProjectsLocationsTransferConfigsRunsListStates_Failed,+ ProjectsLocationsTransferConfigsRunsListStates_Cancelled,+ ProjectsLocationsTransferConfigsRunsListStates+ #-}++-- | Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.+newtype ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes = ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes {fromProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No severity specified.+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED :: ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED = ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes "MESSAGE_SEVERITY_UNSPECIFIED"++-- | Informational message.+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Info :: ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Info = ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes "INFO"++-- | Warning message.+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Warning :: ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Warning = ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes "WARNING"++-- | Error message.+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Error' :: ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Error' = ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes "ERROR"++{-# COMPLETE+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED,+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Info,+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Warning,+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes_Error',+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+ #-}++-- | Indicates how run attempts are to be pulled.+newtype ProjectsTransferConfigsRunsListRunAttempt = ProjectsTransferConfigsRunsListRunAttempt {fromProjectsTransferConfigsRunsListRunAttempt :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | All runs should be returned.+pattern ProjectsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED :: ProjectsTransferConfigsRunsListRunAttempt+pattern ProjectsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED = ProjectsTransferConfigsRunsListRunAttempt "RUN_ATTEMPT_UNSPECIFIED"++-- | Only latest run per day should be returned.+pattern ProjectsTransferConfigsRunsListRunAttempt_Latest :: ProjectsTransferConfigsRunsListRunAttempt+pattern ProjectsTransferConfigsRunsListRunAttempt_Latest = ProjectsTransferConfigsRunsListRunAttempt "LATEST"++{-# COMPLETE+ ProjectsTransferConfigsRunsListRunAttempt_RUNATTEMPTUNSPECIFIED,+ ProjectsTransferConfigsRunsListRunAttempt_Latest,+ ProjectsTransferConfigsRunsListRunAttempt+ #-}++-- | When specified, only transfer runs with requested states are returned.+newtype ProjectsTransferConfigsRunsListStates = ProjectsTransferConfigsRunsListStates {fromProjectsTransferConfigsRunsListStates :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | State placeholder (0).+pattern ProjectsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED :: ProjectsTransferConfigsRunsListStates+pattern ProjectsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED = ProjectsTransferConfigsRunsListStates "TRANSFER_STATE_UNSPECIFIED"++-- | Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).+pattern ProjectsTransferConfigsRunsListStates_Pending :: ProjectsTransferConfigsRunsListStates+pattern ProjectsTransferConfigsRunsListStates_Pending = ProjectsTransferConfigsRunsListStates "PENDING"++-- | Data transfer is in progress (3).+pattern ProjectsTransferConfigsRunsListStates_Running :: ProjectsTransferConfigsRunsListStates+pattern ProjectsTransferConfigsRunsListStates_Running = ProjectsTransferConfigsRunsListStates "RUNNING"++-- | Data transfer completed successfully (4).+pattern ProjectsTransferConfigsRunsListStates_Succeeded :: ProjectsTransferConfigsRunsListStates+pattern ProjectsTransferConfigsRunsListStates_Succeeded = ProjectsTransferConfigsRunsListStates "SUCCEEDED"++-- | Data transfer failed (5).+pattern ProjectsTransferConfigsRunsListStates_Failed :: ProjectsTransferConfigsRunsListStates+pattern ProjectsTransferConfigsRunsListStates_Failed = ProjectsTransferConfigsRunsListStates "FAILED"++-- | Data transfer is cancelled (6).+pattern ProjectsTransferConfigsRunsListStates_Cancelled :: ProjectsTransferConfigsRunsListStates+pattern ProjectsTransferConfigsRunsListStates_Cancelled = ProjectsTransferConfigsRunsListStates "CANCELLED"++{-# COMPLETE+ ProjectsTransferConfigsRunsListStates_TRANSFERSTATEUNSPECIFIED,+ ProjectsTransferConfigsRunsListStates_Pending,+ ProjectsTransferConfigsRunsListStates_Running,+ ProjectsTransferConfigsRunsListStates_Succeeded,+ ProjectsTransferConfigsRunsListStates_Failed,+ ProjectsTransferConfigsRunsListStates_Cancelled,+ ProjectsTransferConfigsRunsListStates+ #-}++-- | Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.+newtype ProjectsTransferConfigsRunsTransferLogsListMessageTypes = ProjectsTransferConfigsRunsTransferLogsListMessageTypes {fromProjectsTransferConfigsRunsTransferLogsListMessageTypes :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No severity specified.+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED :: ProjectsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED = ProjectsTransferConfigsRunsTransferLogsListMessageTypes "MESSAGE_SEVERITY_UNSPECIFIED"++-- | Informational message.+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Info :: ProjectsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Info = ProjectsTransferConfigsRunsTransferLogsListMessageTypes "INFO"++-- | Warning message.+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Warning :: ProjectsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Warning = ProjectsTransferConfigsRunsTransferLogsListMessageTypes "WARNING"++-- | Error message.+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Error' :: ProjectsTransferConfigsRunsTransferLogsListMessageTypes+pattern ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Error' = ProjectsTransferConfigsRunsTransferLogsListMessageTypes "ERROR"++{-# COMPLETE+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes_MESSAGESEVERITYUNSPECIFIED,+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Info,+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Warning,+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes_Error',+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes+ #-}
+ gen/Gogol/BigQueryDataTransfer/Projects/DataSources/CheckValidCreds.hs view
@@ -0,0 +1,131 @@+{-# 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.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns true if valid credentials exist for the given data source and requesting user.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.dataSources.checkValidCreds@.+module Gogol.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds+ ( -- * Resource+ BigQueryDataTransferProjectsDataSourcesCheckValidCredsResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsDataSourcesCheckValidCreds (..),+ newBigQueryDataTransferProjectsDataSourcesCheckValidCreds,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.dataSources.checkValidCreds@ method which the+-- 'BigQueryDataTransferProjectsDataSourcesCheckValidCreds' request conforms to.+type BigQueryDataTransferProjectsDataSourcesCheckValidCredsResource =+ "v1"+ Core.:> Core.CaptureMode "name" "checkValidCreds" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] CheckValidCredsRequest+ Core.:> Core.Post '[Core.JSON] CheckValidCredsResponse++-- | Returns true if valid credentials exist for the given data source and requesting user.+--+-- /See:/ 'newBigQueryDataTransferProjectsDataSourcesCheckValidCreds' smart constructor.+data BigQueryDataTransferProjectsDataSourcesCheckValidCreds = BigQueryDataTransferProjectsDataSourcesCheckValidCreds+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The data source in the form: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: CheckValidCredsRequest,+ -- | 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 'BigQueryDataTransferProjectsDataSourcesCheckValidCreds' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsDataSourcesCheckValidCreds ::+ -- | Required. The data source in the form: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ CheckValidCredsRequest ->+ BigQueryDataTransferProjectsDataSourcesCheckValidCreds+newBigQueryDataTransferProjectsDataSourcesCheckValidCreds+ name+ payload =+ BigQueryDataTransferProjectsDataSourcesCheckValidCreds+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsDataSourcesCheckValidCreds+ where+ type+ Rs BigQueryDataTransferProjectsDataSourcesCheckValidCreds =+ CheckValidCredsResponse+ type+ Scopes BigQueryDataTransferProjectsDataSourcesCheckValidCreds =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsDataSourcesCheckValidCreds {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsDataSourcesCheckValidCredsResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/DataSources/Get.hs view
@@ -0,0 +1,117 @@+{-# 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.BigQueryDataTransfer.Projects.DataSources.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves a supported data source and returns its settings.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.dataSources.get@.+module Gogol.BigQueryDataTransfer.Projects.DataSources.Get+ ( -- * Resource+ BigQueryDataTransferProjectsDataSourcesGetResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsDataSourcesGet (..),+ newBigQueryDataTransferProjectsDataSourcesGet,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.dataSources.get@ method which the+-- 'BigQueryDataTransferProjectsDataSourcesGet' request conforms to.+type BigQueryDataTransferProjectsDataSourcesGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] DataSource++-- | Retrieves a supported data source and returns its settings.+--+-- /See:/ 'newBigQueryDataTransferProjectsDataSourcesGet' smart constructor.+data BigQueryDataTransferProjectsDataSourcesGet = BigQueryDataTransferProjectsDataSourcesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@+ name :: 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 'BigQueryDataTransferProjectsDataSourcesGet' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsDataSourcesGet ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsDataSourcesGet+newBigQueryDataTransferProjectsDataSourcesGet name =+ BigQueryDataTransferProjectsDataSourcesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsDataSourcesGet+ where+ type Rs BigQueryDataTransferProjectsDataSourcesGet = DataSource+ type+ Scopes BigQueryDataTransferProjectsDataSourcesGet =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient BigQueryDataTransferProjectsDataSourcesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy BigQueryDataTransferProjectsDataSourcesGetResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/DataSources/List.hs view
@@ -0,0 +1,130 @@+{-# 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.BigQueryDataTransfer.Projects.DataSources.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists supported data sources and returns their settings.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.dataSources.list@.+module Gogol.BigQueryDataTransfer.Projects.DataSources.List+ ( -- * Resource+ BigQueryDataTransferProjectsDataSourcesListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsDataSourcesList (..),+ newBigQueryDataTransferProjectsDataSourcesList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.dataSources.list@ method which the+-- 'BigQueryDataTransferProjectsDataSourcesList' request conforms to.+type BigQueryDataTransferProjectsDataSourcesListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "dataSources"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] ListDataSourcesResponse++-- | Lists supported data sources and returns their settings.+--+-- /See:/ 'newBigQueryDataTransferProjectsDataSourcesList' smart constructor.+data BigQueryDataTransferProjectsDataSourcesList = BigQueryDataTransferProjectsDataSourcesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListDataSourcesRequest@ list results. For multiple-page results, @ListDataSourcesResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The BigQuery project id for which data sources should be returned. Must be in the form: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@+ 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 'BigQueryDataTransferProjectsDataSourcesList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsDataSourcesList ::+ -- | Required. The BigQuery project id for which data sources should be returned. Must be in the form: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@ See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsDataSourcesList+newBigQueryDataTransferProjectsDataSourcesList parent =+ BigQueryDataTransferProjectsDataSourcesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsDataSourcesList+ where+ type+ Rs BigQueryDataTransferProjectsDataSourcesList =+ ListDataSourcesResponse+ type+ Scopes BigQueryDataTransferProjectsDataSourcesList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient BigQueryDataTransferProjectsDataSourcesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy BigQueryDataTransferProjectsDataSourcesListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/EnrollDataSources.hs view
@@ -0,0 +1,122 @@+{-# 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.BigQueryDataTransfer.Projects.EnrollDataSources+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the <https://console.cloud.google.com/bigquery BigQuery UI>, and the documents can be found in the public guide for <https://cloud.google.com/bigquery/bigquery-web-ui BigQuery Web UI> and <https://cloud.google.com/bigquery/docs/working-with-transfers Data Transfer Service>.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.enrollDataSources@.+module Gogol.BigQueryDataTransfer.Projects.EnrollDataSources+ ( -- * Resource+ BigQueryDataTransferProjectsEnrollDataSourcesResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsEnrollDataSources (..),+ newBigQueryDataTransferProjectsEnrollDataSources,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.enrollDataSources@ method which the+-- 'BigQueryDataTransferProjectsEnrollDataSources' request conforms to.+type BigQueryDataTransferProjectsEnrollDataSourcesResource =+ "v1"+ Core.:> Core.CaptureMode "name" "enrollDataSources" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] EnrollDataSourcesRequest+ Core.:> Core.Post '[Core.JSON] Empty++-- | Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the <https://console.cloud.google.com/bigquery BigQuery UI>, and the documents can be found in the public guide for <https://cloud.google.com/bigquery/bigquery-web-ui BigQuery Web UI> and <https://cloud.google.com/bigquery/docs/working-with-transfers Data Transfer Service>.+--+-- /See:/ 'newBigQueryDataTransferProjectsEnrollDataSources' smart constructor.+data BigQueryDataTransferProjectsEnrollDataSources = BigQueryDataTransferProjectsEnrollDataSources+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project resource in the form: @projects\/{project_id}@+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: EnrollDataSourcesRequest,+ -- | 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 'BigQueryDataTransferProjectsEnrollDataSources' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsEnrollDataSources ::+ -- | Required. The name of the project resource in the form: @projects\/{project_id}@ See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ EnrollDataSourcesRequest ->+ BigQueryDataTransferProjectsEnrollDataSources+newBigQueryDataTransferProjectsEnrollDataSources name payload =+ BigQueryDataTransferProjectsEnrollDataSources+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsEnrollDataSources+ where+ type Rs BigQueryDataTransferProjectsEnrollDataSources = Empty+ type+ Scopes BigQueryDataTransferProjectsEnrollDataSources =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient BigQueryDataTransferProjectsEnrollDataSources {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy BigQueryDataTransferProjectsEnrollDataSourcesResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/DataSources/CheckValidCreds.hs view
@@ -0,0 +1,133 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns true if valid credentials exist for the given data source and requesting user.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.dataSources.checkValidCreds@.+module Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCredsResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds (..),+ newBigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.dataSources.checkValidCreds@ method which the+-- 'BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds' request conforms to.+type BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCredsResource =+ "v1"+ Core.:> Core.CaptureMode "name" "checkValidCreds" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] CheckValidCredsRequest+ Core.:> Core.Post '[Core.JSON] CheckValidCredsResponse++-- | Returns true if valid credentials exist for the given data source and requesting user.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds' smart constructor.+data BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds = BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The data source in the form: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: CheckValidCredsRequest,+ -- | 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 'BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds ::+ -- | Required. The data source in the form: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ CheckValidCredsRequest ->+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds+newBigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds+ name+ payload =+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds+ where+ type+ Rs+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds =+ CheckValidCredsResponse+ type+ Scopes+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCreds {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsDataSourcesCheckValidCredsResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/DataSources/Get.hs view
@@ -0,0 +1,122 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.DataSources.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves a supported data source and returns its settings.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.dataSources.get@.+module Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.Get+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsDataSourcesGetResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsDataSourcesGet (..),+ newBigQueryDataTransferProjectsLocationsDataSourcesGet,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.dataSources.get@ method which the+-- 'BigQueryDataTransferProjectsLocationsDataSourcesGet' request conforms to.+type BigQueryDataTransferProjectsLocationsDataSourcesGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] DataSource++-- | Retrieves a supported data source and returns its settings.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsDataSourcesGet' smart constructor.+data BigQueryDataTransferProjectsLocationsDataSourcesGet = BigQueryDataTransferProjectsLocationsDataSourcesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@+ name :: 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 'BigQueryDataTransferProjectsLocationsDataSourcesGet' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsDataSourcesGet ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/dataSources\/{data_source_id}@ or @projects\/{project_id}\/locations\/{location_id}\/dataSources\/{data_source_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsDataSourcesGet+newBigQueryDataTransferProjectsLocationsDataSourcesGet name =+ BigQueryDataTransferProjectsLocationsDataSourcesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsDataSourcesGet+ where+ type+ Rs BigQueryDataTransferProjectsLocationsDataSourcesGet =+ DataSource+ type+ Scopes BigQueryDataTransferProjectsLocationsDataSourcesGet =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsDataSourcesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsDataSourcesGetResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/DataSources/List.hs view
@@ -0,0 +1,133 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.DataSources.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists supported data sources and returns their settings.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.dataSources.list@.+module Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.List+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsDataSourcesListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsDataSourcesList (..),+ newBigQueryDataTransferProjectsLocationsDataSourcesList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.dataSources.list@ method which the+-- 'BigQueryDataTransferProjectsLocationsDataSourcesList' request conforms to.+type BigQueryDataTransferProjectsLocationsDataSourcesListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "dataSources"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] ListDataSourcesResponse++-- | Lists supported data sources and returns their settings.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsDataSourcesList' smart constructor.+data BigQueryDataTransferProjectsLocationsDataSourcesList = BigQueryDataTransferProjectsLocationsDataSourcesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListDataSourcesRequest@ list results. For multiple-page results, @ListDataSourcesResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The BigQuery project id for which data sources should be returned. Must be in the form: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@+ 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 'BigQueryDataTransferProjectsLocationsDataSourcesList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsDataSourcesList ::+ -- | Required. The BigQuery project id for which data sources should be returned. Must be in the form: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@ See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsDataSourcesList+newBigQueryDataTransferProjectsLocationsDataSourcesList parent =+ BigQueryDataTransferProjectsLocationsDataSourcesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsDataSourcesList+ where+ type+ Rs BigQueryDataTransferProjectsLocationsDataSourcesList =+ ListDataSourcesResponse+ type+ Scopes BigQueryDataTransferProjectsLocationsDataSourcesList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsDataSourcesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsDataSourcesListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/EnrollDataSources.hs view
@@ -0,0 +1,128 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.EnrollDataSources+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the <https://console.cloud.google.com/bigquery BigQuery UI>, and the documents can be found in the public guide for <https://cloud.google.com/bigquery/bigquery-web-ui BigQuery Web UI> and <https://cloud.google.com/bigquery/docs/working-with-transfers Data Transfer Service>.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.enrollDataSources@.+module Gogol.BigQueryDataTransfer.Projects.Locations.EnrollDataSources+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsEnrollDataSourcesResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsEnrollDataSources (..),+ newBigQueryDataTransferProjectsLocationsEnrollDataSources,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.enrollDataSources@ method which the+-- 'BigQueryDataTransferProjectsLocationsEnrollDataSources' request conforms to.+type BigQueryDataTransferProjectsLocationsEnrollDataSourcesResource =+ "v1"+ Core.:> Core.CaptureMode "name" "enrollDataSources" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] EnrollDataSourcesRequest+ Core.:> Core.Post '[Core.JSON] Empty++-- | Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the <https://console.cloud.google.com/bigquery BigQuery UI>, and the documents can be found in the public guide for <https://cloud.google.com/bigquery/bigquery-web-ui BigQuery Web UI> and <https://cloud.google.com/bigquery/docs/working-with-transfers Data Transfer Service>.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsEnrollDataSources' smart constructor.+data BigQueryDataTransferProjectsLocationsEnrollDataSources = BigQueryDataTransferProjectsLocationsEnrollDataSources+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project resource in the form: @projects\/{project_id}@+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: EnrollDataSourcesRequest,+ -- | 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 'BigQueryDataTransferProjectsLocationsEnrollDataSources' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsEnrollDataSources ::+ -- | Required. The name of the project resource in the form: @projects\/{project_id}@ See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ EnrollDataSourcesRequest ->+ BigQueryDataTransferProjectsLocationsEnrollDataSources+newBigQueryDataTransferProjectsLocationsEnrollDataSources+ name+ payload =+ BigQueryDataTransferProjectsLocationsEnrollDataSources+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsEnrollDataSources+ where+ type+ Rs BigQueryDataTransferProjectsLocationsEnrollDataSources =+ Empty+ type+ Scopes BigQueryDataTransferProjectsLocationsEnrollDataSources =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsEnrollDataSources {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsEnrollDataSourcesResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/Get.hs view
@@ -0,0 +1,117 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about a location.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.get@.+module Gogol.BigQueryDataTransfer.Projects.Locations.Get+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsGetResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsGet (..),+ newBigQueryDataTransferProjectsLocationsGet,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.get@ method which the+-- 'BigQueryDataTransferProjectsLocationsGet' request conforms to.+type BigQueryDataTransferProjectsLocationsGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] Location++-- | Gets information about a location.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsGet' smart constructor.+data BigQueryDataTransferProjectsLocationsGet = BigQueryDataTransferProjectsLocationsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Resource name for the location.+ name :: 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 'BigQueryDataTransferProjectsLocationsGet' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsGet ::+ -- | Resource name for the location. See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsGet+newBigQueryDataTransferProjectsLocationsGet name =+ BigQueryDataTransferProjectsLocationsGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsGet+ where+ type Rs BigQueryDataTransferProjectsLocationsGet = Location+ type+ Scopes BigQueryDataTransferProjectsLocationsGet =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient BigQueryDataTransferProjectsLocationsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy BigQueryDataTransferProjectsLocationsGetResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/List.hs view
@@ -0,0 +1,135 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists information about the supported locations for this service.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.list@.+module Gogol.BigQueryDataTransfer.Projects.Locations.List+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsList (..),+ newBigQueryDataTransferProjectsLocationsList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.list@ method which the+-- 'BigQueryDataTransferProjectsLocationsList' request conforms to.+type BigQueryDataTransferProjectsLocationsListResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> "locations"+ 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] ListLocationsResponse++-- | Lists information about the supported locations for this service.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsList' smart constructor.+data BigQueryDataTransferProjectsLocationsList = BigQueryDataTransferProjectsLocationsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | A filter to narrow down results to a preferred subset. The filtering language accepts strings like @\"displayName=tokyo\"@, and is documented in more detail in <https://google.aip.dev/160 AIP-160>.+ filter :: (Core.Maybe Core.Text),+ -- | The resource that owns the locations collection, if applicable.+ name :: Core.Text,+ -- | The maximum number of results to return. If not set, the service selects a default.+ pageSize :: (Core.Maybe Core.Int32),+ -- | A page token received from the @next_page_token@ field in the response. Send that page token to receive the subsequent page.+ pageToken :: (Core.Maybe 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 'BigQueryDataTransferProjectsLocationsList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsList ::+ -- | The resource that owns the locations collection, if applicable. See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsList+newBigQueryDataTransferProjectsLocationsList name =+ BigQueryDataTransferProjectsLocationsList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ name = name,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsList+ where+ type+ Rs BigQueryDataTransferProjectsLocationsList =+ ListLocationsResponse+ type+ Scopes BigQueryDataTransferProjectsLocationsList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient BigQueryDataTransferProjectsLocationsList {..} =+ go+ name+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy BigQueryDataTransferProjectsLocationsListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Create.hs view
@@ -0,0 +1,145 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new data transfer configuration.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.create@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsCreateResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsCreate (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsCreate,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.create@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsCreate' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "transferConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "authorizationCode" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "serviceAccountName" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "versionInfo" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TransferConfig+ Core.:> Core.Post '[Core.JSON] TransferConfig++-- | Creates a new data transfer configuration.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsCreate' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsCreate = BigQueryDataTransferProjectsLocationsTransferConfigsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | Deprecated: Authorization code was required when @transferConfig.dataSourceId@ is \'youtube/channel\' but it is no longer used in any data sources. Use @version_info@ instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' and new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain authorization/code, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=authorization/code&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to create the transfer config.+ authorizationCode :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects\/{project/id}\/locations\/{location/id} or projects\/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: TransferConfig,+ -- | Optional service account email. If this field is set, the transfer config will be created with this service account\'s credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about <https://cloud.google.com/bigquery-transfer/docs/use-service-accounts using service accounts>.+ serviceAccountName :: (Core.Maybe 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),+ -- | Optional version info. This parameter replaces @authorization_code@ which is no longer used in any data sources. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' /or/ new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain version info, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=version/info&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to create the transfer config.+ versionInfo :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDataTransferProjectsLocationsTransferConfigsCreate' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsCreate ::+ -- | Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects\/{project/id}\/locations\/{location/id} or projects\/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ TransferConfig ->+ BigQueryDataTransferProjectsLocationsTransferConfigsCreate+newBigQueryDataTransferProjectsLocationsTransferConfigsCreate+ parent+ payload =+ BigQueryDataTransferProjectsLocationsTransferConfigsCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ authorizationCode = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ serviceAccountName = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing,+ versionInfo = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsCreate+ where+ type+ Rs BigQueryDataTransferProjectsLocationsTransferConfigsCreate =+ TransferConfig+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsCreate =+ '[CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsCreate {..} =+ go+ parent+ xgafv+ accessToken+ authorizationCode+ callback+ serviceAccountName+ uploadType+ uploadProtocol+ versionInfo+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsCreateResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Delete.hs view
@@ -0,0 +1,120 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a data transfer configuration, including any associated transfer runs and logs.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.delete@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsDeleteResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsDelete (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsDelete,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.delete@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsDelete' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes a data transfer configuration, including any associated transfer runs and logs.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsDelete' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsDelete = BigQueryDataTransferProjectsLocationsTransferConfigsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@+ name :: 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 'BigQueryDataTransferProjectsLocationsTransferConfigsDelete' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsDelete ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsTransferConfigsDelete+newBigQueryDataTransferProjectsLocationsTransferConfigsDelete name =+ BigQueryDataTransferProjectsLocationsTransferConfigsDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsDelete+ where+ type+ Rs BigQueryDataTransferProjectsLocationsTransferConfigsDelete =+ Empty+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsDelete =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsDeleteResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Get.hs view
@@ -0,0 +1,122 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about a data transfer config.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.get@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsGetResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsGet (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsGet,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.get@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsGet' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] TransferConfig++-- | Returns information about a data transfer config.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsGet' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsGet = BigQueryDataTransferProjectsLocationsTransferConfigsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@+ name :: 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 'BigQueryDataTransferProjectsLocationsTransferConfigsGet' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsGet ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsTransferConfigsGet+newBigQueryDataTransferProjectsLocationsTransferConfigsGet name =+ BigQueryDataTransferProjectsLocationsTransferConfigsGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsGet+ where+ type+ Rs BigQueryDataTransferProjectsLocationsTransferConfigsGet =+ TransferConfig+ type+ Scopes BigQueryDataTransferProjectsLocationsTransferConfigsGet =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsGetResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/List.hs view
@@ -0,0 +1,139 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about all transfer configs owned by a project in the specified location.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.list@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsList (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.list@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsList' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "transferConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParams "dataSourceIds" 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] ListTransferConfigsResponse++-- | Returns information about all transfer configs owned by a project in the specified location.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsList' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsList = BigQueryDataTransferProjectsLocationsTransferConfigsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | When specified, only configurations of requested data sources are returned.+ dataSourceIds :: (Core.Maybe [Core.Text]),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListTransfersRequest@ list results. For multiple-page results, @ListTransfersResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The BigQuery project id for which transfer configs should be returned: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@+ 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 'BigQueryDataTransferProjectsLocationsTransferConfigsList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsList ::+ -- | Required. The BigQuery project id for which transfer configs should be returned: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@ See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsTransferConfigsList+newBigQueryDataTransferProjectsLocationsTransferConfigsList parent =+ BigQueryDataTransferProjectsLocationsTransferConfigsList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ dataSourceIds = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsList+ where+ type+ Rs BigQueryDataTransferProjectsLocationsTransferConfigsList =+ ListTransferConfigsResponse+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ (dataSourceIds Core.^. Core._Default)+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Patch.hs view
@@ -0,0 +1,149 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a data transfer configuration. All fields must be set, even if they are not updated.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.patch@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsPatchResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsPatch (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsPatch,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.patch@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsPatch' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsPatchResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "authorizationCode" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "serviceAccountName" Core.Text+ Core.:> Core.QueryParam "updateMask" Core.FieldMask+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "versionInfo" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TransferConfig+ Core.:> Core.Patch '[Core.JSON] TransferConfig++-- | Updates a data transfer configuration. All fields must be set, even if they are not updated.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsPatch' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsPatch = BigQueryDataTransferProjectsLocationsTransferConfigsPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | Deprecated: Authorization code was required when @transferConfig.dataSourceId@ is \'youtube/channel\' but it is no longer used in any data sources. Use @version_info@ instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' and new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain authorization/code, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=authorization/code&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to update the transfer config.+ authorizationCode :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Identifier. The resource name of the transfer config. Transfer config names have the form either @projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/transferConfigs\/{config_id}@, where @config_id@ is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: TransferConfig,+ -- | Optional service account email. If this field is set, the transfer config will be created with this service account\'s credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about <https://cloud.google.com/bigquery-transfer/docs/use-service-accounts using service accounts>.+ serviceAccountName :: (Core.Maybe Core.Text),+ -- | Required. Required list of fields to be updated in this request.+ updateMask :: (Core.Maybe Core.FieldMask),+ -- | 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),+ -- | Optional version info. This parameter replaces @authorization_code@ which is no longer used in any data sources. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' /or/ new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain version info, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=version/info&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to update the transfer config.+ versionInfo :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDataTransferProjectsLocationsTransferConfigsPatch' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsPatch ::+ -- | Identifier. The resource name of the transfer config. Transfer config names have the form either @projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/transferConfigs\/{config_id}@, where @config_id@ is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ TransferConfig ->+ BigQueryDataTransferProjectsLocationsTransferConfigsPatch+newBigQueryDataTransferProjectsLocationsTransferConfigsPatch+ name+ payload =+ BigQueryDataTransferProjectsLocationsTransferConfigsPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ authorizationCode = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ serviceAccountName = Core.Nothing,+ updateMask = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing,+ versionInfo = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsPatch+ where+ type+ Rs BigQueryDataTransferProjectsLocationsTransferConfigsPatch =+ TransferConfig+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsPatch =+ '[CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsPatch {..} =+ go+ name+ xgafv+ accessToken+ authorizationCode+ callback+ serviceAccountName+ updateMask+ uploadType+ uploadProtocol+ versionInfo+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsPatchResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Delete.hs view
@@ -0,0 +1,122 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified transfer run.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.delete@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDeleteResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.delete@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsRunsDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes the specified transfer run.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete = BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@+ name :: 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 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete+ name =+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete+ where+ type+ Rs+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete =+ Empty+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsDeleteResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Get.hs view
@@ -0,0 +1,123 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about the particular transfer run.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.get@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGetResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsGet,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.get@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsRunsGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] TransferRun++-- | Returns information about the particular transfer run.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsRunsGet' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet = BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@+ name :: 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 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsGet ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsGet name =+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet+ where+ type+ Rs BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet =+ TransferRun+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsGetResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/List.hs view
@@ -0,0 +1,150 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about running and completed transfer runs.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.list@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.list@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsList' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsRunsListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "runs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam+ "runAttempt"+ ProjectsLocationsTransferConfigsRunsListRunAttempt+ Core.:> Core.QueryParams+ "states"+ ProjectsLocationsTransferConfigsRunsListStates+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListTransferRunsResponse++-- | Returns information about running and completed transfer runs.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsRunsList' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsRunsList = BigQueryDataTransferProjectsLocationsTransferConfigsRunsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListTransferRunsRequest@ list results. For multiple-page results, @ListTransferRunsResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@.+ parent :: Core.Text,+ -- | Indicates how run attempts are to be pulled.+ runAttempt :: (Core.Maybe ProjectsLocationsTransferConfigsRunsListRunAttempt),+ -- | When specified, only transfer runs with requested states are returned.+ states :: (Core.Maybe [ProjectsLocationsTransferConfigsRunsListStates]),+ -- | 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 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsList ::+ -- | Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@. See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsList+ parent =+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ runAttempt = Core.Nothing,+ states = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList+ where+ type+ Rs+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList =+ ListTransferRunsResponse+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ pageSize+ pageToken+ runAttempt+ (states Core.^. Core._Default)+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/TransferLogs/List.hs view
@@ -0,0 +1,153 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns log messages for the transfer run.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "transferLogs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParams+ "messageTypes"+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+ 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] ListTransferLogsResponse++-- | Returns log messages for the transfer run.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList = BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.+ messageTypes ::+ ( Core.Maybe+ [ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes]+ ),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListTransferLogsRequest@ list results. For multiple-page results, @ListTransferLogsResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Transfer run name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@+ 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 'BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList ::+ -- | Required. Transfer run name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList+newBigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList+ parent =+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList+ { xgafv =+ Core.Nothing,+ accessToken =+ Core.Nothing,+ callback =+ Core.Nothing,+ messageTypes =+ Core.Nothing,+ pageSize =+ Core.Nothing,+ pageToken =+ Core.Nothing,+ parent = parent,+ uploadType =+ Core.Nothing,+ uploadProtocol =+ Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList+ where+ type+ Rs+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList =+ ListTransferLogsResponse+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ (messageTypes Core.^. Core._Default)+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsRunsTransferLogsListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/ScheduleRuns.hs view
@@ -0,0 +1,130 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates transfer runs for a time range [start/time, end/time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRunsResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRunsResource =+ "v1"+ Core.:> Core.CaptureMode "parent" "scheduleRuns" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] ScheduleTransferRunsRequest+ Core.:> Core.Post '[Core.JSON] ScheduleTransferRunsResponse++-- | Creates transfer runs for a time range [start/time, end/time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns = BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: ScheduleTransferRunsRequest,+ -- | 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 'BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns ::+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ ScheduleTransferRunsRequest ->+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns+newBigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns+ parent+ payload =+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns+ where+ type+ Rs+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns =+ ScheduleTransferRunsResponse+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRuns {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsScheduleRunsResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/TransferConfigs/StartManualRuns.hs view
@@ -0,0 +1,131 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Start manual transfer runs to be executed now with schedule/time equal to current time. The transfer runs can be created for a time range where the run/time is between start/time (inclusive) and end/time (exclusive), or for a specific run_time.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns@.+module Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRunsResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns (..),+ newBigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns@ method which the+-- 'BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns' request conforms to.+type BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRunsResource =+ "v1"+ Core.:> Core.CaptureMode "parent" "startManualRuns" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] StartManualTransferRunsRequest+ Core.:> Core.Post '[Core.JSON] StartManualTransferRunsResponse++-- | Start manual transfer runs to be executed now with schedule/time equal to current time. The transfer runs can be created for a time range where the run/time is between start/time (inclusive) and end/time (exclusive), or for a specific run_time.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns' smart constructor.+data BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns = BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: StartManualTransferRunsRequest,+ -- | 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 'BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns ::+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ StartManualTransferRunsRequest ->+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns+newBigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns+ parent+ payload =+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol =+ Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns+ where+ type+ Rs+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns =+ StartManualTransferRunsResponse+ type+ Scopes+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRuns {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsTransferConfigsStartManualRunsResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/Locations/UnenrollDataSources.hs view
@@ -0,0 +1,129 @@+{-# 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.BigQueryDataTransfer.Projects.Locations.UnenrollDataSources+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the <https://console.cloud.google.com/bigquery BigQuery UI>. Data transfers configurations of unenrolled data sources will not be scheduled.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.unenrollDataSources@.+module Gogol.BigQueryDataTransfer.Projects.Locations.UnenrollDataSources+ ( -- * Resource+ BigQueryDataTransferProjectsLocationsUnenrollDataSourcesResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsLocationsUnenrollDataSources (..),+ newBigQueryDataTransferProjectsLocationsUnenrollDataSources,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.locations.unenrollDataSources@ method which the+-- 'BigQueryDataTransferProjectsLocationsUnenrollDataSources' request conforms to.+type BigQueryDataTransferProjectsLocationsUnenrollDataSourcesResource =+ "v1"+ Core.:> Core.CaptureMode "name" "unenrollDataSources" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] UnenrollDataSourcesRequest+ Core.:> Core.Post '[Core.JSON] Empty++-- | Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the <https://console.cloud.google.com/bigquery BigQuery UI>. Data transfers configurations of unenrolled data sources will not be scheduled.+--+-- /See:/ 'newBigQueryDataTransferProjectsLocationsUnenrollDataSources' smart constructor.+data BigQueryDataTransferProjectsLocationsUnenrollDataSources = BigQueryDataTransferProjectsLocationsUnenrollDataSources+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project resource in the form: @projects\/{project_id}@+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: UnenrollDataSourcesRequest,+ -- | 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 'BigQueryDataTransferProjectsLocationsUnenrollDataSources' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsLocationsUnenrollDataSources ::+ -- | Required. The name of the project resource in the form: @projects\/{project_id}@ See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ UnenrollDataSourcesRequest ->+ BigQueryDataTransferProjectsLocationsUnenrollDataSources+newBigQueryDataTransferProjectsLocationsUnenrollDataSources+ name+ payload =+ BigQueryDataTransferProjectsLocationsUnenrollDataSources+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsLocationsUnenrollDataSources+ where+ type+ Rs BigQueryDataTransferProjectsLocationsUnenrollDataSources =+ Empty+ type+ Scopes+ BigQueryDataTransferProjectsLocationsUnenrollDataSources =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsLocationsUnenrollDataSources {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsLocationsUnenrollDataSourcesResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Create.hs view
@@ -0,0 +1,141 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new data transfer configuration.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.create@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Create+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsCreateResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsCreate (..),+ newBigQueryDataTransferProjectsTransferConfigsCreate,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.create@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsCreate' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "transferConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "authorizationCode" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "serviceAccountName" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "versionInfo" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TransferConfig+ Core.:> Core.Post '[Core.JSON] TransferConfig++-- | Creates a new data transfer configuration.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsCreate' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsCreate = BigQueryDataTransferProjectsTransferConfigsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | Deprecated: Authorization code was required when @transferConfig.dataSourceId@ is \'youtube/channel\' but it is no longer used in any data sources. Use @version_info@ instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' and new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain authorization/code, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=authorization/code&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to create the transfer config.+ authorizationCode :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects\/{project/id}\/locations\/{location/id} or projects\/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: TransferConfig,+ -- | Optional service account email. If this field is set, the transfer config will be created with this service account\'s credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about <https://cloud.google.com/bigquery-transfer/docs/use-service-accounts using service accounts>.+ serviceAccountName :: (Core.Maybe 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),+ -- | Optional version info. This parameter replaces @authorization_code@ which is no longer used in any data sources. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' /or/ new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain version info, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=version/info&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to create the transfer config.+ versionInfo :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDataTransferProjectsTransferConfigsCreate' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsCreate ::+ -- | Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects\/{project/id}\/locations\/{location/id} or projects\/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ TransferConfig ->+ BigQueryDataTransferProjectsTransferConfigsCreate+newBigQueryDataTransferProjectsTransferConfigsCreate parent payload =+ BigQueryDataTransferProjectsTransferConfigsCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ authorizationCode = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ serviceAccountName = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing,+ versionInfo = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsCreate+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsCreate =+ TransferConfig+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsCreate =+ '[CloudPlatform'FullControl]+ requestClient BigQueryDataTransferProjectsTransferConfigsCreate {..} =+ go+ parent+ xgafv+ accessToken+ authorizationCode+ callback+ serviceAccountName+ uploadType+ uploadProtocol+ versionInfo+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsCreateResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Delete.hs view
@@ -0,0 +1,116 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a data transfer configuration, including any associated transfer runs and logs.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.delete@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Delete+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsDeleteResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsDelete (..),+ newBigQueryDataTransferProjectsTransferConfigsDelete,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.delete@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsDelete' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes a data transfer configuration, including any associated transfer runs and logs.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsDelete' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsDelete = BigQueryDataTransferProjectsTransferConfigsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@+ name :: 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 'BigQueryDataTransferProjectsTransferConfigsDelete' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsDelete ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsTransferConfigsDelete+newBigQueryDataTransferProjectsTransferConfigsDelete name =+ BigQueryDataTransferProjectsTransferConfigsDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsDelete+ where+ type Rs BigQueryDataTransferProjectsTransferConfigsDelete = Empty+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsDelete =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient BigQueryDataTransferProjectsTransferConfigsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsDeleteResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Get.hs view
@@ -0,0 +1,120 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about a data transfer config.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.get@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Get+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsGetResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsGet (..),+ newBigQueryDataTransferProjectsTransferConfigsGet,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.get@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsGet' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] TransferConfig++-- | Returns information about a data transfer config.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsGet' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsGet = BigQueryDataTransferProjectsTransferConfigsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@+ name :: 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 'BigQueryDataTransferProjectsTransferConfigsGet' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsGet ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsTransferConfigsGet+newBigQueryDataTransferProjectsTransferConfigsGet name =+ BigQueryDataTransferProjectsTransferConfigsGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsGet+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsGet =+ TransferConfig+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsGet =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient BigQueryDataTransferProjectsTransferConfigsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy BigQueryDataTransferProjectsTransferConfigsGetResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/List.hs view
@@ -0,0 +1,136 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about all transfer configs owned by a project in the specified location.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.list@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.List+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsList (..),+ newBigQueryDataTransferProjectsTransferConfigsList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.list@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsList' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "transferConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParams "dataSourceIds" 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] ListTransferConfigsResponse++-- | Returns information about all transfer configs owned by a project in the specified location.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsList' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsList = BigQueryDataTransferProjectsTransferConfigsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | When specified, only configurations of requested data sources are returned.+ dataSourceIds :: (Core.Maybe [Core.Text]),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListTransfersRequest@ list results. For multiple-page results, @ListTransfersResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The BigQuery project id for which transfer configs should be returned: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@+ 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 'BigQueryDataTransferProjectsTransferConfigsList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsList ::+ -- | Required. The BigQuery project id for which transfer configs should be returned: @projects\/{project_id}@ or @projects\/{project_id}\/locations\/{location_id}@ See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsTransferConfigsList+newBigQueryDataTransferProjectsTransferConfigsList parent =+ BigQueryDataTransferProjectsTransferConfigsList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ dataSourceIds = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsList+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsList =+ ListTransferConfigsResponse+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient BigQueryDataTransferProjectsTransferConfigsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ (dataSourceIds Core.^. Core._Default)+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy BigQueryDataTransferProjectsTransferConfigsListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Patch.hs view
@@ -0,0 +1,145 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a data transfer configuration. All fields must be set, even if they are not updated.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.patch@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Patch+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsPatchResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsPatch (..),+ newBigQueryDataTransferProjectsTransferConfigsPatch,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.patch@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsPatch' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsPatchResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "authorizationCode" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "serviceAccountName" Core.Text+ Core.:> Core.QueryParam "updateMask" Core.FieldMask+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "versionInfo" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TransferConfig+ Core.:> Core.Patch '[Core.JSON] TransferConfig++-- | Updates a data transfer configuration. All fields must be set, even if they are not updated.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsPatch' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsPatch = BigQueryDataTransferProjectsTransferConfigsPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | Deprecated: Authorization code was required when @transferConfig.dataSourceId@ is \'youtube/channel\' but it is no longer used in any data sources. Use @version_info@ instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' and new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain authorization/code, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=authorization/code&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to update the transfer config.+ authorizationCode :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Identifier. The resource name of the transfer config. Transfer config names have the form either @projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/transferConfigs\/{config_id}@, where @config_id@ is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: TransferConfig,+ -- | Optional service account email. If this field is set, the transfer config will be created with this service account\'s credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about <https://cloud.google.com/bigquery-transfer/docs/use-service-accounts using service accounts>.+ serviceAccountName :: (Core.Maybe Core.Text),+ -- | Required. Required list of fields to be updated in this request.+ updateMask :: (Core.Maybe Core.FieldMask),+ -- | 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),+ -- | Optional version info. This parameter replaces @authorization_code@ which is no longer used in any data sources. This is required only if @transferConfig.dataSourceId@ is \'youtube/channel\' /or/ new credentials are needed, as indicated by @CheckValidCreds@. In order to obtain version info, make a request to the following URL: https:\/\/bigquery.cloud.google.com\/datatransfer\/oauthz\/auth?redirect/uri=urn:ietf:wg:oauth:2.0:oob&response/type=version/info&client/id=client/id&scope=data/source/scopes * The client/id is the OAuth client/id of the data source as returned by ListDataSources method. * data/source/scopes are the scopes returned by ListDataSources method. Note that this should not be set when @service_account_name@ is used to update the transfer config.+ versionInfo :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDataTransferProjectsTransferConfigsPatch' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsPatch ::+ -- | Identifier. The resource name of the transfer config. Transfer config names have the form either @projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/transferConfigs\/{config_id}@, where @config_id@ is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ TransferConfig ->+ BigQueryDataTransferProjectsTransferConfigsPatch+newBigQueryDataTransferProjectsTransferConfigsPatch name payload =+ BigQueryDataTransferProjectsTransferConfigsPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ authorizationCode = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ serviceAccountName = Core.Nothing,+ updateMask = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing,+ versionInfo = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsPatch+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsPatch =+ TransferConfig+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsPatch =+ '[CloudPlatform'FullControl]+ requestClient BigQueryDataTransferProjectsTransferConfigsPatch {..} =+ go+ name+ xgafv+ accessToken+ authorizationCode+ callback+ serviceAccountName+ updateMask+ uploadType+ uploadProtocol+ versionInfo+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsPatchResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Delete.hs view
@@ -0,0 +1,119 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified transfer run.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.delete@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsRunsDeleteResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsRunsDelete (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsDelete,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.delete@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsRunsDelete' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsRunsDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes the specified transfer run.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsRunsDelete' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsRunsDelete = BigQueryDataTransferProjectsTransferConfigsRunsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@+ name :: 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 'BigQueryDataTransferProjectsTransferConfigsRunsDelete' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsRunsDelete ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsTransferConfigsRunsDelete+newBigQueryDataTransferProjectsTransferConfigsRunsDelete name =+ BigQueryDataTransferProjectsTransferConfigsRunsDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsRunsDelete+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsRunsDelete =+ Empty+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsRunsDelete =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsTransferConfigsRunsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsRunsDeleteResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Get.hs view
@@ -0,0 +1,122 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about the particular transfer run.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.get@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsRunsGetResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsRunsGet (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsGet,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.get@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsRunsGet' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsRunsGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" 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] TransferRun++-- | Returns information about the particular transfer run.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsRunsGet' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsRunsGet = BigQueryDataTransferProjectsTransferConfigsRunsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@+ name :: 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 'BigQueryDataTransferProjectsTransferConfigsRunsGet' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsRunsGet ::+ -- | Required. The field will contain name of the resource requested, for example: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ See 'name'.+ Core.Text ->+ BigQueryDataTransferProjectsTransferConfigsRunsGet+newBigQueryDataTransferProjectsTransferConfigsRunsGet name =+ BigQueryDataTransferProjectsTransferConfigsRunsGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsRunsGet+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsRunsGet =+ TransferRun+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsRunsGet =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsTransferConfigsRunsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsRunsGetResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/List.hs view
@@ -0,0 +1,145 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about running and completed transfer runs.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.list@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsRunsListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsRunsList (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.list@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsRunsList' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsRunsListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "runs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam+ "runAttempt"+ ProjectsTransferConfigsRunsListRunAttempt+ Core.:> Core.QueryParams "states" ProjectsTransferConfigsRunsListStates+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListTransferRunsResponse++-- | Returns information about running and completed transfer runs.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsRunsList' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsRunsList = BigQueryDataTransferProjectsTransferConfigsRunsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListTransferRunsRequest@ list results. For multiple-page results, @ListTransferRunsResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@.+ parent :: Core.Text,+ -- | Indicates how run attempts are to be pulled.+ runAttempt :: (Core.Maybe ProjectsTransferConfigsRunsListRunAttempt),+ -- | When specified, only transfer runs with requested states are returned.+ states :: (Core.Maybe [ProjectsTransferConfigsRunsListStates]),+ -- | 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 'BigQueryDataTransferProjectsTransferConfigsRunsList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsRunsList ::+ -- | Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@. See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsTransferConfigsRunsList+newBigQueryDataTransferProjectsTransferConfigsRunsList parent =+ BigQueryDataTransferProjectsTransferConfigsRunsList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ runAttempt = Core.Nothing,+ states = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsRunsList+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsRunsList =+ ListTransferRunsResponse+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsRunsList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsTransferConfigsRunsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ pageSize+ pageToken+ runAttempt+ (states Core.^. Core._Default)+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsRunsListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/Runs/TransferLogs/List.hs view
@@ -0,0 +1,146 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns log messages for the transfer run.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsListResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList (..),+ newBigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "transferLogs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParams+ "messageTypes"+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes+ 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] ListTransferLogsResponse++-- | Returns log messages for the transfer run.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList = BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.+ messageTypes ::+ ( Core.Maybe+ [ProjectsTransferConfigsRunsTransferLogsListMessageTypes]+ ),+ -- | Page size. The default page size is the maximum value of 1000 results.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Pagination token, which can be used to request a specific page of @ListTransferLogsRequest@ list results. For multiple-page results, @ListTransferLogsResponse@ outputs a @next_page@ token, which can be used as the @page_token@ value to request the next page of list results.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Transfer run name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@+ 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 'BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList ::+ -- | Required. Transfer run name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}\/runs\/{run_id}@ See 'parent'.+ Core.Text ->+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList+newBigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList+ parent =+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ messageTypes = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList+ where+ type+ Rs+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList =+ ListTransferLogsResponse+ type+ Scopes+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList =+ '[ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly+ ]+ requestClient+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ (messageTypes Core.^. Core._Default)+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsRunsTransferLogsListResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/ScheduleRuns.hs view
@@ -0,0 +1,128 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates transfer runs for a time range [start/time, end/time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.scheduleRuns@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsScheduleRunsResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsScheduleRuns (..),+ newBigQueryDataTransferProjectsTransferConfigsScheduleRuns,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.scheduleRuns@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsScheduleRuns' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsScheduleRunsResource =+ "v1"+ Core.:> Core.CaptureMode "parent" "scheduleRuns" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] ScheduleTransferRunsRequest+ Core.:> Core.Post '[Core.JSON] ScheduleTransferRunsResponse++-- | Creates transfer runs for a time range [start/time, end/time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsScheduleRuns' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsScheduleRuns = BigQueryDataTransferProjectsTransferConfigsScheduleRuns+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: ScheduleTransferRunsRequest,+ -- | 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 'BigQueryDataTransferProjectsTransferConfigsScheduleRuns' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsScheduleRuns ::+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ ScheduleTransferRunsRequest ->+ BigQueryDataTransferProjectsTransferConfigsScheduleRuns+newBigQueryDataTransferProjectsTransferConfigsScheduleRuns+ parent+ payload =+ BigQueryDataTransferProjectsTransferConfigsScheduleRuns+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsScheduleRuns+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsScheduleRuns =+ ScheduleTransferRunsResponse+ type+ Scopes BigQueryDataTransferProjectsTransferConfigsScheduleRuns =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsTransferConfigsScheduleRuns {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsScheduleRunsResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Projects/TransferConfigs/StartManualRuns.hs view
@@ -0,0 +1,129 @@+{-# 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.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Start manual transfer runs to be executed now with schedule/time equal to current time. The transfer runs can be created for a time range where the run/time is between start/time (inclusive) and end/time (exclusive), or for a specific run_time.+--+-- /See:/ <https://cloud.google.com/bigquery-transfer/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.startManualRuns@.+module Gogol.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns+ ( -- * Resource+ BigQueryDataTransferProjectsTransferConfigsStartManualRunsResource,++ -- ** Constructing a Request+ BigQueryDataTransferProjectsTransferConfigsStartManualRuns (..),+ newBigQueryDataTransferProjectsTransferConfigsStartManualRuns,+ )+where++import Gogol.BigQueryDataTransfer.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.startManualRuns@ method which the+-- 'BigQueryDataTransferProjectsTransferConfigsStartManualRuns' request conforms to.+type BigQueryDataTransferProjectsTransferConfigsStartManualRunsResource =+ "v1"+ Core.:> Core.CaptureMode "parent" "startManualRuns" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] StartManualTransferRunsRequest+ Core.:> Core.Post '[Core.JSON] StartManualTransferRunsResponse++-- | Start manual transfer runs to be executed now with schedule/time equal to current time. The transfer runs can be created for a time range where the run/time is between start/time (inclusive) and end/time (exclusive), or for a specific run_time.+--+-- /See:/ 'newBigQueryDataTransferProjectsTransferConfigsStartManualRuns' smart constructor.+data BigQueryDataTransferProjectsTransferConfigsStartManualRuns = BigQueryDataTransferProjectsTransferConfigsStartManualRuns+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: StartManualTransferRunsRequest,+ -- | 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 'BigQueryDataTransferProjectsTransferConfigsStartManualRuns' with the minimum fields required to make a request.+newBigQueryDataTransferProjectsTransferConfigsStartManualRuns ::+ -- | Required. Transfer configuration name in the form: @projects\/{project_id}\/transferConfigs\/{config_id}@ or @projects\/{project_id}\/locations\/{location_id}\/transferConfigs\/{config_id}@. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ StartManualTransferRunsRequest ->+ BigQueryDataTransferProjectsTransferConfigsStartManualRuns+newBigQueryDataTransferProjectsTransferConfigsStartManualRuns+ parent+ payload =+ BigQueryDataTransferProjectsTransferConfigsStartManualRuns+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ BigQueryDataTransferProjectsTransferConfigsStartManualRuns+ where+ type+ Rs BigQueryDataTransferProjectsTransferConfigsStartManualRuns =+ StartManualTransferRunsResponse+ type+ Scopes+ BigQueryDataTransferProjectsTransferConfigsStartManualRuns =+ '[Bigquery'FullControl, CloudPlatform'FullControl]+ requestClient+ BigQueryDataTransferProjectsTransferConfigsStartManualRuns {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ bigQueryDataTransferService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ BigQueryDataTransferProjectsTransferConfigsStartManualRunsResource+ )+ Core.mempty
+ gen/Gogol/BigQueryDataTransfer/Types.hs view
@@ -0,0 +1,242 @@+{-# 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.BigQueryDataTransfer.Types+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.BigQueryDataTransfer.Types+ ( -- * Configuration+ bigQueryDataTransferService,++ -- * OAuth Scopes+ Bigquery'FullControl,+ CloudPlatform'FullControl,+ CloudPlatform'ReadOnly,++ -- * Types++ -- ** Xgafv+ Xgafv (..),++ -- ** CheckValidCredsRequest+ CheckValidCredsRequest (..),+ newCheckValidCredsRequest,++ -- ** CheckValidCredsResponse+ CheckValidCredsResponse (..),+ newCheckValidCredsResponse,++ -- ** DataSource+ DataSource (..),+ newDataSource,++ -- ** DataSource_AuthorizationType+ DataSource_AuthorizationType (..),++ -- ** DataSource_DataRefreshType+ DataSource_DataRefreshType (..),++ -- ** DataSource_TransferType+ DataSource_TransferType (..),++ -- ** DataSourceParameter+ DataSourceParameter (..),+ newDataSourceParameter,++ -- ** DataSourceParameter_Type+ DataSourceParameter_Type (..),++ -- ** EmailPreferences+ EmailPreferences (..),+ newEmailPreferences,++ -- ** Empty+ Empty (..),+ newEmpty,++ -- ** EncryptionConfiguration+ EncryptionConfiguration (..),+ newEncryptionConfiguration,++ -- ** EnrollDataSourcesRequest+ EnrollDataSourcesRequest (..),+ newEnrollDataSourcesRequest,++ -- ** EventDrivenSchedule+ EventDrivenSchedule (..),+ newEventDrivenSchedule,++ -- ** ListDataSourcesResponse+ ListDataSourcesResponse (..),+ newListDataSourcesResponse,++ -- ** ListLocationsResponse+ ListLocationsResponse (..),+ newListLocationsResponse,++ -- ** ListTransferConfigsResponse+ ListTransferConfigsResponse (..),+ newListTransferConfigsResponse,++ -- ** ListTransferLogsResponse+ ListTransferLogsResponse (..),+ newListTransferLogsResponse,++ -- ** ListTransferRunsResponse+ ListTransferRunsResponse (..),+ newListTransferRunsResponse,++ -- ** Location+ Location (..),+ newLocation,++ -- ** Location_Labels+ Location_Labels (..),+ newLocation_Labels,++ -- ** Location_Metadata+ Location_Metadata (..),+ newLocation_Metadata,++ -- ** ManualSchedule+ ManualSchedule (..),+ newManualSchedule,++ -- ** ScheduleOptions+ ScheduleOptions (..),+ newScheduleOptions,++ -- ** ScheduleOptionsV2+ ScheduleOptionsV2 (..),+ newScheduleOptionsV2,++ -- ** ScheduleTransferRunsRequest+ ScheduleTransferRunsRequest (..),+ newScheduleTransferRunsRequest,++ -- ** ScheduleTransferRunsResponse+ ScheduleTransferRunsResponse (..),+ newScheduleTransferRunsResponse,++ -- ** StartManualTransferRunsRequest+ StartManualTransferRunsRequest (..),+ newStartManualTransferRunsRequest,++ -- ** StartManualTransferRunsResponse+ StartManualTransferRunsResponse (..),+ newStartManualTransferRunsResponse,++ -- ** Status+ Status (..),+ newStatus,++ -- ** Status_DetailsItem+ Status_DetailsItem (..),+ newStatus_DetailsItem,++ -- ** TimeBasedSchedule+ TimeBasedSchedule (..),+ newTimeBasedSchedule,++ -- ** TimeRange+ TimeRange (..),+ newTimeRange,++ -- ** TransferConfig+ TransferConfig (..),+ newTransferConfig,++ -- ** TransferConfig_Params+ TransferConfig_Params (..),+ newTransferConfig_Params,++ -- ** TransferConfig_State+ TransferConfig_State (..),++ -- ** TransferMessage+ TransferMessage (..),+ newTransferMessage,++ -- ** TransferMessage_Severity+ TransferMessage_Severity (..),++ -- ** TransferRun+ TransferRun (..),+ newTransferRun,++ -- ** TransferRun_Params+ TransferRun_Params (..),+ newTransferRun_Params,++ -- ** TransferRun_State+ TransferRun_State (..),++ -- ** UnenrollDataSourcesRequest+ UnenrollDataSourcesRequest (..),+ newUnenrollDataSourcesRequest,++ -- ** UserInfo+ UserInfo (..),+ newUserInfo,++ -- ** ProjectsLocationsTransferConfigsRunsListRunAttempt+ ProjectsLocationsTransferConfigsRunsListRunAttempt (..),++ -- ** ProjectsLocationsTransferConfigsRunsListStates+ ProjectsLocationsTransferConfigsRunsListStates (..),++ -- ** ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes+ ProjectsLocationsTransferConfigsRunsTransferLogsListMessageTypes (..),++ -- ** ProjectsTransferConfigsRunsListRunAttempt+ ProjectsTransferConfigsRunsListRunAttempt (..),++ -- ** ProjectsTransferConfigsRunsListStates+ ProjectsTransferConfigsRunsListStates (..),++ -- ** ProjectsTransferConfigsRunsTransferLogsListMessageTypes+ ProjectsTransferConfigsRunsTransferLogsListMessageTypes (..),+ )+where++import Gogol.BigQueryDataTransfer.Internal.Product+import Gogol.BigQueryDataTransfer.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Default request referring to version @v1@ of the BigQuery Data Transfer API. This contains the host and root path used as a starting point for constructing service requests.+bigQueryDataTransferService :: Core.ServiceConfig+bigQueryDataTransferService =+ Core.defaultService+ (Core.ServiceId "bigquerydatatransfer:v1")+ "bigquerydatatransfer.googleapis.com"++-- | View and manage your data in Google BigQuery and see the email address for your Google Account+type Bigquery'FullControl =+ "https://www.googleapis.com/auth/bigquery"++-- | See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.+type CloudPlatform'FullControl =+ "https://www.googleapis.com/auth/cloud-platform"++-- | View your data across Google Cloud services and see the email address of your Google Account+type CloudPlatform'ReadOnly =+ "https://www.googleapis.com/auth/cloud-platform.read-only"
− gen/Network/Google/BigQueryDataTransfer.hs
@@ -1,428 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- |--- Module : Network.Google.BigQueryDataTransfer--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Schedule queries or transfer external data from SaaS applications to--- Google BigQuery on a regular basis.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference>-module Network.Google.BigQueryDataTransfer- (- -- * Service Configuration- bigQueryDataTransferService-- -- * OAuth Scopes- , cloudPlatformReadOnlyScope- , cloudPlatformScope- , bigQueryScope-- -- * API Declaration- , BigQueryDataTransferAPI-- -- * Resources-- -- ** bigquerydatatransfer.projects.dataSources.checkValidCreds- , module Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds-- -- ** bigquerydatatransfer.projects.dataSources.get- , module Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.Get-- -- ** bigquerydatatransfer.projects.dataSources.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.List-- -- ** bigquerydatatransfer.projects.locations.dataSources.checkValidCreds- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds-- -- ** bigquerydatatransfer.projects.locations.dataSources.get- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.Get-- -- ** bigquerydatatransfer.projects.locations.dataSources.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.List-- -- ** bigquerydatatransfer.projects.locations.get- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.Get-- -- ** bigquerydatatransfer.projects.locations.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.List-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.create- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.delete- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.get- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.patch- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.delete- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.get- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns-- -- ** bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns- , module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns-- -- ** bigquerydatatransfer.projects.transferConfigs.create- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Create-- -- ** bigquerydatatransfer.projects.transferConfigs.delete- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Delete-- -- ** bigquerydatatransfer.projects.transferConfigs.get- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Get-- -- ** bigquerydatatransfer.projects.transferConfigs.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.List-- -- ** bigquerydatatransfer.projects.transferConfigs.patch- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Patch-- -- ** bigquerydatatransfer.projects.transferConfigs.runs.delete- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete-- -- ** bigquerydatatransfer.projects.transferConfigs.runs.get- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get-- -- ** bigquerydatatransfer.projects.transferConfigs.runs.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List-- -- ** bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List-- -- ** bigquerydatatransfer.projects.transferConfigs.scheduleRuns- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns-- -- ** bigquerydatatransfer.projects.transferConfigs.startManualRuns- , module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns-- -- * Types-- -- ** DataSourceParameterType- , DataSourceParameterType (..)-- -- ** Status- , Status- , status- , sDetails- , sCode- , sMessage-- -- ** ListLocationsResponse- , ListLocationsResponse- , listLocationsResponse- , llrNextPageToken- , llrLocations-- -- ** TimeRange- , TimeRange- , timeRange- , trStartTime- , trEndTime-- -- ** TransferRun- , TransferRun- , transferRun- , tRunTime- , tErrorStatus- , tState- , tSchedule- , tStartTime- , tScheduleTime- , tDataSourceId- , tParams- , tUserId- , tUpdateTime- , tName- , tEndTime- , tDestinationDataSetId-- -- ** CheckValidCredsRequest- , CheckValidCredsRequest- , checkValidCredsRequest-- -- ** TransferConfigParams- , TransferConfigParams- , transferConfigParams- , tcpAddtional-- -- ** ScheduleTransferRunsRequest- , ScheduleTransferRunsRequest- , scheduleTransferRunsRequest- , strrStartTime- , strrEndTime-- -- ** Location- , Location- , location- , lName- , lMetadata- , lDisplayName- , lLabels- , lLocationId-- -- ** Empty- , Empty- , empty-- -- ** ScheduleOptions- , ScheduleOptions- , scheduleOptions- , soStartTime- , soDisableAutoScheduling- , soEndTime-- -- ** TransferRunState- , TransferRunState (..)-- -- ** ListTransferLogsResponse- , ListTransferLogsResponse- , listTransferLogsResponse- , ltlrNextPageToken- , ltlrTransferMessages-- -- ** CheckValidCredsResponse- , CheckValidCredsResponse- , checkValidCredsResponse- , cvcrHasValidCreds-- -- ** StatusDetailsItem- , StatusDetailsItem- , statusDetailsItem- , sdiAddtional-- -- ** DataSourceTransferType- , DataSourceTransferType (..)-- -- ** DataSourceAuthorizationType- , DataSourceAuthorizationType (..)-- -- ** TransferRunParams- , TransferRunParams- , transferRunParams- , trpAddtional-- -- ** DataSourceParameter- , DataSourceParameter- , dataSourceParameter- , dspMaxValue- , dspParamId- , dspImmutable- , dspRecurse- , dspValidationDescription- , dspRequired- , dspDisplayName- , dspType- , dspAllowedValues- , dspRepeated- , dspDescription- , dspValidationRegex- , dspMinValue- , dspValidationHelpURL- , dspFields-- -- ** ScheduleTransferRunsResponse- , ScheduleTransferRunsResponse- , scheduleTransferRunsResponse- , strrRuns-- -- ** ListDataSourcesResponse- , ListDataSourcesResponse- , listDataSourcesResponse- , ldsrNextPageToken- , ldsrDataSources-- -- ** StartManualTransferRunsRequest- , StartManualTransferRunsRequest- , startManualTransferRunsRequest- , smtrrRequestedRunTime- , smtrrRequestedTimeRange-- -- ** Xgafv- , Xgafv (..)-- -- ** DataSource- , DataSource- , dataSource- , dsClientId- , dsMinimumScheduleInterval- , dsSupportsCustomSchedule- , dsUpdateDeadlineSeconds- , dsManualRunsDisabled- , dsDataSourceId- , dsTransferType- , dsScopes- , dsSupportsMultipleTransfers- , dsName- , dsParameters- , dsHelpURL- , dsDefaultDataRefreshWindowDays- , dsDisplayName- , dsDataRefreshType- , dsAuthorizationType- , dsDefaultSchedule- , dsDescription-- -- ** DataSourceDataRefreshType- , DataSourceDataRefreshType (..)-- -- ** ListTransferRunsResponse- , ListTransferRunsResponse- , listTransferRunsResponse- , ltrrNextPageToken- , ltrrTransferRuns-- -- ** TransferMessage- , TransferMessage- , transferMessage- , tmSeverity- , tmMessageTime- , tmMessageText-- -- ** LocationLabels- , LocationLabels- , locationLabels- , llAddtional-- -- ** StartManualTransferRunsResponse- , StartManualTransferRunsResponse- , startManualTransferRunsResponse- , smtrrRuns-- -- ** LocationMetadata- , LocationMetadata- , locationMetadata- , lmAddtional-- -- ** TransferMessageSeverity- , TransferMessageSeverity (..)-- -- ** ListTransferConfigsResponse- , ListTransferConfigsResponse- , listTransferConfigsResponse- , ltcrNextPageToken- , ltcrTransferConfigs-- -- ** TransferConfigState- , TransferConfigState (..)-- -- ** TransferConfig- , TransferConfig- , transferConfig- , tcState- , tcSchedule- , tcScheduleOptions- , tcDisabled- , tcDataSourceId- , tcParams- , tcUserId- , tcUpdateTime- , tcName- , tcDataSetRegion- , tcDisplayName- , tcNextRunTime- , tcDestinationDataSetId- , tcDataRefreshWindowDays- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude-import Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds-import Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.Get-import Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.Get-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.Get-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns-import Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Create-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Delete-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Get-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Patch-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns-import Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns--{- $resources-TODO--}---- | Represents the entirety of the methods and resources available for the BigQuery Data Transfer API service.-type BigQueryDataTransferAPI =- ProjectsDataSourcesListResource :<|>- ProjectsDataSourcesCheckValidCredsResource- :<|> ProjectsDataSourcesGetResource- :<|>- ProjectsTransferConfigsRunsTransferLogsListResource- :<|> ProjectsTransferConfigsRunsListResource- :<|> ProjectsTransferConfigsRunsGetResource- :<|> ProjectsTransferConfigsRunsDeleteResource- :<|> ProjectsTransferConfigsScheduleRunsResource- :<|> ProjectsTransferConfigsListResource- :<|> ProjectsTransferConfigsStartManualRunsResource- :<|> ProjectsTransferConfigsPatchResource- :<|> ProjectsTransferConfigsGetResource- :<|> ProjectsTransferConfigsCreateResource- :<|> ProjectsTransferConfigsDeleteResource- :<|> ProjectsLocationsDataSourcesListResource- :<|>- ProjectsLocationsDataSourcesCheckValidCredsResource- :<|> ProjectsLocationsDataSourcesGetResource- :<|>- ProjectsLocationsTransferConfigsRunsTransferLogsListResource- :<|> ProjectsLocationsTransferConfigsRunsListResource- :<|> ProjectsLocationsTransferConfigsRunsGetResource- :<|>- ProjectsLocationsTransferConfigsRunsDeleteResource- :<|>- ProjectsLocationsTransferConfigsScheduleRunsResource- :<|> ProjectsLocationsTransferConfigsListResource- :<|>- ProjectsLocationsTransferConfigsStartManualRunsResource- :<|> ProjectsLocationsTransferConfigsPatchResource- :<|> ProjectsLocationsTransferConfigsGetResource- :<|> ProjectsLocationsTransferConfigsCreateResource- :<|> ProjectsLocationsTransferConfigsDeleteResource- :<|> ProjectsLocationsListResource- :<|> ProjectsLocationsGetResource
− gen/Network/Google/BigQueryDataTransfer/Types.hs
@@ -1,275 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.BigQueryDataTransfer.Types--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.BigQueryDataTransfer.Types- (- -- * Service Configuration- bigQueryDataTransferService-- -- * OAuth Scopes- , cloudPlatformReadOnlyScope- , cloudPlatformScope- , bigQueryScope-- -- * DataSourceParameterType- , DataSourceParameterType (..)-- -- * Status- , Status- , status- , sDetails- , sCode- , sMessage-- -- * ListLocationsResponse- , ListLocationsResponse- , listLocationsResponse- , llrNextPageToken- , llrLocations-- -- * TimeRange- , TimeRange- , timeRange- , trStartTime- , trEndTime-- -- * TransferRun- , TransferRun- , transferRun- , tRunTime- , tErrorStatus- , tState- , tSchedule- , tStartTime- , tScheduleTime- , tDataSourceId- , tParams- , tUserId- , tUpdateTime- , tName- , tEndTime- , tDestinationDataSetId-- -- * CheckValidCredsRequest- , CheckValidCredsRequest- , checkValidCredsRequest-- -- * TransferConfigParams- , TransferConfigParams- , transferConfigParams- , tcpAddtional-- -- * ScheduleTransferRunsRequest- , ScheduleTransferRunsRequest- , scheduleTransferRunsRequest- , strrStartTime- , strrEndTime-- -- * Location- , Location- , location- , lName- , lMetadata- , lDisplayName- , lLabels- , lLocationId-- -- * Empty- , Empty- , empty-- -- * ScheduleOptions- , ScheduleOptions- , scheduleOptions- , soStartTime- , soDisableAutoScheduling- , soEndTime-- -- * TransferRunState- , TransferRunState (..)-- -- * ListTransferLogsResponse- , ListTransferLogsResponse- , listTransferLogsResponse- , ltlrNextPageToken- , ltlrTransferMessages-- -- * CheckValidCredsResponse- , CheckValidCredsResponse- , checkValidCredsResponse- , cvcrHasValidCreds-- -- * StatusDetailsItem- , StatusDetailsItem- , statusDetailsItem- , sdiAddtional-- -- * DataSourceTransferType- , DataSourceTransferType (..)-- -- * DataSourceAuthorizationType- , DataSourceAuthorizationType (..)-- -- * TransferRunParams- , TransferRunParams- , transferRunParams- , trpAddtional-- -- * DataSourceParameter- , DataSourceParameter- , dataSourceParameter- , dspMaxValue- , dspParamId- , dspImmutable- , dspRecurse- , dspValidationDescription- , dspRequired- , dspDisplayName- , dspType- , dspAllowedValues- , dspRepeated- , dspDescription- , dspValidationRegex- , dspMinValue- , dspValidationHelpURL- , dspFields-- -- * ScheduleTransferRunsResponse- , ScheduleTransferRunsResponse- , scheduleTransferRunsResponse- , strrRuns-- -- * ListDataSourcesResponse- , ListDataSourcesResponse- , listDataSourcesResponse- , ldsrNextPageToken- , ldsrDataSources-- -- * StartManualTransferRunsRequest- , StartManualTransferRunsRequest- , startManualTransferRunsRequest- , smtrrRequestedRunTime- , smtrrRequestedTimeRange-- -- * Xgafv- , Xgafv (..)-- -- * DataSource- , DataSource- , dataSource- , dsClientId- , dsMinimumScheduleInterval- , dsSupportsCustomSchedule- , dsUpdateDeadlineSeconds- , dsManualRunsDisabled- , dsDataSourceId- , dsTransferType- , dsScopes- , dsSupportsMultipleTransfers- , dsName- , dsParameters- , dsHelpURL- , dsDefaultDataRefreshWindowDays- , dsDisplayName- , dsDataRefreshType- , dsAuthorizationType- , dsDefaultSchedule- , dsDescription-- -- * DataSourceDataRefreshType- , DataSourceDataRefreshType (..)-- -- * ListTransferRunsResponse- , ListTransferRunsResponse- , listTransferRunsResponse- , ltrrNextPageToken- , ltrrTransferRuns-- -- * TransferMessage- , TransferMessage- , transferMessage- , tmSeverity- , tmMessageTime- , tmMessageText-- -- * LocationLabels- , LocationLabels- , locationLabels- , llAddtional-- -- * StartManualTransferRunsResponse- , StartManualTransferRunsResponse- , startManualTransferRunsResponse- , smtrrRuns-- -- * LocationMetadata- , LocationMetadata- , locationMetadata- , lmAddtional-- -- * TransferMessageSeverity- , TransferMessageSeverity (..)-- -- * ListTransferConfigsResponse- , ListTransferConfigsResponse- , listTransferConfigsResponse- , ltcrNextPageToken- , ltcrTransferConfigs-- -- * TransferConfigState- , TransferConfigState (..)-- -- * TransferConfig- , TransferConfig- , transferConfig- , tcState- , tcSchedule- , tcScheduleOptions- , tcDisabled- , tcDataSourceId- , tcParams- , tcUserId- , tcUpdateTime- , tcName- , tcDataSetRegion- , tcDisplayName- , tcNextRunTime- , tcDestinationDataSetId- , tcDataRefreshWindowDays- ) where--import Network.Google.BigQueryDataTransfer.Types.Product-import Network.Google.BigQueryDataTransfer.Types.Sum-import Network.Google.Prelude---- | Default request referring to version 'v1' of the BigQuery Data Transfer API. This contains the host and root path used as a starting point for constructing service requests.-bigQueryDataTransferService :: ServiceConfig-bigQueryDataTransferService- = defaultService- (ServiceId "bigquerydatatransfer:v1")- "bigquerydatatransfer.googleapis.com"---- | View your data across Google Cloud Platform services-cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]-cloudPlatformReadOnlyScope = Proxy---- | View and manage your data across Google Cloud Platform services-cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]-cloudPlatformScope = Proxy---- | View and manage your data in Google BigQuery-bigQueryScope :: Proxy '["https://www.googleapis.com/auth/bigquery"]-bigQueryScope = Proxy
− gen/Network/Google/BigQueryDataTransfer/Types/Product.hs
@@ -1,2015 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.BigQueryDataTransfer.Types.Product--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.BigQueryDataTransfer.Types.Product where--import Network.Google.BigQueryDataTransfer.Types.Sum-import Network.Google.Prelude---- | The \`Status\` type defines a logical error model that is suitable for--- different programming environments, including REST APIs and RPC APIs. It--- is used by [gRPC](https:\/\/github.com\/grpc). The error model is--- designed to be: - Simple to use and understand for most users - Flexible--- enough to meet unexpected needs # Overview The \`Status\` message--- contains three pieces of data: error code, error message, and error--- details. The error code should be an enum value of google.rpc.Code, but--- it may accept additional error codes if needed. The error message should--- be a developer-facing English message that helps developers *understand*--- and *resolve* the error. If a localized user-facing error message is--- needed, put the localized message in the error details or localize it in--- the client. The optional error details may contain arbitrary information--- about the error. There is a predefined set of error detail types in the--- package \`google.rpc\` that can be used for common error conditions. #--- Language mapping The \`Status\` message is the logical representation of--- the error model, but it is not necessarily the actual wire format. When--- the \`Status\` message is exposed in different client libraries and--- different wire protocols, it can be mapped differently. For example, it--- will likely be mapped to some exceptions in Java, but more likely mapped--- to some error codes in C. # Other uses The error model and the--- \`Status\` message can be used in a variety of environments, either with--- or without APIs, to provide a consistent developer experience across--- different environments. Example uses of this error model include: ---- Partial errors. If a service needs to return partial errors to the--- client, it may embed the \`Status\` in the normal response to indicate--- the partial errors. - Workflow errors. A typical workflow has multiple--- steps. Each step may have a \`Status\` message for error reporting. ---- Batch operations. If a client uses batch request and batch response, the--- \`Status\` message should be used directly inside batch response, one--- for each error sub-response. - Asynchronous operations. If an API call--- embeds asynchronous operation results in its response, the status of--- those operations should be represented directly using the \`Status\`--- message. - Logging. If some API errors are stored in logs, the message--- \`Status\` could be used directly after any stripping needed for--- security\/privacy reasons.------ /See:/ 'status' smart constructor.-data Status =- Status'- { _sDetails :: !(Maybe [StatusDetailsItem])- , _sCode :: !(Maybe (Textual Int32))- , _sMessage :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Status' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sDetails'------ * 'sCode'------ * 'sMessage'-status- :: Status-status = Status' {_sDetails = Nothing, _sCode = Nothing, _sMessage = Nothing}----- | A list of messages that carry the error details. There is a common set--- of message types for APIs to use.-sDetails :: Lens' Status [StatusDetailsItem]-sDetails- = lens _sDetails (\ s a -> s{_sDetails = a}) .- _Default- . _Coerce---- | The status code, which should be an enum value of google.rpc.Code.-sCode :: Lens' Status (Maybe Int32)-sCode- = lens _sCode (\ s a -> s{_sCode = a}) .- mapping _Coerce---- | A developer-facing error message, which should be in English. Any--- user-facing error message should be localized and sent in the--- google.rpc.Status.details field, or localized by the client.-sMessage :: Lens' Status (Maybe Text)-sMessage = lens _sMessage (\ s a -> s{_sMessage = a})--instance FromJSON Status where- parseJSON- = withObject "Status"- (\ o ->- Status' <$>- (o .:? "details" .!= mempty) <*> (o .:? "code") <*>- (o .:? "message"))--instance ToJSON Status where- toJSON Status'{..}- = object- (catMaybes- [("details" .=) <$> _sDetails,- ("code" .=) <$> _sCode,- ("message" .=) <$> _sMessage])---- | The response message for Locations.ListLocations.------ /See:/ 'listLocationsResponse' smart constructor.-data ListLocationsResponse =- ListLocationsResponse'- { _llrNextPageToken :: !(Maybe Text)- , _llrLocations :: !(Maybe [Location])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListLocationsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'llrNextPageToken'------ * 'llrLocations'-listLocationsResponse- :: ListLocationsResponse-listLocationsResponse =- ListLocationsResponse' {_llrNextPageToken = Nothing, _llrLocations = Nothing}----- | The standard List next-page token.-llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text)-llrNextPageToken- = lens _llrNextPageToken- (\ s a -> s{_llrNextPageToken = a})---- | A list of locations that matches the specified filter in the request.-llrLocations :: Lens' ListLocationsResponse [Location]-llrLocations- = lens _llrLocations (\ s a -> s{_llrLocations = a})- . _Default- . _Coerce--instance FromJSON ListLocationsResponse where- parseJSON- = withObject "ListLocationsResponse"- (\ o ->- ListLocationsResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "locations" .!= mempty))--instance ToJSON ListLocationsResponse where- toJSON ListLocationsResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _llrNextPageToken,- ("locations" .=) <$> _llrLocations])---- | A specification for a time range, this will request transfer runs with--- run_time between start_time (inclusive) and end_time (exclusive).------ /See:/ 'timeRange' smart constructor.-data TimeRange =- TimeRange'- { _trStartTime :: !(Maybe DateTime')- , _trEndTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TimeRange' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'trStartTime'------ * 'trEndTime'-timeRange- :: TimeRange-timeRange = TimeRange' {_trStartTime = Nothing, _trEndTime = Nothing}----- | Start time of the range of transfer runs. For example,--- \`\"2017-05-25T00:00:00+00:00\"\`. The start_time must be strictly less--- than the end_time. Creates transfer runs where run_time is in the range--- betwen start_time (inclusive) and end_time (exlusive).-trStartTime :: Lens' TimeRange (Maybe UTCTime)-trStartTime- = lens _trStartTime (\ s a -> s{_trStartTime = a}) .- mapping _DateTime---- | End time of the range of transfer runs. For example,--- \`\"2017-05-30T00:00:00+00:00\"\`. The end_time must not be in the--- future. Creates transfer runs where run_time is in the range betwen--- start_time (inclusive) and end_time (exlusive).-trEndTime :: Lens' TimeRange (Maybe UTCTime)-trEndTime- = lens _trEndTime (\ s a -> s{_trEndTime = a}) .- mapping _DateTime--instance FromJSON TimeRange where- parseJSON- = withObject "TimeRange"- (\ o ->- TimeRange' <$>- (o .:? "startTime") <*> (o .:? "endTime"))--instance ToJSON TimeRange where- toJSON TimeRange'{..}- = object- (catMaybes- [("startTime" .=) <$> _trStartTime,- ("endTime" .=) <$> _trEndTime])---- | Represents a data transfer run.------ /See:/ 'transferRun' smart constructor.-data TransferRun =- TransferRun'- { _tRunTime :: !(Maybe DateTime')- , _tErrorStatus :: !(Maybe Status)- , _tState :: !(Maybe TransferRunState)- , _tSchedule :: !(Maybe Text)- , _tStartTime :: !(Maybe DateTime')- , _tScheduleTime :: !(Maybe DateTime')- , _tDataSourceId :: !(Maybe Text)- , _tParams :: !(Maybe TransferRunParams)- , _tUserId :: !(Maybe (Textual Int64))- , _tUpdateTime :: !(Maybe DateTime')- , _tName :: !(Maybe Text)- , _tEndTime :: !(Maybe DateTime')- , _tDestinationDataSetId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TransferRun' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tRunTime'------ * 'tErrorStatus'------ * 'tState'------ * 'tSchedule'------ * 'tStartTime'------ * 'tScheduleTime'------ * 'tDataSourceId'------ * 'tParams'------ * 'tUserId'------ * 'tUpdateTime'------ * 'tName'------ * 'tEndTime'------ * 'tDestinationDataSetId'-transferRun- :: TransferRun-transferRun =- TransferRun'- { _tRunTime = Nothing- , _tErrorStatus = Nothing- , _tState = Nothing- , _tSchedule = Nothing- , _tStartTime = Nothing- , _tScheduleTime = Nothing- , _tDataSourceId = Nothing- , _tParams = Nothing- , _tUserId = Nothing- , _tUpdateTime = Nothing- , _tName = Nothing- , _tEndTime = Nothing- , _tDestinationDataSetId = Nothing- }----- | For batch transfer runs, specifies the date and time that data should be--- ingested.-tRunTime :: Lens' TransferRun (Maybe UTCTime)-tRunTime- = lens _tRunTime (\ s a -> s{_tRunTime = a}) .- mapping _DateTime---- | Status of the transfer run.-tErrorStatus :: Lens' TransferRun (Maybe Status)-tErrorStatus- = lens _tErrorStatus (\ s a -> s{_tErrorStatus = a})---- | Data transfer run state. Ignored for input requests.-tState :: Lens' TransferRun (Maybe TransferRunState)-tState = lens _tState (\ s a -> s{_tState = a})---- | Output only. Describes the schedule of this transfer run if it was--- created as part of a regular schedule. For batch transfer runs that are--- scheduled manually, this is empty. NOTE: the system might choose to--- delay the schedule depending on the current load, so \`schedule_time\`--- doesn\'t always match this.-tSchedule :: Lens' TransferRun (Maybe Text)-tSchedule- = lens _tSchedule (\ s a -> s{_tSchedule = a})---- | Output only. Time when transfer run was started. Parameter ignored by--- server for input requests.-tStartTime :: Lens' TransferRun (Maybe UTCTime)-tStartTime- = lens _tStartTime (\ s a -> s{_tStartTime = a}) .- mapping _DateTime---- | Minimum time after which a transfer run can be started.-tScheduleTime :: Lens' TransferRun (Maybe UTCTime)-tScheduleTime- = lens _tScheduleTime- (\ s a -> s{_tScheduleTime = a})- . mapping _DateTime---- | Output only. Data source id.-tDataSourceId :: Lens' TransferRun (Maybe Text)-tDataSourceId- = lens _tDataSourceId- (\ s a -> s{_tDataSourceId = a})---- | Output only. Data transfer specific parameters.-tParams :: Lens' TransferRun (Maybe TransferRunParams)-tParams = lens _tParams (\ s a -> s{_tParams = a})---- | Deprecated. Unique ID of the user on whose behalf transfer is done.-tUserId :: Lens' TransferRun (Maybe Int64)-tUserId- = lens _tUserId (\ s a -> s{_tUserId = a}) .- mapping _Coerce---- | Output only. Last time the data transfer run state was updated.-tUpdateTime :: Lens' TransferRun (Maybe UTCTime)-tUpdateTime- = lens _tUpdateTime (\ s a -> s{_tUpdateTime = a}) .- mapping _DateTime---- | The resource name of the transfer run. Transfer run names have the form--- \`projects\/{project_id}\/locations\/{location}\/transferConfigs\/{config_id}\/runs\/{run_id}\`.--- The name is ignored when creating a transfer run.-tName :: Lens' TransferRun (Maybe Text)-tName = lens _tName (\ s a -> s{_tName = a})---- | Output only. Time when transfer run ended. Parameter ignored by server--- for input requests.-tEndTime :: Lens' TransferRun (Maybe UTCTime)-tEndTime- = lens _tEndTime (\ s a -> s{_tEndTime = a}) .- mapping _DateTime---- | Output only. The BigQuery target dataset id.-tDestinationDataSetId :: Lens' TransferRun (Maybe Text)-tDestinationDataSetId- = lens _tDestinationDataSetId- (\ s a -> s{_tDestinationDataSetId = a})--instance FromJSON TransferRun where- parseJSON- = withObject "TransferRun"- (\ o ->- TransferRun' <$>- (o .:? "runTime") <*> (o .:? "errorStatus") <*>- (o .:? "state")- <*> (o .:? "schedule")- <*> (o .:? "startTime")- <*> (o .:? "scheduleTime")- <*> (o .:? "dataSourceId")- <*> (o .:? "params")- <*> (o .:? "userId")- <*> (o .:? "updateTime")- <*> (o .:? "name")- <*> (o .:? "endTime")- <*> (o .:? "destinationDatasetId"))--instance ToJSON TransferRun where- toJSON TransferRun'{..}- = object- (catMaybes- [("runTime" .=) <$> _tRunTime,- ("errorStatus" .=) <$> _tErrorStatus,- ("state" .=) <$> _tState,- ("schedule" .=) <$> _tSchedule,- ("startTime" .=) <$> _tStartTime,- ("scheduleTime" .=) <$> _tScheduleTime,- ("dataSourceId" .=) <$> _tDataSourceId,- ("params" .=) <$> _tParams,- ("userId" .=) <$> _tUserId,- ("updateTime" .=) <$> _tUpdateTime,- ("name" .=) <$> _tName, ("endTime" .=) <$> _tEndTime,- ("destinationDatasetId" .=) <$>- _tDestinationDataSetId])---- | A request to determine whether the user has valid credentials. This--- method is used to limit the number of OAuth popups in the user--- interface. The user id is inferred from the API call context. If the--- data source has the Google+ authorization type, this method returns--- false, as it cannot be determined whether the credentials are already--- valid merely based on the user id.------ /See:/ 'checkValidCredsRequest' smart constructor.-data CheckValidCredsRequest =- CheckValidCredsRequest'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CheckValidCredsRequest' with the minimum fields required to make a request.----checkValidCredsRequest- :: CheckValidCredsRequest-checkValidCredsRequest = CheckValidCredsRequest'---instance FromJSON CheckValidCredsRequest where- parseJSON- = withObject "CheckValidCredsRequest"- (\ o -> pure CheckValidCredsRequest')--instance ToJSON CheckValidCredsRequest where- toJSON = const emptyObject---- | Data transfer specific parameters.------ /See:/ 'transferConfigParams' smart constructor.-newtype TransferConfigParams =- TransferConfigParams'- { _tcpAddtional :: HashMap Text JSONValue- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TransferConfigParams' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tcpAddtional'-transferConfigParams- :: HashMap Text JSONValue -- ^ 'tcpAddtional'- -> TransferConfigParams-transferConfigParams pTcpAddtional_ =- TransferConfigParams' {_tcpAddtional = _Coerce # pTcpAddtional_}----- | Properties of the object.-tcpAddtional :: Lens' TransferConfigParams (HashMap Text JSONValue)-tcpAddtional- = lens _tcpAddtional (\ s a -> s{_tcpAddtional = a})- . _Coerce--instance FromJSON TransferConfigParams where- parseJSON- = withObject "TransferConfigParams"- (\ o ->- TransferConfigParams' <$> (parseJSONObject o))--instance ToJSON TransferConfigParams where- toJSON = toJSON . _tcpAddtional---- | A request to schedule transfer runs for a time range.------ /See:/ 'scheduleTransferRunsRequest' smart constructor.-data ScheduleTransferRunsRequest =- ScheduleTransferRunsRequest'- { _strrStartTime :: !(Maybe DateTime')- , _strrEndTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ScheduleTransferRunsRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'strrStartTime'------ * 'strrEndTime'-scheduleTransferRunsRequest- :: ScheduleTransferRunsRequest-scheduleTransferRunsRequest =- ScheduleTransferRunsRequest'- {_strrStartTime = Nothing, _strrEndTime = Nothing}----- | Start time of the range of transfer runs. For example,--- \`\"2017-05-25T00:00:00+00:00\"\`.-strrStartTime :: Lens' ScheduleTransferRunsRequest (Maybe UTCTime)-strrStartTime- = lens _strrStartTime- (\ s a -> s{_strrStartTime = a})- . mapping _DateTime---- | End time of the range of transfer runs. For example,--- \`\"2017-05-30T00:00:00+00:00\"\`.-strrEndTime :: Lens' ScheduleTransferRunsRequest (Maybe UTCTime)-strrEndTime- = lens _strrEndTime (\ s a -> s{_strrEndTime = a}) .- mapping _DateTime--instance FromJSON ScheduleTransferRunsRequest where- parseJSON- = withObject "ScheduleTransferRunsRequest"- (\ o ->- ScheduleTransferRunsRequest' <$>- (o .:? "startTime") <*> (o .:? "endTime"))--instance ToJSON ScheduleTransferRunsRequest where- toJSON ScheduleTransferRunsRequest'{..}- = object- (catMaybes- [("startTime" .=) <$> _strrStartTime,- ("endTime" .=) <$> _strrEndTime])---- | A resource that represents Google Cloud Platform location.------ /See:/ 'location' smart constructor.-data Location =- Location'- { _lName :: !(Maybe Text)- , _lMetadata :: !(Maybe LocationMetadata)- , _lDisplayName :: !(Maybe Text)- , _lLabels :: !(Maybe LocationLabels)- , _lLocationId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Location' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lName'------ * 'lMetadata'------ * 'lDisplayName'------ * 'lLabels'------ * 'lLocationId'-location- :: Location-location =- Location'- { _lName = Nothing- , _lMetadata = Nothing- , _lDisplayName = Nothing- , _lLabels = Nothing- , _lLocationId = Nothing- }----- | Resource name for the location, which may vary between implementations.--- For example: \`\"projects\/example-project\/locations\/us-east1\"\`-lName :: Lens' Location (Maybe Text)-lName = lens _lName (\ s a -> s{_lName = a})---- | Service-specific metadata. For example the available capacity at the--- given location.-lMetadata :: Lens' Location (Maybe LocationMetadata)-lMetadata- = lens _lMetadata (\ s a -> s{_lMetadata = a})---- | The friendly name for this location, typically a nearby city name. For--- example, \"Tokyo\".-lDisplayName :: Lens' Location (Maybe Text)-lDisplayName- = lens _lDisplayName (\ s a -> s{_lDisplayName = a})---- | Cross-service attributes for the location. For example--- {\"cloud.googleapis.com\/region\": \"us-east1\"}-lLabels :: Lens' Location (Maybe LocationLabels)-lLabels = lens _lLabels (\ s a -> s{_lLabels = a})---- | The canonical id for this location. For example: \`\"us-east1\"\`.-lLocationId :: Lens' Location (Maybe Text)-lLocationId- = lens _lLocationId (\ s a -> s{_lLocationId = a})--instance FromJSON Location where- parseJSON- = withObject "Location"- (\ o ->- Location' <$>- (o .:? "name") <*> (o .:? "metadata") <*>- (o .:? "displayName")- <*> (o .:? "labels")- <*> (o .:? "locationId"))--instance ToJSON Location where- toJSON Location'{..}- = object- (catMaybes- [("name" .=) <$> _lName,- ("metadata" .=) <$> _lMetadata,- ("displayName" .=) <$> _lDisplayName,- ("labels" .=) <$> _lLabels,- ("locationId" .=) <$> _lLocationId])---- | A generic empty message that you can re-use to avoid defining duplicated--- empty messages in your APIs. A typical example is to use it as the--- request or the response type of an API method. For instance: service Foo--- { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The--- JSON representation for \`Empty\` is empty JSON object \`{}\`.------ /See:/ 'empty' smart constructor.-data Empty =- Empty'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Empty' with the minimum fields required to make a request.----empty- :: Empty-empty = Empty'---instance FromJSON Empty where- parseJSON = withObject "Empty" (\ o -> pure Empty')--instance ToJSON Empty where- toJSON = const emptyObject---- | Options customizing the data transfer schedule.------ /See:/ 'scheduleOptions' smart constructor.-data ScheduleOptions =- ScheduleOptions'- { _soStartTime :: !(Maybe DateTime')- , _soDisableAutoScheduling :: !(Maybe Bool)- , _soEndTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ScheduleOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'soStartTime'------ * 'soDisableAutoScheduling'------ * 'soEndTime'-scheduleOptions- :: ScheduleOptions-scheduleOptions =- ScheduleOptions'- { _soStartTime = Nothing- , _soDisableAutoScheduling = Nothing- , _soEndTime = Nothing- }----- | Specifies time to start scheduling transfer runs. The first run will be--- scheduled at or after the start time according to a recurrence pattern--- defined in the schedule string. The start time can be changed at any--- moment. The time when a data transfer can be trigerred manually is not--- limited by this option.-soStartTime :: Lens' ScheduleOptions (Maybe UTCTime)-soStartTime- = lens _soStartTime (\ s a -> s{_soStartTime = a}) .- mapping _DateTime---- | If true, automatic scheduling of data transfer runs for this--- configuration will be disabled. The runs can be started on ad-hoc basis--- using StartManualTransferRuns API. When automatic scheduling is--- disabled, the TransferConfig.schedule field will be ignored.-soDisableAutoScheduling :: Lens' ScheduleOptions (Maybe Bool)-soDisableAutoScheduling- = lens _soDisableAutoScheduling- (\ s a -> s{_soDisableAutoScheduling = a})---- | Defines time to stop scheduling transfer runs. A transfer run cannot be--- scheduled at or after the end time. The end time can be changed at any--- moment. The time when a data transfer can be trigerred manually is not--- limited by this option.-soEndTime :: Lens' ScheduleOptions (Maybe UTCTime)-soEndTime- = lens _soEndTime (\ s a -> s{_soEndTime = a}) .- mapping _DateTime--instance FromJSON ScheduleOptions where- parseJSON- = withObject "ScheduleOptions"- (\ o ->- ScheduleOptions' <$>- (o .:? "startTime") <*>- (o .:? "disableAutoScheduling")- <*> (o .:? "endTime"))--instance ToJSON ScheduleOptions where- toJSON ScheduleOptions'{..}- = object- (catMaybes- [("startTime" .=) <$> _soStartTime,- ("disableAutoScheduling" .=) <$>- _soDisableAutoScheduling,- ("endTime" .=) <$> _soEndTime])---- | The returned list transfer run messages.------ /See:/ 'listTransferLogsResponse' smart constructor.-data ListTransferLogsResponse =- ListTransferLogsResponse'- { _ltlrNextPageToken :: !(Maybe Text)- , _ltlrTransferMessages :: !(Maybe [TransferMessage])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTransferLogsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltlrNextPageToken'------ * 'ltlrTransferMessages'-listTransferLogsResponse- :: ListTransferLogsResponse-listTransferLogsResponse =- ListTransferLogsResponse'- {_ltlrNextPageToken = Nothing, _ltlrTransferMessages = Nothing}----- | Output only. The next-pagination token. For multiple-page list results,--- this token can be used as the \`GetTransferRunLogRequest.page_token\` to--- request the next page of list results.-ltlrNextPageToken :: Lens' ListTransferLogsResponse (Maybe Text)-ltlrNextPageToken- = lens _ltlrNextPageToken- (\ s a -> s{_ltlrNextPageToken = a})---- | Output only. The stored pipeline transfer messages.-ltlrTransferMessages :: Lens' ListTransferLogsResponse [TransferMessage]-ltlrTransferMessages- = lens _ltlrTransferMessages- (\ s a -> s{_ltlrTransferMessages = a})- . _Default- . _Coerce--instance FromJSON ListTransferLogsResponse where- parseJSON- = withObject "ListTransferLogsResponse"- (\ o ->- ListTransferLogsResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "transferMessages" .!= mempty))--instance ToJSON ListTransferLogsResponse where- toJSON ListTransferLogsResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _ltlrNextPageToken,- ("transferMessages" .=) <$> _ltlrTransferMessages])---- | A response indicating whether the credentials exist and are valid.------ /See:/ 'checkValidCredsResponse' smart constructor.-newtype CheckValidCredsResponse =- CheckValidCredsResponse'- { _cvcrHasValidCreds :: Maybe Bool- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CheckValidCredsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cvcrHasValidCreds'-checkValidCredsResponse- :: CheckValidCredsResponse-checkValidCredsResponse =- CheckValidCredsResponse' {_cvcrHasValidCreds = Nothing}----- | If set to \`true\`, the credentials exist and are valid.-cvcrHasValidCreds :: Lens' CheckValidCredsResponse (Maybe Bool)-cvcrHasValidCreds- = lens _cvcrHasValidCreds- (\ s a -> s{_cvcrHasValidCreds = a})--instance FromJSON CheckValidCredsResponse where- parseJSON- = withObject "CheckValidCredsResponse"- (\ o ->- CheckValidCredsResponse' <$> (o .:? "hasValidCreds"))--instance ToJSON CheckValidCredsResponse where- toJSON CheckValidCredsResponse'{..}- = object- (catMaybes- [("hasValidCreds" .=) <$> _cvcrHasValidCreds])------- /See:/ 'statusDetailsItem' smart constructor.-newtype StatusDetailsItem =- StatusDetailsItem'- { _sdiAddtional :: HashMap Text JSONValue- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'StatusDetailsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdiAddtional'-statusDetailsItem- :: HashMap Text JSONValue -- ^ 'sdiAddtional'- -> StatusDetailsItem-statusDetailsItem pSdiAddtional_ =- StatusDetailsItem' {_sdiAddtional = _Coerce # pSdiAddtional_}----- | Properties of the object. Contains field \'type with type URL.-sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)-sdiAddtional- = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})- . _Coerce--instance FromJSON StatusDetailsItem where- parseJSON- = withObject "StatusDetailsItem"- (\ o -> StatusDetailsItem' <$> (parseJSONObject o))--instance ToJSON StatusDetailsItem where- toJSON = toJSON . _sdiAddtional---- | Output only. Data transfer specific parameters.------ /See:/ 'transferRunParams' smart constructor.-newtype TransferRunParams =- TransferRunParams'- { _trpAddtional :: HashMap Text JSONValue- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TransferRunParams' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'trpAddtional'-transferRunParams- :: HashMap Text JSONValue -- ^ 'trpAddtional'- -> TransferRunParams-transferRunParams pTrpAddtional_ =- TransferRunParams' {_trpAddtional = _Coerce # pTrpAddtional_}----- | Properties of the object.-trpAddtional :: Lens' TransferRunParams (HashMap Text JSONValue)-trpAddtional- = lens _trpAddtional (\ s a -> s{_trpAddtional = a})- . _Coerce--instance FromJSON TransferRunParams where- parseJSON- = withObject "TransferRunParams"- (\ o -> TransferRunParams' <$> (parseJSONObject o))--instance ToJSON TransferRunParams where- toJSON = toJSON . _trpAddtional---- | Represents a data source parameter with validation rules, so that--- parameters can be rendered in the UI. These parameters are given to us--- by supported data sources, and include all needed information for--- rendering and validation. Thus, whoever uses this api can decide to--- generate either generic ui, or custom data source specific forms.------ /See:/ 'dataSourceParameter' smart constructor.-data DataSourceParameter =- DataSourceParameter'- { _dspMaxValue :: !(Maybe (Textual Double))- , _dspParamId :: !(Maybe Text)- , _dspImmutable :: !(Maybe Bool)- , _dspRecurse :: !(Maybe Bool)- , _dspValidationDescription :: !(Maybe Text)- , _dspRequired :: !(Maybe Bool)- , _dspDisplayName :: !(Maybe Text)- , _dspType :: !(Maybe DataSourceParameterType)- , _dspAllowedValues :: !(Maybe [Text])- , _dspRepeated :: !(Maybe Bool)- , _dspDescription :: !(Maybe Text)- , _dspValidationRegex :: !(Maybe Text)- , _dspMinValue :: !(Maybe (Textual Double))- , _dspValidationHelpURL :: !(Maybe Text)- , _dspFields :: !(Maybe [DataSourceParameter])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSourceParameter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dspMaxValue'------ * 'dspParamId'------ * 'dspImmutable'------ * 'dspRecurse'------ * 'dspValidationDescription'------ * 'dspRequired'------ * 'dspDisplayName'------ * 'dspType'------ * 'dspAllowedValues'------ * 'dspRepeated'------ * 'dspDescription'------ * 'dspValidationRegex'------ * 'dspMinValue'------ * 'dspValidationHelpURL'------ * 'dspFields'-dataSourceParameter- :: DataSourceParameter-dataSourceParameter =- DataSourceParameter'- { _dspMaxValue = Nothing- , _dspParamId = Nothing- , _dspImmutable = Nothing- , _dspRecurse = Nothing- , _dspValidationDescription = Nothing- , _dspRequired = Nothing- , _dspDisplayName = Nothing- , _dspType = Nothing- , _dspAllowedValues = Nothing- , _dspRepeated = Nothing- , _dspDescription = Nothing- , _dspValidationRegex = Nothing- , _dspMinValue = Nothing- , _dspValidationHelpURL = Nothing- , _dspFields = Nothing- }----- | For integer and double values specifies maxminum allowed value.-dspMaxValue :: Lens' DataSourceParameter (Maybe Double)-dspMaxValue- = lens _dspMaxValue (\ s a -> s{_dspMaxValue = a}) .- mapping _Coerce---- | Parameter identifier.-dspParamId :: Lens' DataSourceParameter (Maybe Text)-dspParamId- = lens _dspParamId (\ s a -> s{_dspParamId = a})---- | Cannot be changed after initial creation.-dspImmutable :: Lens' DataSourceParameter (Maybe Bool)-dspImmutable- = lens _dspImmutable (\ s a -> s{_dspImmutable = a})---- | Deprecated. This field has no effect.-dspRecurse :: Lens' DataSourceParameter (Maybe Bool)-dspRecurse- = lens _dspRecurse (\ s a -> s{_dspRecurse = a})---- | Description of the requirements for this field, in case the user input--- does not fulfill the regex pattern or min\/max values.-dspValidationDescription :: Lens' DataSourceParameter (Maybe Text)-dspValidationDescription- = lens _dspValidationDescription- (\ s a -> s{_dspValidationDescription = a})---- | Is parameter required.-dspRequired :: Lens' DataSourceParameter (Maybe Bool)-dspRequired- = lens _dspRequired (\ s a -> s{_dspRequired = a})---- | Parameter display name in the user interface.-dspDisplayName :: Lens' DataSourceParameter (Maybe Text)-dspDisplayName- = lens _dspDisplayName- (\ s a -> s{_dspDisplayName = a})---- | Parameter type.-dspType :: Lens' DataSourceParameter (Maybe DataSourceParameterType)-dspType = lens _dspType (\ s a -> s{_dspType = a})---- | All possible values for the parameter.-dspAllowedValues :: Lens' DataSourceParameter [Text]-dspAllowedValues- = lens _dspAllowedValues- (\ s a -> s{_dspAllowedValues = a})- . _Default- . _Coerce---- | Deprecated. This field has no effect.-dspRepeated :: Lens' DataSourceParameter (Maybe Bool)-dspRepeated- = lens _dspRepeated (\ s a -> s{_dspRepeated = a})---- | Parameter description.-dspDescription :: Lens' DataSourceParameter (Maybe Text)-dspDescription- = lens _dspDescription- (\ s a -> s{_dspDescription = a})---- | Regular expression which can be used for parameter validation.-dspValidationRegex :: Lens' DataSourceParameter (Maybe Text)-dspValidationRegex- = lens _dspValidationRegex- (\ s a -> s{_dspValidationRegex = a})---- | For integer and double values specifies minimum allowed value.-dspMinValue :: Lens' DataSourceParameter (Maybe Double)-dspMinValue- = lens _dspMinValue (\ s a -> s{_dspMinValue = a}) .- mapping _Coerce---- | URL to a help document to further explain the naming requirements.-dspValidationHelpURL :: Lens' DataSourceParameter (Maybe Text)-dspValidationHelpURL- = lens _dspValidationHelpURL- (\ s a -> s{_dspValidationHelpURL = a})---- | Deprecated. This field has no effect.-dspFields :: Lens' DataSourceParameter [DataSourceParameter]-dspFields- = lens _dspFields (\ s a -> s{_dspFields = a}) .- _Default- . _Coerce--instance FromJSON DataSourceParameter where- parseJSON- = withObject "DataSourceParameter"- (\ o ->- DataSourceParameter' <$>- (o .:? "maxValue") <*> (o .:? "paramId") <*>- (o .:? "immutable")- <*> (o .:? "recurse")- <*> (o .:? "validationDescription")- <*> (o .:? "required")- <*> (o .:? "displayName")- <*> (o .:? "type")- <*> (o .:? "allowedValues" .!= mempty)- <*> (o .:? "repeated")- <*> (o .:? "description")- <*> (o .:? "validationRegex")- <*> (o .:? "minValue")- <*> (o .:? "validationHelpUrl")- <*> (o .:? "fields" .!= mempty))--instance ToJSON DataSourceParameter where- toJSON DataSourceParameter'{..}- = object- (catMaybes- [("maxValue" .=) <$> _dspMaxValue,- ("paramId" .=) <$> _dspParamId,- ("immutable" .=) <$> _dspImmutable,- ("recurse" .=) <$> _dspRecurse,- ("validationDescription" .=) <$>- _dspValidationDescription,- ("required" .=) <$> _dspRequired,- ("displayName" .=) <$> _dspDisplayName,- ("type" .=) <$> _dspType,- ("allowedValues" .=) <$> _dspAllowedValues,- ("repeated" .=) <$> _dspRepeated,- ("description" .=) <$> _dspDescription,- ("validationRegex" .=) <$> _dspValidationRegex,- ("minValue" .=) <$> _dspMinValue,- ("validationHelpUrl" .=) <$> _dspValidationHelpURL,- ("fields" .=) <$> _dspFields])---- | A response to schedule transfer runs for a time range.------ /See:/ 'scheduleTransferRunsResponse' smart constructor.-newtype ScheduleTransferRunsResponse =- ScheduleTransferRunsResponse'- { _strrRuns :: Maybe [TransferRun]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ScheduleTransferRunsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'strrRuns'-scheduleTransferRunsResponse- :: ScheduleTransferRunsResponse-scheduleTransferRunsResponse =- ScheduleTransferRunsResponse' {_strrRuns = Nothing}----- | The transfer runs that were scheduled.-strrRuns :: Lens' ScheduleTransferRunsResponse [TransferRun]-strrRuns- = lens _strrRuns (\ s a -> s{_strrRuns = a}) .- _Default- . _Coerce--instance FromJSON ScheduleTransferRunsResponse where- parseJSON- = withObject "ScheduleTransferRunsResponse"- (\ o ->- ScheduleTransferRunsResponse' <$>- (o .:? "runs" .!= mempty))--instance ToJSON ScheduleTransferRunsResponse where- toJSON ScheduleTransferRunsResponse'{..}- = object (catMaybes [("runs" .=) <$> _strrRuns])---- | Returns list of supported data sources and their metadata.------ /See:/ 'listDataSourcesResponse' smart constructor.-data ListDataSourcesResponse =- ListDataSourcesResponse'- { _ldsrNextPageToken :: !(Maybe Text)- , _ldsrDataSources :: !(Maybe [DataSource])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListDataSourcesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ldsrNextPageToken'------ * 'ldsrDataSources'-listDataSourcesResponse- :: ListDataSourcesResponse-listDataSourcesResponse =- ListDataSourcesResponse'- {_ldsrNextPageToken = Nothing, _ldsrDataSources = Nothing}----- | Output only. The next-pagination token. For multiple-page list results,--- this token can be used as the \`ListDataSourcesRequest.page_token\` to--- request the next page of list results.-ldsrNextPageToken :: Lens' ListDataSourcesResponse (Maybe Text)-ldsrNextPageToken- = lens _ldsrNextPageToken- (\ s a -> s{_ldsrNextPageToken = a})---- | List of supported data sources and their transfer settings.-ldsrDataSources :: Lens' ListDataSourcesResponse [DataSource]-ldsrDataSources- = lens _ldsrDataSources- (\ s a -> s{_ldsrDataSources = a})- . _Default- . _Coerce--instance FromJSON ListDataSourcesResponse where- parseJSON- = withObject "ListDataSourcesResponse"- (\ o ->- ListDataSourcesResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "dataSources" .!= mempty))--instance ToJSON ListDataSourcesResponse where- toJSON ListDataSourcesResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _ldsrNextPageToken,- ("dataSources" .=) <$> _ldsrDataSources])---- | A request to start manual transfer runs.------ /See:/ 'startManualTransferRunsRequest' smart constructor.-data StartManualTransferRunsRequest =- StartManualTransferRunsRequest'- { _smtrrRequestedRunTime :: !(Maybe DateTime')- , _smtrrRequestedTimeRange :: !(Maybe TimeRange)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'StartManualTransferRunsRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smtrrRequestedRunTime'------ * 'smtrrRequestedTimeRange'-startManualTransferRunsRequest- :: StartManualTransferRunsRequest-startManualTransferRunsRequest =- StartManualTransferRunsRequest'- {_smtrrRequestedRunTime = Nothing, _smtrrRequestedTimeRange = Nothing}----- | Specific run_time for a transfer run to be started. The--- requested_run_time must not be in the future.-smtrrRequestedRunTime :: Lens' StartManualTransferRunsRequest (Maybe UTCTime)-smtrrRequestedRunTime- = lens _smtrrRequestedRunTime- (\ s a -> s{_smtrrRequestedRunTime = a})- . mapping _DateTime---- | Time range for the transfer runs that should be started.-smtrrRequestedTimeRange :: Lens' StartManualTransferRunsRequest (Maybe TimeRange)-smtrrRequestedTimeRange- = lens _smtrrRequestedTimeRange- (\ s a -> s{_smtrrRequestedTimeRange = a})--instance FromJSON StartManualTransferRunsRequest- where- parseJSON- = withObject "StartManualTransferRunsRequest"- (\ o ->- StartManualTransferRunsRequest' <$>- (o .:? "requestedRunTime") <*>- (o .:? "requestedTimeRange"))--instance ToJSON StartManualTransferRunsRequest where- toJSON StartManualTransferRunsRequest'{..}- = object- (catMaybes- [("requestedRunTime" .=) <$> _smtrrRequestedRunTime,- ("requestedTimeRange" .=) <$>- _smtrrRequestedTimeRange])---- | Represents data source metadata. Metadata is sufficient to render UI and--- request proper OAuth tokens.------ /See:/ 'dataSource' smart constructor.-data DataSource =- DataSource'- { _dsClientId :: !(Maybe Text)- , _dsMinimumScheduleInterval :: !(Maybe GDuration)- , _dsSupportsCustomSchedule :: !(Maybe Bool)- , _dsUpdateDeadlineSeconds :: !(Maybe (Textual Int32))- , _dsManualRunsDisabled :: !(Maybe Bool)- , _dsDataSourceId :: !(Maybe Text)- , _dsTransferType :: !(Maybe DataSourceTransferType)- , _dsScopes :: !(Maybe [Text])- , _dsSupportsMultipleTransfers :: !(Maybe Bool)- , _dsName :: !(Maybe Text)- , _dsParameters :: !(Maybe [DataSourceParameter])- , _dsHelpURL :: !(Maybe Text)- , _dsDefaultDataRefreshWindowDays :: !(Maybe (Textual Int32))- , _dsDisplayName :: !(Maybe Text)- , _dsDataRefreshType :: !(Maybe DataSourceDataRefreshType)- , _dsAuthorizationType :: !(Maybe DataSourceAuthorizationType)- , _dsDefaultSchedule :: !(Maybe Text)- , _dsDescription :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsClientId'------ * 'dsMinimumScheduleInterval'------ * 'dsSupportsCustomSchedule'------ * 'dsUpdateDeadlineSeconds'------ * 'dsManualRunsDisabled'------ * 'dsDataSourceId'------ * 'dsTransferType'------ * 'dsScopes'------ * 'dsSupportsMultipleTransfers'------ * 'dsName'------ * 'dsParameters'------ * 'dsHelpURL'------ * 'dsDefaultDataRefreshWindowDays'------ * 'dsDisplayName'------ * 'dsDataRefreshType'------ * 'dsAuthorizationType'------ * 'dsDefaultSchedule'------ * 'dsDescription'-dataSource- :: DataSource-dataSource =- DataSource'- { _dsClientId = Nothing- , _dsMinimumScheduleInterval = Nothing- , _dsSupportsCustomSchedule = Nothing- , _dsUpdateDeadlineSeconds = Nothing- , _dsManualRunsDisabled = Nothing- , _dsDataSourceId = Nothing- , _dsTransferType = Nothing- , _dsScopes = Nothing- , _dsSupportsMultipleTransfers = Nothing- , _dsName = Nothing- , _dsParameters = Nothing- , _dsHelpURL = Nothing- , _dsDefaultDataRefreshWindowDays = Nothing- , _dsDisplayName = Nothing- , _dsDataRefreshType = Nothing- , _dsAuthorizationType = Nothing- , _dsDefaultSchedule = Nothing- , _dsDescription = Nothing- }----- | Data source client id which should be used to receive refresh token.-dsClientId :: Lens' DataSource (Maybe Text)-dsClientId- = lens _dsClientId (\ s a -> s{_dsClientId = a})---- | The minimum interval for scheduler to schedule runs.-dsMinimumScheduleInterval :: Lens' DataSource (Maybe Scientific)-dsMinimumScheduleInterval- = lens _dsMinimumScheduleInterval- (\ s a -> s{_dsMinimumScheduleInterval = a})- . mapping _GDuration---- | Specifies whether the data source supports a user defined schedule, or--- operates on the default schedule. When set to \`true\`, user can--- override default schedule.-dsSupportsCustomSchedule :: Lens' DataSource (Maybe Bool)-dsSupportsCustomSchedule- = lens _dsSupportsCustomSchedule- (\ s a -> s{_dsSupportsCustomSchedule = a})---- | The number of seconds to wait for an update from the data source before--- the Data Transfer Service marks the transfer as FAILED.-dsUpdateDeadlineSeconds :: Lens' DataSource (Maybe Int32)-dsUpdateDeadlineSeconds- = lens _dsUpdateDeadlineSeconds- (\ s a -> s{_dsUpdateDeadlineSeconds = a})- . mapping _Coerce---- | Disables backfilling and manual run scheduling for the data source.-dsManualRunsDisabled :: Lens' DataSource (Maybe Bool)-dsManualRunsDisabled- = lens _dsManualRunsDisabled- (\ s a -> s{_dsManualRunsDisabled = a})---- | Data source id.-dsDataSourceId :: Lens' DataSource (Maybe Text)-dsDataSourceId- = lens _dsDataSourceId- (\ s a -> s{_dsDataSourceId = a})---- | Deprecated. This field has no effect.-dsTransferType :: Lens' DataSource (Maybe DataSourceTransferType)-dsTransferType- = lens _dsTransferType- (\ s a -> s{_dsTransferType = a})---- | Api auth scopes for which refresh token needs to be obtained. These are--- scopes needed by a data source to prepare data and ingest them into--- BigQuery, e.g., https:\/\/www.googleapis.com\/auth\/bigquery-dsScopes :: Lens' DataSource [Text]-dsScopes- = lens _dsScopes (\ s a -> s{_dsScopes = a}) .- _Default- . _Coerce---- | Deprecated. This field has no effect.-dsSupportsMultipleTransfers :: Lens' DataSource (Maybe Bool)-dsSupportsMultipleTransfers- = lens _dsSupportsMultipleTransfers- (\ s a -> s{_dsSupportsMultipleTransfers = a})---- | Output only. Data source resource name.-dsName :: Lens' DataSource (Maybe Text)-dsName = lens _dsName (\ s a -> s{_dsName = a})---- | Data source parameters.-dsParameters :: Lens' DataSource [DataSourceParameter]-dsParameters- = lens _dsParameters (\ s a -> s{_dsParameters = a})- . _Default- . _Coerce---- | Url for the help document for this data source.-dsHelpURL :: Lens' DataSource (Maybe Text)-dsHelpURL- = lens _dsHelpURL (\ s a -> s{_dsHelpURL = a})---- | Default data refresh window on days. Only meaningful when--- \`data_refresh_type\` = \`SLIDING_WINDOW\`.-dsDefaultDataRefreshWindowDays :: Lens' DataSource (Maybe Int32)-dsDefaultDataRefreshWindowDays- = lens _dsDefaultDataRefreshWindowDays- (\ s a -> s{_dsDefaultDataRefreshWindowDays = a})- . mapping _Coerce---- | User friendly data source name.-dsDisplayName :: Lens' DataSource (Maybe Text)-dsDisplayName- = lens _dsDisplayName- (\ s a -> s{_dsDisplayName = a})---- | Specifies whether the data source supports automatic data refresh for--- the past few days, and how it\'s supported. For some data sources, data--- might not be complete until a few days later, so it\'s useful to refresh--- data automatically.-dsDataRefreshType :: Lens' DataSource (Maybe DataSourceDataRefreshType)-dsDataRefreshType- = lens _dsDataRefreshType- (\ s a -> s{_dsDataRefreshType = a})---- | Indicates the type of authorization.-dsAuthorizationType :: Lens' DataSource (Maybe DataSourceAuthorizationType)-dsAuthorizationType- = lens _dsAuthorizationType- (\ s a -> s{_dsAuthorizationType = a})---- | Default data transfer schedule. Examples of valid schedules include:--- \`1st,3rd monday of month 15:30\`, \`every wed,fri of jan,jun 13:15\`,--- and \`first sunday of quarter 00:00\`.-dsDefaultSchedule :: Lens' DataSource (Maybe Text)-dsDefaultSchedule- = lens _dsDefaultSchedule- (\ s a -> s{_dsDefaultSchedule = a})---- | User friendly data source description string.-dsDescription :: Lens' DataSource (Maybe Text)-dsDescription- = lens _dsDescription- (\ s a -> s{_dsDescription = a})--instance FromJSON DataSource where- parseJSON- = withObject "DataSource"- (\ o ->- DataSource' <$>- (o .:? "clientId") <*>- (o .:? "minimumScheduleInterval")- <*> (o .:? "supportsCustomSchedule")- <*> (o .:? "updateDeadlineSeconds")- <*> (o .:? "manualRunsDisabled")- <*> (o .:? "dataSourceId")- <*> (o .:? "transferType")- <*> (o .:? "scopes" .!= mempty)- <*> (o .:? "supportsMultipleTransfers")- <*> (o .:? "name")- <*> (o .:? "parameters" .!= mempty)- <*> (o .:? "helpUrl")- <*> (o .:? "defaultDataRefreshWindowDays")- <*> (o .:? "displayName")- <*> (o .:? "dataRefreshType")- <*> (o .:? "authorizationType")- <*> (o .:? "defaultSchedule")- <*> (o .:? "description"))--instance ToJSON DataSource where- toJSON DataSource'{..}- = object- (catMaybes- [("clientId" .=) <$> _dsClientId,- ("minimumScheduleInterval" .=) <$>- _dsMinimumScheduleInterval,- ("supportsCustomSchedule" .=) <$>- _dsSupportsCustomSchedule,- ("updateDeadlineSeconds" .=) <$>- _dsUpdateDeadlineSeconds,- ("manualRunsDisabled" .=) <$> _dsManualRunsDisabled,- ("dataSourceId" .=) <$> _dsDataSourceId,- ("transferType" .=) <$> _dsTransferType,- ("scopes" .=) <$> _dsScopes,- ("supportsMultipleTransfers" .=) <$>- _dsSupportsMultipleTransfers,- ("name" .=) <$> _dsName,- ("parameters" .=) <$> _dsParameters,- ("helpUrl" .=) <$> _dsHelpURL,- ("defaultDataRefreshWindowDays" .=) <$>- _dsDefaultDataRefreshWindowDays,- ("displayName" .=) <$> _dsDisplayName,- ("dataRefreshType" .=) <$> _dsDataRefreshType,- ("authorizationType" .=) <$> _dsAuthorizationType,- ("defaultSchedule" .=) <$> _dsDefaultSchedule,- ("description" .=) <$> _dsDescription])---- | The returned list of pipelines in the project.------ /See:/ 'listTransferRunsResponse' smart constructor.-data ListTransferRunsResponse =- ListTransferRunsResponse'- { _ltrrNextPageToken :: !(Maybe Text)- , _ltrrTransferRuns :: !(Maybe [TransferRun])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTransferRunsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltrrNextPageToken'------ * 'ltrrTransferRuns'-listTransferRunsResponse- :: ListTransferRunsResponse-listTransferRunsResponse =- ListTransferRunsResponse'- {_ltrrNextPageToken = Nothing, _ltrrTransferRuns = Nothing}----- | Output only. The next-pagination token. For multiple-page list results,--- this token can be used as the \`ListTransferRunsRequest.page_token\` to--- request the next page of list results.-ltrrNextPageToken :: Lens' ListTransferRunsResponse (Maybe Text)-ltrrNextPageToken- = lens _ltrrNextPageToken- (\ s a -> s{_ltrrNextPageToken = a})---- | Output only. The stored pipeline transfer runs.-ltrrTransferRuns :: Lens' ListTransferRunsResponse [TransferRun]-ltrrTransferRuns- = lens _ltrrTransferRuns- (\ s a -> s{_ltrrTransferRuns = a})- . _Default- . _Coerce--instance FromJSON ListTransferRunsResponse where- parseJSON- = withObject "ListTransferRunsResponse"- (\ o ->- ListTransferRunsResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "transferRuns" .!= mempty))--instance ToJSON ListTransferRunsResponse where- toJSON ListTransferRunsResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _ltrrNextPageToken,- ("transferRuns" .=) <$> _ltrrTransferRuns])---- | Represents a user facing message for a particular data transfer run.------ /See:/ 'transferMessage' smart constructor.-data TransferMessage =- TransferMessage'- { _tmSeverity :: !(Maybe TransferMessageSeverity)- , _tmMessageTime :: !(Maybe DateTime')- , _tmMessageText :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TransferMessage' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tmSeverity'------ * 'tmMessageTime'------ * 'tmMessageText'-transferMessage- :: TransferMessage-transferMessage =- TransferMessage'- {_tmSeverity = Nothing, _tmMessageTime = Nothing, _tmMessageText = Nothing}----- | Message severity.-tmSeverity :: Lens' TransferMessage (Maybe TransferMessageSeverity)-tmSeverity- = lens _tmSeverity (\ s a -> s{_tmSeverity = a})---- | Time when message was logged.-tmMessageTime :: Lens' TransferMessage (Maybe UTCTime)-tmMessageTime- = lens _tmMessageTime- (\ s a -> s{_tmMessageTime = a})- . mapping _DateTime---- | Message text.-tmMessageText :: Lens' TransferMessage (Maybe Text)-tmMessageText- = lens _tmMessageText- (\ s a -> s{_tmMessageText = a})--instance FromJSON TransferMessage where- parseJSON- = withObject "TransferMessage"- (\ o ->- TransferMessage' <$>- (o .:? "severity") <*> (o .:? "messageTime") <*>- (o .:? "messageText"))--instance ToJSON TransferMessage where- toJSON TransferMessage'{..}- = object- (catMaybes- [("severity" .=) <$> _tmSeverity,- ("messageTime" .=) <$> _tmMessageTime,- ("messageText" .=) <$> _tmMessageText])---- | Cross-service attributes for the location. For example--- {\"cloud.googleapis.com\/region\": \"us-east1\"}------ /See:/ 'locationLabels' smart constructor.-newtype LocationLabels =- LocationLabels'- { _llAddtional :: HashMap Text Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'LocationLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'llAddtional'-locationLabels- :: HashMap Text Text -- ^ 'llAddtional'- -> LocationLabels-locationLabels pLlAddtional_ =- LocationLabels' {_llAddtional = _Coerce # pLlAddtional_}---llAddtional :: Lens' LocationLabels (HashMap Text Text)-llAddtional- = lens _llAddtional (\ s a -> s{_llAddtional = a}) .- _Coerce--instance FromJSON LocationLabels where- parseJSON- = withObject "LocationLabels"- (\ o -> LocationLabels' <$> (parseJSONObject o))--instance ToJSON LocationLabels where- toJSON = toJSON . _llAddtional---- | A response to start manual transfer runs.------ /See:/ 'startManualTransferRunsResponse' smart constructor.-newtype StartManualTransferRunsResponse =- StartManualTransferRunsResponse'- { _smtrrRuns :: Maybe [TransferRun]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'StartManualTransferRunsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smtrrRuns'-startManualTransferRunsResponse- :: StartManualTransferRunsResponse-startManualTransferRunsResponse =- StartManualTransferRunsResponse' {_smtrrRuns = Nothing}----- | The transfer runs that were created.-smtrrRuns :: Lens' StartManualTransferRunsResponse [TransferRun]-smtrrRuns- = lens _smtrrRuns (\ s a -> s{_smtrrRuns = a}) .- _Default- . _Coerce--instance FromJSON StartManualTransferRunsResponse- where- parseJSON- = withObject "StartManualTransferRunsResponse"- (\ o ->- StartManualTransferRunsResponse' <$>- (o .:? "runs" .!= mempty))--instance ToJSON StartManualTransferRunsResponse where- toJSON StartManualTransferRunsResponse'{..}- = object (catMaybes [("runs" .=) <$> _smtrrRuns])---- | Service-specific metadata. For example the available capacity at the--- given location.------ /See:/ 'locationMetadata' smart constructor.-newtype LocationMetadata =- LocationMetadata'- { _lmAddtional :: HashMap Text JSONValue- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'LocationMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lmAddtional'-locationMetadata- :: HashMap Text JSONValue -- ^ 'lmAddtional'- -> LocationMetadata-locationMetadata pLmAddtional_ =- LocationMetadata' {_lmAddtional = _Coerce # pLmAddtional_}----- | Properties of the object. Contains field \'type with type URL.-lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue)-lmAddtional- = lens _lmAddtional (\ s a -> s{_lmAddtional = a}) .- _Coerce--instance FromJSON LocationMetadata where- parseJSON- = withObject "LocationMetadata"- (\ o -> LocationMetadata' <$> (parseJSONObject o))--instance ToJSON LocationMetadata where- toJSON = toJSON . _lmAddtional---- | The returned list of pipelines in the project.------ /See:/ 'listTransferConfigsResponse' smart constructor.-data ListTransferConfigsResponse =- ListTransferConfigsResponse'- { _ltcrNextPageToken :: !(Maybe Text)- , _ltcrTransferConfigs :: !(Maybe [TransferConfig])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTransferConfigsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltcrNextPageToken'------ * 'ltcrTransferConfigs'-listTransferConfigsResponse- :: ListTransferConfigsResponse-listTransferConfigsResponse =- ListTransferConfigsResponse'- {_ltcrNextPageToken = Nothing, _ltcrTransferConfigs = Nothing}----- | Output only. The next-pagination token. For multiple-page list results,--- this token can be used as the \`ListTransferConfigsRequest.page_token\`--- to request the next page of list results.-ltcrNextPageToken :: Lens' ListTransferConfigsResponse (Maybe Text)-ltcrNextPageToken- = lens _ltcrNextPageToken- (\ s a -> s{_ltcrNextPageToken = a})---- | Output only. The stored pipeline transfer configurations.-ltcrTransferConfigs :: Lens' ListTransferConfigsResponse [TransferConfig]-ltcrTransferConfigs- = lens _ltcrTransferConfigs- (\ s a -> s{_ltcrTransferConfigs = a})- . _Default- . _Coerce--instance FromJSON ListTransferConfigsResponse where- parseJSON- = withObject "ListTransferConfigsResponse"- (\ o ->- ListTransferConfigsResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "transferConfigs" .!= mempty))--instance ToJSON ListTransferConfigsResponse where- toJSON ListTransferConfigsResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _ltcrNextPageToken,- ("transferConfigs" .=) <$> _ltcrTransferConfigs])---- | Represents a data transfer configuration. A transfer configuration--- contains all metadata needed to perform a data transfer. For example,--- \`destination_dataset_id\` specifies where data should be stored. When a--- new transfer configuration is created, the specified--- \`destination_dataset_id\` is created when needed and shared with the--- appropriate data source service account.------ /See:/ 'transferConfig' smart constructor.-data TransferConfig =- TransferConfig'- { _tcState :: !(Maybe TransferConfigState)- , _tcSchedule :: !(Maybe Text)- , _tcScheduleOptions :: !(Maybe ScheduleOptions)- , _tcDisabled :: !(Maybe Bool)- , _tcDataSourceId :: !(Maybe Text)- , _tcParams :: !(Maybe TransferConfigParams)- , _tcUserId :: !(Maybe (Textual Int64))- , _tcUpdateTime :: !(Maybe DateTime')- , _tcName :: !(Maybe Text)- , _tcDataSetRegion :: !(Maybe Text)- , _tcDisplayName :: !(Maybe Text)- , _tcNextRunTime :: !(Maybe DateTime')- , _tcDestinationDataSetId :: !(Maybe Text)- , _tcDataRefreshWindowDays :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TransferConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tcState'------ * 'tcSchedule'------ * 'tcScheduleOptions'------ * 'tcDisabled'------ * 'tcDataSourceId'------ * 'tcParams'------ * 'tcUserId'------ * 'tcUpdateTime'------ * 'tcName'------ * 'tcDataSetRegion'------ * 'tcDisplayName'------ * 'tcNextRunTime'------ * 'tcDestinationDataSetId'------ * 'tcDataRefreshWindowDays'-transferConfig- :: TransferConfig-transferConfig =- TransferConfig'- { _tcState = Nothing- , _tcSchedule = Nothing- , _tcScheduleOptions = Nothing- , _tcDisabled = Nothing- , _tcDataSourceId = Nothing- , _tcParams = Nothing- , _tcUserId = Nothing- , _tcUpdateTime = Nothing- , _tcName = Nothing- , _tcDataSetRegion = Nothing- , _tcDisplayName = Nothing- , _tcNextRunTime = Nothing- , _tcDestinationDataSetId = Nothing- , _tcDataRefreshWindowDays = Nothing- }----- | Output only. State of the most recently updated transfer run.-tcState :: Lens' TransferConfig (Maybe TransferConfigState)-tcState = lens _tcState (\ s a -> s{_tcState = a})---- | Data transfer schedule. If the data source does not support a custom--- schedule, this should be empty. If it is empty, the default value for--- the data source will be used. The specified times are in UTC. Examples--- of valid format: \`1st,3rd monday of month 15:30\`, \`every wed,fri of--- jan,jun 13:15\`, and \`first sunday of quarter 00:00\`. See more--- explanation about the format here:--- https:\/\/cloud.google.com\/appengine\/docs\/flexible\/python\/scheduling-jobs-with-cron-yaml#the_schedule_format--- NOTE: the granularity should be at least 8 hours, or less frequent.-tcSchedule :: Lens' TransferConfig (Maybe Text)-tcSchedule- = lens _tcSchedule (\ s a -> s{_tcSchedule = a})---- | Options customizing the data transfer schedule.-tcScheduleOptions :: Lens' TransferConfig (Maybe ScheduleOptions)-tcScheduleOptions- = lens _tcScheduleOptions- (\ s a -> s{_tcScheduleOptions = a})---- | Is this config disabled. When set to true, no runs are scheduled for a--- given transfer.-tcDisabled :: Lens' TransferConfig (Maybe Bool)-tcDisabled- = lens _tcDisabled (\ s a -> s{_tcDisabled = a})---- | Data source id. Cannot be changed once data transfer is created.-tcDataSourceId :: Lens' TransferConfig (Maybe Text)-tcDataSourceId- = lens _tcDataSourceId- (\ s a -> s{_tcDataSourceId = a})---- | Data transfer specific parameters.-tcParams :: Lens' TransferConfig (Maybe TransferConfigParams)-tcParams = lens _tcParams (\ s a -> s{_tcParams = a})---- | Deprecated. Unique ID of the user on whose behalf transfer is done.-tcUserId :: Lens' TransferConfig (Maybe Int64)-tcUserId- = lens _tcUserId (\ s a -> s{_tcUserId = a}) .- mapping _Coerce---- | Output only. Data transfer modification time. Ignored by server on--- input.-tcUpdateTime :: Lens' TransferConfig (Maybe UTCTime)-tcUpdateTime- = lens _tcUpdateTime (\ s a -> s{_tcUpdateTime = a})- . mapping _DateTime---- | The resource name of the transfer config. Transfer config names have the--- form of--- \`projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}\`.--- The name is automatically generated based on the config_id specified in--- CreateTransferConfigRequest along with project_id and region. If--- config_id is not provided, usually a uuid, even though it is not--- guaranteed or required, will be generated for config_id.-tcName :: Lens' TransferConfig (Maybe Text)-tcName = lens _tcName (\ s a -> s{_tcName = a})---- | Output only. Region in which BigQuery dataset is located.-tcDataSetRegion :: Lens' TransferConfig (Maybe Text)-tcDataSetRegion- = lens _tcDataSetRegion- (\ s a -> s{_tcDataSetRegion = a})---- | User specified display name for the data transfer.-tcDisplayName :: Lens' TransferConfig (Maybe Text)-tcDisplayName- = lens _tcDisplayName- (\ s a -> s{_tcDisplayName = a})---- | Output only. Next time when data transfer will run.-tcNextRunTime :: Lens' TransferConfig (Maybe UTCTime)-tcNextRunTime- = lens _tcNextRunTime- (\ s a -> s{_tcNextRunTime = a})- . mapping _DateTime---- | The BigQuery target dataset id.-tcDestinationDataSetId :: Lens' TransferConfig (Maybe Text)-tcDestinationDataSetId- = lens _tcDestinationDataSetId- (\ s a -> s{_tcDestinationDataSetId = a})---- | The number of days to look back to automatically refresh the data. For--- example, if \`data_refresh_window_days = 10\`, then every day BigQuery--- reingests data for [today-10, today-1], rather than ingesting data for--- just [today-1]. Only valid if the data source supports the feature. Set--- the value to 0 to use the default value.-tcDataRefreshWindowDays :: Lens' TransferConfig (Maybe Int32)-tcDataRefreshWindowDays- = lens _tcDataRefreshWindowDays- (\ s a -> s{_tcDataRefreshWindowDays = a})- . mapping _Coerce--instance FromJSON TransferConfig where- parseJSON- = withObject "TransferConfig"- (\ o ->- TransferConfig' <$>- (o .:? "state") <*> (o .:? "schedule") <*>- (o .:? "scheduleOptions")- <*> (o .:? "disabled")- <*> (o .:? "dataSourceId")- <*> (o .:? "params")- <*> (o .:? "userId")- <*> (o .:? "updateTime")- <*> (o .:? "name")- <*> (o .:? "datasetRegion")- <*> (o .:? "displayName")- <*> (o .:? "nextRunTime")- <*> (o .:? "destinationDatasetId")- <*> (o .:? "dataRefreshWindowDays"))--instance ToJSON TransferConfig where- toJSON TransferConfig'{..}- = object- (catMaybes- [("state" .=) <$> _tcState,- ("schedule" .=) <$> _tcSchedule,- ("scheduleOptions" .=) <$> _tcScheduleOptions,- ("disabled" .=) <$> _tcDisabled,- ("dataSourceId" .=) <$> _tcDataSourceId,- ("params" .=) <$> _tcParams,- ("userId" .=) <$> _tcUserId,- ("updateTime" .=) <$> _tcUpdateTime,- ("name" .=) <$> _tcName,- ("datasetRegion" .=) <$> _tcDataSetRegion,- ("displayName" .=) <$> _tcDisplayName,- ("nextRunTime" .=) <$> _tcNextRunTime,- ("destinationDatasetId" .=) <$>- _tcDestinationDataSetId,- ("dataRefreshWindowDays" .=) <$>- _tcDataRefreshWindowDays])
− gen/Network/Google/BigQueryDataTransfer/Types/Sum.hs
@@ -1,354 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.BigQueryDataTransfer.Types.Sum--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.BigQueryDataTransfer.Types.Sum where--import Network.Google.Prelude hiding (Bytes)---- | Parameter type.-data DataSourceParameterType- = TypeUnspecified- -- ^ @TYPE_UNSPECIFIED@- -- Type unspecified.- | String- -- ^ @STRING@- -- String parameter.- | Integer- -- ^ @INTEGER@- -- Integer parameter (64-bits). Will be serialized to json as string.- | Double- -- ^ @DOUBLE@- -- Double precision floating point parameter.- | Boolean- -- ^ @BOOLEAN@- -- Boolean parameter.- | Record- -- ^ @RECORD@- -- Deprecated. This field has no effect.- | PlusPage- -- ^ @PLUS_PAGE@- -- Page ID for a Google+ Page.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DataSourceParameterType--instance FromHttpApiData DataSourceParameterType where- parseQueryParam = \case- "TYPE_UNSPECIFIED" -> Right TypeUnspecified- "STRING" -> Right String- "INTEGER" -> Right Integer- "DOUBLE" -> Right Double- "BOOLEAN" -> Right Boolean- "RECORD" -> Right Record- "PLUS_PAGE" -> Right PlusPage- x -> Left ("Unable to parse DataSourceParameterType from: " <> x)--instance ToHttpApiData DataSourceParameterType where- toQueryParam = \case- TypeUnspecified -> "TYPE_UNSPECIFIED"- String -> "STRING"- Integer -> "INTEGER"- Double -> "DOUBLE"- Boolean -> "BOOLEAN"- Record -> "RECORD"- PlusPage -> "PLUS_PAGE"--instance FromJSON DataSourceParameterType where- parseJSON = parseJSONText "DataSourceParameterType"--instance ToJSON DataSourceParameterType where- toJSON = toJSONText---- | Data transfer run state. Ignored for input requests.-data TransferRunState- = TransferStateUnspecified- -- ^ @TRANSFER_STATE_UNSPECIFIED@- -- State placeholder.- | Pending- -- ^ @PENDING@- -- Data transfer is scheduled and is waiting to be picked up by data- -- transfer backend.- | Running- -- ^ @RUNNING@- -- Data transfer is in progress.- | Succeeded- -- ^ @SUCCEEDED@- -- Data transfer completed successfully.- | Failed- -- ^ @FAILED@- -- Data transfer failed.- | Cancelled- -- ^ @CANCELLED@- -- Data transfer is cancelled.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable TransferRunState--instance FromHttpApiData TransferRunState where- parseQueryParam = \case- "TRANSFER_STATE_UNSPECIFIED" -> Right TransferStateUnspecified- "PENDING" -> Right Pending- "RUNNING" -> Right Running- "SUCCEEDED" -> Right Succeeded- "FAILED" -> Right Failed- "CANCELLED" -> Right Cancelled- x -> Left ("Unable to parse TransferRunState from: " <> x)--instance ToHttpApiData TransferRunState where- toQueryParam = \case- TransferStateUnspecified -> "TRANSFER_STATE_UNSPECIFIED"- Pending -> "PENDING"- Running -> "RUNNING"- Succeeded -> "SUCCEEDED"- Failed -> "FAILED"- Cancelled -> "CANCELLED"--instance FromJSON TransferRunState where- parseJSON = parseJSONText "TransferRunState"--instance ToJSON TransferRunState where- toJSON = toJSONText---- | Deprecated. This field has no effect.-data DataSourceTransferType- = TransferTypeUnspecified- -- ^ @TRANSFER_TYPE_UNSPECIFIED@- -- Invalid or Unknown transfer type placeholder.- | Batch- -- ^ @BATCH@- -- Batch data transfer.- | Streaming- -- ^ @STREAMING@- -- Streaming data transfer. Streaming data source currently doesn\'t- -- support multiple transfer configs per project.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DataSourceTransferType--instance FromHttpApiData DataSourceTransferType where- parseQueryParam = \case- "TRANSFER_TYPE_UNSPECIFIED" -> Right TransferTypeUnspecified- "BATCH" -> Right Batch- "STREAMING" -> Right Streaming- x -> Left ("Unable to parse DataSourceTransferType from: " <> x)--instance ToHttpApiData DataSourceTransferType where- toQueryParam = \case- TransferTypeUnspecified -> "TRANSFER_TYPE_UNSPECIFIED"- Batch -> "BATCH"- Streaming -> "STREAMING"--instance FromJSON DataSourceTransferType where- parseJSON = parseJSONText "DataSourceTransferType"--instance ToJSON DataSourceTransferType where- toJSON = toJSONText---- | Indicates the type of authorization.-data DataSourceAuthorizationType- = AuthorizationTypeUnspecified- -- ^ @AUTHORIZATION_TYPE_UNSPECIFIED@- -- Type unspecified.- | AuthorizationCode- -- ^ @AUTHORIZATION_CODE@- -- Use OAuth 2 authorization codes that can be exchanged for a refresh- -- token on the backend.- | GooglePlusAuthorizationCode- -- ^ @GOOGLE_PLUS_AUTHORIZATION_CODE@- -- Return an authorization code for a given Google+ page that can then be- -- exchanged for a refresh token on the backend.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DataSourceAuthorizationType--instance FromHttpApiData DataSourceAuthorizationType where- parseQueryParam = \case- "AUTHORIZATION_TYPE_UNSPECIFIED" -> Right AuthorizationTypeUnspecified- "AUTHORIZATION_CODE" -> Right AuthorizationCode- "GOOGLE_PLUS_AUTHORIZATION_CODE" -> Right GooglePlusAuthorizationCode- x -> Left ("Unable to parse DataSourceAuthorizationType from: " <> x)--instance ToHttpApiData DataSourceAuthorizationType where- toQueryParam = \case- AuthorizationTypeUnspecified -> "AUTHORIZATION_TYPE_UNSPECIFIED"- AuthorizationCode -> "AUTHORIZATION_CODE"- GooglePlusAuthorizationCode -> "GOOGLE_PLUS_AUTHORIZATION_CODE"--instance FromJSON DataSourceAuthorizationType where- parseJSON = parseJSONText "DataSourceAuthorizationType"--instance ToJSON DataSourceAuthorizationType where- toJSON = toJSONText---- | V1 error format.-data Xgafv- = X1- -- ^ @1@- -- v1 error format- | X2- -- ^ @2@- -- v2 error format- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable Xgafv--instance FromHttpApiData Xgafv where- parseQueryParam = \case- "1" -> Right X1- "2" -> Right X2- x -> Left ("Unable to parse Xgafv from: " <> x)--instance ToHttpApiData Xgafv where- toQueryParam = \case- X1 -> "1"- X2 -> "2"--instance FromJSON Xgafv where- parseJSON = parseJSONText "Xgafv"--instance ToJSON Xgafv where- toJSON = toJSONText---- | Specifies whether the data source supports automatic data refresh for--- the past few days, and how it\'s supported. For some data sources, data--- might not be complete until a few days later, so it\'s useful to refresh--- data automatically.-data DataSourceDataRefreshType- = DataRefreshTypeUnspecified- -- ^ @DATA_REFRESH_TYPE_UNSPECIFIED@- -- The data source won\'t support data auto refresh, which is default- -- value.- | SlidingWindow- -- ^ @SLIDING_WINDOW@- -- The data source supports data auto refresh, and runs will be scheduled- -- for the past few days. Does not allow custom values to be set for each- -- transfer config.- | CustomSlidingWindow- -- ^ @CUSTOM_SLIDING_WINDOW@- -- The data source supports data auto refresh, and runs will be scheduled- -- for the past few days. Allows custom values to be set for each transfer- -- config.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DataSourceDataRefreshType--instance FromHttpApiData DataSourceDataRefreshType where- parseQueryParam = \case- "DATA_REFRESH_TYPE_UNSPECIFIED" -> Right DataRefreshTypeUnspecified- "SLIDING_WINDOW" -> Right SlidingWindow- "CUSTOM_SLIDING_WINDOW" -> Right CustomSlidingWindow- x -> Left ("Unable to parse DataSourceDataRefreshType from: " <> x)--instance ToHttpApiData DataSourceDataRefreshType where- toQueryParam = \case- DataRefreshTypeUnspecified -> "DATA_REFRESH_TYPE_UNSPECIFIED"- SlidingWindow -> "SLIDING_WINDOW"- CustomSlidingWindow -> "CUSTOM_SLIDING_WINDOW"--instance FromJSON DataSourceDataRefreshType where- parseJSON = parseJSONText "DataSourceDataRefreshType"--instance ToJSON DataSourceDataRefreshType where- toJSON = toJSONText---- | Message severity.-data TransferMessageSeverity- = MessageSeverityUnspecified- -- ^ @MESSAGE_SEVERITY_UNSPECIFIED@- -- No severity specified.- | Info- -- ^ @INFO@- -- Informational message.- | Warning- -- ^ @WARNING@- -- Warning message.- | Error'- -- ^ @ERROR@- -- Error message.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable TransferMessageSeverity--instance FromHttpApiData TransferMessageSeverity where- parseQueryParam = \case- "MESSAGE_SEVERITY_UNSPECIFIED" -> Right MessageSeverityUnspecified- "INFO" -> Right Info- "WARNING" -> Right Warning- "ERROR" -> Right Error'- x -> Left ("Unable to parse TransferMessageSeverity from: " <> x)--instance ToHttpApiData TransferMessageSeverity where- toQueryParam = \case- MessageSeverityUnspecified -> "MESSAGE_SEVERITY_UNSPECIFIED"- Info -> "INFO"- Warning -> "WARNING"- Error' -> "ERROR"--instance FromJSON TransferMessageSeverity where- parseJSON = parseJSONText "TransferMessageSeverity"--instance ToJSON TransferMessageSeverity where- toJSON = toJSONText---- | Output only. State of the most recently updated transfer run.-data TransferConfigState- = TCSTransferStateUnspecified- -- ^ @TRANSFER_STATE_UNSPECIFIED@- -- State placeholder.- | TCSPending- -- ^ @PENDING@- -- Data transfer is scheduled and is waiting to be picked up by data- -- transfer backend.- | TCSRunning- -- ^ @RUNNING@- -- Data transfer is in progress.- | TCSSucceeded- -- ^ @SUCCEEDED@- -- Data transfer completed successfully.- | TCSFailed- -- ^ @FAILED@- -- Data transfer failed.- | TCSCancelled- -- ^ @CANCELLED@- -- Data transfer is cancelled.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable TransferConfigState--instance FromHttpApiData TransferConfigState where- parseQueryParam = \case- "TRANSFER_STATE_UNSPECIFIED" -> Right TCSTransferStateUnspecified- "PENDING" -> Right TCSPending- "RUNNING" -> Right TCSRunning- "SUCCEEDED" -> Right TCSSucceeded- "FAILED" -> Right TCSFailed- "CANCELLED" -> Right TCSCancelled- x -> Left ("Unable to parse TransferConfigState from: " <> x)--instance ToHttpApiData TransferConfigState where- toQueryParam = \case- TCSTransferStateUnspecified -> "TRANSFER_STATE_UNSPECIFIED"- TCSPending -> "PENDING"- TCSRunning -> "RUNNING"- TCSSucceeded -> "SUCCEEDED"- TCSFailed -> "FAILED"- TCSCancelled -> "CANCELLED"--instance FromJSON TransferConfigState where- parseJSON = parseJSONText "TransferConfigState"--instance ToJSON TransferConfigState where- toJSON = toJSONText
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/DataSources/CheckValidCreds.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns true if valid credentials exist for the given data source and--- requesting user. Some data sources doesn\'t support service account, so--- we need to talk to them on behalf of the end user. This API just checks--- whether we have OAuth token for the particular user, which is a--- pre-requisite before user can create a transfer config.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.dataSources.checkValidCreds@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds- (- -- * REST Resource- ProjectsDataSourcesCheckValidCredsResource-- -- * Creating a Request- , projectsDataSourcesCheckValidCreds- , ProjectsDataSourcesCheckValidCreds-- -- * Request Lenses- , pdscvcXgafv- , pdscvcUploadProtocol- , pdscvcAccessToken- , pdscvcUploadType- , pdscvcPayload- , pdscvcName- , pdscvcCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.dataSources.checkValidCreds@ method which the--- 'ProjectsDataSourcesCheckValidCreds' request conforms to.-type ProjectsDataSourcesCheckValidCredsResource =- "v1" :>- CaptureMode "name" "checkValidCreds" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] CheckValidCredsRequest :>- Post '[JSON] CheckValidCredsResponse---- | Returns true if valid credentials exist for the given data source and--- requesting user. Some data sources doesn\'t support service account, so--- we need to talk to them on behalf of the end user. This API just checks--- whether we have OAuth token for the particular user, which is a--- pre-requisite before user can create a transfer config.------ /See:/ 'projectsDataSourcesCheckValidCreds' smart constructor.-data ProjectsDataSourcesCheckValidCreds =- ProjectsDataSourcesCheckValidCreds'- { _pdscvcXgafv :: !(Maybe Xgafv)- , _pdscvcUploadProtocol :: !(Maybe Text)- , _pdscvcAccessToken :: !(Maybe Text)- , _pdscvcUploadType :: !(Maybe Text)- , _pdscvcPayload :: !CheckValidCredsRequest- , _pdscvcName :: !Text- , _pdscvcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDataSourcesCheckValidCreds' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdscvcXgafv'------ * 'pdscvcUploadProtocol'------ * 'pdscvcAccessToken'------ * 'pdscvcUploadType'------ * 'pdscvcPayload'------ * 'pdscvcName'------ * 'pdscvcCallback'-projectsDataSourcesCheckValidCreds- :: CheckValidCredsRequest -- ^ 'pdscvcPayload'- -> Text -- ^ 'pdscvcName'- -> ProjectsDataSourcesCheckValidCreds-projectsDataSourcesCheckValidCreds pPdscvcPayload_ pPdscvcName_ =- ProjectsDataSourcesCheckValidCreds'- { _pdscvcXgafv = Nothing- , _pdscvcUploadProtocol = Nothing- , _pdscvcAccessToken = Nothing- , _pdscvcUploadType = Nothing- , _pdscvcPayload = pPdscvcPayload_- , _pdscvcName = pPdscvcName_- , _pdscvcCallback = Nothing- }----- | V1 error format.-pdscvcXgafv :: Lens' ProjectsDataSourcesCheckValidCreds (Maybe Xgafv)-pdscvcXgafv- = lens _pdscvcXgafv (\ s a -> s{_pdscvcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdscvcUploadProtocol :: Lens' ProjectsDataSourcesCheckValidCreds (Maybe Text)-pdscvcUploadProtocol- = lens _pdscvcUploadProtocol- (\ s a -> s{_pdscvcUploadProtocol = a})---- | OAuth access token.-pdscvcAccessToken :: Lens' ProjectsDataSourcesCheckValidCreds (Maybe Text)-pdscvcAccessToken- = lens _pdscvcAccessToken- (\ s a -> s{_pdscvcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdscvcUploadType :: Lens' ProjectsDataSourcesCheckValidCreds (Maybe Text)-pdscvcUploadType- = lens _pdscvcUploadType- (\ s a -> s{_pdscvcUploadType = a})---- | Multipart request metadata.-pdscvcPayload :: Lens' ProjectsDataSourcesCheckValidCreds CheckValidCredsRequest-pdscvcPayload- = lens _pdscvcPayload- (\ s a -> s{_pdscvcPayload = a})---- | The data source in the form:--- \`projects\/{project_id}\/dataSources\/{data_source_id}\`-pdscvcName :: Lens' ProjectsDataSourcesCheckValidCreds Text-pdscvcName- = lens _pdscvcName (\ s a -> s{_pdscvcName = a})---- | JSONP-pdscvcCallback :: Lens' ProjectsDataSourcesCheckValidCreds (Maybe Text)-pdscvcCallback- = lens _pdscvcCallback- (\ s a -> s{_pdscvcCallback = a})--instance GoogleRequest- ProjectsDataSourcesCheckValidCreds- where- type Rs ProjectsDataSourcesCheckValidCreds =- CheckValidCredsResponse- type Scopes ProjectsDataSourcesCheckValidCreds =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsDataSourcesCheckValidCreds'{..}- = go _pdscvcName _pdscvcXgafv _pdscvcUploadProtocol- _pdscvcAccessToken- _pdscvcUploadType- _pdscvcCallback- (Just AltJSON)- _pdscvcPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsDataSourcesCheckValidCredsResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/DataSources/Get.hs
@@ -1,154 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves a supported data source and returns its settings, which can be--- used for UI rendering.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.dataSources.get@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.Get- (- -- * REST Resource- ProjectsDataSourcesGetResource-- -- * Creating a Request- , projectsDataSourcesGet- , ProjectsDataSourcesGet-- -- * Request Lenses- , pdsgXgafv- , pdsgUploadProtocol- , pdsgAccessToken- , pdsgUploadType- , pdsgName- , pdsgCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.dataSources.get@ method which the--- 'ProjectsDataSourcesGet' request conforms to.-type ProjectsDataSourcesGetResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] DataSource---- | Retrieves a supported data source and returns its settings, which can be--- used for UI rendering.------ /See:/ 'projectsDataSourcesGet' smart constructor.-data ProjectsDataSourcesGet =- ProjectsDataSourcesGet'- { _pdsgXgafv :: !(Maybe Xgafv)- , _pdsgUploadProtocol :: !(Maybe Text)- , _pdsgAccessToken :: !(Maybe Text)- , _pdsgUploadType :: !(Maybe Text)- , _pdsgName :: !Text- , _pdsgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDataSourcesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdsgXgafv'------ * 'pdsgUploadProtocol'------ * 'pdsgAccessToken'------ * 'pdsgUploadType'------ * 'pdsgName'------ * 'pdsgCallback'-projectsDataSourcesGet- :: Text -- ^ 'pdsgName'- -> ProjectsDataSourcesGet-projectsDataSourcesGet pPdsgName_ =- ProjectsDataSourcesGet'- { _pdsgXgafv = Nothing- , _pdsgUploadProtocol = Nothing- , _pdsgAccessToken = Nothing- , _pdsgUploadType = Nothing- , _pdsgName = pPdsgName_- , _pdsgCallback = Nothing- }----- | V1 error format.-pdsgXgafv :: Lens' ProjectsDataSourcesGet (Maybe Xgafv)-pdsgXgafv- = lens _pdsgXgafv (\ s a -> s{_pdsgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdsgUploadProtocol :: Lens' ProjectsDataSourcesGet (Maybe Text)-pdsgUploadProtocol- = lens _pdsgUploadProtocol- (\ s a -> s{_pdsgUploadProtocol = a})---- | OAuth access token.-pdsgAccessToken :: Lens' ProjectsDataSourcesGet (Maybe Text)-pdsgAccessToken- = lens _pdsgAccessToken- (\ s a -> s{_pdsgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdsgUploadType :: Lens' ProjectsDataSourcesGet (Maybe Text)-pdsgUploadType- = lens _pdsgUploadType- (\ s a -> s{_pdsgUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/dataSources\/{data_source_id}\`-pdsgName :: Lens' ProjectsDataSourcesGet Text-pdsgName = lens _pdsgName (\ s a -> s{_pdsgName = a})---- | JSONP-pdsgCallback :: Lens' ProjectsDataSourcesGet (Maybe Text)-pdsgCallback- = lens _pdsgCallback (\ s a -> s{_pdsgCallback = a})--instance GoogleRequest ProjectsDataSourcesGet where- type Rs ProjectsDataSourcesGet = DataSource- type Scopes ProjectsDataSourcesGet =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsDataSourcesGet'{..}- = go _pdsgName _pdsgXgafv _pdsgUploadProtocol- _pdsgAccessToken- _pdsgUploadType- _pdsgCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy :: Proxy ProjectsDataSourcesGetResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/DataSources/List.hs
@@ -1,188 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists supported data sources and returns their settings, which can be--- used for UI rendering.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.dataSources.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.List- (- -- * REST Resource- ProjectsDataSourcesListResource-- -- * Creating a Request- , projectsDataSourcesList- , ProjectsDataSourcesList-- -- * Request Lenses- , pdslParent- , pdslXgafv- , pdslUploadProtocol- , pdslAccessToken- , pdslUploadType- , pdslPageToken- , pdslPageSize- , pdslCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.dataSources.list@ method which the--- 'ProjectsDataSourcesList' request conforms to.-type ProjectsDataSourcesListResource =- "v1" :>- Capture "parent" Text :>- "dataSources" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListDataSourcesResponse---- | Lists supported data sources and returns their settings, which can be--- used for UI rendering.------ /See:/ 'projectsDataSourcesList' smart constructor.-data ProjectsDataSourcesList =- ProjectsDataSourcesList'- { _pdslParent :: !Text- , _pdslXgafv :: !(Maybe Xgafv)- , _pdslUploadProtocol :: !(Maybe Text)- , _pdslAccessToken :: !(Maybe Text)- , _pdslUploadType :: !(Maybe Text)- , _pdslPageToken :: !(Maybe Text)- , _pdslPageSize :: !(Maybe (Textual Int32))- , _pdslCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDataSourcesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdslParent'------ * 'pdslXgafv'------ * 'pdslUploadProtocol'------ * 'pdslAccessToken'------ * 'pdslUploadType'------ * 'pdslPageToken'------ * 'pdslPageSize'------ * 'pdslCallback'-projectsDataSourcesList- :: Text -- ^ 'pdslParent'- -> ProjectsDataSourcesList-projectsDataSourcesList pPdslParent_ =- ProjectsDataSourcesList'- { _pdslParent = pPdslParent_- , _pdslXgafv = Nothing- , _pdslUploadProtocol = Nothing- , _pdslAccessToken = Nothing- , _pdslUploadType = Nothing- , _pdslPageToken = Nothing- , _pdslPageSize = Nothing- , _pdslCallback = Nothing- }----- | The BigQuery project id for which data sources should be returned. Must--- be in the form: \`projects\/{project_id}\`-pdslParent :: Lens' ProjectsDataSourcesList Text-pdslParent- = lens _pdslParent (\ s a -> s{_pdslParent = a})---- | V1 error format.-pdslXgafv :: Lens' ProjectsDataSourcesList (Maybe Xgafv)-pdslXgafv- = lens _pdslXgafv (\ s a -> s{_pdslXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdslUploadProtocol :: Lens' ProjectsDataSourcesList (Maybe Text)-pdslUploadProtocol- = lens _pdslUploadProtocol- (\ s a -> s{_pdslUploadProtocol = a})---- | OAuth access token.-pdslAccessToken :: Lens' ProjectsDataSourcesList (Maybe Text)-pdslAccessToken- = lens _pdslAccessToken- (\ s a -> s{_pdslAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdslUploadType :: Lens' ProjectsDataSourcesList (Maybe Text)-pdslUploadType- = lens _pdslUploadType- (\ s a -> s{_pdslUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListDataSourcesRequest\` list results. For multiple-page results,--- \`ListDataSourcesResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-pdslPageToken :: Lens' ProjectsDataSourcesList (Maybe Text)-pdslPageToken- = lens _pdslPageToken- (\ s a -> s{_pdslPageToken = a})---- | Page size. The default page size is the maximum value of 1000 results.-pdslPageSize :: Lens' ProjectsDataSourcesList (Maybe Int32)-pdslPageSize- = lens _pdslPageSize (\ s a -> s{_pdslPageSize = a})- . mapping _Coerce---- | JSONP-pdslCallback :: Lens' ProjectsDataSourcesList (Maybe Text)-pdslCallback- = lens _pdslCallback (\ s a -> s{_pdslCallback = a})--instance GoogleRequest ProjectsDataSourcesList where- type Rs ProjectsDataSourcesList =- ListDataSourcesResponse- type Scopes ProjectsDataSourcesList =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsDataSourcesList'{..}- = go _pdslParent _pdslXgafv _pdslUploadProtocol- _pdslAccessToken- _pdslUploadType- _pdslPageToken- _pdslPageSize- _pdslCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy :: Proxy ProjectsDataSourcesListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/DataSources/CheckValidCreds.hs
@@ -1,187 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns true if valid credentials exist for the given data source and--- requesting user. Some data sources doesn\'t support service account, so--- we need to talk to them on behalf of the end user. This API just checks--- whether we have OAuth token for the particular user, which is a--- pre-requisite before user can create a transfer config.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.dataSources.checkValidCreds@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds- (- -- * REST Resource- ProjectsLocationsDataSourcesCheckValidCredsResource-- -- * Creating a Request- , projectsLocationsDataSourcesCheckValidCreds- , ProjectsLocationsDataSourcesCheckValidCreds-- -- * Request Lenses- , pldscvcXgafv- , pldscvcUploadProtocol- , pldscvcAccessToken- , pldscvcUploadType- , pldscvcPayload- , pldscvcName- , pldscvcCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.dataSources.checkValidCreds@ method which the--- 'ProjectsLocationsDataSourcesCheckValidCreds' request conforms to.-type ProjectsLocationsDataSourcesCheckValidCredsResource- =- "v1" :>- CaptureMode "name" "checkValidCreds" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] CheckValidCredsRequest :>- Post '[JSON] CheckValidCredsResponse---- | Returns true if valid credentials exist for the given data source and--- requesting user. Some data sources doesn\'t support service account, so--- we need to talk to them on behalf of the end user. This API just checks--- whether we have OAuth token for the particular user, which is a--- pre-requisite before user can create a transfer config.------ /See:/ 'projectsLocationsDataSourcesCheckValidCreds' smart constructor.-data ProjectsLocationsDataSourcesCheckValidCreds =- ProjectsLocationsDataSourcesCheckValidCreds'- { _pldscvcXgafv :: !(Maybe Xgafv)- , _pldscvcUploadProtocol :: !(Maybe Text)- , _pldscvcAccessToken :: !(Maybe Text)- , _pldscvcUploadType :: !(Maybe Text)- , _pldscvcPayload :: !CheckValidCredsRequest- , _pldscvcName :: !Text- , _pldscvcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsDataSourcesCheckValidCreds' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pldscvcXgafv'------ * 'pldscvcUploadProtocol'------ * 'pldscvcAccessToken'------ * 'pldscvcUploadType'------ * 'pldscvcPayload'------ * 'pldscvcName'------ * 'pldscvcCallback'-projectsLocationsDataSourcesCheckValidCreds- :: CheckValidCredsRequest -- ^ 'pldscvcPayload'- -> Text -- ^ 'pldscvcName'- -> ProjectsLocationsDataSourcesCheckValidCreds-projectsLocationsDataSourcesCheckValidCreds pPldscvcPayload_ pPldscvcName_ =- ProjectsLocationsDataSourcesCheckValidCreds'- { _pldscvcXgafv = Nothing- , _pldscvcUploadProtocol = Nothing- , _pldscvcAccessToken = Nothing- , _pldscvcUploadType = Nothing- , _pldscvcPayload = pPldscvcPayload_- , _pldscvcName = pPldscvcName_- , _pldscvcCallback = Nothing- }----- | V1 error format.-pldscvcXgafv :: Lens' ProjectsLocationsDataSourcesCheckValidCreds (Maybe Xgafv)-pldscvcXgafv- = lens _pldscvcXgafv (\ s a -> s{_pldscvcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pldscvcUploadProtocol :: Lens' ProjectsLocationsDataSourcesCheckValidCreds (Maybe Text)-pldscvcUploadProtocol- = lens _pldscvcUploadProtocol- (\ s a -> s{_pldscvcUploadProtocol = a})---- | OAuth access token.-pldscvcAccessToken :: Lens' ProjectsLocationsDataSourcesCheckValidCreds (Maybe Text)-pldscvcAccessToken- = lens _pldscvcAccessToken- (\ s a -> s{_pldscvcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pldscvcUploadType :: Lens' ProjectsLocationsDataSourcesCheckValidCreds (Maybe Text)-pldscvcUploadType- = lens _pldscvcUploadType- (\ s a -> s{_pldscvcUploadType = a})---- | Multipart request metadata.-pldscvcPayload :: Lens' ProjectsLocationsDataSourcesCheckValidCreds CheckValidCredsRequest-pldscvcPayload- = lens _pldscvcPayload- (\ s a -> s{_pldscvcPayload = a})---- | The data source in the form:--- \`projects\/{project_id}\/dataSources\/{data_source_id}\`-pldscvcName :: Lens' ProjectsLocationsDataSourcesCheckValidCreds Text-pldscvcName- = lens _pldscvcName (\ s a -> s{_pldscvcName = a})---- | JSONP-pldscvcCallback :: Lens' ProjectsLocationsDataSourcesCheckValidCreds (Maybe Text)-pldscvcCallback- = lens _pldscvcCallback- (\ s a -> s{_pldscvcCallback = a})--instance GoogleRequest- ProjectsLocationsDataSourcesCheckValidCreds- where- type Rs ProjectsLocationsDataSourcesCheckValidCreds =- CheckValidCredsResponse- type Scopes- ProjectsLocationsDataSourcesCheckValidCreds- =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient- ProjectsLocationsDataSourcesCheckValidCreds'{..}- = go _pldscvcName _pldscvcXgafv- _pldscvcUploadProtocol- _pldscvcAccessToken- _pldscvcUploadType- _pldscvcCallback- (Just AltJSON)- _pldscvcPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsLocationsDataSourcesCheckValidCredsResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/DataSources/Get.hs
@@ -1,159 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves a supported data source and returns its settings, which can be--- used for UI rendering.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.dataSources.get@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.Get- (- -- * REST Resource- ProjectsLocationsDataSourcesGetResource-- -- * Creating a Request- , projectsLocationsDataSourcesGet- , ProjectsLocationsDataSourcesGet-- -- * Request Lenses- , pldsgXgafv- , pldsgUploadProtocol- , pldsgAccessToken- , pldsgUploadType- , pldsgName- , pldsgCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.dataSources.get@ method which the--- 'ProjectsLocationsDataSourcesGet' request conforms to.-type ProjectsLocationsDataSourcesGetResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] DataSource---- | Retrieves a supported data source and returns its settings, which can be--- used for UI rendering.------ /See:/ 'projectsLocationsDataSourcesGet' smart constructor.-data ProjectsLocationsDataSourcesGet =- ProjectsLocationsDataSourcesGet'- { _pldsgXgafv :: !(Maybe Xgafv)- , _pldsgUploadProtocol :: !(Maybe Text)- , _pldsgAccessToken :: !(Maybe Text)- , _pldsgUploadType :: !(Maybe Text)- , _pldsgName :: !Text- , _pldsgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsDataSourcesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pldsgXgafv'------ * 'pldsgUploadProtocol'------ * 'pldsgAccessToken'------ * 'pldsgUploadType'------ * 'pldsgName'------ * 'pldsgCallback'-projectsLocationsDataSourcesGet- :: Text -- ^ 'pldsgName'- -> ProjectsLocationsDataSourcesGet-projectsLocationsDataSourcesGet pPldsgName_ =- ProjectsLocationsDataSourcesGet'- { _pldsgXgafv = Nothing- , _pldsgUploadProtocol = Nothing- , _pldsgAccessToken = Nothing- , _pldsgUploadType = Nothing- , _pldsgName = pPldsgName_- , _pldsgCallback = Nothing- }----- | V1 error format.-pldsgXgafv :: Lens' ProjectsLocationsDataSourcesGet (Maybe Xgafv)-pldsgXgafv- = lens _pldsgXgafv (\ s a -> s{_pldsgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pldsgUploadProtocol :: Lens' ProjectsLocationsDataSourcesGet (Maybe Text)-pldsgUploadProtocol- = lens _pldsgUploadProtocol- (\ s a -> s{_pldsgUploadProtocol = a})---- | OAuth access token.-pldsgAccessToken :: Lens' ProjectsLocationsDataSourcesGet (Maybe Text)-pldsgAccessToken- = lens _pldsgAccessToken- (\ s a -> s{_pldsgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pldsgUploadType :: Lens' ProjectsLocationsDataSourcesGet (Maybe Text)-pldsgUploadType- = lens _pldsgUploadType- (\ s a -> s{_pldsgUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/dataSources\/{data_source_id}\`-pldsgName :: Lens' ProjectsLocationsDataSourcesGet Text-pldsgName- = lens _pldsgName (\ s a -> s{_pldsgName = a})---- | JSONP-pldsgCallback :: Lens' ProjectsLocationsDataSourcesGet (Maybe Text)-pldsgCallback- = lens _pldsgCallback- (\ s a -> s{_pldsgCallback = a})--instance GoogleRequest- ProjectsLocationsDataSourcesGet- where- type Rs ProjectsLocationsDataSourcesGet = DataSource- type Scopes ProjectsLocationsDataSourcesGet =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsLocationsDataSourcesGet'{..}- = go _pldsgName _pldsgXgafv _pldsgUploadProtocol- _pldsgAccessToken- _pldsgUploadType- _pldsgCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsLocationsDataSourcesGetResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/DataSources/List.hs
@@ -1,193 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists supported data sources and returns their settings, which can be--- used for UI rendering.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.dataSources.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.List- (- -- * REST Resource- ProjectsLocationsDataSourcesListResource-- -- * Creating a Request- , projectsLocationsDataSourcesList- , ProjectsLocationsDataSourcesList-- -- * Request Lenses- , pldslParent- , pldslXgafv- , pldslUploadProtocol- , pldslAccessToken- , pldslUploadType- , pldslPageToken- , pldslPageSize- , pldslCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.dataSources.list@ method which the--- 'ProjectsLocationsDataSourcesList' request conforms to.-type ProjectsLocationsDataSourcesListResource =- "v1" :>- Capture "parent" Text :>- "dataSources" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListDataSourcesResponse---- | Lists supported data sources and returns their settings, which can be--- used for UI rendering.------ /See:/ 'projectsLocationsDataSourcesList' smart constructor.-data ProjectsLocationsDataSourcesList =- ProjectsLocationsDataSourcesList'- { _pldslParent :: !Text- , _pldslXgafv :: !(Maybe Xgafv)- , _pldslUploadProtocol :: !(Maybe Text)- , _pldslAccessToken :: !(Maybe Text)- , _pldslUploadType :: !(Maybe Text)- , _pldslPageToken :: !(Maybe Text)- , _pldslPageSize :: !(Maybe (Textual Int32))- , _pldslCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsDataSourcesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pldslParent'------ * 'pldslXgafv'------ * 'pldslUploadProtocol'------ * 'pldslAccessToken'------ * 'pldslUploadType'------ * 'pldslPageToken'------ * 'pldslPageSize'------ * 'pldslCallback'-projectsLocationsDataSourcesList- :: Text -- ^ 'pldslParent'- -> ProjectsLocationsDataSourcesList-projectsLocationsDataSourcesList pPldslParent_ =- ProjectsLocationsDataSourcesList'- { _pldslParent = pPldslParent_- , _pldslXgafv = Nothing- , _pldslUploadProtocol = Nothing- , _pldslAccessToken = Nothing- , _pldslUploadType = Nothing- , _pldslPageToken = Nothing- , _pldslPageSize = Nothing- , _pldslCallback = Nothing- }----- | The BigQuery project id for which data sources should be returned. Must--- be in the form: \`projects\/{project_id}\`-pldslParent :: Lens' ProjectsLocationsDataSourcesList Text-pldslParent- = lens _pldslParent (\ s a -> s{_pldslParent = a})---- | V1 error format.-pldslXgafv :: Lens' ProjectsLocationsDataSourcesList (Maybe Xgafv)-pldslXgafv- = lens _pldslXgafv (\ s a -> s{_pldslXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pldslUploadProtocol :: Lens' ProjectsLocationsDataSourcesList (Maybe Text)-pldslUploadProtocol- = lens _pldslUploadProtocol- (\ s a -> s{_pldslUploadProtocol = a})---- | OAuth access token.-pldslAccessToken :: Lens' ProjectsLocationsDataSourcesList (Maybe Text)-pldslAccessToken- = lens _pldslAccessToken- (\ s a -> s{_pldslAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pldslUploadType :: Lens' ProjectsLocationsDataSourcesList (Maybe Text)-pldslUploadType- = lens _pldslUploadType- (\ s a -> s{_pldslUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListDataSourcesRequest\` list results. For multiple-page results,--- \`ListDataSourcesResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-pldslPageToken :: Lens' ProjectsLocationsDataSourcesList (Maybe Text)-pldslPageToken- = lens _pldslPageToken- (\ s a -> s{_pldslPageToken = a})---- | Page size. The default page size is the maximum value of 1000 results.-pldslPageSize :: Lens' ProjectsLocationsDataSourcesList (Maybe Int32)-pldslPageSize- = lens _pldslPageSize- (\ s a -> s{_pldslPageSize = a})- . mapping _Coerce---- | JSONP-pldslCallback :: Lens' ProjectsLocationsDataSourcesList (Maybe Text)-pldslCallback- = lens _pldslCallback- (\ s a -> s{_pldslCallback = a})--instance GoogleRequest- ProjectsLocationsDataSourcesList- where- type Rs ProjectsLocationsDataSourcesList =- ListDataSourcesResponse- type Scopes ProjectsLocationsDataSourcesList =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsLocationsDataSourcesList'{..}- = go _pldslParent _pldslXgafv _pldslUploadProtocol- _pldslAccessToken- _pldslUploadType- _pldslPageToken- _pldslPageSize- _pldslCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsLocationsDataSourcesListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/Get.hs
@@ -1,150 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets information about a location.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.get@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.Get- (- -- * REST Resource- ProjectsLocationsGetResource-- -- * Creating a Request- , projectsLocationsGet- , ProjectsLocationsGet-- -- * Request Lenses- , plgXgafv- , plgUploadProtocol- , plgAccessToken- , plgUploadType- , plgName- , plgCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.get@ method which the--- 'ProjectsLocationsGet' request conforms to.-type ProjectsLocationsGetResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] Location---- | Gets information about a location.------ /See:/ 'projectsLocationsGet' smart constructor.-data ProjectsLocationsGet =- ProjectsLocationsGet'- { _plgXgafv :: !(Maybe Xgafv)- , _plgUploadProtocol :: !(Maybe Text)- , _plgAccessToken :: !(Maybe Text)- , _plgUploadType :: !(Maybe Text)- , _plgName :: !Text- , _plgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plgXgafv'------ * 'plgUploadProtocol'------ * 'plgAccessToken'------ * 'plgUploadType'------ * 'plgName'------ * 'plgCallback'-projectsLocationsGet- :: Text -- ^ 'plgName'- -> ProjectsLocationsGet-projectsLocationsGet pPlgName_ =- ProjectsLocationsGet'- { _plgXgafv = Nothing- , _plgUploadProtocol = Nothing- , _plgAccessToken = Nothing- , _plgUploadType = Nothing- , _plgName = pPlgName_- , _plgCallback = Nothing- }----- | V1 error format.-plgXgafv :: Lens' ProjectsLocationsGet (Maybe Xgafv)-plgXgafv = lens _plgXgafv (\ s a -> s{_plgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plgUploadProtocol :: Lens' ProjectsLocationsGet (Maybe Text)-plgUploadProtocol- = lens _plgUploadProtocol- (\ s a -> s{_plgUploadProtocol = a})---- | OAuth access token.-plgAccessToken :: Lens' ProjectsLocationsGet (Maybe Text)-plgAccessToken- = lens _plgAccessToken- (\ s a -> s{_plgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plgUploadType :: Lens' ProjectsLocationsGet (Maybe Text)-plgUploadType- = lens _plgUploadType- (\ s a -> s{_plgUploadType = a})---- | Resource name for the location.-plgName :: Lens' ProjectsLocationsGet Text-plgName = lens _plgName (\ s a -> s{_plgName = a})---- | JSONP-plgCallback :: Lens' ProjectsLocationsGet (Maybe Text)-plgCallback- = lens _plgCallback (\ s a -> s{_plgCallback = a})--instance GoogleRequest ProjectsLocationsGet where- type Rs ProjectsLocationsGet = Location- type Scopes ProjectsLocationsGet =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsLocationsGet'{..}- = go _plgName _plgXgafv _plgUploadProtocol- _plgAccessToken- _plgUploadType- _plgCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy :: Proxy ProjectsLocationsGetResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/List.hs
@@ -1,189 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists information about the supported locations for this service.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.List- (- -- * REST Resource- ProjectsLocationsListResource-- -- * Creating a Request- , projectsLocationsList- , ProjectsLocationsList-- -- * Request Lenses- , pllXgafv- , pllUploadProtocol- , pllAccessToken- , pllUploadType- , pllName- , pllFilter- , pllPageToken- , pllPageSize- , pllCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.list@ method which the--- 'ProjectsLocationsList' request conforms to.-type ProjectsLocationsListResource =- "v1" :>- Capture "name" Text :>- "locations" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListLocationsResponse---- | Lists information about the supported locations for this service.------ /See:/ 'projectsLocationsList' smart constructor.-data ProjectsLocationsList =- ProjectsLocationsList'- { _pllXgafv :: !(Maybe Xgafv)- , _pllUploadProtocol :: !(Maybe Text)- , _pllAccessToken :: !(Maybe Text)- , _pllUploadType :: !(Maybe Text)- , _pllName :: !Text- , _pllFilter :: !(Maybe Text)- , _pllPageToken :: !(Maybe Text)- , _pllPageSize :: !(Maybe (Textual Int32))- , _pllCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pllXgafv'------ * 'pllUploadProtocol'------ * 'pllAccessToken'------ * 'pllUploadType'------ * 'pllName'------ * 'pllFilter'------ * 'pllPageToken'------ * 'pllPageSize'------ * 'pllCallback'-projectsLocationsList- :: Text -- ^ 'pllName'- -> ProjectsLocationsList-projectsLocationsList pPllName_ =- ProjectsLocationsList'- { _pllXgafv = Nothing- , _pllUploadProtocol = Nothing- , _pllAccessToken = Nothing- , _pllUploadType = Nothing- , _pllName = pPllName_- , _pllFilter = Nothing- , _pllPageToken = Nothing- , _pllPageSize = Nothing- , _pllCallback = Nothing- }----- | V1 error format.-pllXgafv :: Lens' ProjectsLocationsList (Maybe Xgafv)-pllXgafv = lens _pllXgafv (\ s a -> s{_pllXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pllUploadProtocol :: Lens' ProjectsLocationsList (Maybe Text)-pllUploadProtocol- = lens _pllUploadProtocol- (\ s a -> s{_pllUploadProtocol = a})---- | OAuth access token.-pllAccessToken :: Lens' ProjectsLocationsList (Maybe Text)-pllAccessToken- = lens _pllAccessToken- (\ s a -> s{_pllAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pllUploadType :: Lens' ProjectsLocationsList (Maybe Text)-pllUploadType- = lens _pllUploadType- (\ s a -> s{_pllUploadType = a})---- | The resource that owns the locations collection, if applicable.-pllName :: Lens' ProjectsLocationsList Text-pllName = lens _pllName (\ s a -> s{_pllName = a})---- | The standard list filter.-pllFilter :: Lens' ProjectsLocationsList (Maybe Text)-pllFilter- = lens _pllFilter (\ s a -> s{_pllFilter = a})---- | The standard list page token.-pllPageToken :: Lens' ProjectsLocationsList (Maybe Text)-pllPageToken- = lens _pllPageToken (\ s a -> s{_pllPageToken = a})---- | The standard list page size.-pllPageSize :: Lens' ProjectsLocationsList (Maybe Int32)-pllPageSize- = lens _pllPageSize (\ s a -> s{_pllPageSize = a}) .- mapping _Coerce---- | JSONP-pllCallback :: Lens' ProjectsLocationsList (Maybe Text)-pllCallback- = lens _pllCallback (\ s a -> s{_pllCallback = a})--instance GoogleRequest ProjectsLocationsList where- type Rs ProjectsLocationsList = ListLocationsResponse- type Scopes ProjectsLocationsList =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsLocationsList'{..}- = go _pllName _pllXgafv _pllUploadProtocol- _pllAccessToken- _pllUploadType- _pllFilter- _pllPageToken- _pllPageSize- _pllCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy :: Proxy ProjectsLocationsListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Create.hs
@@ -1,219 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new data transfer configuration.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.create@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create- (- -- * REST Resource- ProjectsLocationsTransferConfigsCreateResource-- -- * Creating a Request- , projectsLocationsTransferConfigsCreate- , ProjectsLocationsTransferConfigsCreate-- -- * Request Lenses- , pltccParent- , pltccXgafv- , pltccUploadProtocol- , pltccAccessToken- , pltccUploadType- , pltccAuthorizationCode- , pltccPayload- , pltccVersionInfo- , pltccCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.create@ method which the--- 'ProjectsLocationsTransferConfigsCreate' request conforms to.-type ProjectsLocationsTransferConfigsCreateResource =- "v1" :>- Capture "parent" Text :>- "transferConfigs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "authorizationCode" Text :>- QueryParam "versionInfo" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] TransferConfig :>- Post '[JSON] TransferConfig---- | Creates a new data transfer configuration.------ /See:/ 'projectsLocationsTransferConfigsCreate' smart constructor.-data ProjectsLocationsTransferConfigsCreate =- ProjectsLocationsTransferConfigsCreate'- { _pltccParent :: !Text- , _pltccXgafv :: !(Maybe Xgafv)- , _pltccUploadProtocol :: !(Maybe Text)- , _pltccAccessToken :: !(Maybe Text)- , _pltccUploadType :: !(Maybe Text)- , _pltccAuthorizationCode :: !(Maybe Text)- , _pltccPayload :: !TransferConfig- , _pltccVersionInfo :: !(Maybe Text)- , _pltccCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltccParent'------ * 'pltccXgafv'------ * 'pltccUploadProtocol'------ * 'pltccAccessToken'------ * 'pltccUploadType'------ * 'pltccAuthorizationCode'------ * 'pltccPayload'------ * 'pltccVersionInfo'------ * 'pltccCallback'-projectsLocationsTransferConfigsCreate- :: Text -- ^ 'pltccParent'- -> TransferConfig -- ^ 'pltccPayload'- -> ProjectsLocationsTransferConfigsCreate-projectsLocationsTransferConfigsCreate pPltccParent_ pPltccPayload_ =- ProjectsLocationsTransferConfigsCreate'- { _pltccParent = pPltccParent_- , _pltccXgafv = Nothing- , _pltccUploadProtocol = Nothing- , _pltccAccessToken = Nothing- , _pltccUploadType = Nothing- , _pltccAuthorizationCode = Nothing- , _pltccPayload = pPltccPayload_- , _pltccVersionInfo = Nothing- , _pltccCallback = Nothing- }----- | The BigQuery project id where the transfer configuration should be--- created. Must be in the format--- projects\/{project_id}\/locations\/{location_id} If specified location--- and location of the destination bigquery dataset do not match - the--- request will fail.-pltccParent :: Lens' ProjectsLocationsTransferConfigsCreate Text-pltccParent- = lens _pltccParent (\ s a -> s{_pltccParent = a})---- | V1 error format.-pltccXgafv :: Lens' ProjectsLocationsTransferConfigsCreate (Maybe Xgafv)-pltccXgafv- = lens _pltccXgafv (\ s a -> s{_pltccXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltccUploadProtocol :: Lens' ProjectsLocationsTransferConfigsCreate (Maybe Text)-pltccUploadProtocol- = lens _pltccUploadProtocol- (\ s a -> s{_pltccUploadProtocol = a})---- | OAuth access token.-pltccAccessToken :: Lens' ProjectsLocationsTransferConfigsCreate (Maybe Text)-pltccAccessToken- = lens _pltccAccessToken- (\ s a -> s{_pltccAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltccUploadType :: Lens' ProjectsLocationsTransferConfigsCreate (Maybe Text)-pltccUploadType- = lens _pltccUploadType- (\ s a -> s{_pltccUploadType = a})---- | Optional OAuth2 authorization code to use with this transfer--- configuration. This is required if new credentials are needed, as--- indicated by \`CheckValidCreds\`. In order to obtain authorization_code,--- please make a request to--- https:\/\/www.gstatic.com\/bigquerydatatransfer\/oauthz\/auth?client_id=&scope=&redirect_uri=--- * client_id should be OAuth client_id of BigQuery DTS API for the given--- data source returned by ListDataSources method. * data_source_scopes are--- the scopes returned by ListDataSources method. * redirect_uri is an--- optional parameter. If not specified, then authorization code is posted--- to the opener of authorization flow window. Otherwise it will be sent to--- the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means--- that authorization code should be returned in the title bar of the--- browser, with the page text prompting the user to copy the code and--- paste it in the application.-pltccAuthorizationCode :: Lens' ProjectsLocationsTransferConfigsCreate (Maybe Text)-pltccAuthorizationCode- = lens _pltccAuthorizationCode- (\ s a -> s{_pltccAuthorizationCode = a})---- | Multipart request metadata.-pltccPayload :: Lens' ProjectsLocationsTransferConfigsCreate TransferConfig-pltccPayload- = lens _pltccPayload (\ s a -> s{_pltccPayload = a})---- | Optional version info. If users want to find a very recent access token,--- that is, immediately after approving access, users have to set the--- version_info claim in the token request. To obtain the version_info,--- users must use the “none+gsession” response type. which be return a--- version_info back in the authorization response which be be put in a JWT--- claim in the token request.-pltccVersionInfo :: Lens' ProjectsLocationsTransferConfigsCreate (Maybe Text)-pltccVersionInfo- = lens _pltccVersionInfo- (\ s a -> s{_pltccVersionInfo = a})---- | JSONP-pltccCallback :: Lens' ProjectsLocationsTransferConfigsCreate (Maybe Text)-pltccCallback- = lens _pltccCallback- (\ s a -> s{_pltccCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsCreate- where- type Rs ProjectsLocationsTransferConfigsCreate =- TransferConfig- type Scopes ProjectsLocationsTransferConfigsCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsLocationsTransferConfigsCreate'{..}- = go _pltccParent _pltccXgafv _pltccUploadProtocol- _pltccAccessToken- _pltccUploadType- _pltccAuthorizationCode- _pltccVersionInfo- _pltccCallback- (Just AltJSON)- _pltccPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsLocationsTransferConfigsCreateResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Delete.hs
@@ -1,160 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a data transfer configuration, including any associated transfer--- runs and logs.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.delete@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete- (- -- * REST Resource- ProjectsLocationsTransferConfigsDeleteResource-- -- * Creating a Request- , projectsLocationsTransferConfigsDelete- , ProjectsLocationsTransferConfigsDelete-- -- * Request Lenses- , pltcdXgafv- , pltcdUploadProtocol- , pltcdAccessToken- , pltcdUploadType- , pltcdName- , pltcdCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.delete@ method which the--- 'ProjectsLocationsTransferConfigsDelete' request conforms to.-type ProjectsLocationsTransferConfigsDeleteResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes a data transfer configuration, including any associated transfer--- runs and logs.------ /See:/ 'projectsLocationsTransferConfigsDelete' smart constructor.-data ProjectsLocationsTransferConfigsDelete =- ProjectsLocationsTransferConfigsDelete'- { _pltcdXgafv :: !(Maybe Xgafv)- , _pltcdUploadProtocol :: !(Maybe Text)- , _pltcdAccessToken :: !(Maybe Text)- , _pltcdUploadType :: !(Maybe Text)- , _pltcdName :: !Text- , _pltcdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcdXgafv'------ * 'pltcdUploadProtocol'------ * 'pltcdAccessToken'------ * 'pltcdUploadType'------ * 'pltcdName'------ * 'pltcdCallback'-projectsLocationsTransferConfigsDelete- :: Text -- ^ 'pltcdName'- -> ProjectsLocationsTransferConfigsDelete-projectsLocationsTransferConfigsDelete pPltcdName_ =- ProjectsLocationsTransferConfigsDelete'- { _pltcdXgafv = Nothing- , _pltcdUploadProtocol = Nothing- , _pltcdAccessToken = Nothing- , _pltcdUploadType = Nothing- , _pltcdName = pPltcdName_- , _pltcdCallback = Nothing- }----- | V1 error format.-pltcdXgafv :: Lens' ProjectsLocationsTransferConfigsDelete (Maybe Xgafv)-pltcdXgafv- = lens _pltcdXgafv (\ s a -> s{_pltcdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcdUploadProtocol :: Lens' ProjectsLocationsTransferConfigsDelete (Maybe Text)-pltcdUploadProtocol- = lens _pltcdUploadProtocol- (\ s a -> s{_pltcdUploadProtocol = a})---- | OAuth access token.-pltcdAccessToken :: Lens' ProjectsLocationsTransferConfigsDelete (Maybe Text)-pltcdAccessToken- = lens _pltcdAccessToken- (\ s a -> s{_pltcdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcdUploadType :: Lens' ProjectsLocationsTransferConfigsDelete (Maybe Text)-pltcdUploadType- = lens _pltcdUploadType- (\ s a -> s{_pltcdUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`-pltcdName :: Lens' ProjectsLocationsTransferConfigsDelete Text-pltcdName- = lens _pltcdName (\ s a -> s{_pltcdName = a})---- | JSONP-pltcdCallback :: Lens' ProjectsLocationsTransferConfigsDelete (Maybe Text)-pltcdCallback- = lens _pltcdCallback- (\ s a -> s{_pltcdCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsDelete- where- type Rs ProjectsLocationsTransferConfigsDelete =- Empty- type Scopes ProjectsLocationsTransferConfigsDelete =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsLocationsTransferConfigsDelete'{..}- = go _pltcdName _pltcdXgafv _pltcdUploadProtocol- _pltcdAccessToken- _pltcdUploadType- _pltcdCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsLocationsTransferConfigsDeleteResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Get.hs
@@ -1,160 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about a data transfer config.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.get@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get- (- -- * REST Resource- ProjectsLocationsTransferConfigsGetResource-- -- * Creating a Request- , projectsLocationsTransferConfigsGet- , ProjectsLocationsTransferConfigsGet-- -- * Request Lenses- , pltcgXgafv- , pltcgUploadProtocol- , pltcgAccessToken- , pltcgUploadType- , pltcgName- , pltcgCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.get@ method which the--- 'ProjectsLocationsTransferConfigsGet' request conforms to.-type ProjectsLocationsTransferConfigsGetResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] TransferConfig---- | Returns information about a data transfer config.------ /See:/ 'projectsLocationsTransferConfigsGet' smart constructor.-data ProjectsLocationsTransferConfigsGet =- ProjectsLocationsTransferConfigsGet'- { _pltcgXgafv :: !(Maybe Xgafv)- , _pltcgUploadProtocol :: !(Maybe Text)- , _pltcgAccessToken :: !(Maybe Text)- , _pltcgUploadType :: !(Maybe Text)- , _pltcgName :: !Text- , _pltcgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcgXgafv'------ * 'pltcgUploadProtocol'------ * 'pltcgAccessToken'------ * 'pltcgUploadType'------ * 'pltcgName'------ * 'pltcgCallback'-projectsLocationsTransferConfigsGet- :: Text -- ^ 'pltcgName'- -> ProjectsLocationsTransferConfigsGet-projectsLocationsTransferConfigsGet pPltcgName_ =- ProjectsLocationsTransferConfigsGet'- { _pltcgXgafv = Nothing- , _pltcgUploadProtocol = Nothing- , _pltcgAccessToken = Nothing- , _pltcgUploadType = Nothing- , _pltcgName = pPltcgName_- , _pltcgCallback = Nothing- }----- | V1 error format.-pltcgXgafv :: Lens' ProjectsLocationsTransferConfigsGet (Maybe Xgafv)-pltcgXgafv- = lens _pltcgXgafv (\ s a -> s{_pltcgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcgUploadProtocol :: Lens' ProjectsLocationsTransferConfigsGet (Maybe Text)-pltcgUploadProtocol- = lens _pltcgUploadProtocol- (\ s a -> s{_pltcgUploadProtocol = a})---- | OAuth access token.-pltcgAccessToken :: Lens' ProjectsLocationsTransferConfigsGet (Maybe Text)-pltcgAccessToken- = lens _pltcgAccessToken- (\ s a -> s{_pltcgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcgUploadType :: Lens' ProjectsLocationsTransferConfigsGet (Maybe Text)-pltcgUploadType- = lens _pltcgUploadType- (\ s a -> s{_pltcgUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`-pltcgName :: Lens' ProjectsLocationsTransferConfigsGet Text-pltcgName- = lens _pltcgName (\ s a -> s{_pltcgName = a})---- | JSONP-pltcgCallback :: Lens' ProjectsLocationsTransferConfigsGet (Maybe Text)-pltcgCallback- = lens _pltcgCallback- (\ s a -> s{_pltcgCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsGet- where- type Rs ProjectsLocationsTransferConfigsGet =- TransferConfig- type Scopes ProjectsLocationsTransferConfigsGet =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient- ProjectsLocationsTransferConfigsGet'{..}- = go _pltcgName _pltcgXgafv _pltcgUploadProtocol- _pltcgAccessToken- _pltcgUploadType- _pltcgCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsLocationsTransferConfigsGetResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/List.hs
@@ -1,208 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about all data transfers in the project.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List- (- -- * REST Resource- ProjectsLocationsTransferConfigsListResource-- -- * Creating a Request- , projectsLocationsTransferConfigsList- , ProjectsLocationsTransferConfigsList-- -- * Request Lenses- , pltclParent- , pltclXgafv- , pltclUploadProtocol- , pltclAccessToken- , pltclUploadType- , pltclPageToken- , pltclDataSourceIds- , pltclPageSize- , pltclCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.list@ method which the--- 'ProjectsLocationsTransferConfigsList' request conforms to.-type ProjectsLocationsTransferConfigsListResource =- "v1" :>- Capture "parent" Text :>- "transferConfigs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParams "dataSourceIds" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListTransferConfigsResponse---- | Returns information about all data transfers in the project.------ /See:/ 'projectsLocationsTransferConfigsList' smart constructor.-data ProjectsLocationsTransferConfigsList =- ProjectsLocationsTransferConfigsList'- { _pltclParent :: !Text- , _pltclXgafv :: !(Maybe Xgafv)- , _pltclUploadProtocol :: !(Maybe Text)- , _pltclAccessToken :: !(Maybe Text)- , _pltclUploadType :: !(Maybe Text)- , _pltclPageToken :: !(Maybe Text)- , _pltclDataSourceIds :: !(Maybe [Text])- , _pltclPageSize :: !(Maybe (Textual Int32))- , _pltclCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltclParent'------ * 'pltclXgafv'------ * 'pltclUploadProtocol'------ * 'pltclAccessToken'------ * 'pltclUploadType'------ * 'pltclPageToken'------ * 'pltclDataSourceIds'------ * 'pltclPageSize'------ * 'pltclCallback'-projectsLocationsTransferConfigsList- :: Text -- ^ 'pltclParent'- -> ProjectsLocationsTransferConfigsList-projectsLocationsTransferConfigsList pPltclParent_ =- ProjectsLocationsTransferConfigsList'- { _pltclParent = pPltclParent_- , _pltclXgafv = Nothing- , _pltclUploadProtocol = Nothing- , _pltclAccessToken = Nothing- , _pltclUploadType = Nothing- , _pltclPageToken = Nothing- , _pltclDataSourceIds = Nothing- , _pltclPageSize = Nothing- , _pltclCallback = Nothing- }----- | The BigQuery project id for which data sources should be returned:--- \`projects\/{project_id}\`.-pltclParent :: Lens' ProjectsLocationsTransferConfigsList Text-pltclParent- = lens _pltclParent (\ s a -> s{_pltclParent = a})---- | V1 error format.-pltclXgafv :: Lens' ProjectsLocationsTransferConfigsList (Maybe Xgafv)-pltclXgafv- = lens _pltclXgafv (\ s a -> s{_pltclXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltclUploadProtocol :: Lens' ProjectsLocationsTransferConfigsList (Maybe Text)-pltclUploadProtocol- = lens _pltclUploadProtocol- (\ s a -> s{_pltclUploadProtocol = a})---- | OAuth access token.-pltclAccessToken :: Lens' ProjectsLocationsTransferConfigsList (Maybe Text)-pltclAccessToken- = lens _pltclAccessToken- (\ s a -> s{_pltclAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltclUploadType :: Lens' ProjectsLocationsTransferConfigsList (Maybe Text)-pltclUploadType- = lens _pltclUploadType- (\ s a -> s{_pltclUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListTransfersRequest\` list results. For multiple-page results,--- \`ListTransfersResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-pltclPageToken :: Lens' ProjectsLocationsTransferConfigsList (Maybe Text)-pltclPageToken- = lens _pltclPageToken- (\ s a -> s{_pltclPageToken = a})---- | When specified, only configurations of requested data sources are--- returned.-pltclDataSourceIds :: Lens' ProjectsLocationsTransferConfigsList [Text]-pltclDataSourceIds- = lens _pltclDataSourceIds- (\ s a -> s{_pltclDataSourceIds = a})- . _Default- . _Coerce---- | Page size. The default page size is the maximum value of 1000 results.-pltclPageSize :: Lens' ProjectsLocationsTransferConfigsList (Maybe Int32)-pltclPageSize- = lens _pltclPageSize- (\ s a -> s{_pltclPageSize = a})- . mapping _Coerce---- | JSONP-pltclCallback :: Lens' ProjectsLocationsTransferConfigsList (Maybe Text)-pltclCallback- = lens _pltclCallback- (\ s a -> s{_pltclCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsList- where- type Rs ProjectsLocationsTransferConfigsList =- ListTransferConfigsResponse- type Scopes ProjectsLocationsTransferConfigsList =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient- ProjectsLocationsTransferConfigsList'{..}- = go _pltclParent _pltclXgafv _pltclUploadProtocol- _pltclAccessToken- _pltclUploadType- _pltclPageToken- (_pltclDataSourceIds ^. _Default)- _pltclPageSize- _pltclCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsLocationsTransferConfigsListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Patch.hs
@@ -1,235 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates a data transfer configuration. All fields must be set, even if--- they are not updated.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.patch@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch- (- -- * REST Resource- ProjectsLocationsTransferConfigsPatchResource-- -- * Creating a Request- , projectsLocationsTransferConfigsPatch- , ProjectsLocationsTransferConfigsPatch-- -- * Request Lenses- , pltcpXgafv- , pltcpUploadProtocol- , pltcpUpdateMask- , pltcpAccessToken- , pltcpUploadType- , pltcpAuthorizationCode- , pltcpPayload- , pltcpVersionInfo- , pltcpName- , pltcpCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.patch@ method which the--- 'ProjectsLocationsTransferConfigsPatch' request conforms to.-type ProjectsLocationsTransferConfigsPatchResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "updateMask" GFieldMask :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "authorizationCode" Text :>- QueryParam "versionInfo" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] TransferConfig :>- Patch '[JSON] TransferConfig---- | Updates a data transfer configuration. All fields must be set, even if--- they are not updated.------ /See:/ 'projectsLocationsTransferConfigsPatch' smart constructor.-data ProjectsLocationsTransferConfigsPatch =- ProjectsLocationsTransferConfigsPatch'- { _pltcpXgafv :: !(Maybe Xgafv)- , _pltcpUploadProtocol :: !(Maybe Text)- , _pltcpUpdateMask :: !(Maybe GFieldMask)- , _pltcpAccessToken :: !(Maybe Text)- , _pltcpUploadType :: !(Maybe Text)- , _pltcpAuthorizationCode :: !(Maybe Text)- , _pltcpPayload :: !TransferConfig- , _pltcpVersionInfo :: !(Maybe Text)- , _pltcpName :: !Text- , _pltcpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcpXgafv'------ * 'pltcpUploadProtocol'------ * 'pltcpUpdateMask'------ * 'pltcpAccessToken'------ * 'pltcpUploadType'------ * 'pltcpAuthorizationCode'------ * 'pltcpPayload'------ * 'pltcpVersionInfo'------ * 'pltcpName'------ * 'pltcpCallback'-projectsLocationsTransferConfigsPatch- :: TransferConfig -- ^ 'pltcpPayload'- -> Text -- ^ 'pltcpName'- -> ProjectsLocationsTransferConfigsPatch-projectsLocationsTransferConfigsPatch pPltcpPayload_ pPltcpName_ =- ProjectsLocationsTransferConfigsPatch'- { _pltcpXgafv = Nothing- , _pltcpUploadProtocol = Nothing- , _pltcpUpdateMask = Nothing- , _pltcpAccessToken = Nothing- , _pltcpUploadType = Nothing- , _pltcpAuthorizationCode = Nothing- , _pltcpPayload = pPltcpPayload_- , _pltcpVersionInfo = Nothing- , _pltcpName = pPltcpName_- , _pltcpCallback = Nothing- }----- | V1 error format.-pltcpXgafv :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe Xgafv)-pltcpXgafv- = lens _pltcpXgafv (\ s a -> s{_pltcpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcpUploadProtocol :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe Text)-pltcpUploadProtocol- = lens _pltcpUploadProtocol- (\ s a -> s{_pltcpUploadProtocol = a})---- | Required list of fields to be updated in this request.-pltcpUpdateMask :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe GFieldMask)-pltcpUpdateMask- = lens _pltcpUpdateMask- (\ s a -> s{_pltcpUpdateMask = a})---- | OAuth access token.-pltcpAccessToken :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe Text)-pltcpAccessToken- = lens _pltcpAccessToken- (\ s a -> s{_pltcpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcpUploadType :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe Text)-pltcpUploadType- = lens _pltcpUploadType- (\ s a -> s{_pltcpUploadType = a})---- | Optional OAuth2 authorization code to use with this transfer--- configuration. If it is provided, the transfer configuration will be--- associated with the authorizing user. In order to obtain--- authorization_code, please make a request to--- https:\/\/www.gstatic.com\/bigquerydatatransfer\/oauthz\/auth?client_id=&scope=&redirect_uri=--- * client_id should be OAuth client_id of BigQuery DTS API for the given--- data source returned by ListDataSources method. * data_source_scopes are--- the scopes returned by ListDataSources method. * redirect_uri is an--- optional parameter. If not specified, then authorization code is posted--- to the opener of authorization flow window. Otherwise it will be sent to--- the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means--- that authorization code should be returned in the title bar of the--- browser, with the page text prompting the user to copy the code and--- paste it in the application.-pltcpAuthorizationCode :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe Text)-pltcpAuthorizationCode- = lens _pltcpAuthorizationCode- (\ s a -> s{_pltcpAuthorizationCode = a})---- | Multipart request metadata.-pltcpPayload :: Lens' ProjectsLocationsTransferConfigsPatch TransferConfig-pltcpPayload- = lens _pltcpPayload (\ s a -> s{_pltcpPayload = a})---- | Optional version info. If users want to find a very recent access token,--- that is, immediately after approving access, users have to set the--- version_info claim in the token request. To obtain the version_info,--- users must use the “none+gsession” response type. which be return a--- version_info back in the authorization response which be be put in a JWT--- claim in the token request.-pltcpVersionInfo :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe Text)-pltcpVersionInfo- = lens _pltcpVersionInfo- (\ s a -> s{_pltcpVersionInfo = a})---- | The resource name of the transfer config. Transfer config names have the--- form of--- \`projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}\`.--- The name is automatically generated based on the config_id specified in--- CreateTransferConfigRequest along with project_id and region. If--- config_id is not provided, usually a uuid, even though it is not--- guaranteed or required, will be generated for config_id.-pltcpName :: Lens' ProjectsLocationsTransferConfigsPatch Text-pltcpName- = lens _pltcpName (\ s a -> s{_pltcpName = a})---- | JSONP-pltcpCallback :: Lens' ProjectsLocationsTransferConfigsPatch (Maybe Text)-pltcpCallback- = lens _pltcpCallback- (\ s a -> s{_pltcpCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsPatch- where- type Rs ProjectsLocationsTransferConfigsPatch =- TransferConfig- type Scopes ProjectsLocationsTransferConfigsPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsLocationsTransferConfigsPatch'{..}- = go _pltcpName _pltcpXgafv _pltcpUploadProtocol- _pltcpUpdateMask- _pltcpAccessToken- _pltcpUploadType- _pltcpAuthorizationCode- _pltcpVersionInfo- _pltcpCallback- (Just AltJSON)- _pltcpPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsLocationsTransferConfigsPatchResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Delete.hs
@@ -1,162 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified transfer run.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.delete@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete- (- -- * REST Resource- ProjectsLocationsTransferConfigsRunsDeleteResource-- -- * Creating a Request- , projectsLocationsTransferConfigsRunsDelete- , ProjectsLocationsTransferConfigsRunsDelete-- -- * Request Lenses- , pltcrdXgafv- , pltcrdUploadProtocol- , pltcrdAccessToken- , pltcrdUploadType- , pltcrdName- , pltcrdCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.delete@ method which the--- 'ProjectsLocationsTransferConfigsRunsDelete' request conforms to.-type ProjectsLocationsTransferConfigsRunsDeleteResource- =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes the specified transfer run.------ /See:/ 'projectsLocationsTransferConfigsRunsDelete' smart constructor.-data ProjectsLocationsTransferConfigsRunsDelete =- ProjectsLocationsTransferConfigsRunsDelete'- { _pltcrdXgafv :: !(Maybe Xgafv)- , _pltcrdUploadProtocol :: !(Maybe Text)- , _pltcrdAccessToken :: !(Maybe Text)- , _pltcrdUploadType :: !(Maybe Text)- , _pltcrdName :: !Text- , _pltcrdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsRunsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcrdXgafv'------ * 'pltcrdUploadProtocol'------ * 'pltcrdAccessToken'------ * 'pltcrdUploadType'------ * 'pltcrdName'------ * 'pltcrdCallback'-projectsLocationsTransferConfigsRunsDelete- :: Text -- ^ 'pltcrdName'- -> ProjectsLocationsTransferConfigsRunsDelete-projectsLocationsTransferConfigsRunsDelete pPltcrdName_ =- ProjectsLocationsTransferConfigsRunsDelete'- { _pltcrdXgafv = Nothing- , _pltcrdUploadProtocol = Nothing- , _pltcrdAccessToken = Nothing- , _pltcrdUploadType = Nothing- , _pltcrdName = pPltcrdName_- , _pltcrdCallback = Nothing- }----- | V1 error format.-pltcrdXgafv :: Lens' ProjectsLocationsTransferConfigsRunsDelete (Maybe Xgafv)-pltcrdXgafv- = lens _pltcrdXgafv (\ s a -> s{_pltcrdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcrdUploadProtocol :: Lens' ProjectsLocationsTransferConfigsRunsDelete (Maybe Text)-pltcrdUploadProtocol- = lens _pltcrdUploadProtocol- (\ s a -> s{_pltcrdUploadProtocol = a})---- | OAuth access token.-pltcrdAccessToken :: Lens' ProjectsLocationsTransferConfigsRunsDelete (Maybe Text)-pltcrdAccessToken- = lens _pltcrdAccessToken- (\ s a -> s{_pltcrdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcrdUploadType :: Lens' ProjectsLocationsTransferConfigsRunsDelete (Maybe Text)-pltcrdUploadType- = lens _pltcrdUploadType- (\ s a -> s{_pltcrdUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}\`-pltcrdName :: Lens' ProjectsLocationsTransferConfigsRunsDelete Text-pltcrdName- = lens _pltcrdName (\ s a -> s{_pltcrdName = a})---- | JSONP-pltcrdCallback :: Lens' ProjectsLocationsTransferConfigsRunsDelete (Maybe Text)-pltcrdCallback- = lens _pltcrdCallback- (\ s a -> s{_pltcrdCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsRunsDelete- where- type Rs ProjectsLocationsTransferConfigsRunsDelete =- Empty- type Scopes- ProjectsLocationsTransferConfigsRunsDelete- =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsLocationsTransferConfigsRunsDelete'{..}- = go _pltcrdName _pltcrdXgafv _pltcrdUploadProtocol- _pltcrdAccessToken- _pltcrdUploadType- _pltcrdCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsLocationsTransferConfigsRunsDeleteResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/Get.hs
@@ -1,161 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about the particular transfer run.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.get@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get- (- -- * REST Resource- ProjectsLocationsTransferConfigsRunsGetResource-- -- * Creating a Request- , projectsLocationsTransferConfigsRunsGet- , ProjectsLocationsTransferConfigsRunsGet-- -- * Request Lenses- , pltcrgXgafv- , pltcrgUploadProtocol- , pltcrgAccessToken- , pltcrgUploadType- , pltcrgName- , pltcrgCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.get@ method which the--- 'ProjectsLocationsTransferConfigsRunsGet' request conforms to.-type ProjectsLocationsTransferConfigsRunsGetResource- =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] TransferRun---- | Returns information about the particular transfer run.------ /See:/ 'projectsLocationsTransferConfigsRunsGet' smart constructor.-data ProjectsLocationsTransferConfigsRunsGet =- ProjectsLocationsTransferConfigsRunsGet'- { _pltcrgXgafv :: !(Maybe Xgafv)- , _pltcrgUploadProtocol :: !(Maybe Text)- , _pltcrgAccessToken :: !(Maybe Text)- , _pltcrgUploadType :: !(Maybe Text)- , _pltcrgName :: !Text- , _pltcrgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsRunsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcrgXgafv'------ * 'pltcrgUploadProtocol'------ * 'pltcrgAccessToken'------ * 'pltcrgUploadType'------ * 'pltcrgName'------ * 'pltcrgCallback'-projectsLocationsTransferConfigsRunsGet- :: Text -- ^ 'pltcrgName'- -> ProjectsLocationsTransferConfigsRunsGet-projectsLocationsTransferConfigsRunsGet pPltcrgName_ =- ProjectsLocationsTransferConfigsRunsGet'- { _pltcrgXgafv = Nothing- , _pltcrgUploadProtocol = Nothing- , _pltcrgAccessToken = Nothing- , _pltcrgUploadType = Nothing- , _pltcrgName = pPltcrgName_- , _pltcrgCallback = Nothing- }----- | V1 error format.-pltcrgXgafv :: Lens' ProjectsLocationsTransferConfigsRunsGet (Maybe Xgafv)-pltcrgXgafv- = lens _pltcrgXgafv (\ s a -> s{_pltcrgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcrgUploadProtocol :: Lens' ProjectsLocationsTransferConfigsRunsGet (Maybe Text)-pltcrgUploadProtocol- = lens _pltcrgUploadProtocol- (\ s a -> s{_pltcrgUploadProtocol = a})---- | OAuth access token.-pltcrgAccessToken :: Lens' ProjectsLocationsTransferConfigsRunsGet (Maybe Text)-pltcrgAccessToken- = lens _pltcrgAccessToken- (\ s a -> s{_pltcrgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcrgUploadType :: Lens' ProjectsLocationsTransferConfigsRunsGet (Maybe Text)-pltcrgUploadType- = lens _pltcrgUploadType- (\ s a -> s{_pltcrgUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}\`-pltcrgName :: Lens' ProjectsLocationsTransferConfigsRunsGet Text-pltcrgName- = lens _pltcrgName (\ s a -> s{_pltcrgName = a})---- | JSONP-pltcrgCallback :: Lens' ProjectsLocationsTransferConfigsRunsGet (Maybe Text)-pltcrgCallback- = lens _pltcrgCallback- (\ s a -> s{_pltcrgCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsRunsGet- where- type Rs ProjectsLocationsTransferConfigsRunsGet =- TransferRun- type Scopes ProjectsLocationsTransferConfigsRunsGet =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient- ProjectsLocationsTransferConfigsRunsGet'{..}- = go _pltcrgName _pltcrgXgafv _pltcrgUploadProtocol- _pltcrgAccessToken- _pltcrgUploadType- _pltcrgCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsLocationsTransferConfigsRunsGetResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/List.hs
@@ -1,224 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about running and completed jobs.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List- (- -- * REST Resource- ProjectsLocationsTransferConfigsRunsListResource-- -- * Creating a Request- , projectsLocationsTransferConfigsRunsList- , ProjectsLocationsTransferConfigsRunsList-- -- * Request Lenses- , pltcrlRunAttempt- , pltcrlParent- , pltcrlStates- , pltcrlXgafv- , pltcrlUploadProtocol- , pltcrlAccessToken- , pltcrlUploadType- , pltcrlPageToken- , pltcrlPageSize- , pltcrlCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.list@ method which the--- 'ProjectsLocationsTransferConfigsRunsList' request conforms to.-type ProjectsLocationsTransferConfigsRunsListResource- =- "v1" :>- Capture "parent" Text :>- "runs" :>- QueryParam "runAttempt" Text :>- QueryParams "states" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListTransferRunsResponse---- | Returns information about running and completed jobs.------ /See:/ 'projectsLocationsTransferConfigsRunsList' smart constructor.-data ProjectsLocationsTransferConfigsRunsList =- ProjectsLocationsTransferConfigsRunsList'- { _pltcrlRunAttempt :: !(Maybe Text)- , _pltcrlParent :: !Text- , _pltcrlStates :: !(Maybe [Text])- , _pltcrlXgafv :: !(Maybe Xgafv)- , _pltcrlUploadProtocol :: !(Maybe Text)- , _pltcrlAccessToken :: !(Maybe Text)- , _pltcrlUploadType :: !(Maybe Text)- , _pltcrlPageToken :: !(Maybe Text)- , _pltcrlPageSize :: !(Maybe (Textual Int32))- , _pltcrlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsRunsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcrlRunAttempt'------ * 'pltcrlParent'------ * 'pltcrlStates'------ * 'pltcrlXgafv'------ * 'pltcrlUploadProtocol'------ * 'pltcrlAccessToken'------ * 'pltcrlUploadType'------ * 'pltcrlPageToken'------ * 'pltcrlPageSize'------ * 'pltcrlCallback'-projectsLocationsTransferConfigsRunsList- :: Text -- ^ 'pltcrlParent'- -> ProjectsLocationsTransferConfigsRunsList-projectsLocationsTransferConfigsRunsList pPltcrlParent_ =- ProjectsLocationsTransferConfigsRunsList'- { _pltcrlRunAttempt = Nothing- , _pltcrlParent = pPltcrlParent_- , _pltcrlStates = Nothing- , _pltcrlXgafv = Nothing- , _pltcrlUploadProtocol = Nothing- , _pltcrlAccessToken = Nothing- , _pltcrlUploadType = Nothing- , _pltcrlPageToken = Nothing- , _pltcrlPageSize = Nothing- , _pltcrlCallback = Nothing- }----- | Indicates how run attempts are to be pulled.-pltcrlRunAttempt :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Text)-pltcrlRunAttempt- = lens _pltcrlRunAttempt- (\ s a -> s{_pltcrlRunAttempt = a})---- | Name of transfer configuration for which transfer runs should be--- retrieved. Format of transfer configuration resource name is:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`.-pltcrlParent :: Lens' ProjectsLocationsTransferConfigsRunsList Text-pltcrlParent- = lens _pltcrlParent (\ s a -> s{_pltcrlParent = a})---- | When specified, only transfer runs with requested states are returned.-pltcrlStates :: Lens' ProjectsLocationsTransferConfigsRunsList [Text]-pltcrlStates- = lens _pltcrlStates (\ s a -> s{_pltcrlStates = a})- . _Default- . _Coerce---- | V1 error format.-pltcrlXgafv :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Xgafv)-pltcrlXgafv- = lens _pltcrlXgafv (\ s a -> s{_pltcrlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcrlUploadProtocol :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Text)-pltcrlUploadProtocol- = lens _pltcrlUploadProtocol- (\ s a -> s{_pltcrlUploadProtocol = a})---- | OAuth access token.-pltcrlAccessToken :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Text)-pltcrlAccessToken- = lens _pltcrlAccessToken- (\ s a -> s{_pltcrlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcrlUploadType :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Text)-pltcrlUploadType- = lens _pltcrlUploadType- (\ s a -> s{_pltcrlUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListTransferRunsRequest\` list results. For multiple-page results,--- \`ListTransferRunsResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-pltcrlPageToken :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Text)-pltcrlPageToken- = lens _pltcrlPageToken- (\ s a -> s{_pltcrlPageToken = a})---- | Page size. The default page size is the maximum value of 1000 results.-pltcrlPageSize :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Int32)-pltcrlPageSize- = lens _pltcrlPageSize- (\ s a -> s{_pltcrlPageSize = a})- . mapping _Coerce---- | JSONP-pltcrlCallback :: Lens' ProjectsLocationsTransferConfigsRunsList (Maybe Text)-pltcrlCallback- = lens _pltcrlCallback- (\ s a -> s{_pltcrlCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsRunsList- where- type Rs ProjectsLocationsTransferConfigsRunsList =- ListTransferRunsResponse- type Scopes ProjectsLocationsTransferConfigsRunsList- =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient- ProjectsLocationsTransferConfigsRunsList'{..}- = go _pltcrlParent _pltcrlRunAttempt- (_pltcrlStates ^. _Default)- _pltcrlXgafv- _pltcrlUploadProtocol- _pltcrlAccessToken- _pltcrlUploadType- _pltcrlPageToken- _pltcrlPageSize- _pltcrlCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsLocationsTransferConfigsRunsListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/Runs/TransferLogs/List.hs
@@ -1,216 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns user facing log messages for the data transfer run.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List- (- -- * REST Resource- ProjectsLocationsTransferConfigsRunsTransferLogsListResource-- -- * Creating a Request- , projectsLocationsTransferConfigsRunsTransferLogsList- , ProjectsLocationsTransferConfigsRunsTransferLogsList-- -- * Request Lenses- , pltcrtllParent- , pltcrtllXgafv- , pltcrtllUploadProtocol- , pltcrtllMessageTypes- , pltcrtllAccessToken- , pltcrtllUploadType- , pltcrtllPageToken- , pltcrtllPageSize- , pltcrtllCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list@ method which the--- 'ProjectsLocationsTransferConfigsRunsTransferLogsList' request conforms to.-type ProjectsLocationsTransferConfigsRunsTransferLogsListResource- =- "v1" :>- Capture "parent" Text :>- "transferLogs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParams "messageTypes" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListTransferLogsResponse---- | Returns user facing log messages for the data transfer run.------ /See:/ 'projectsLocationsTransferConfigsRunsTransferLogsList' smart constructor.-data ProjectsLocationsTransferConfigsRunsTransferLogsList =- ProjectsLocationsTransferConfigsRunsTransferLogsList'- { _pltcrtllParent :: !Text- , _pltcrtllXgafv :: !(Maybe Xgafv)- , _pltcrtllUploadProtocol :: !(Maybe Text)- , _pltcrtllMessageTypes :: !(Maybe [Text])- , _pltcrtllAccessToken :: !(Maybe Text)- , _pltcrtllUploadType :: !(Maybe Text)- , _pltcrtllPageToken :: !(Maybe Text)- , _pltcrtllPageSize :: !(Maybe (Textual Int32))- , _pltcrtllCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsRunsTransferLogsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcrtllParent'------ * 'pltcrtllXgafv'------ * 'pltcrtllUploadProtocol'------ * 'pltcrtllMessageTypes'------ * 'pltcrtllAccessToken'------ * 'pltcrtllUploadType'------ * 'pltcrtllPageToken'------ * 'pltcrtllPageSize'------ * 'pltcrtllCallback'-projectsLocationsTransferConfigsRunsTransferLogsList- :: Text -- ^ 'pltcrtllParent'- -> ProjectsLocationsTransferConfigsRunsTransferLogsList-projectsLocationsTransferConfigsRunsTransferLogsList pPltcrtllParent_ =- ProjectsLocationsTransferConfigsRunsTransferLogsList'- { _pltcrtllParent = pPltcrtllParent_- , _pltcrtllXgafv = Nothing- , _pltcrtllUploadProtocol = Nothing- , _pltcrtllMessageTypes = Nothing- , _pltcrtllAccessToken = Nothing- , _pltcrtllUploadType = Nothing- , _pltcrtllPageToken = Nothing- , _pltcrtllPageSize = Nothing- , _pltcrtllCallback = Nothing- }----- | Transfer run name in the form:--- \`projects\/{project_id}\/transferConfigs\/{config_Id}\/runs\/{run_id}\`.-pltcrtllParent :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList Text-pltcrtllParent- = lens _pltcrtllParent- (\ s a -> s{_pltcrtllParent = a})---- | V1 error format.-pltcrtllXgafv :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList (Maybe Xgafv)-pltcrtllXgafv- = lens _pltcrtllXgafv- (\ s a -> s{_pltcrtllXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcrtllUploadProtocol :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList (Maybe Text)-pltcrtllUploadProtocol- = lens _pltcrtllUploadProtocol- (\ s a -> s{_pltcrtllUploadProtocol = a})---- | Message types to return. If not populated - INFO, WARNING and ERROR--- messages are returned.-pltcrtllMessageTypes :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList [Text]-pltcrtllMessageTypes- = lens _pltcrtllMessageTypes- (\ s a -> s{_pltcrtllMessageTypes = a})- . _Default- . _Coerce---- | OAuth access token.-pltcrtllAccessToken :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList (Maybe Text)-pltcrtllAccessToken- = lens _pltcrtllAccessToken- (\ s a -> s{_pltcrtllAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcrtllUploadType :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList (Maybe Text)-pltcrtllUploadType- = lens _pltcrtllUploadType- (\ s a -> s{_pltcrtllUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListTransferLogsRequest\` list results. For multiple-page results,--- \`ListTransferLogsResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-pltcrtllPageToken :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList (Maybe Text)-pltcrtllPageToken- = lens _pltcrtllPageToken- (\ s a -> s{_pltcrtllPageToken = a})---- | Page size. The default page size is the maximum value of 1000 results.-pltcrtllPageSize :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList (Maybe Int32)-pltcrtllPageSize- = lens _pltcrtllPageSize- (\ s a -> s{_pltcrtllPageSize = a})- . mapping _Coerce---- | JSONP-pltcrtllCallback :: Lens' ProjectsLocationsTransferConfigsRunsTransferLogsList (Maybe Text)-pltcrtllCallback- = lens _pltcrtllCallback- (\ s a -> s{_pltcrtllCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsRunsTransferLogsList- where- type Rs- ProjectsLocationsTransferConfigsRunsTransferLogsList- = ListTransferLogsResponse- type Scopes- ProjectsLocationsTransferConfigsRunsTransferLogsList- =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient- ProjectsLocationsTransferConfigsRunsTransferLogsList'{..}- = go _pltcrtllParent _pltcrtllXgafv- _pltcrtllUploadProtocol- (_pltcrtllMessageTypes ^. _Default)- _pltcrtllAccessToken- _pltcrtllUploadType- _pltcrtllPageToken- _pltcrtllPageSize- _pltcrtllCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsLocationsTransferConfigsRunsTransferLogsListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/ScheduleRuns.hs
@@ -1,183 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates transfer runs for a time range [start_time, end_time]. For each--- date - or whatever granularity the data source supports - in the range,--- one transfer run is created. Note that runs are created per UTC time in--- the time range. DEPRECATED: use StartManualTransferRuns instead.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns- (- -- * REST Resource- ProjectsLocationsTransferConfigsScheduleRunsResource-- -- * Creating a Request- , projectsLocationsTransferConfigsScheduleRuns- , ProjectsLocationsTransferConfigsScheduleRuns-- -- * Request Lenses- , pltcsrParent- , pltcsrXgafv- , pltcsrUploadProtocol- , pltcsrAccessToken- , pltcsrUploadType- , pltcsrPayload- , pltcsrCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns@ method which the--- 'ProjectsLocationsTransferConfigsScheduleRuns' request conforms to.-type ProjectsLocationsTransferConfigsScheduleRunsResource- =- "v1" :>- CaptureMode "parent" "scheduleRuns" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] ScheduleTransferRunsRequest :>- Post '[JSON] ScheduleTransferRunsResponse---- | Creates transfer runs for a time range [start_time, end_time]. For each--- date - or whatever granularity the data source supports - in the range,--- one transfer run is created. Note that runs are created per UTC time in--- the time range. DEPRECATED: use StartManualTransferRuns instead.------ /See:/ 'projectsLocationsTransferConfigsScheduleRuns' smart constructor.-data ProjectsLocationsTransferConfigsScheduleRuns =- ProjectsLocationsTransferConfigsScheduleRuns'- { _pltcsrParent :: !Text- , _pltcsrXgafv :: !(Maybe Xgafv)- , _pltcsrUploadProtocol :: !(Maybe Text)- , _pltcsrAccessToken :: !(Maybe Text)- , _pltcsrUploadType :: !(Maybe Text)- , _pltcsrPayload :: !ScheduleTransferRunsRequest- , _pltcsrCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsScheduleRuns' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcsrParent'------ * 'pltcsrXgafv'------ * 'pltcsrUploadProtocol'------ * 'pltcsrAccessToken'------ * 'pltcsrUploadType'------ * 'pltcsrPayload'------ * 'pltcsrCallback'-projectsLocationsTransferConfigsScheduleRuns- :: Text -- ^ 'pltcsrParent'- -> ScheduleTransferRunsRequest -- ^ 'pltcsrPayload'- -> ProjectsLocationsTransferConfigsScheduleRuns-projectsLocationsTransferConfigsScheduleRuns pPltcsrParent_ pPltcsrPayload_ =- ProjectsLocationsTransferConfigsScheduleRuns'- { _pltcsrParent = pPltcsrParent_- , _pltcsrXgafv = Nothing- , _pltcsrUploadProtocol = Nothing- , _pltcsrAccessToken = Nothing- , _pltcsrUploadType = Nothing- , _pltcsrPayload = pPltcsrPayload_- , _pltcsrCallback = Nothing- }----- | Transfer configuration name in the form:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`.-pltcsrParent :: Lens' ProjectsLocationsTransferConfigsScheduleRuns Text-pltcsrParent- = lens _pltcsrParent (\ s a -> s{_pltcsrParent = a})---- | V1 error format.-pltcsrXgafv :: Lens' ProjectsLocationsTransferConfigsScheduleRuns (Maybe Xgafv)-pltcsrXgafv- = lens _pltcsrXgafv (\ s a -> s{_pltcsrXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcsrUploadProtocol :: Lens' ProjectsLocationsTransferConfigsScheduleRuns (Maybe Text)-pltcsrUploadProtocol- = lens _pltcsrUploadProtocol- (\ s a -> s{_pltcsrUploadProtocol = a})---- | OAuth access token.-pltcsrAccessToken :: Lens' ProjectsLocationsTransferConfigsScheduleRuns (Maybe Text)-pltcsrAccessToken- = lens _pltcsrAccessToken- (\ s a -> s{_pltcsrAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcsrUploadType :: Lens' ProjectsLocationsTransferConfigsScheduleRuns (Maybe Text)-pltcsrUploadType- = lens _pltcsrUploadType- (\ s a -> s{_pltcsrUploadType = a})---- | Multipart request metadata.-pltcsrPayload :: Lens' ProjectsLocationsTransferConfigsScheduleRuns ScheduleTransferRunsRequest-pltcsrPayload- = lens _pltcsrPayload- (\ s a -> s{_pltcsrPayload = a})---- | JSONP-pltcsrCallback :: Lens' ProjectsLocationsTransferConfigsScheduleRuns (Maybe Text)-pltcsrCallback- = lens _pltcsrCallback- (\ s a -> s{_pltcsrCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsScheduleRuns- where- type Rs ProjectsLocationsTransferConfigsScheduleRuns- = ScheduleTransferRunsResponse- type Scopes- ProjectsLocationsTransferConfigsScheduleRuns- =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsLocationsTransferConfigsScheduleRuns'{..}- = go _pltcsrParent _pltcsrXgafv _pltcsrUploadProtocol- _pltcsrAccessToken- _pltcsrUploadType- _pltcsrCallback- (Just AltJSON)- _pltcsrPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsLocationsTransferConfigsScheduleRunsResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/Locations/TransferConfigs/StartManualRuns.hs
@@ -1,186 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Start manual transfer runs to be executed now with schedule_time equal--- to current time. The transfer runs can be created for a time range where--- the run_time is between start_time (inclusive) and end_time (exclusive),--- or for a specific run_time.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns- (- -- * REST Resource- ProjectsLocationsTransferConfigsStartManualRunsResource-- -- * Creating a Request- , projectsLocationsTransferConfigsStartManualRuns- , ProjectsLocationsTransferConfigsStartManualRuns-- -- * Request Lenses- , pltcsmrParent- , pltcsmrXgafv- , pltcsmrUploadProtocol- , pltcsmrAccessToken- , pltcsmrUploadType- , pltcsmrPayload- , pltcsmrCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns@ method which the--- 'ProjectsLocationsTransferConfigsStartManualRuns' request conforms to.-type ProjectsLocationsTransferConfigsStartManualRunsResource- =- "v1" :>- CaptureMode "parent" "startManualRuns" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] StartManualTransferRunsRequest :>- Post '[JSON] StartManualTransferRunsResponse---- | Start manual transfer runs to be executed now with schedule_time equal--- to current time. The transfer runs can be created for a time range where--- the run_time is between start_time (inclusive) and end_time (exclusive),--- or for a specific run_time.------ /See:/ 'projectsLocationsTransferConfigsStartManualRuns' smart constructor.-data ProjectsLocationsTransferConfigsStartManualRuns =- ProjectsLocationsTransferConfigsStartManualRuns'- { _pltcsmrParent :: !Text- , _pltcsmrXgafv :: !(Maybe Xgafv)- , _pltcsmrUploadProtocol :: !(Maybe Text)- , _pltcsmrAccessToken :: !(Maybe Text)- , _pltcsmrUploadType :: !(Maybe Text)- , _pltcsmrPayload :: !StartManualTransferRunsRequest- , _pltcsmrCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsTransferConfigsStartManualRuns' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pltcsmrParent'------ * 'pltcsmrXgafv'------ * 'pltcsmrUploadProtocol'------ * 'pltcsmrAccessToken'------ * 'pltcsmrUploadType'------ * 'pltcsmrPayload'------ * 'pltcsmrCallback'-projectsLocationsTransferConfigsStartManualRuns- :: Text -- ^ 'pltcsmrParent'- -> StartManualTransferRunsRequest -- ^ 'pltcsmrPayload'- -> ProjectsLocationsTransferConfigsStartManualRuns-projectsLocationsTransferConfigsStartManualRuns pPltcsmrParent_ pPltcsmrPayload_ =- ProjectsLocationsTransferConfigsStartManualRuns'- { _pltcsmrParent = pPltcsmrParent_- , _pltcsmrXgafv = Nothing- , _pltcsmrUploadProtocol = Nothing- , _pltcsmrAccessToken = Nothing- , _pltcsmrUploadType = Nothing- , _pltcsmrPayload = pPltcsmrPayload_- , _pltcsmrCallback = Nothing- }----- | Transfer configuration name in the form:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`.-pltcsmrParent :: Lens' ProjectsLocationsTransferConfigsStartManualRuns Text-pltcsmrParent- = lens _pltcsmrParent- (\ s a -> s{_pltcsmrParent = a})---- | V1 error format.-pltcsmrXgafv :: Lens' ProjectsLocationsTransferConfigsStartManualRuns (Maybe Xgafv)-pltcsmrXgafv- = lens _pltcsmrXgafv (\ s a -> s{_pltcsmrXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pltcsmrUploadProtocol :: Lens' ProjectsLocationsTransferConfigsStartManualRuns (Maybe Text)-pltcsmrUploadProtocol- = lens _pltcsmrUploadProtocol- (\ s a -> s{_pltcsmrUploadProtocol = a})---- | OAuth access token.-pltcsmrAccessToken :: Lens' ProjectsLocationsTransferConfigsStartManualRuns (Maybe Text)-pltcsmrAccessToken- = lens _pltcsmrAccessToken- (\ s a -> s{_pltcsmrAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pltcsmrUploadType :: Lens' ProjectsLocationsTransferConfigsStartManualRuns (Maybe Text)-pltcsmrUploadType- = lens _pltcsmrUploadType- (\ s a -> s{_pltcsmrUploadType = a})---- | Multipart request metadata.-pltcsmrPayload :: Lens' ProjectsLocationsTransferConfigsStartManualRuns StartManualTransferRunsRequest-pltcsmrPayload- = lens _pltcsmrPayload- (\ s a -> s{_pltcsmrPayload = a})---- | JSONP-pltcsmrCallback :: Lens' ProjectsLocationsTransferConfigsStartManualRuns (Maybe Text)-pltcsmrCallback- = lens _pltcsmrCallback- (\ s a -> s{_pltcsmrCallback = a})--instance GoogleRequest- ProjectsLocationsTransferConfigsStartManualRuns- where- type Rs- ProjectsLocationsTransferConfigsStartManualRuns- = StartManualTransferRunsResponse- type Scopes- ProjectsLocationsTransferConfigsStartManualRuns- =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsLocationsTransferConfigsStartManualRuns'{..}- = go _pltcsmrParent _pltcsmrXgafv- _pltcsmrUploadProtocol- _pltcsmrAccessToken- _pltcsmrUploadType- _pltcsmrCallback- (Just AltJSON)- _pltcsmrPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsLocationsTransferConfigsStartManualRunsResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Create.hs
@@ -1,216 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new data transfer configuration.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.create@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Create- (- -- * REST Resource- ProjectsTransferConfigsCreateResource-- -- * Creating a Request- , projectsTransferConfigsCreate- , ProjectsTransferConfigsCreate-- -- * Request Lenses- , ptccParent- , ptccXgafv- , ptccUploadProtocol- , ptccAccessToken- , ptccUploadType- , ptccAuthorizationCode- , ptccPayload- , ptccVersionInfo- , ptccCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.create@ method which the--- 'ProjectsTransferConfigsCreate' request conforms to.-type ProjectsTransferConfigsCreateResource =- "v1" :>- Capture "parent" Text :>- "transferConfigs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "authorizationCode" Text :>- QueryParam "versionInfo" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] TransferConfig :>- Post '[JSON] TransferConfig---- | Creates a new data transfer configuration.------ /See:/ 'projectsTransferConfigsCreate' smart constructor.-data ProjectsTransferConfigsCreate =- ProjectsTransferConfigsCreate'- { _ptccParent :: !Text- , _ptccXgafv :: !(Maybe Xgafv)- , _ptccUploadProtocol :: !(Maybe Text)- , _ptccAccessToken :: !(Maybe Text)- , _ptccUploadType :: !(Maybe Text)- , _ptccAuthorizationCode :: !(Maybe Text)- , _ptccPayload :: !TransferConfig- , _ptccVersionInfo :: !(Maybe Text)- , _ptccCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptccParent'------ * 'ptccXgafv'------ * 'ptccUploadProtocol'------ * 'ptccAccessToken'------ * 'ptccUploadType'------ * 'ptccAuthorizationCode'------ * 'ptccPayload'------ * 'ptccVersionInfo'------ * 'ptccCallback'-projectsTransferConfigsCreate- :: Text -- ^ 'ptccParent'- -> TransferConfig -- ^ 'ptccPayload'- -> ProjectsTransferConfigsCreate-projectsTransferConfigsCreate pPtccParent_ pPtccPayload_ =- ProjectsTransferConfigsCreate'- { _ptccParent = pPtccParent_- , _ptccXgafv = Nothing- , _ptccUploadProtocol = Nothing- , _ptccAccessToken = Nothing- , _ptccUploadType = Nothing- , _ptccAuthorizationCode = Nothing- , _ptccPayload = pPtccPayload_- , _ptccVersionInfo = Nothing- , _ptccCallback = Nothing- }----- | The BigQuery project id where the transfer configuration should be--- created. Must be in the format--- projects\/{project_id}\/locations\/{location_id} If specified location--- and location of the destination bigquery dataset do not match - the--- request will fail.-ptccParent :: Lens' ProjectsTransferConfigsCreate Text-ptccParent- = lens _ptccParent (\ s a -> s{_ptccParent = a})---- | V1 error format.-ptccXgafv :: Lens' ProjectsTransferConfigsCreate (Maybe Xgafv)-ptccXgafv- = lens _ptccXgafv (\ s a -> s{_ptccXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptccUploadProtocol :: Lens' ProjectsTransferConfigsCreate (Maybe Text)-ptccUploadProtocol- = lens _ptccUploadProtocol- (\ s a -> s{_ptccUploadProtocol = a})---- | OAuth access token.-ptccAccessToken :: Lens' ProjectsTransferConfigsCreate (Maybe Text)-ptccAccessToken- = lens _ptccAccessToken- (\ s a -> s{_ptccAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptccUploadType :: Lens' ProjectsTransferConfigsCreate (Maybe Text)-ptccUploadType- = lens _ptccUploadType- (\ s a -> s{_ptccUploadType = a})---- | Optional OAuth2 authorization code to use with this transfer--- configuration. This is required if new credentials are needed, as--- indicated by \`CheckValidCreds\`. In order to obtain authorization_code,--- please make a request to--- https:\/\/www.gstatic.com\/bigquerydatatransfer\/oauthz\/auth?client_id=&scope=&redirect_uri=--- * client_id should be OAuth client_id of BigQuery DTS API for the given--- data source returned by ListDataSources method. * data_source_scopes are--- the scopes returned by ListDataSources method. * redirect_uri is an--- optional parameter. If not specified, then authorization code is posted--- to the opener of authorization flow window. Otherwise it will be sent to--- the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means--- that authorization code should be returned in the title bar of the--- browser, with the page text prompting the user to copy the code and--- paste it in the application.-ptccAuthorizationCode :: Lens' ProjectsTransferConfigsCreate (Maybe Text)-ptccAuthorizationCode- = lens _ptccAuthorizationCode- (\ s a -> s{_ptccAuthorizationCode = a})---- | Multipart request metadata.-ptccPayload :: Lens' ProjectsTransferConfigsCreate TransferConfig-ptccPayload- = lens _ptccPayload (\ s a -> s{_ptccPayload = a})---- | Optional version info. If users want to find a very recent access token,--- that is, immediately after approving access, users have to set the--- version_info claim in the token request. To obtain the version_info,--- users must use the “none+gsession” response type. which be return a--- version_info back in the authorization response which be be put in a JWT--- claim in the token request.-ptccVersionInfo :: Lens' ProjectsTransferConfigsCreate (Maybe Text)-ptccVersionInfo- = lens _ptccVersionInfo- (\ s a -> s{_ptccVersionInfo = a})---- | JSONP-ptccCallback :: Lens' ProjectsTransferConfigsCreate (Maybe Text)-ptccCallback- = lens _ptccCallback (\ s a -> s{_ptccCallback = a})--instance GoogleRequest ProjectsTransferConfigsCreate- where- type Rs ProjectsTransferConfigsCreate =- TransferConfig- type Scopes ProjectsTransferConfigsCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsTransferConfigsCreate'{..}- = go _ptccParent _ptccXgafv _ptccUploadProtocol- _ptccAccessToken- _ptccUploadType- _ptccAuthorizationCode- _ptccVersionInfo- _ptccCallback- (Just AltJSON)- _ptccPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsTransferConfigsCreateResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Delete.hs
@@ -1,155 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a data transfer configuration, including any associated transfer--- runs and logs.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.delete@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Delete- (- -- * REST Resource- ProjectsTransferConfigsDeleteResource-- -- * Creating a Request- , projectsTransferConfigsDelete- , ProjectsTransferConfigsDelete-- -- * Request Lenses- , ptcdXgafv- , ptcdUploadProtocol- , ptcdAccessToken- , ptcdUploadType- , ptcdName- , ptcdCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.delete@ method which the--- 'ProjectsTransferConfigsDelete' request conforms to.-type ProjectsTransferConfigsDeleteResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes a data transfer configuration, including any associated transfer--- runs and logs.------ /See:/ 'projectsTransferConfigsDelete' smart constructor.-data ProjectsTransferConfigsDelete =- ProjectsTransferConfigsDelete'- { _ptcdXgafv :: !(Maybe Xgafv)- , _ptcdUploadProtocol :: !(Maybe Text)- , _ptcdAccessToken :: !(Maybe Text)- , _ptcdUploadType :: !(Maybe Text)- , _ptcdName :: !Text- , _ptcdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcdXgafv'------ * 'ptcdUploadProtocol'------ * 'ptcdAccessToken'------ * 'ptcdUploadType'------ * 'ptcdName'------ * 'ptcdCallback'-projectsTransferConfigsDelete- :: Text -- ^ 'ptcdName'- -> ProjectsTransferConfigsDelete-projectsTransferConfigsDelete pPtcdName_ =- ProjectsTransferConfigsDelete'- { _ptcdXgafv = Nothing- , _ptcdUploadProtocol = Nothing- , _ptcdAccessToken = Nothing- , _ptcdUploadType = Nothing- , _ptcdName = pPtcdName_- , _ptcdCallback = Nothing- }----- | V1 error format.-ptcdXgafv :: Lens' ProjectsTransferConfigsDelete (Maybe Xgafv)-ptcdXgafv- = lens _ptcdXgafv (\ s a -> s{_ptcdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcdUploadProtocol :: Lens' ProjectsTransferConfigsDelete (Maybe Text)-ptcdUploadProtocol- = lens _ptcdUploadProtocol- (\ s a -> s{_ptcdUploadProtocol = a})---- | OAuth access token.-ptcdAccessToken :: Lens' ProjectsTransferConfigsDelete (Maybe Text)-ptcdAccessToken- = lens _ptcdAccessToken- (\ s a -> s{_ptcdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcdUploadType :: Lens' ProjectsTransferConfigsDelete (Maybe Text)-ptcdUploadType- = lens _ptcdUploadType- (\ s a -> s{_ptcdUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`-ptcdName :: Lens' ProjectsTransferConfigsDelete Text-ptcdName = lens _ptcdName (\ s a -> s{_ptcdName = a})---- | JSONP-ptcdCallback :: Lens' ProjectsTransferConfigsDelete (Maybe Text)-ptcdCallback- = lens _ptcdCallback (\ s a -> s{_ptcdCallback = a})--instance GoogleRequest ProjectsTransferConfigsDelete- where- type Rs ProjectsTransferConfigsDelete = Empty- type Scopes ProjectsTransferConfigsDelete =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsTransferConfigsDelete'{..}- = go _ptcdName _ptcdXgafv _ptcdUploadProtocol- _ptcdAccessToken- _ptcdUploadType- _ptcdCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsTransferConfigsDeleteResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Get.hs
@@ -1,154 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about a data transfer config.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.get@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Get- (- -- * REST Resource- ProjectsTransferConfigsGetResource-- -- * Creating a Request- , projectsTransferConfigsGet- , ProjectsTransferConfigsGet-- -- * Request Lenses- , ptcgXgafv- , ptcgUploadProtocol- , ptcgAccessToken- , ptcgUploadType- , ptcgName- , ptcgCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.get@ method which the--- 'ProjectsTransferConfigsGet' request conforms to.-type ProjectsTransferConfigsGetResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] TransferConfig---- | Returns information about a data transfer config.------ /See:/ 'projectsTransferConfigsGet' smart constructor.-data ProjectsTransferConfigsGet =- ProjectsTransferConfigsGet'- { _ptcgXgafv :: !(Maybe Xgafv)- , _ptcgUploadProtocol :: !(Maybe Text)- , _ptcgAccessToken :: !(Maybe Text)- , _ptcgUploadType :: !(Maybe Text)- , _ptcgName :: !Text- , _ptcgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcgXgafv'------ * 'ptcgUploadProtocol'------ * 'ptcgAccessToken'------ * 'ptcgUploadType'------ * 'ptcgName'------ * 'ptcgCallback'-projectsTransferConfigsGet- :: Text -- ^ 'ptcgName'- -> ProjectsTransferConfigsGet-projectsTransferConfigsGet pPtcgName_ =- ProjectsTransferConfigsGet'- { _ptcgXgafv = Nothing- , _ptcgUploadProtocol = Nothing- , _ptcgAccessToken = Nothing- , _ptcgUploadType = Nothing- , _ptcgName = pPtcgName_- , _ptcgCallback = Nothing- }----- | V1 error format.-ptcgXgafv :: Lens' ProjectsTransferConfigsGet (Maybe Xgafv)-ptcgXgafv- = lens _ptcgXgafv (\ s a -> s{_ptcgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcgUploadProtocol :: Lens' ProjectsTransferConfigsGet (Maybe Text)-ptcgUploadProtocol- = lens _ptcgUploadProtocol- (\ s a -> s{_ptcgUploadProtocol = a})---- | OAuth access token.-ptcgAccessToken :: Lens' ProjectsTransferConfigsGet (Maybe Text)-ptcgAccessToken- = lens _ptcgAccessToken- (\ s a -> s{_ptcgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcgUploadType :: Lens' ProjectsTransferConfigsGet (Maybe Text)-ptcgUploadType- = lens _ptcgUploadType- (\ s a -> s{_ptcgUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`-ptcgName :: Lens' ProjectsTransferConfigsGet Text-ptcgName = lens _ptcgName (\ s a -> s{_ptcgName = a})---- | JSONP-ptcgCallback :: Lens' ProjectsTransferConfigsGet (Maybe Text)-ptcgCallback- = lens _ptcgCallback (\ s a -> s{_ptcgCallback = a})--instance GoogleRequest ProjectsTransferConfigsGet- where- type Rs ProjectsTransferConfigsGet = TransferConfig- type Scopes ProjectsTransferConfigsGet =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsTransferConfigsGet'{..}- = go _ptcgName _ptcgXgafv _ptcgUploadProtocol- _ptcgAccessToken- _ptcgUploadType- _ptcgCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy :: Proxy ProjectsTransferConfigsGetResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/List.hs
@@ -1,203 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about all data transfers in the project.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.List- (- -- * REST Resource- ProjectsTransferConfigsListResource-- -- * Creating a Request- , projectsTransferConfigsList- , ProjectsTransferConfigsList-- -- * Request Lenses- , ptclParent- , ptclXgafv- , ptclUploadProtocol- , ptclAccessToken- , ptclUploadType- , ptclPageToken- , ptclDataSourceIds- , ptclPageSize- , ptclCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.list@ method which the--- 'ProjectsTransferConfigsList' request conforms to.-type ProjectsTransferConfigsListResource =- "v1" :>- Capture "parent" Text :>- "transferConfigs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParams "dataSourceIds" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListTransferConfigsResponse---- | Returns information about all data transfers in the project.------ /See:/ 'projectsTransferConfigsList' smart constructor.-data ProjectsTransferConfigsList =- ProjectsTransferConfigsList'- { _ptclParent :: !Text- , _ptclXgafv :: !(Maybe Xgafv)- , _ptclUploadProtocol :: !(Maybe Text)- , _ptclAccessToken :: !(Maybe Text)- , _ptclUploadType :: !(Maybe Text)- , _ptclPageToken :: !(Maybe Text)- , _ptclDataSourceIds :: !(Maybe [Text])- , _ptclPageSize :: !(Maybe (Textual Int32))- , _ptclCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptclParent'------ * 'ptclXgafv'------ * 'ptclUploadProtocol'------ * 'ptclAccessToken'------ * 'ptclUploadType'------ * 'ptclPageToken'------ * 'ptclDataSourceIds'------ * 'ptclPageSize'------ * 'ptclCallback'-projectsTransferConfigsList- :: Text -- ^ 'ptclParent'- -> ProjectsTransferConfigsList-projectsTransferConfigsList pPtclParent_ =- ProjectsTransferConfigsList'- { _ptclParent = pPtclParent_- , _ptclXgafv = Nothing- , _ptclUploadProtocol = Nothing- , _ptclAccessToken = Nothing- , _ptclUploadType = Nothing- , _ptclPageToken = Nothing- , _ptclDataSourceIds = Nothing- , _ptclPageSize = Nothing- , _ptclCallback = Nothing- }----- | The BigQuery project id for which data sources should be returned:--- \`projects\/{project_id}\`.-ptclParent :: Lens' ProjectsTransferConfigsList Text-ptclParent- = lens _ptclParent (\ s a -> s{_ptclParent = a})---- | V1 error format.-ptclXgafv :: Lens' ProjectsTransferConfigsList (Maybe Xgafv)-ptclXgafv- = lens _ptclXgafv (\ s a -> s{_ptclXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptclUploadProtocol :: Lens' ProjectsTransferConfigsList (Maybe Text)-ptclUploadProtocol- = lens _ptclUploadProtocol- (\ s a -> s{_ptclUploadProtocol = a})---- | OAuth access token.-ptclAccessToken :: Lens' ProjectsTransferConfigsList (Maybe Text)-ptclAccessToken- = lens _ptclAccessToken- (\ s a -> s{_ptclAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptclUploadType :: Lens' ProjectsTransferConfigsList (Maybe Text)-ptclUploadType- = lens _ptclUploadType- (\ s a -> s{_ptclUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListTransfersRequest\` list results. For multiple-page results,--- \`ListTransfersResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-ptclPageToken :: Lens' ProjectsTransferConfigsList (Maybe Text)-ptclPageToken- = lens _ptclPageToken- (\ s a -> s{_ptclPageToken = a})---- | When specified, only configurations of requested data sources are--- returned.-ptclDataSourceIds :: Lens' ProjectsTransferConfigsList [Text]-ptclDataSourceIds- = lens _ptclDataSourceIds- (\ s a -> s{_ptclDataSourceIds = a})- . _Default- . _Coerce---- | Page size. The default page size is the maximum value of 1000 results.-ptclPageSize :: Lens' ProjectsTransferConfigsList (Maybe Int32)-ptclPageSize- = lens _ptclPageSize (\ s a -> s{_ptclPageSize = a})- . mapping _Coerce---- | JSONP-ptclCallback :: Lens' ProjectsTransferConfigsList (Maybe Text)-ptclCallback- = lens _ptclCallback (\ s a -> s{_ptclCallback = a})--instance GoogleRequest ProjectsTransferConfigsList- where- type Rs ProjectsTransferConfigsList =- ListTransferConfigsResponse- type Scopes ProjectsTransferConfigsList =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsTransferConfigsList'{..}- = go _ptclParent _ptclXgafv _ptclUploadProtocol- _ptclAccessToken- _ptclUploadType- _ptclPageToken- (_ptclDataSourceIds ^. _Default)- _ptclPageSize- _ptclCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy :: Proxy ProjectsTransferConfigsListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Patch.hs
@@ -1,229 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates a data transfer configuration. All fields must be set, even if--- they are not updated.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.patch@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Patch- (- -- * REST Resource- ProjectsTransferConfigsPatchResource-- -- * Creating a Request- , projectsTransferConfigsPatch- , ProjectsTransferConfigsPatch-- -- * Request Lenses- , ptcpXgafv- , ptcpUploadProtocol- , ptcpUpdateMask- , ptcpAccessToken- , ptcpUploadType- , ptcpAuthorizationCode- , ptcpPayload- , ptcpVersionInfo- , ptcpName- , ptcpCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.patch@ method which the--- 'ProjectsTransferConfigsPatch' request conforms to.-type ProjectsTransferConfigsPatchResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "updateMask" GFieldMask :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "authorizationCode" Text :>- QueryParam "versionInfo" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] TransferConfig :>- Patch '[JSON] TransferConfig---- | Updates a data transfer configuration. All fields must be set, even if--- they are not updated.------ /See:/ 'projectsTransferConfigsPatch' smart constructor.-data ProjectsTransferConfigsPatch =- ProjectsTransferConfigsPatch'- { _ptcpXgafv :: !(Maybe Xgafv)- , _ptcpUploadProtocol :: !(Maybe Text)- , _ptcpUpdateMask :: !(Maybe GFieldMask)- , _ptcpAccessToken :: !(Maybe Text)- , _ptcpUploadType :: !(Maybe Text)- , _ptcpAuthorizationCode :: !(Maybe Text)- , _ptcpPayload :: !TransferConfig- , _ptcpVersionInfo :: !(Maybe Text)- , _ptcpName :: !Text- , _ptcpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcpXgafv'------ * 'ptcpUploadProtocol'------ * 'ptcpUpdateMask'------ * 'ptcpAccessToken'------ * 'ptcpUploadType'------ * 'ptcpAuthorizationCode'------ * 'ptcpPayload'------ * 'ptcpVersionInfo'------ * 'ptcpName'------ * 'ptcpCallback'-projectsTransferConfigsPatch- :: TransferConfig -- ^ 'ptcpPayload'- -> Text -- ^ 'ptcpName'- -> ProjectsTransferConfigsPatch-projectsTransferConfigsPatch pPtcpPayload_ pPtcpName_ =- ProjectsTransferConfigsPatch'- { _ptcpXgafv = Nothing- , _ptcpUploadProtocol = Nothing- , _ptcpUpdateMask = Nothing- , _ptcpAccessToken = Nothing- , _ptcpUploadType = Nothing- , _ptcpAuthorizationCode = Nothing- , _ptcpPayload = pPtcpPayload_- , _ptcpVersionInfo = Nothing- , _ptcpName = pPtcpName_- , _ptcpCallback = Nothing- }----- | V1 error format.-ptcpXgafv :: Lens' ProjectsTransferConfigsPatch (Maybe Xgafv)-ptcpXgafv- = lens _ptcpXgafv (\ s a -> s{_ptcpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcpUploadProtocol :: Lens' ProjectsTransferConfigsPatch (Maybe Text)-ptcpUploadProtocol- = lens _ptcpUploadProtocol- (\ s a -> s{_ptcpUploadProtocol = a})---- | Required list of fields to be updated in this request.-ptcpUpdateMask :: Lens' ProjectsTransferConfigsPatch (Maybe GFieldMask)-ptcpUpdateMask- = lens _ptcpUpdateMask- (\ s a -> s{_ptcpUpdateMask = a})---- | OAuth access token.-ptcpAccessToken :: Lens' ProjectsTransferConfigsPatch (Maybe Text)-ptcpAccessToken- = lens _ptcpAccessToken- (\ s a -> s{_ptcpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcpUploadType :: Lens' ProjectsTransferConfigsPatch (Maybe Text)-ptcpUploadType- = lens _ptcpUploadType- (\ s a -> s{_ptcpUploadType = a})---- | Optional OAuth2 authorization code to use with this transfer--- configuration. If it is provided, the transfer configuration will be--- associated with the authorizing user. In order to obtain--- authorization_code, please make a request to--- https:\/\/www.gstatic.com\/bigquerydatatransfer\/oauthz\/auth?client_id=&scope=&redirect_uri=--- * client_id should be OAuth client_id of BigQuery DTS API for the given--- data source returned by ListDataSources method. * data_source_scopes are--- the scopes returned by ListDataSources method. * redirect_uri is an--- optional parameter. If not specified, then authorization code is posted--- to the opener of authorization flow window. Otherwise it will be sent to--- the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means--- that authorization code should be returned in the title bar of the--- browser, with the page text prompting the user to copy the code and--- paste it in the application.-ptcpAuthorizationCode :: Lens' ProjectsTransferConfigsPatch (Maybe Text)-ptcpAuthorizationCode- = lens _ptcpAuthorizationCode- (\ s a -> s{_ptcpAuthorizationCode = a})---- | Multipart request metadata.-ptcpPayload :: Lens' ProjectsTransferConfigsPatch TransferConfig-ptcpPayload- = lens _ptcpPayload (\ s a -> s{_ptcpPayload = a})---- | Optional version info. If users want to find a very recent access token,--- that is, immediately after approving access, users have to set the--- version_info claim in the token request. To obtain the version_info,--- users must use the “none+gsession” response type. which be return a--- version_info back in the authorization response which be be put in a JWT--- claim in the token request.-ptcpVersionInfo :: Lens' ProjectsTransferConfigsPatch (Maybe Text)-ptcpVersionInfo- = lens _ptcpVersionInfo- (\ s a -> s{_ptcpVersionInfo = a})---- | The resource name of the transfer config. Transfer config names have the--- form of--- \`projects\/{project_id}\/locations\/{region}\/transferConfigs\/{config_id}\`.--- The name is automatically generated based on the config_id specified in--- CreateTransferConfigRequest along with project_id and region. If--- config_id is not provided, usually a uuid, even though it is not--- guaranteed or required, will be generated for config_id.-ptcpName :: Lens' ProjectsTransferConfigsPatch Text-ptcpName = lens _ptcpName (\ s a -> s{_ptcpName = a})---- | JSONP-ptcpCallback :: Lens' ProjectsTransferConfigsPatch (Maybe Text)-ptcpCallback- = lens _ptcpCallback (\ s a -> s{_ptcpCallback = a})--instance GoogleRequest ProjectsTransferConfigsPatch- where- type Rs ProjectsTransferConfigsPatch = TransferConfig- type Scopes ProjectsTransferConfigsPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsTransferConfigsPatch'{..}- = go _ptcpName _ptcpXgafv _ptcpUploadProtocol- _ptcpUpdateMask- _ptcpAccessToken- _ptcpUploadType- _ptcpAuthorizationCode- _ptcpVersionInfo- _ptcpCallback- (Just AltJSON)- _ptcpPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy :: Proxy ProjectsTransferConfigsPatchResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Delete.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified transfer run.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.delete@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete- (- -- * REST Resource- ProjectsTransferConfigsRunsDeleteResource-- -- * Creating a Request- , projectsTransferConfigsRunsDelete- , ProjectsTransferConfigsRunsDelete-- -- * Request Lenses- , ptcrdXgafv- , ptcrdUploadProtocol- , ptcrdAccessToken- , ptcrdUploadType- , ptcrdName- , ptcrdCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.delete@ method which the--- 'ProjectsTransferConfigsRunsDelete' request conforms to.-type ProjectsTransferConfigsRunsDeleteResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes the specified transfer run.------ /See:/ 'projectsTransferConfigsRunsDelete' smart constructor.-data ProjectsTransferConfigsRunsDelete =- ProjectsTransferConfigsRunsDelete'- { _ptcrdXgafv :: !(Maybe Xgafv)- , _ptcrdUploadProtocol :: !(Maybe Text)- , _ptcrdAccessToken :: !(Maybe Text)- , _ptcrdUploadType :: !(Maybe Text)- , _ptcrdName :: !Text- , _ptcrdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsRunsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcrdXgafv'------ * 'ptcrdUploadProtocol'------ * 'ptcrdAccessToken'------ * 'ptcrdUploadType'------ * 'ptcrdName'------ * 'ptcrdCallback'-projectsTransferConfigsRunsDelete- :: Text -- ^ 'ptcrdName'- -> ProjectsTransferConfigsRunsDelete-projectsTransferConfigsRunsDelete pPtcrdName_ =- ProjectsTransferConfigsRunsDelete'- { _ptcrdXgafv = Nothing- , _ptcrdUploadProtocol = Nothing- , _ptcrdAccessToken = Nothing- , _ptcrdUploadType = Nothing- , _ptcrdName = pPtcrdName_- , _ptcrdCallback = Nothing- }----- | V1 error format.-ptcrdXgafv :: Lens' ProjectsTransferConfigsRunsDelete (Maybe Xgafv)-ptcrdXgafv- = lens _ptcrdXgafv (\ s a -> s{_ptcrdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcrdUploadProtocol :: Lens' ProjectsTransferConfigsRunsDelete (Maybe Text)-ptcrdUploadProtocol- = lens _ptcrdUploadProtocol- (\ s a -> s{_ptcrdUploadProtocol = a})---- | OAuth access token.-ptcrdAccessToken :: Lens' ProjectsTransferConfigsRunsDelete (Maybe Text)-ptcrdAccessToken- = lens _ptcrdAccessToken- (\ s a -> s{_ptcrdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcrdUploadType :: Lens' ProjectsTransferConfigsRunsDelete (Maybe Text)-ptcrdUploadType- = lens _ptcrdUploadType- (\ s a -> s{_ptcrdUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}\`-ptcrdName :: Lens' ProjectsTransferConfigsRunsDelete Text-ptcrdName- = lens _ptcrdName (\ s a -> s{_ptcrdName = a})---- | JSONP-ptcrdCallback :: Lens' ProjectsTransferConfigsRunsDelete (Maybe Text)-ptcrdCallback- = lens _ptcrdCallback- (\ s a -> s{_ptcrdCallback = a})--instance GoogleRequest- ProjectsTransferConfigsRunsDelete- where- type Rs ProjectsTransferConfigsRunsDelete = Empty- type Scopes ProjectsTransferConfigsRunsDelete =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsTransferConfigsRunsDelete'{..}- = go _ptcrdName _ptcrdXgafv _ptcrdUploadProtocol- _ptcrdAccessToken- _ptcrdUploadType- _ptcrdCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsTransferConfigsRunsDeleteResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/Get.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about the particular transfer run.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.get@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get- (- -- * REST Resource- ProjectsTransferConfigsRunsGetResource-- -- * Creating a Request- , projectsTransferConfigsRunsGet- , ProjectsTransferConfigsRunsGet-- -- * Request Lenses- , ptcrgXgafv- , ptcrgUploadProtocol- , ptcrgAccessToken- , ptcrgUploadType- , ptcrgName- , ptcrgCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.get@ method which the--- 'ProjectsTransferConfigsRunsGet' request conforms to.-type ProjectsTransferConfigsRunsGetResource =- "v1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] TransferRun---- | Returns information about the particular transfer run.------ /See:/ 'projectsTransferConfigsRunsGet' smart constructor.-data ProjectsTransferConfigsRunsGet =- ProjectsTransferConfigsRunsGet'- { _ptcrgXgafv :: !(Maybe Xgafv)- , _ptcrgUploadProtocol :: !(Maybe Text)- , _ptcrgAccessToken :: !(Maybe Text)- , _ptcrgUploadType :: !(Maybe Text)- , _ptcrgName :: !Text- , _ptcrgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsRunsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcrgXgafv'------ * 'ptcrgUploadProtocol'------ * 'ptcrgAccessToken'------ * 'ptcrgUploadType'------ * 'ptcrgName'------ * 'ptcrgCallback'-projectsTransferConfigsRunsGet- :: Text -- ^ 'ptcrgName'- -> ProjectsTransferConfigsRunsGet-projectsTransferConfigsRunsGet pPtcrgName_ =- ProjectsTransferConfigsRunsGet'- { _ptcrgXgafv = Nothing- , _ptcrgUploadProtocol = Nothing- , _ptcrgAccessToken = Nothing- , _ptcrgUploadType = Nothing- , _ptcrgName = pPtcrgName_- , _ptcrgCallback = Nothing- }----- | V1 error format.-ptcrgXgafv :: Lens' ProjectsTransferConfigsRunsGet (Maybe Xgafv)-ptcrgXgafv- = lens _ptcrgXgafv (\ s a -> s{_ptcrgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcrgUploadProtocol :: Lens' ProjectsTransferConfigsRunsGet (Maybe Text)-ptcrgUploadProtocol- = lens _ptcrgUploadProtocol- (\ s a -> s{_ptcrgUploadProtocol = a})---- | OAuth access token.-ptcrgAccessToken :: Lens' ProjectsTransferConfigsRunsGet (Maybe Text)-ptcrgAccessToken- = lens _ptcrgAccessToken- (\ s a -> s{_ptcrgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcrgUploadType :: Lens' ProjectsTransferConfigsRunsGet (Maybe Text)-ptcrgUploadType- = lens _ptcrgUploadType- (\ s a -> s{_ptcrgUploadType = a})---- | The field will contain name of the resource requested, for example:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\/runs\/{run_id}\`-ptcrgName :: Lens' ProjectsTransferConfigsRunsGet Text-ptcrgName- = lens _ptcrgName (\ s a -> s{_ptcrgName = a})---- | JSONP-ptcrgCallback :: Lens' ProjectsTransferConfigsRunsGet (Maybe Text)-ptcrgCallback- = lens _ptcrgCallback- (\ s a -> s{_ptcrgCallback = a})--instance GoogleRequest ProjectsTransferConfigsRunsGet- where- type Rs ProjectsTransferConfigsRunsGet = TransferRun- type Scopes ProjectsTransferConfigsRunsGet =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsTransferConfigsRunsGet'{..}- = go _ptcrgName _ptcrgXgafv _ptcrgUploadProtocol- _ptcrgAccessToken- _ptcrgUploadType- _ptcrgCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsTransferConfigsRunsGetResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/List.hs
@@ -1,220 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about running and completed jobs.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List- (- -- * REST Resource- ProjectsTransferConfigsRunsListResource-- -- * Creating a Request- , projectsTransferConfigsRunsList- , ProjectsTransferConfigsRunsList-- -- * Request Lenses- , ptcrlRunAttempt- , ptcrlParent- , ptcrlStates- , ptcrlXgafv- , ptcrlUploadProtocol- , ptcrlAccessToken- , ptcrlUploadType- , ptcrlPageToken- , ptcrlPageSize- , ptcrlCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.list@ method which the--- 'ProjectsTransferConfigsRunsList' request conforms to.-type ProjectsTransferConfigsRunsListResource =- "v1" :>- Capture "parent" Text :>- "runs" :>- QueryParam "runAttempt" Text :>- QueryParams "states" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListTransferRunsResponse---- | Returns information about running and completed jobs.------ /See:/ 'projectsTransferConfigsRunsList' smart constructor.-data ProjectsTransferConfigsRunsList =- ProjectsTransferConfigsRunsList'- { _ptcrlRunAttempt :: !(Maybe Text)- , _ptcrlParent :: !Text- , _ptcrlStates :: !(Maybe [Text])- , _ptcrlXgafv :: !(Maybe Xgafv)- , _ptcrlUploadProtocol :: !(Maybe Text)- , _ptcrlAccessToken :: !(Maybe Text)- , _ptcrlUploadType :: !(Maybe Text)- , _ptcrlPageToken :: !(Maybe Text)- , _ptcrlPageSize :: !(Maybe (Textual Int32))- , _ptcrlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsRunsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcrlRunAttempt'------ * 'ptcrlParent'------ * 'ptcrlStates'------ * 'ptcrlXgafv'------ * 'ptcrlUploadProtocol'------ * 'ptcrlAccessToken'------ * 'ptcrlUploadType'------ * 'ptcrlPageToken'------ * 'ptcrlPageSize'------ * 'ptcrlCallback'-projectsTransferConfigsRunsList- :: Text -- ^ 'ptcrlParent'- -> ProjectsTransferConfigsRunsList-projectsTransferConfigsRunsList pPtcrlParent_ =- ProjectsTransferConfigsRunsList'- { _ptcrlRunAttempt = Nothing- , _ptcrlParent = pPtcrlParent_- , _ptcrlStates = Nothing- , _ptcrlXgafv = Nothing- , _ptcrlUploadProtocol = Nothing- , _ptcrlAccessToken = Nothing- , _ptcrlUploadType = Nothing- , _ptcrlPageToken = Nothing- , _ptcrlPageSize = Nothing- , _ptcrlCallback = Nothing- }----- | Indicates how run attempts are to be pulled.-ptcrlRunAttempt :: Lens' ProjectsTransferConfigsRunsList (Maybe Text)-ptcrlRunAttempt- = lens _ptcrlRunAttempt- (\ s a -> s{_ptcrlRunAttempt = a})---- | Name of transfer configuration for which transfer runs should be--- retrieved. Format of transfer configuration resource name is:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`.-ptcrlParent :: Lens' ProjectsTransferConfigsRunsList Text-ptcrlParent- = lens _ptcrlParent (\ s a -> s{_ptcrlParent = a})---- | When specified, only transfer runs with requested states are returned.-ptcrlStates :: Lens' ProjectsTransferConfigsRunsList [Text]-ptcrlStates- = lens _ptcrlStates (\ s a -> s{_ptcrlStates = a}) .- _Default- . _Coerce---- | V1 error format.-ptcrlXgafv :: Lens' ProjectsTransferConfigsRunsList (Maybe Xgafv)-ptcrlXgafv- = lens _ptcrlXgafv (\ s a -> s{_ptcrlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcrlUploadProtocol :: Lens' ProjectsTransferConfigsRunsList (Maybe Text)-ptcrlUploadProtocol- = lens _ptcrlUploadProtocol- (\ s a -> s{_ptcrlUploadProtocol = a})---- | OAuth access token.-ptcrlAccessToken :: Lens' ProjectsTransferConfigsRunsList (Maybe Text)-ptcrlAccessToken- = lens _ptcrlAccessToken- (\ s a -> s{_ptcrlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcrlUploadType :: Lens' ProjectsTransferConfigsRunsList (Maybe Text)-ptcrlUploadType- = lens _ptcrlUploadType- (\ s a -> s{_ptcrlUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListTransferRunsRequest\` list results. For multiple-page results,--- \`ListTransferRunsResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-ptcrlPageToken :: Lens' ProjectsTransferConfigsRunsList (Maybe Text)-ptcrlPageToken- = lens _ptcrlPageToken- (\ s a -> s{_ptcrlPageToken = a})---- | Page size. The default page size is the maximum value of 1000 results.-ptcrlPageSize :: Lens' ProjectsTransferConfigsRunsList (Maybe Int32)-ptcrlPageSize- = lens _ptcrlPageSize- (\ s a -> s{_ptcrlPageSize = a})- . mapping _Coerce---- | JSONP-ptcrlCallback :: Lens' ProjectsTransferConfigsRunsList (Maybe Text)-ptcrlCallback- = lens _ptcrlCallback- (\ s a -> s{_ptcrlCallback = a})--instance GoogleRequest- ProjectsTransferConfigsRunsList- where- type Rs ProjectsTransferConfigsRunsList =- ListTransferRunsResponse- type Scopes ProjectsTransferConfigsRunsList =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient ProjectsTransferConfigsRunsList'{..}- = go _ptcrlParent _ptcrlRunAttempt- (_ptcrlStates ^. _Default)- _ptcrlXgafv- _ptcrlUploadProtocol- _ptcrlAccessToken- _ptcrlUploadType- _ptcrlPageToken- _ptcrlPageSize- _ptcrlCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsTransferConfigsRunsListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/Runs/TransferLogs/List.hs
@@ -1,214 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns user facing log messages for the data transfer run.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List- (- -- * REST Resource- ProjectsTransferConfigsRunsTransferLogsListResource-- -- * Creating a Request- , projectsTransferConfigsRunsTransferLogsList- , ProjectsTransferConfigsRunsTransferLogsList-- -- * Request Lenses- , ptcrtllParent- , ptcrtllXgafv- , ptcrtllUploadProtocol- , ptcrtllMessageTypes- , ptcrtllAccessToken- , ptcrtllUploadType- , ptcrtllPageToken- , ptcrtllPageSize- , ptcrtllCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list@ method which the--- 'ProjectsTransferConfigsRunsTransferLogsList' request conforms to.-type ProjectsTransferConfigsRunsTransferLogsListResource- =- "v1" :>- Capture "parent" Text :>- "transferLogs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParams "messageTypes" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListTransferLogsResponse---- | Returns user facing log messages for the data transfer run.------ /See:/ 'projectsTransferConfigsRunsTransferLogsList' smart constructor.-data ProjectsTransferConfigsRunsTransferLogsList =- ProjectsTransferConfigsRunsTransferLogsList'- { _ptcrtllParent :: !Text- , _ptcrtllXgafv :: !(Maybe Xgafv)- , _ptcrtllUploadProtocol :: !(Maybe Text)- , _ptcrtllMessageTypes :: !(Maybe [Text])- , _ptcrtllAccessToken :: !(Maybe Text)- , _ptcrtllUploadType :: !(Maybe Text)- , _ptcrtllPageToken :: !(Maybe Text)- , _ptcrtllPageSize :: !(Maybe (Textual Int32))- , _ptcrtllCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsRunsTransferLogsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcrtllParent'------ * 'ptcrtllXgafv'------ * 'ptcrtllUploadProtocol'------ * 'ptcrtllMessageTypes'------ * 'ptcrtllAccessToken'------ * 'ptcrtllUploadType'------ * 'ptcrtllPageToken'------ * 'ptcrtllPageSize'------ * 'ptcrtllCallback'-projectsTransferConfigsRunsTransferLogsList- :: Text -- ^ 'ptcrtllParent'- -> ProjectsTransferConfigsRunsTransferLogsList-projectsTransferConfigsRunsTransferLogsList pPtcrtllParent_ =- ProjectsTransferConfigsRunsTransferLogsList'- { _ptcrtllParent = pPtcrtllParent_- , _ptcrtllXgafv = Nothing- , _ptcrtllUploadProtocol = Nothing- , _ptcrtllMessageTypes = Nothing- , _ptcrtllAccessToken = Nothing- , _ptcrtllUploadType = Nothing- , _ptcrtllPageToken = Nothing- , _ptcrtllPageSize = Nothing- , _ptcrtllCallback = Nothing- }----- | Transfer run name in the form:--- \`projects\/{project_id}\/transferConfigs\/{config_Id}\/runs\/{run_id}\`.-ptcrtllParent :: Lens' ProjectsTransferConfigsRunsTransferLogsList Text-ptcrtllParent- = lens _ptcrtllParent- (\ s a -> s{_ptcrtllParent = a})---- | V1 error format.-ptcrtllXgafv :: Lens' ProjectsTransferConfigsRunsTransferLogsList (Maybe Xgafv)-ptcrtllXgafv- = lens _ptcrtllXgafv (\ s a -> s{_ptcrtllXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcrtllUploadProtocol :: Lens' ProjectsTransferConfigsRunsTransferLogsList (Maybe Text)-ptcrtllUploadProtocol- = lens _ptcrtllUploadProtocol- (\ s a -> s{_ptcrtllUploadProtocol = a})---- | Message types to return. If not populated - INFO, WARNING and ERROR--- messages are returned.-ptcrtllMessageTypes :: Lens' ProjectsTransferConfigsRunsTransferLogsList [Text]-ptcrtllMessageTypes- = lens _ptcrtllMessageTypes- (\ s a -> s{_ptcrtllMessageTypes = a})- . _Default- . _Coerce---- | OAuth access token.-ptcrtllAccessToken :: Lens' ProjectsTransferConfigsRunsTransferLogsList (Maybe Text)-ptcrtllAccessToken- = lens _ptcrtllAccessToken- (\ s a -> s{_ptcrtllAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcrtllUploadType :: Lens' ProjectsTransferConfigsRunsTransferLogsList (Maybe Text)-ptcrtllUploadType- = lens _ptcrtllUploadType- (\ s a -> s{_ptcrtllUploadType = a})---- | Pagination token, which can be used to request a specific page of--- \`ListTransferLogsRequest\` list results. For multiple-page results,--- \`ListTransferLogsResponse\` outputs a \`next_page\` token, which can be--- used as the \`page_token\` value to request the next page of list--- results.-ptcrtllPageToken :: Lens' ProjectsTransferConfigsRunsTransferLogsList (Maybe Text)-ptcrtllPageToken- = lens _ptcrtllPageToken- (\ s a -> s{_ptcrtllPageToken = a})---- | Page size. The default page size is the maximum value of 1000 results.-ptcrtllPageSize :: Lens' ProjectsTransferConfigsRunsTransferLogsList (Maybe Int32)-ptcrtllPageSize- = lens _ptcrtllPageSize- (\ s a -> s{_ptcrtllPageSize = a})- . mapping _Coerce---- | JSONP-ptcrtllCallback :: Lens' ProjectsTransferConfigsRunsTransferLogsList (Maybe Text)-ptcrtllCallback- = lens _ptcrtllCallback- (\ s a -> s{_ptcrtllCallback = a})--instance GoogleRequest- ProjectsTransferConfigsRunsTransferLogsList- where- type Rs ProjectsTransferConfigsRunsTransferLogsList =- ListTransferLogsResponse- type Scopes- ProjectsTransferConfigsRunsTransferLogsList- =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform",- "https://www.googleapis.com/auth/cloud-platform.read-only"]- requestClient- ProjectsTransferConfigsRunsTransferLogsList'{..}- = go _ptcrtllParent _ptcrtllXgafv- _ptcrtllUploadProtocol- (_ptcrtllMessageTypes ^. _Default)- _ptcrtllAccessToken- _ptcrtllUploadType- _ptcrtllPageToken- _ptcrtllPageSize- _ptcrtllCallback- (Just AltJSON)- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy- ProjectsTransferConfigsRunsTransferLogsListResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/ScheduleRuns.hs
@@ -1,178 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates transfer runs for a time range [start_time, end_time]. For each--- date - or whatever granularity the data source supports - in the range,--- one transfer run is created. Note that runs are created per UTC time in--- the time range. DEPRECATED: use StartManualTransferRuns instead.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.scheduleRuns@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns- (- -- * REST Resource- ProjectsTransferConfigsScheduleRunsResource-- -- * Creating a Request- , projectsTransferConfigsScheduleRuns- , ProjectsTransferConfigsScheduleRuns-- -- * Request Lenses- , ptcsrParent- , ptcsrXgafv- , ptcsrUploadProtocol- , ptcsrAccessToken- , ptcsrUploadType- , ptcsrPayload- , ptcsrCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.scheduleRuns@ method which the--- 'ProjectsTransferConfigsScheduleRuns' request conforms to.-type ProjectsTransferConfigsScheduleRunsResource =- "v1" :>- CaptureMode "parent" "scheduleRuns" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] ScheduleTransferRunsRequest :>- Post '[JSON] ScheduleTransferRunsResponse---- | Creates transfer runs for a time range [start_time, end_time]. For each--- date - or whatever granularity the data source supports - in the range,--- one transfer run is created. Note that runs are created per UTC time in--- the time range. DEPRECATED: use StartManualTransferRuns instead.------ /See:/ 'projectsTransferConfigsScheduleRuns' smart constructor.-data ProjectsTransferConfigsScheduleRuns =- ProjectsTransferConfigsScheduleRuns'- { _ptcsrParent :: !Text- , _ptcsrXgafv :: !(Maybe Xgafv)- , _ptcsrUploadProtocol :: !(Maybe Text)- , _ptcsrAccessToken :: !(Maybe Text)- , _ptcsrUploadType :: !(Maybe Text)- , _ptcsrPayload :: !ScheduleTransferRunsRequest- , _ptcsrCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsScheduleRuns' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcsrParent'------ * 'ptcsrXgafv'------ * 'ptcsrUploadProtocol'------ * 'ptcsrAccessToken'------ * 'ptcsrUploadType'------ * 'ptcsrPayload'------ * 'ptcsrCallback'-projectsTransferConfigsScheduleRuns- :: Text -- ^ 'ptcsrParent'- -> ScheduleTransferRunsRequest -- ^ 'ptcsrPayload'- -> ProjectsTransferConfigsScheduleRuns-projectsTransferConfigsScheduleRuns pPtcsrParent_ pPtcsrPayload_ =- ProjectsTransferConfigsScheduleRuns'- { _ptcsrParent = pPtcsrParent_- , _ptcsrXgafv = Nothing- , _ptcsrUploadProtocol = Nothing- , _ptcsrAccessToken = Nothing- , _ptcsrUploadType = Nothing- , _ptcsrPayload = pPtcsrPayload_- , _ptcsrCallback = Nothing- }----- | Transfer configuration name in the form:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`.-ptcsrParent :: Lens' ProjectsTransferConfigsScheduleRuns Text-ptcsrParent- = lens _ptcsrParent (\ s a -> s{_ptcsrParent = a})---- | V1 error format.-ptcsrXgafv :: Lens' ProjectsTransferConfigsScheduleRuns (Maybe Xgafv)-ptcsrXgafv- = lens _ptcsrXgafv (\ s a -> s{_ptcsrXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcsrUploadProtocol :: Lens' ProjectsTransferConfigsScheduleRuns (Maybe Text)-ptcsrUploadProtocol- = lens _ptcsrUploadProtocol- (\ s a -> s{_ptcsrUploadProtocol = a})---- | OAuth access token.-ptcsrAccessToken :: Lens' ProjectsTransferConfigsScheduleRuns (Maybe Text)-ptcsrAccessToken- = lens _ptcsrAccessToken- (\ s a -> s{_ptcsrAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcsrUploadType :: Lens' ProjectsTransferConfigsScheduleRuns (Maybe Text)-ptcsrUploadType- = lens _ptcsrUploadType- (\ s a -> s{_ptcsrUploadType = a})---- | Multipart request metadata.-ptcsrPayload :: Lens' ProjectsTransferConfigsScheduleRuns ScheduleTransferRunsRequest-ptcsrPayload- = lens _ptcsrPayload (\ s a -> s{_ptcsrPayload = a})---- | JSONP-ptcsrCallback :: Lens' ProjectsTransferConfigsScheduleRuns (Maybe Text)-ptcsrCallback- = lens _ptcsrCallback- (\ s a -> s{_ptcsrCallback = a})--instance GoogleRequest- ProjectsTransferConfigsScheduleRuns- where- type Rs ProjectsTransferConfigsScheduleRuns =- ScheduleTransferRunsResponse- type Scopes ProjectsTransferConfigsScheduleRuns =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsTransferConfigsScheduleRuns'{..}- = go _ptcsrParent _ptcsrXgafv _ptcsrUploadProtocol- _ptcsrAccessToken- _ptcsrUploadType- _ptcsrCallback- (Just AltJSON)- _ptcsrPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsTransferConfigsScheduleRunsResource)- mempty
− gen/Network/Google/Resource/BigQueryDataTransfer/Projects/TransferConfigs/StartManualRuns.hs
@@ -1,179 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Start manual transfer runs to be executed now with schedule_time equal--- to current time. The transfer runs can be created for a time range where--- the run_time is between start_time (inclusive) and end_time (exclusive),--- or for a specific run_time.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery Data Transfer API Reference> for @bigquerydatatransfer.projects.transferConfigs.startManualRuns@.-module Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns- (- -- * REST Resource- ProjectsTransferConfigsStartManualRunsResource-- -- * Creating a Request- , projectsTransferConfigsStartManualRuns- , ProjectsTransferConfigsStartManualRuns-- -- * Request Lenses- , ptcsmrParent- , ptcsmrXgafv- , ptcsmrUploadProtocol- , ptcsmrAccessToken- , ptcsmrUploadType- , ptcsmrPayload- , ptcsmrCallback- ) where--import Network.Google.BigQueryDataTransfer.Types-import Network.Google.Prelude---- | A resource alias for @bigquerydatatransfer.projects.transferConfigs.startManualRuns@ method which the--- 'ProjectsTransferConfigsStartManualRuns' request conforms to.-type ProjectsTransferConfigsStartManualRunsResource =- "v1" :>- CaptureMode "parent" "startManualRuns" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] StartManualTransferRunsRequest :>- Post '[JSON] StartManualTransferRunsResponse---- | Start manual transfer runs to be executed now with schedule_time equal--- to current time. The transfer runs can be created for a time range where--- the run_time is between start_time (inclusive) and end_time (exclusive),--- or for a specific run_time.------ /See:/ 'projectsTransferConfigsStartManualRuns' smart constructor.-data ProjectsTransferConfigsStartManualRuns =- ProjectsTransferConfigsStartManualRuns'- { _ptcsmrParent :: !Text- , _ptcsmrXgafv :: !(Maybe Xgafv)- , _ptcsmrUploadProtocol :: !(Maybe Text)- , _ptcsmrAccessToken :: !(Maybe Text)- , _ptcsmrUploadType :: !(Maybe Text)- , _ptcsmrPayload :: !StartManualTransferRunsRequest- , _ptcsmrCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsTransferConfigsStartManualRuns' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptcsmrParent'------ * 'ptcsmrXgafv'------ * 'ptcsmrUploadProtocol'------ * 'ptcsmrAccessToken'------ * 'ptcsmrUploadType'------ * 'ptcsmrPayload'------ * 'ptcsmrCallback'-projectsTransferConfigsStartManualRuns- :: Text -- ^ 'ptcsmrParent'- -> StartManualTransferRunsRequest -- ^ 'ptcsmrPayload'- -> ProjectsTransferConfigsStartManualRuns-projectsTransferConfigsStartManualRuns pPtcsmrParent_ pPtcsmrPayload_ =- ProjectsTransferConfigsStartManualRuns'- { _ptcsmrParent = pPtcsmrParent_- , _ptcsmrXgafv = Nothing- , _ptcsmrUploadProtocol = Nothing- , _ptcsmrAccessToken = Nothing- , _ptcsmrUploadType = Nothing- , _ptcsmrPayload = pPtcsmrPayload_- , _ptcsmrCallback = Nothing- }----- | Transfer configuration name in the form:--- \`projects\/{project_id}\/transferConfigs\/{config_id}\`.-ptcsmrParent :: Lens' ProjectsTransferConfigsStartManualRuns Text-ptcsmrParent- = lens _ptcsmrParent (\ s a -> s{_ptcsmrParent = a})---- | V1 error format.-ptcsmrXgafv :: Lens' ProjectsTransferConfigsStartManualRuns (Maybe Xgafv)-ptcsmrXgafv- = lens _ptcsmrXgafv (\ s a -> s{_ptcsmrXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ptcsmrUploadProtocol :: Lens' ProjectsTransferConfigsStartManualRuns (Maybe Text)-ptcsmrUploadProtocol- = lens _ptcsmrUploadProtocol- (\ s a -> s{_ptcsmrUploadProtocol = a})---- | OAuth access token.-ptcsmrAccessToken :: Lens' ProjectsTransferConfigsStartManualRuns (Maybe Text)-ptcsmrAccessToken- = lens _ptcsmrAccessToken- (\ s a -> s{_ptcsmrAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ptcsmrUploadType :: Lens' ProjectsTransferConfigsStartManualRuns (Maybe Text)-ptcsmrUploadType- = lens _ptcsmrUploadType- (\ s a -> s{_ptcsmrUploadType = a})---- | Multipart request metadata.-ptcsmrPayload :: Lens' ProjectsTransferConfigsStartManualRuns StartManualTransferRunsRequest-ptcsmrPayload- = lens _ptcsmrPayload- (\ s a -> s{_ptcsmrPayload = a})---- | JSONP-ptcsmrCallback :: Lens' ProjectsTransferConfigsStartManualRuns (Maybe Text)-ptcsmrCallback- = lens _ptcsmrCallback- (\ s a -> s{_ptcsmrCallback = a})--instance GoogleRequest- ProjectsTransferConfigsStartManualRuns- where- type Rs ProjectsTransferConfigsStartManualRuns =- StartManualTransferRunsResponse- type Scopes ProjectsTransferConfigsStartManualRuns =- '["https://www.googleapis.com/auth/bigquery",- "https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsTransferConfigsStartManualRuns'{..}- = go _ptcsmrParent _ptcsmrXgafv _ptcsmrUploadProtocol- _ptcsmrAccessToken- _ptcsmrUploadType- _ptcsmrCallback- (Just AltJSON)- _ptcsmrPayload- bigQueryDataTransferService- where go- = buildClient- (Proxy ::- Proxy ProjectsTransferConfigsStartManualRunsResource)- mempty
gogol-bigquerydatatransfer.cabal view
@@ -1,76 +1,93 @@-name: gogol-bigquerydatatransfer-version: 0.5.0-synopsis: Google BigQuery Data Transfer SDK.-homepage: https://github.com/brendanhay/gogol-bug-reports: https://github.com/brendanhay/gogol/issues-license: OtherLicense-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2015-2016 Brendan Hay-category: Network, Google, Cloud-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md src/.gitkeep+cabal-version: 2.2+name: gogol-bigquerydatatransfer+version: 1.0.0+synopsis: Google BigQuery Data Transfer SDK.+homepage: https://github.com/brendanhay/gogol+bug-reports: https://github.com/brendanhay/gogol/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+gogol@gmail.com>, Toni Cebrián <toni@tonicebrian.com> +copyright: Copyright (c) 2015-2025 Brendan Hay+category: Google+build-type: Simple+extra-source-files:+ README.md+ src/.gitkeep+ description:- Schedule queries or transfer external data from SaaS applications to- Google BigQuery on a regular basis.- .- /Warning:/ This is an experimental prototype/preview release which is still- under exploratory development and not intended for public use, caveat emptor!- .- This library is compatible with version @v1@- of the API.+ Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.+ .+ /Warning:/ This is an experimental prototype/preview release which is still+ under exploratory development and not intended for public use, caveat emptor!+ .+ This library is compatible with version @v1@+ of the API. source-repository head- type: git- location: git://github.com/brendanhay/gogol.git+ type: git+ location: git://github.com/brendanhay/gogol.git+ subdir: gogol-bigquerydatatransfer +flag field-selectors+ description:+ If record field selectors should be enabled. Disabling this requires GHC >=9.2 and the NoFieldSelectors extension.++ default: False+ manual: True+ library- default-language: Haskell2010- hs-source-dirs: src gen+ default-language: GHC2021+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields+ -fwarn-unused-packages - ghc-options: -Wall+ if (!flag(field-selectors) && impl(ghc >=9.2))+ default-extensions: NoFieldSelectors - exposed-modules:- Network.Google.BigQueryDataTransfer- , Network.Google.BigQueryDataTransfer.Types- , Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds- , Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.Get- , Network.Google.Resource.BigQueryDataTransfer.Projects.DataSources.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.Get- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.DataSources.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.Get- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns- , Network.Google.Resource.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Create- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Delete- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Get- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Patch- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns- , Network.Google.Resource.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns+ exposed-modules:+ Gogol.BigQueryDataTransfer+ Gogol.BigQueryDataTransfer.Projects.DataSources.CheckValidCreds+ Gogol.BigQueryDataTransfer.Projects.DataSources.Get+ Gogol.BigQueryDataTransfer.Projects.DataSources.List+ Gogol.BigQueryDataTransfer.Projects.EnrollDataSources+ Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.CheckValidCreds+ Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.Get+ Gogol.BigQueryDataTransfer.Projects.Locations.DataSources.List+ Gogol.BigQueryDataTransfer.Projects.Locations.EnrollDataSources+ Gogol.BigQueryDataTransfer.Projects.Locations.Get+ Gogol.BigQueryDataTransfer.Projects.Locations.List+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Create+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Delete+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Get+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.List+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Patch+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Delete+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.Get+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.List+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.Runs.TransferLogs.List+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.ScheduleRuns+ Gogol.BigQueryDataTransfer.Projects.Locations.TransferConfigs.StartManualRuns+ Gogol.BigQueryDataTransfer.Projects.Locations.UnenrollDataSources+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Create+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Delete+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Get+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.List+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Patch+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Delete+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.Get+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.List+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.Runs.TransferLogs.List+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns+ Gogol.BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns+ Gogol.BigQueryDataTransfer.Types - other-modules:- Network.Google.BigQueryDataTransfer.Types.Product- , Network.Google.BigQueryDataTransfer.Types.Sum+ other-modules:+ Gogol.BigQueryDataTransfer.Internal.Product+ Gogol.BigQueryDataTransfer.Internal.Sum - build-depends:- gogol-core == 0.5.0.*- , base >= 4.7 && < 5+ build-depends: gogol-core ^>=1.0.0