gogol-sheets-0.4.0: Google Sheets SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

Contents

Description

Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.

See: Google Sheets API Reference for sheets.spreadsheets.sheets.copyTo.

Synopsis

REST Resource

type SpreadsheetsSheetsCopyToResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("sheets" :> (CaptureMode "sheetId" "copyTo" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CopySheetToAnotherSpreadsheetRequest :> Post '[JSON] SheetProperties))))))))))) Source #

A resource alias for sheets.spreadsheets.sheets.copyTo method which the SpreadsheetsSheetsCopyTo request conforms to.

Creating a Request

data SpreadsheetsSheetsCopyTo Source #

Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.

See: spreadsheetsSheetsCopyTo smart constructor.

Instances
Eq SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

Data SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpreadsheetsSheetsCopyTo -> c SpreadsheetsSheetsCopyTo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpreadsheetsSheetsCopyTo #

toConstr :: SpreadsheetsSheetsCopyTo -> Constr #

dataTypeOf :: SpreadsheetsSheetsCopyTo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpreadsheetsSheetsCopyTo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpreadsheetsSheetsCopyTo) #

gmapT :: (forall b. Data b => b -> b) -> SpreadsheetsSheetsCopyTo -> SpreadsheetsSheetsCopyTo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpreadsheetsSheetsCopyTo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpreadsheetsSheetsCopyTo -> r #

gmapQ :: (forall d. Data d => d -> u) -> SpreadsheetsSheetsCopyTo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpreadsheetsSheetsCopyTo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpreadsheetsSheetsCopyTo -> m SpreadsheetsSheetsCopyTo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpreadsheetsSheetsCopyTo -> m SpreadsheetsSheetsCopyTo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpreadsheetsSheetsCopyTo -> m SpreadsheetsSheetsCopyTo #

Show SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

Generic SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

Associated Types

type Rep SpreadsheetsSheetsCopyTo :: Type -> Type #

GoogleRequest SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

type Rep SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

type Rep SpreadsheetsSheetsCopyTo = D1 (MetaData "SpreadsheetsSheetsCopyTo" "Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo" "gogol-sheets-0.4.0-DWkMVDpj7ZbHiXYeCjugGu" False) (C1 (MetaCons "SpreadsheetsSheetsCopyTo'" PrefixI True) (((S1 (MetaSel (Just "_ssctXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ssctUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ssctAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssctSpreadsheetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_ssctUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssctPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CopySheetToAnotherSpreadsheetRequest)) :*: (S1 (MetaSel (Just "_ssctSheetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)) :*: S1 (MetaSel (Just "_ssctCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

type Scopes SpreadsheetsSheetsCopyTo = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.file" ': ("https://www.googleapis.com/auth/spreadsheets" ': ([] :: [Symbol])))
type Rs SpreadsheetsSheetsCopyTo Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Sheets.CopyTo

Request Lenses

ssctUploadProtocol :: Lens' SpreadsheetsSheetsCopyTo (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

ssctSpreadsheetId :: Lens' SpreadsheetsSheetsCopyTo Text Source #

The ID of the spreadsheet containing the sheet to copy.

ssctUploadType :: Lens' SpreadsheetsSheetsCopyTo (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

ssctSheetId :: Lens' SpreadsheetsSheetsCopyTo Int32 Source #

The ID of the sheet to copy.