gogol-billing-0.4.0: Google Cloud Billing 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.CloudBilling.BillingAccounts.TestIAMPermissions

Contents

Description

Tests the access control policy for a billing account. This method takes the resource and a set of permissions as input and returns the subset of the input permissions that the caller is allowed for that resource.

See: Cloud Billing API Reference for cloudbilling.billingAccounts.testIamPermissions.

Synopsis

REST Resource

type BillingAccountsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #

A resource alias for cloudbilling.billingAccounts.testIamPermissions method which the BillingAccountsTestIAMPermissions request conforms to.

Creating a Request

data BillingAccountsTestIAMPermissions Source #

Tests the access control policy for a billing account. This method takes the resource and a set of permissions as input and returns the subset of the input permissions that the caller is allowed for that resource.

See: billingAccountsTestIAMPermissions smart constructor.

Instances
Eq BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

Data BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

Methods

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

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

toConstr :: BillingAccountsTestIAMPermissions -> Constr #

dataTypeOf :: BillingAccountsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

Generic BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

Associated Types

type Rep BillingAccountsTestIAMPermissions :: Type -> Type #

GoogleRequest BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

type Rep BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

type Rep BillingAccountsTestIAMPermissions = D1 (MetaData "BillingAccountsTestIAMPermissions" "Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "BillingAccountsTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_batipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_batipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_batipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_batipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_batipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_batipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_batipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

type Scopes BillingAccountsTestIAMPermissions = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs BillingAccountsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.TestIAMPermissions

Request Lenses

batipUploadProtocol :: Lens' BillingAccountsTestIAMPermissions (Maybe Text) Source #

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

batipUploadType :: Lens' BillingAccountsTestIAMPermissions (Maybe Text) Source #

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

batipResource :: Lens' BillingAccountsTestIAMPermissions Text Source #

REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.