gogol-streetviewpublish-0.4.0: Google Street View Publish 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.StreetViewPublish.Photos.BatchDelete

Contents

Description

Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields are missing or there was an authentication error. Even if BatchDeletePhotos succeeds, there may have been failures for single photos in the batch. These failures will be specified in each PhotoResponse.status in BatchDeletePhotosResponse.results. See DeletePhoto for specific failures that can occur per photo.

See: Street View Publish API Reference for streetviewpublish.photos.batchDelete.

Synopsis

REST Resource

type PhotosBatchDeleteResource = "v1" :> ("photos:batchDelete" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchDeletePhotosRequest :> Post '[JSON] BatchDeletePhotosResponse)))))))) Source #

A resource alias for streetviewpublish.photos.batchDelete method which the PhotosBatchDelete request conforms to.

Creating a Request

photosBatchDelete Source #

Creates a value of PhotosBatchDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PhotosBatchDelete Source #

Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields are missing or there was an authentication error. Even if BatchDeletePhotos succeeds, there may have been failures for single photos in the batch. These failures will be specified in each PhotoResponse.status in BatchDeletePhotosResponse.results. See DeletePhoto for specific failures that can occur per photo.

See: photosBatchDelete smart constructor.

Instances
Eq PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

Data PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

Methods

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

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

toConstr :: PhotosBatchDelete -> Constr #

dataTypeOf :: PhotosBatchDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

Generic PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

Associated Types

type Rep PhotosBatchDelete :: Type -> Type #

GoogleRequest PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

Associated Types

type Rs PhotosBatchDelete :: Type #

type Scopes PhotosBatchDelete :: [Symbol] #

type Rep PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

type Rep PhotosBatchDelete = D1 (MetaData "PhotosBatchDelete" "Network.Google.Resource.StreetViewPublish.Photos.BatchDelete" "gogol-streetviewpublish-0.4.0-hUlDUTRvH6EXX72hhSGUR" False) (C1 (MetaCons "PhotosBatchDelete'" PrefixI True) ((S1 (MetaSel (Just "_pbdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pbdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pbdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pbdPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BatchDeletePhotosRequest) :*: S1 (MetaSel (Just "_pbdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

type Scopes PhotosBatchDelete = "https://www.googleapis.com/auth/streetviewpublish" ': ([] :: [Symbol])
type Rs PhotosBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.StreetViewPublish.Photos.BatchDelete

Request Lenses

pbdUploadProtocol :: Lens' PhotosBatchDelete (Maybe Text) Source #

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

pbdUploadType :: Lens' PhotosBatchDelete (Maybe Text) Source #

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