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.Poly.Types

Contents

Description

 
Synopsis

Service Configuration

polyService :: ServiceConfig Source #

Default request referring to version v1 of the Poly API. This contains the host and root path used as a starting point for constructing service requests.

ImageErrorCode

data ImageErrorCode Source #

The type of image error encountered. Optional for older image errors.

Constructors

CodeUnspecified

CODE_UNSPECIFIED Unknown error code.

InvalidImage

INVALID_IMAGE We were unable to read the image file.

ImageTooBig

IMAGE_TOO_BIG The image size is too large.

WrongImageType

WRONG_IMAGE_TYPE The image data does not match the expected MIME type of the image.

Instances
Enum ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Eq ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Data ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

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

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

toConstr :: ImageErrorCode -> Constr #

dataTypeOf :: ImageErrorCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Read ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Show ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Generic ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Associated Types

type Rep ImageErrorCode :: Type -> Type #

Hashable ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToJSON ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromJSON ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromHttpApiData ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToHttpApiData ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep ImageErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep ImageErrorCode = D1 (MetaData "ImageErrorCode" "Network.Google.Poly.Types.Sum" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) ((C1 (MetaCons "CodeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InvalidImage" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ImageTooBig" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "WrongImageType" PrefixI False) (U1 :: Type -> Type)))

ObjParseError

data ObjParseError Source #

Details of an error resulting from parsing an OBJ file

See: objParseError smart constructor.

Instances
Eq ObjParseError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data ObjParseError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: ObjParseError -> Constr #

dataTypeOf :: ObjParseError -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ObjParseError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic ObjParseError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep ObjParseError :: Type -> Type #

ToJSON ObjParseError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON ObjParseError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ObjParseError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

objParseError :: ObjParseError Source #

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

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

opeLineNumber :: Lens' ObjParseError (Maybe Int32) Source #

Line number at which the problem was found.

opeFilePath :: Lens' ObjParseError (Maybe Text) Source #

The file path in which the problem was found.

opeLine :: Lens' ObjParseError (Maybe Text) Source #

The text of the line. Note that this may be truncated if the line was very long. This may not include the error if it occurs after line truncation.

opeEndIndex :: Lens' ObjParseError (Maybe Int32) Source #

The ending character index at which the problem was found.

opeCode :: Lens' ObjParseError (Maybe ObjParseErrorCode) Source #

The type of problem found (required).

opeStartIndex :: Lens' ObjParseError (Maybe Int32) Source #

The starting character index at which the problem was found.

PresentationParams

data PresentationParams Source #

Hints for displaying the asset, based on information available when the asset was uploaded.

See: presentationParams smart constructor.

Instances
Eq PresentationParams Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data PresentationParams Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: PresentationParams -> Constr #

dataTypeOf :: PresentationParams -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PresentationParams Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic PresentationParams Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep PresentationParams :: Type -> Type #

ToJSON PresentationParams Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON PresentationParams Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep PresentationParams Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep PresentationParams = D1 (MetaData "PresentationParams" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "PresentationParams'" PrefixI True) (S1 (MetaSel (Just "_ppBackgRoundColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ppOrientingRotation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Quaternion)) :*: S1 (MetaSel (Just "_ppColorSpace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PresentationParamsColorSpace)))))

presentationParams :: PresentationParams Source #

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

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

ppBackgRoundColor :: Lens' PresentationParams (Maybe Text) Source #

A background color which could be used for displaying the 3D asset in a 'thumbnail' or 'palette' style view. Authors have the option to set this background color when publishing or editing their asset. This is represented as a six-digit hexademical triplet specifying the RGB components of the background color, e.g. #FF0000 for Red.

ppOrientingRotation :: Lens' PresentationParams (Maybe Quaternion) Source #

A rotation that should be applied to the object root to make it upright. More precisely, this quaternion transforms from "object space" (the space in which the object is defined) to "presentation space", a coordinate system where +Y is up, +X is right, -Z is forward. For example, if the object is the Eiffel Tower, in its local coordinate system the object might be laid out such that the base of the tower is on the YZ plane and the tip of the tower is towards positive X. In this case this quaternion would specify a rotation (of 90 degrees about the Z axis) such that in the presentation space the base of the tower is aligned with the XZ plane, and the tip of the tower lies towards +Y. This rotation is unrelated to the object's pose in the web preview, which is just a camera position setting and is *not* reflected in this rotation. Please note: this is applicable only to the gLTF.

ppColorSpace :: Lens' PresentationParams (Maybe PresentationParamsColorSpace) Source #

The materials' diffuse/albedo color. This does not apply to vertex colors or texture maps.

ListLikedAssetsResponse

data ListLikedAssetsResponse Source #

A response message from a request to list.

See: listLikedAssetsResponse smart constructor.

Instances
Eq ListLikedAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data ListLikedAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: ListLikedAssetsResponse -> Constr #

dataTypeOf :: ListLikedAssetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListLikedAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic ListLikedAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep ListLikedAssetsResponse :: Type -> Type #

ToJSON ListLikedAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON ListLikedAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ListLikedAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ListLikedAssetsResponse = D1 (MetaData "ListLikedAssetsResponse" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "ListLikedAssetsResponse'" PrefixI True) (S1 (MetaSel (Just "_llarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_llarTotalSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_llarAssets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Asset])))))

listLikedAssetsResponse :: ListLikedAssetsResponse Source #

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

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

llarNextPageToken :: Lens' ListLikedAssetsResponse (Maybe Text) Source #

The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To get the next page, submit the same request specifying this value as the page_token.

llarTotalSize :: Lens' ListLikedAssetsResponse (Maybe Int32) Source #

The total number of assets in the list, without pagination.

llarAssets :: Lens' ListLikedAssetsResponse [Asset] Source #

A list of assets that match the criteria specified in the request.

RemixInfo

data RemixInfo Source #

Info about the sources of this asset (i.e. assets that were remixed to create this asset).

See: remixInfo smart constructor.

Instances
Eq RemixInfo Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data RemixInfo Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: RemixInfo -> Constr #

dataTypeOf :: RemixInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RemixInfo Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic RemixInfo Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep RemixInfo :: Type -> Type #

ToJSON RemixInfo Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON RemixInfo Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep RemixInfo Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep RemixInfo = D1 (MetaData "RemixInfo" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" True) (C1 (MetaCons "RemixInfo'" PrefixI True) (S1 (MetaSel (Just "_riSourceAsset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

remixInfo :: RemixInfo Source #

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

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

riSourceAsset :: Lens' RemixInfo [Text] Source #

Resource ids for the sources of this remix, of the form: `assets/{ASSET_ID}`

Quaternion

data Quaternion Source #

A Quaternion. Please note: if in the response you see "w: 1" and nothing else this is the default value of [0, 0, 0, 1] where x,y, and z are 0.

See: quaternion smart constructor.

Instances
Eq Quaternion Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data Quaternion Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: Quaternion -> Constr #

dataTypeOf :: Quaternion -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Quaternion Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic Quaternion Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep Quaternion :: Type -> Type #

ToJSON Quaternion Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON Quaternion Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep Quaternion Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

quaternion :: Quaternion Source #

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

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

qW :: Lens' Quaternion (Maybe Double) Source #

The scalar component.

qZ :: Lens' Quaternion (Maybe Double) Source #

The z component.

qX :: Lens' Quaternion (Maybe Double) Source #

The x component.

qY :: Lens' Quaternion (Maybe Double) Source #

The y component.

Asset

data Asset Source #

Represents and describes an asset in the Poly library. An asset is a 3D model or scene created using Tilt Brush, Blocks, or any 3D program that produces a file that can be upload to Poly.

See: asset smart constructor.

Instances
Eq Asset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

(==) :: Asset -> Asset -> Bool #

(/=) :: Asset -> Asset -> Bool #

Data Asset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: Asset -> Constr #

dataTypeOf :: Asset -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Asset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

showsPrec :: Int -> Asset -> ShowS #

show :: Asset -> String #

showList :: [Asset] -> ShowS #

Generic Asset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep Asset :: Type -> Type #

Methods

from :: Asset -> Rep Asset x #

to :: Rep Asset x -> Asset #

ToJSON Asset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON Asset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep Asset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep Asset = D1 (MetaData "Asset" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "Asset'" PrefixI True) (((S1 (MetaSel (Just "_aThumbnail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe File)) :*: (S1 (MetaSel (Just "_aPresentationParams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PresentationParams)) :*: S1 (MetaSel (Just "_aIsCurated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_aAuthorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aRemixInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RemixInfo))) :*: (S1 (MetaSel (Just "_aFormats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Format])) :*: S1 (MetaSel (Just "_aVisibility") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssetVisibility))))) :*: ((S1 (MetaSel (Just "_aUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_aDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aLicense") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssetLicense))) :*: (S1 (MetaSel (Just "_aDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))))

asset :: Asset Source #

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

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

aThumbnail :: Lens' Asset (Maybe File) Source #

The thumbnail image for the asset.

aPresentationParams :: Lens' Asset (Maybe PresentationParams) Source #

Hints for displaying the asset. Note that these parameters are not immutable; the author of an asset may change them post-publication.

aIsCurated :: Lens' Asset (Maybe Bool) Source #

Whether this asset has been curated by the Poly team.

aAuthorName :: Lens' Asset (Maybe Text) Source #

The author's publicly visible name. Use this name when giving credit to the author. For more information, see Licensing.

aRemixInfo :: Lens' Asset (Maybe RemixInfo) Source #

The remix info for the asset.

aFormats :: Lens' Asset [Format] Source #

A list of Formats where each format describes one representation of the asset.

aVisibility :: Lens' Asset (Maybe AssetVisibility) Source #

The visibility of the asset and who can access it.

aUpdateTime :: Lens' Asset (Maybe UTCTime) Source #

The time when the asset was last modified. For published assets, whose contents are immutable, the update time changes only when metadata properties, such as visibility, are updated.

aName :: Lens' Asset (Maybe Text) Source #

The unique identifier for the asset in the form: `assets/{ASSET_ID}`.

aMetadata :: Lens' Asset (Maybe Text) Source #

Application-defined opaque metadata for this asset. This field is only returned when querying for the signed-in user's own assets, not for public assets. This string is limited to 1K chars. It is up to the creator of the asset to define the format for this string (for example, JSON).

aDisplayName :: Lens' Asset (Maybe Text) Source #

The human-readable name, set by the asset's author.

aLicense :: Lens' Asset (Maybe AssetLicense) Source #

The license under which the author has made the asset available for use, if any.

aDescription :: Lens' Asset (Maybe Text) Source #

The human-readable description, set by the asset's author.

aCreateTime :: Lens' Asset (Maybe UTCTime) Source #

For published assets, the time when the asset was published. For unpublished assets, the time when the asset was created.

Format

data Format Source #

The same asset can be represented in different formats, for example, a WaveFront .obj file with its corresponding .mtl file or a Khronos glTF file with its corresponding .glb binary data. A format refers to a specific representation of an asset and contains all information needed to retrieve and describe this representation.

See: format smart constructor.

Instances
Eq Format Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

(==) :: Format -> Format -> Bool #

(/=) :: Format -> Format -> Bool #

Data Format Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: Format -> Constr #

dataTypeOf :: Format -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Format Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic Format Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep Format :: Type -> Type #

Methods

from :: Format -> Rep Format x #

to :: Rep Format x -> Format #

ToJSON Format Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON Format Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep Format Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep Format = D1 (MetaData "Format" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "Format'" PrefixI True) ((S1 (MetaSel (Just "_fRoot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe File)) :*: S1 (MetaSel (Just "_fResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [File]))) :*: (S1 (MetaSel (Just "_fFormatComplexity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FormatComplexity)) :*: S1 (MetaSel (Just "_fFormatType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

format :: Format Source #

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

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

fRoot :: Lens' Format (Maybe File) Source #

The root of the file hierarchy. This will always be populated. For some format_types - such as `TILT`, which are self-contained - this is all of the data. Other types - such as `OBJ` - often reference other data elements. These are contained in the resources field.

fResources :: Lens' Format [File] Source #

A list of dependencies of the root element. May include, but is not limited to, materials, textures, and shader programs.

fFormatComplexity :: Lens' Format (Maybe FormatComplexity) Source #

Complexity stats about this representation of the asset.

fFormatType :: Lens' Format (Maybe Text) Source #

A short string that identifies the format type of this representation. Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.

AssetImportMessageCode

data AssetImportMessageCode Source #

The code associated with this message.

Constructors

AIMCCodeUnspecified

CODE_UNSPECIFIED Unknown error code.

AIMCNoImportableFile

NO_IMPORTABLE_FILE The asset import did not include any file that we can import (i.e. an OBJ file).

AIMCEmptyModel

EMPTY_MODEL When generating the preview for the import, no geometry was found.

AIMCObjParseError

OBJ_PARSE_ERROR A problem was encountered while parsing the OBJ file. The converter makes a 'best effort' attempt to continue when encountering such issues. In some cases the resulting preview model may still be acceptable. The details can be found in the parse error message.

AIMCExpired

EXPIRED The importer was not able to import the model before the expiration time.

AIMCImageError

IMAGE_ERROR The importer encountered a problem reading an image file.

AIMCExtraFilesWithArchive

EXTRA_FILES_WITH_ARCHIVE Multiple files were encountered in addition to a ZIP archive. When uploading an archive only one file is permitted.

AIMCDefaultMaterials

DEFAULT_MATERIALS Default materials are used in the model. This means that one or more faces is using default materials either because no usemtl statement was specified or because the requested material was not found due to a missing material file or bad material name. This does not cover the case of missing textures.

AIMCFatalError

FATAL_ERROR The importer encountered a fatal error and was unable to import the model.

AIMCInvalidElementType

INVALID_ELEMENT_TYPE The import includes a file of an unsupported element type. The file path is specified.

Instances
Enum AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Eq AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Data AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

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

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

toConstr :: AssetImportMessageCode -> Constr #

dataTypeOf :: AssetImportMessageCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Read AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Show AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Generic AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Associated Types

type Rep AssetImportMessageCode :: Type -> Type #

Hashable AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToJSON AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromJSON AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromHttpApiData AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToHttpApiData AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep AssetImportMessageCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep AssetImportMessageCode = D1 (MetaData "AssetImportMessageCode" "Network.Google.Poly.Types.Sum" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (((C1 (MetaCons "AIMCCodeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AIMCNoImportableFile" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AIMCEmptyModel" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AIMCObjParseError" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AIMCExpired" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "AIMCImageError" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AIMCExtraFilesWithArchive" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AIMCDefaultMaterials" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AIMCFatalError" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AIMCInvalidElementType" PrefixI False) (U1 :: Type -> Type)))))

AssetImportMessage

data AssetImportMessage Source #

A message generated by the asset import process.

See: assetImportMessage smart constructor.

Instances
Eq AssetImportMessage Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data AssetImportMessage Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: AssetImportMessage -> Constr #

dataTypeOf :: AssetImportMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AssetImportMessage Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic AssetImportMessage Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep AssetImportMessage :: Type -> Type #

ToJSON AssetImportMessage Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON AssetImportMessage Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep AssetImportMessage Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep AssetImportMessage = D1 (MetaData "AssetImportMessage" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "AssetImportMessage'" PrefixI True) ((S1 (MetaSel (Just "_aimObjParseError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjParseError)) :*: S1 (MetaSel (Just "_aimFilePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aimImageError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImageError)) :*: S1 (MetaSel (Just "_aimCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssetImportMessageCode)))))

assetImportMessage :: AssetImportMessage Source #

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

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

aimObjParseError :: Lens' AssetImportMessage (Maybe ObjParseError) Source #

An optional OBJ parse error. Only present for OBJ_PARSE_ERROR.

aimFilePath :: Lens' AssetImportMessage (Maybe Text) Source #

An optional file path. Only present for those error codes that specify it.

aimImageError :: Lens' AssetImportMessage (Maybe ImageError) Source #

An optional image error. Only present for INVALID_IMAGE_FILE.

aimCode :: Lens' AssetImportMessage (Maybe AssetImportMessageCode) Source #

The code associated with this message.

StartAssetImportResponse

data StartAssetImportResponse Source #

A response message from a request to startImport. This is returned in the response field of the Operation.

See: startAssetImportResponse smart constructor.

Instances
Eq StartAssetImportResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data StartAssetImportResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: StartAssetImportResponse -> Constr #

dataTypeOf :: StartAssetImportResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StartAssetImportResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic StartAssetImportResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep StartAssetImportResponse :: Type -> Type #

ToJSON StartAssetImportResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON StartAssetImportResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep StartAssetImportResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep StartAssetImportResponse = D1 (MetaData "StartAssetImportResponse" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "StartAssetImportResponse'" PrefixI True) ((S1 (MetaSel (Just "_sairPublishURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sairAssetImportMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AssetImportMessage]))) :*: (S1 (MetaSel (Just "_sairAssetImportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sairAssetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

startAssetImportResponse :: StartAssetImportResponse Source #

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

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

sairPublishURL :: Lens' StartAssetImportResponse (Maybe Text) Source #

The publish URL for the asset.

sairAssetImportMessages :: Lens' StartAssetImportResponse [AssetImportMessage] Source #

The message from the asset import. This will contain any warnings (or - in the case of failure - errors) that occurred during import.

sairAssetId :: Lens' StartAssetImportResponse (Maybe Text) Source #

The id of newly created asset. If this is empty when the operation is complete it means the import failed. Please refer to the assetImportMessages field to understand what went wrong.

AssetVisibility

data AssetVisibility Source #

The visibility of the asset and who can access it.

Constructors

VisibilityUnspecified

VISIBILITY_UNSPECIFIED Unknown (and invalid) visibility.

Private

PRIVATE Access to the asset and its underlying files and resources is restricted to the author. **Authentication:** You must supply an OAuth token that corresponds to the author's account.

UnListed

UNLISTED Access to the asset and its underlying files and resources is available to anyone with the asset's name. Unlisted assets are **not** returned by List Assets.

Public

PUBLIC Access to the asset and its underlying files and resources is available to anyone.

Instances
Enum AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Eq AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Data AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

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

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

toConstr :: AssetVisibility -> Constr #

dataTypeOf :: AssetVisibility -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Read AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Show AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Generic AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Associated Types

type Rep AssetVisibility :: Type -> Type #

Hashable AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToJSON AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromJSON AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromHttpApiData AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToHttpApiData AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep AssetVisibility Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep AssetVisibility = D1 (MetaData "AssetVisibility" "Network.Google.Poly.Types.Sum" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) ((C1 (MetaCons "VisibilityUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Private" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "UnListed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Public" PrefixI False) (U1 :: Type -> Type)))

ImageError

data ImageError Source #

A message resulting from reading an image file.

See: imageError smart constructor.

Instances
Eq ImageError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data ImageError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: ImageError -> Constr #

dataTypeOf :: ImageError -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImageError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic ImageError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep ImageError :: Type -> Type #

ToJSON ImageError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON ImageError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ImageError Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ImageError = D1 (MetaData "ImageError" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "ImageError'" PrefixI True) (S1 (MetaSel (Just "_ieFilePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ieCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImageErrorCode))))

imageError :: ImageError Source #

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

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

ieFilePath :: Lens' ImageError (Maybe Text) Source #

The file path in the import of the image that was rejected.

ieCode :: Lens' ImageError (Maybe ImageErrorCode) Source #

The type of image error encountered. Optional for older image errors.

FormatComplexity

data FormatComplexity Source #

Information on the complexity of this Format.

See: formatComplexity smart constructor.

Instances
Eq FormatComplexity Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data FormatComplexity Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: FormatComplexity -> Constr #

dataTypeOf :: FormatComplexity -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FormatComplexity Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic FormatComplexity Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep FormatComplexity :: Type -> Type #

ToJSON FormatComplexity Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON FormatComplexity Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep FormatComplexity Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep FormatComplexity = D1 (MetaData "FormatComplexity" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "FormatComplexity'" PrefixI True) (S1 (MetaSel (Just "_fcTriangleCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_fcLodHint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))

formatComplexity :: FormatComplexity Source #

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

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

fcTriangleCount :: Lens' FormatComplexity (Maybe Int64) Source #

The estimated number of triangles.

fcLodHint :: Lens' FormatComplexity (Maybe Int32) Source #

A non-negative integer that represents the level of detail (LOD) of this format relative to other formats of the same asset with the same format_type. This hint allows you to sort formats from the most-detailed (0) to least-detailed (integers greater than 0).

ObjParseErrorCode

data ObjParseErrorCode Source #

The type of problem found (required).

Constructors

OPECCodeUnspecified

CODE_UNSPECIFIED Unknown error code.

OPECInconsistentVertexRefs

INCONSISTENT_VERTEX_REFS Vertex references are specified in an inconsistent style for a face (e.g. some vertices specify texture vertices but some don't).

OPECInvalidCommand

INVALID_COMMAND The command is invalid.

OPECInvalidNumber

INVALID_NUMBER A invalid number was specified.

OPECInvalidVertexRef

INVALID_VERTEX_REF An invalid vertex reference was specified.

OPECMissingGeometricVertex

MISSING_GEOMETRIC_VERTEX A vertex reference does not specify a geometric vertex.

OPECMissingToken

MISSING_TOKEN An expected token was not found.

OPECTooFewDimensions

TOO_FEW_DIMENSIONS The vertex specified too few dimensions for its usage.

OPECTooFewVertices

TOO_FEW_VERTICES The face specified too few vertices.

OPECTooManyDimensions

TOO_MANY_DIMENSIONS The vertex specified too many dimensions for its usage.

OPECUnsupportedCommand

UNSUPPORTED_COMMAND This command is a valid OBJ command but is not supported. This error is only generated for the first instance of such a command.

OPECUnusedTokens

UNUSED_TOKENS This line ended with unparsed token characters.

OPECVertexNotFound

VERTEX_NOT_FOUND The specified vertex was not found.

OPECNumberOutOfRange

NUMBER_OUT_OF_RANGE The specified number was too large or small for its usage.

OPECInvalidValue

INVALID_VALUE The specified parameter value was not recognized.

OPECInvalidTextureOption

INVALID_TEXTURE_OPTION The specified texture option is not valid.

OPECTooManyProblems

TOO_MANY_PROBLEMS The maximum number of problems to report was reached. Parsing continues, but further problems will be ignored.

OPECMissingFileName

MISSING_FILE_NAME An expected file name was not specified.

OPECFileNotFound

FILE_NOT_FOUND The specified file was not found in the import.

OPECUnknownMaterial

UNKNOWN_MATERIAL The specified material was not found in any material definition in the import.

OPECNoMaterialDefined

NO_MATERIAL_DEFINED Material parameters were specified before the first material definition.

OPECInvalidSmoothingGroup

INVALID_SMOOTHING_GROUP The smoothing group is not valid.

OPECMissingVertexColors

MISSING_VERTEX_COLORS Vertex colors were specified for only some vertices of a face.

OPECFileSubstitution

FILE_SUBSTITUTION A missing file was found at a different file path.

OPECLineTooLong

LINE_TOO_LONG A line in an OBJ or MTL file exceeded the maximum line length.

OPECInvalidFilePath

INVALID_FILE_PATH The file path was invalid. Only relative paths are supported.

Instances
Enum ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Eq ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Data ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

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

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

toConstr :: ObjParseErrorCode -> Constr #

dataTypeOf :: ObjParseErrorCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Read ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Show ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Generic ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Associated Types

type Rep ObjParseErrorCode :: Type -> Type #

Hashable ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToJSON ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromJSON ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromHttpApiData ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToHttpApiData ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep ObjParseErrorCode Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep ObjParseErrorCode = D1 (MetaData "ObjParseErrorCode" "Network.Google.Poly.Types.Sum" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) ((((C1 (MetaCons "OPECCodeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OPECInconsistentVertexRefs" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECInvalidCommand" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "OPECInvalidNumber" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OPECInvalidVertexRef" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECMissingGeometricVertex" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "OPECMissingToken" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OPECTooFewDimensions" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECTooFewVertices" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "OPECTooManyDimensions" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECUnsupportedCommand" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "OPECUnusedTokens" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECVertexNotFound" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "OPECNumberOutOfRange" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OPECInvalidValue" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECInvalidTextureOption" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "OPECTooManyProblems" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OPECMissingFileName" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECFileNotFound" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "OPECUnknownMaterial" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OPECNoMaterialDefined" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECInvalidSmoothingGroup" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "OPECMissingVertexColors" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECFileSubstitution" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "OPECLineTooLong" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OPECInvalidFilePath" PrefixI False) (U1 :: Type -> Type))))))

ListAssetsResponse

data ListAssetsResponse Source #

A response message from a request to list.

See: listAssetsResponse smart constructor.

Instances
Eq ListAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data ListAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: ListAssetsResponse -> Constr #

dataTypeOf :: ListAssetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic ListAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep ListAssetsResponse :: Type -> Type #

ToJSON ListAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON ListAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ListAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ListAssetsResponse = D1 (MetaData "ListAssetsResponse" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "ListAssetsResponse'" PrefixI True) (S1 (MetaSel (Just "_larNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_larTotalSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_larAssets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Asset])))))

listAssetsResponse :: ListAssetsResponse Source #

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

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

larNextPageToken :: Lens' ListAssetsResponse (Maybe Text) Source #

The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To get the next page, submit the same request specifying this value as the page_token.

larTotalSize :: Lens' ListAssetsResponse (Maybe Int32) Source #

The total number of assets in the list, without pagination.

larAssets :: Lens' ListAssetsResponse [Asset] Source #

A list of assets that match the criteria specified in the request.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.Poly.Types.Sum" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

ListUserAssetsResponse

data ListUserAssetsResponse Source #

A response message from a request to list.

See: listUserAssetsResponse smart constructor.

Instances
Eq ListUserAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data ListUserAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: ListUserAssetsResponse -> Constr #

dataTypeOf :: ListUserAssetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListUserAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic ListUserAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep ListUserAssetsResponse :: Type -> Type #

ToJSON ListUserAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON ListUserAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ListUserAssetsResponse Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep ListUserAssetsResponse = D1 (MetaData "ListUserAssetsResponse" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "ListUserAssetsResponse'" PrefixI True) (S1 (MetaSel (Just "_luarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_luarTotalSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_luarUserAssets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserAsset])))))

listUserAssetsResponse :: ListUserAssetsResponse Source #

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

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

luarNextPageToken :: Lens' ListUserAssetsResponse (Maybe Text) Source #

The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To get the next page, submit the same request specifying this value as the page_token.

luarTotalSize :: Lens' ListUserAssetsResponse (Maybe Int32) Source #

The total number of assets in the list, without pagination.

luarUserAssets :: Lens' ListUserAssetsResponse [UserAsset] Source #

A list of UserAssets matching the request.

AssetLicense

data AssetLicense Source #

The license under which the author has made the asset available for use, if any.

Constructors

Unknown

UNKNOWN Unknown license value.

CreativeCommonsBy

CREATIVE_COMMONS_BY Creative Commons CC-BY 3.0. https://creativecommons.org/licenses/by/3.0/

AllRightsReserved

ALL_RIGHTS_RESERVED Unlicensed: All Rights Reserved by the author. Unlicensed assets are **not** returned by List Assets.

Instances
Enum AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Eq AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Data AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

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

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

toConstr :: AssetLicense -> Constr #

dataTypeOf :: AssetLicense -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Read AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Show AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Generic AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Associated Types

type Rep AssetLicense :: Type -> Type #

Hashable AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToJSON AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromJSON AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromHttpApiData AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToHttpApiData AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep AssetLicense Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep AssetLicense = D1 (MetaData "AssetLicense" "Network.Google.Poly.Types.Sum" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "CreativeCommonsBy" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AllRightsReserved" PrefixI False) (U1 :: Type -> Type)))

PresentationParamsColorSpace

data PresentationParamsColorSpace Source #

The materials' diffuse/albedo color. This does not apply to vertex colors or texture maps.

Constructors

PPCSUnknown

UNKNOWN Invalid color value.

PPCSLinear

LINEAR Linear color values. Default.

PPCSGamma

GAMMA Colors should be converted to linear by assuming gamma = 2.0.

Instances
Enum PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Eq PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Data PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Methods

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

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

toConstr :: PresentationParamsColorSpace -> Constr #

dataTypeOf :: PresentationParamsColorSpace -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Read PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Show PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Generic PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

Associated Types

type Rep PresentationParamsColorSpace :: Type -> Type #

Hashable PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToJSON PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromJSON PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

FromHttpApiData PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

ToHttpApiData PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep PresentationParamsColorSpace Source # 
Instance details

Defined in Network.Google.Poly.Types.Sum

type Rep PresentationParamsColorSpace = D1 (MetaData "PresentationParamsColorSpace" "Network.Google.Poly.Types.Sum" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "PPCSUnknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PPCSLinear" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PPCSGamma" PrefixI False) (U1 :: Type -> Type)))

File

data File Source #

Represents a file in Poly, which can be a root, resource, or thumbnail file.

See: file smart constructor.

Instances
Eq File Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

(==) :: File -> File -> Bool #

(/=) :: File -> File -> Bool #

Data File Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: File -> Constr #

dataTypeOf :: File -> DataType #

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

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

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

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

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

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

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

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

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

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

Show File Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

Generic File Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep File :: Type -> Type #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

ToJSON File Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON File Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep File Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep File = D1 (MetaData "File" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" False) (C1 (MetaCons "File'" PrefixI True) (S1 (MetaSel (Just "_fURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_fRelativePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

file :: File Source #

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

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

fURL :: Lens' File (Maybe Text) Source #

The URL where the file data can be retrieved.

fRelativePath :: Lens' File (Maybe Text) Source #

The path of the resource file relative to the root file. For root or thumbnail files, this is just the filename.

fContentType :: Lens' File (Maybe Text) Source #

The MIME content-type, such as `image/png`. For more information, see MIME types.

UserAsset

data UserAsset Source #

Data about the user's asset.

See: userAsset smart constructor.

Instances
Eq UserAsset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Data UserAsset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Methods

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

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

toConstr :: UserAsset -> Constr #

dataTypeOf :: UserAsset -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserAsset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Generic UserAsset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

Associated Types

type Rep UserAsset :: Type -> Type #

ToJSON UserAsset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

FromJSON UserAsset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep UserAsset Source # 
Instance details

Defined in Network.Google.Poly.Types.Product

type Rep UserAsset = D1 (MetaData "UserAsset" "Network.Google.Poly.Types.Product" "gogol-poly-0.4.0-GC6geLrQx0RHso7Xpq3nv1" True) (C1 (MetaCons "UserAsset'" PrefixI True) (S1 (MetaSel (Just "_uaAsset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Asset))))

userAsset :: UserAsset Source #

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

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