gogol-storage-0.4.0: Google Cloud Storage JSON 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.Storage.Buckets.TestIAMPermissions

Contents

Description

Tests a set of permissions on the given bucket to see which, if any, are held by the caller.

See: Cloud Storage JSON API Reference for storage.buckets.testIamPermissions.

Synopsis

REST Resource

type BucketsTestIAMPermissionsResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("iam" :> ("testPermissions" :> (QueryParams "permissions" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TestIAMPermissionsResponse)))))))) Source #

A resource alias for storage.buckets.testIamPermissions method which the BucketsTestIAMPermissions request conforms to.

Creating a Request

bucketsTestIAMPermissions Source #

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

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

data BucketsTestIAMPermissions Source #

Tests a set of permissions on the given bucket to see which, if any, are held by the caller.

See: bucketsTestIAMPermissions smart constructor.

Instances
Eq BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

Data BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

Methods

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

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

toConstr :: BucketsTestIAMPermissions -> Constr #

dataTypeOf :: BucketsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

Generic BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

Associated Types

type Rep BucketsTestIAMPermissions :: Type -> Type #

GoogleRequest BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

type Rep BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

type Rep BucketsTestIAMPermissions = D1 (MetaData "BucketsTestIAMPermissions" "Network.Google.Resource.Storage.Buckets.TestIAMPermissions" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "BucketsTestIAMPermissions'" PrefixI True) (S1 (MetaSel (Just "_btipBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_btipUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_btipPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Scopes BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

type Scopes BucketsTestIAMPermissions = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ("https://www.googleapis.com/auth/devstorage.full_control" ': ("https://www.googleapis.com/auth/devstorage.read_only" ': ("https://www.googleapis.com/auth/devstorage.read_write" ': ([] :: [Symbol])))))
type Rs BucketsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.TestIAMPermissions

Request Lenses

btipUserProject :: Lens' BucketsTestIAMPermissions (Maybe Text) Source #

The project to be billed for this request. Required for Requester Pays buckets.