{-# 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.CloudSearch.Debug.Datasources.Items.UnmAppedids.List
(
DebugDatasourcesItemsUnmAppedidsListResource
, debugDatasourcesItemsUnmAppedidsList
, DebugDatasourcesItemsUnmAppedidsList
, ddiualParent
, ddiualXgafv
, ddiualUploadProtocol
, ddiualAccessToken
, ddiualUploadType
, ddiualDebugOptionsEnableDebugging
, ddiualPageToken
, ddiualPageSize
, ddiualCallback
) where
import Network.Google.CloudSearch.Types
import Network.Google.Prelude
type DebugDatasourcesItemsUnmAppedidsListResource =
"v1" :>
"debug" :>
Capture "parent" Text :>
"unmappedids" :>
QueryParam "$.xgafv" Xgafv :>
QueryParam "upload_protocol" Text :>
QueryParam "access_token" Text :>
QueryParam "uploadType" Text :>
QueryParam "debugOptions.enableDebugging" Bool :>
QueryParam "pageToken" Text :>
QueryParam "pageSize" (Textual Int32) :>
QueryParam "callback" Text :>
QueryParam "alt" AltJSON :>
Get '[JSON] ListUnmAppedIdentitiesResponse
data DebugDatasourcesItemsUnmAppedidsList = DebugDatasourcesItemsUnmAppedidsList'
{ _ddiualParent :: !Text
, _ddiualXgafv :: !(Maybe Xgafv)
, _ddiualUploadProtocol :: !(Maybe Text)
, _ddiualAccessToken :: !(Maybe Text)
, _ddiualUploadType :: !(Maybe Text)
, _ddiualDebugOptionsEnableDebugging :: !(Maybe Bool)
, _ddiualPageToken :: !(Maybe Text)
, _ddiualPageSize :: !(Maybe (Textual Int32))
, _ddiualCallback :: !(Maybe Text)
} deriving (Eq,Show,Data,Typeable,Generic)
debugDatasourcesItemsUnmAppedidsList
:: Text
-> DebugDatasourcesItemsUnmAppedidsList
debugDatasourcesItemsUnmAppedidsList pDdiualParent_ =
DebugDatasourcesItemsUnmAppedidsList'
{ _ddiualParent = pDdiualParent_
, _ddiualXgafv = Nothing
, _ddiualUploadProtocol = Nothing
, _ddiualAccessToken = Nothing
, _ddiualUploadType = Nothing
, _ddiualDebugOptionsEnableDebugging = Nothing
, _ddiualPageToken = Nothing
, _ddiualPageSize = Nothing
, _ddiualCallback = Nothing
}
ddiualParent :: Lens' DebugDatasourcesItemsUnmAppedidsList Text
ddiualParent
= lens _ddiualParent (\ s a -> s{_ddiualParent = a})
ddiualXgafv :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Xgafv)
ddiualXgafv
= lens _ddiualXgafv (\ s a -> s{_ddiualXgafv = a})
ddiualUploadProtocol :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Text)
ddiualUploadProtocol
= lens _ddiualUploadProtocol
(\ s a -> s{_ddiualUploadProtocol = a})
ddiualAccessToken :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Text)
ddiualAccessToken
= lens _ddiualAccessToken
(\ s a -> s{_ddiualAccessToken = a})
ddiualUploadType :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Text)
ddiualUploadType
= lens _ddiualUploadType
(\ s a -> s{_ddiualUploadType = a})
ddiualDebugOptionsEnableDebugging :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Bool)
ddiualDebugOptionsEnableDebugging
= lens _ddiualDebugOptionsEnableDebugging
(\ s a -> s{_ddiualDebugOptionsEnableDebugging = a})
ddiualPageToken :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Text)
ddiualPageToken
= lens _ddiualPageToken
(\ s a -> s{_ddiualPageToken = a})
ddiualPageSize :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Int32)
ddiualPageSize
= lens _ddiualPageSize
(\ s a -> s{_ddiualPageSize = a})
. mapping _Coerce
ddiualCallback :: Lens' DebugDatasourcesItemsUnmAppedidsList (Maybe Text)
ddiualCallback
= lens _ddiualCallback
(\ s a -> s{_ddiualCallback = a})
instance GoogleRequest
DebugDatasourcesItemsUnmAppedidsList where
type Rs DebugDatasourcesItemsUnmAppedidsList =
ListUnmAppedIdentitiesResponse
type Scopes DebugDatasourcesItemsUnmAppedidsList =
'["https://www.googleapis.com/auth/cloud_search",
"https://www.googleapis.com/auth/cloud_search.debug"]
requestClient
DebugDatasourcesItemsUnmAppedidsList'{..}
= go _ddiualParent _ddiualXgafv _ddiualUploadProtocol
_ddiualAccessToken
_ddiualUploadType
_ddiualDebugOptionsEnableDebugging
_ddiualPageToken
_ddiualPageSize
_ddiualCallback
(Just AltJSON)
cloudSearchService
where go
= buildClient
(Proxy ::
Proxy DebugDatasourcesItemsUnmAppedidsListResource)
mempty