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.List

Contents

Description

Lists all the Photos that belong to the user. Note: Recently created photos that are still being indexed are not returned in the response.

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

Synopsis

REST Resource

type PhotosListResource = "v1" :> ("photos" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListPhotosResponse)))))))))))) Source #

A resource alias for streetviewpublish.photos.list method which the PhotosList request conforms to.

Creating a Request

photosList :: PhotosList Source #

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

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

data PhotosList Source #

Lists all the Photos that belong to the user. Note: Recently created photos that are still being indexed are not returned in the response.

See: photosList smart constructor.

Instances
Eq PhotosList Source # 
Instance details

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

Data PhotosList Source # 
Instance details

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

Methods

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

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

toConstr :: PhotosList -> Constr #

dataTypeOf :: PhotosList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PhotosList Source # 
Instance details

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

Generic PhotosList Source # 
Instance details

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

Associated Types

type Rep PhotosList :: Type -> Type #

GoogleRequest PhotosList Source # 
Instance details

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

Associated Types

type Rs PhotosList :: Type #

type Scopes PhotosList :: [Symbol] #

type Rep PhotosList Source # 
Instance details

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

type Scopes PhotosList Source # 
Instance details

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

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

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

Request Lenses

plXgafv :: Lens' PhotosList (Maybe Xgafv) Source #

V1 error format.

plLanguageCode :: Lens' PhotosList (Maybe Text) Source #

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If language_code is unspecified, the user's language preference for Google services will be used.

plUploadProtocol :: Lens' PhotosList (Maybe Text) Source #

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

plAccessToken :: Lens' PhotosList (Maybe Text) Source #

OAuth access token.

plUploadType :: Lens' PhotosList (Maybe Text) Source #

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

plView :: Lens' PhotosList (Maybe Text) Source #

Specifies if a download URL for the photos bytes should be returned in the Photos response.

plFilter :: Lens' PhotosList (Maybe Text) Source #

The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.

plPageToken :: Lens' PhotosList (Maybe Text) Source #

The nextPageToken value returned from a previous ListPhotos request, if any.

plPageSize :: Lens' PhotosList (Maybe Int32) Source #

The maximum number of photos to return. `pageSize` must be non-negative. If `pageSize` is zero or is not provided, the default page size of 100 will be used. The number of photos returned in the response may be less than `pageSize` if the number of photos that belong to the user is less than `pageSize`.