gogol-poly-0.4.0: Google Poly 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.Poly.Users.Assets.List

Contents

Description

Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.

See: Poly API Reference for poly.users.assets.list.

Synopsis

REST Resource

type UsersAssetsListResource = "v1" :> (Capture "name" Text :> ("assets" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "format" Text :> (QueryParam "uploadType" Text :> (QueryParam "visibility" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListUserAssetsResponse))))))))))))) Source #

A resource alias for poly.users.assets.list method which the UsersAssetsList request conforms to.

Creating a Request

usersAssetsList Source #

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

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

data UsersAssetsList Source #

Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.

See: usersAssetsList smart constructor.

Instances
Eq UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

Data UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

Methods

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

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

toConstr :: UsersAssetsList -> Constr #

dataTypeOf :: UsersAssetsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

Generic UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

Associated Types

type Rep UsersAssetsList :: Type -> Type #

GoogleRequest UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

Associated Types

type Rs UsersAssetsList :: Type #

type Scopes UsersAssetsList :: [Symbol] #

type Rep UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

type Scopes UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

type Scopes UsersAssetsList = ([] :: [Symbol])
type Rs UsersAssetsList Source # 
Instance details

Defined in Network.Google.Resource.Poly.Users.Assets.List

Request Lenses

ualUploadProtocol :: Lens' UsersAssetsList (Maybe Text) Source #

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

ualOrderBy :: Lens' UsersAssetsList (Maybe Text) Source #

Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of popularity and other features.

ualFormat :: Lens' UsersAssetsList (Maybe Text) Source #

Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.

ualUploadType :: Lens' UsersAssetsList (Maybe Text) Source #

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

ualVisibility :: Lens' UsersAssetsList (Maybe Text) Source #

The visibility of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all assets.

ualName :: Lens' UsersAssetsList Text Source #

A valid user id. Currently, only the special value 'me', representing the currently-authenticated user is supported. To use 'me', you must pass an OAuth token with the request.

ualPageToken :: Lens' UsersAssetsList (Maybe Text) Source #

Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.

ualPageSize :: Lens' UsersAssetsList (Maybe Int32) Source #

The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`.