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

Contents

Description

Gets the access control policy for a billing account. The caller must have the `billing.accounts.getIamPolicy` permission on the account, which is often given to billing account viewers.

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

Synopsis

REST Resource

type BillingAccountsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))) Source #

A resource alias for cloudbilling.billingAccounts.getIamPolicy method which the BillingAccountsGetIAMPolicy request conforms to.

Creating a Request

billingAccountsGetIAMPolicy Source #

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

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

data BillingAccountsGetIAMPolicy Source #

Gets the access control policy for a billing account. The caller must have the `billing.accounts.getIamPolicy` permission on the account, which is often given to billing account viewers.

See: billingAccountsGetIAMPolicy smart constructor.

Instances
Eq BillingAccountsGetIAMPolicy Source # 
Instance details

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

Data BillingAccountsGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: BillingAccountsGetIAMPolicy -> Constr #

dataTypeOf :: BillingAccountsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccountsGetIAMPolicy Source # 
Instance details

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

Generic BillingAccountsGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep BillingAccountsGetIAMPolicy :: Type -> Type #

GoogleRequest BillingAccountsGetIAMPolicy Source # 
Instance details

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

type Rep BillingAccountsGetIAMPolicy Source # 
Instance details

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

type Rep BillingAccountsGetIAMPolicy = D1 (MetaData "BillingAccountsGetIAMPolicy" "Network.Google.Resource.CloudBilling.BillingAccounts.GetIAMPolicy" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "BillingAccountsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_bagipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_bagipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bagipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_bagipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bagipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bagipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsGetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

bagipUploadProtocol :: Lens' BillingAccountsGetIAMPolicy (Maybe Text) Source #

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

bagipUploadType :: Lens' BillingAccountsGetIAMPolicy (Maybe Text) Source #

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

bagipResource :: Lens' BillingAccountsGetIAMPolicy Text Source #

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