{-# 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.Drive.Changes.GetStartPageToken
(
ChangesGetStartPageTokenResource
, changesGetStartPageToken
, ChangesGetStartPageToken
) where
import Network.Google.Drive.Types
import Network.Google.Prelude
type ChangesGetStartPageTokenResource =
"drive" :>
"v3" :>
"changes" :>
"startPageToken" :>
QueryParam "alt" AltJSON :>
Get '[JSON] StartPageToken
-- | Gets the starting pageToken for listing future changes.
--
-- /See:/ 'changesGetStartPageToken' smart constructor.
data ChangesGetStartPageToken =
ChangesGetStartPageToken'
deriving (Eq,Show,Data,Typeable,Generic)
-- | Creates a value of 'ChangesGetStartPageToken' with the minimum fields required to make a request.
--
changesGetStartPageToken
:: ChangesGetStartPageToken
changesGetStartPageToken = ChangesGetStartPageToken'
instance GoogleRequest ChangesGetStartPageToken where
type Rs ChangesGetStartPageToken = StartPageToken
type Scopes ChangesGetStartPageToken =
'["https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.appdata",
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"]
requestClient ChangesGetStartPageToken'{}
= go (Just AltJSON) driveService
where go
= buildClient
(Proxy :: Proxy ChangesGetStartPageTokenResource)
mempty