gogol-binaryauthorization-0.4.0: Google Binary Authorization 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.BinaryAuthorization.Projects.Policy.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: Binary Authorization API Reference for binaryauthorization.projects.policy.getIamPolicy.

Synopsis

REST Resource

type ProjectsPolicyGetIAMPolicyResource = "v1beta1" :> (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] IAMPolicy))))))) Source #

A resource alias for binaryauthorization.projects.policy.getIamPolicy method which the ProjectsPolicyGetIAMPolicy request conforms to.

Creating a Request

projectsPolicyGetIAMPolicy Source #

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

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

data ProjectsPolicyGetIAMPolicy Source #

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: projectsPolicyGetIAMPolicy smart constructor.

Instances
Eq ProjectsPolicyGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

Data ProjectsPolicyGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

Methods

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

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

toConstr :: ProjectsPolicyGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsPolicyGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsPolicyGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

Generic ProjectsPolicyGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

Associated Types

type Rep ProjectsPolicyGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsPolicyGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

type Rep ProjectsPolicyGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

type Rep ProjectsPolicyGetIAMPolicy = D1 (MetaData "ProjectsPolicyGetIAMPolicy" "Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" False) (C1 (MetaCons "ProjectsPolicyGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_ppgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ppgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ppgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ppgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ppgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsPolicyGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

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

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Policy.GetIAMPolicy

Request Lenses

ppgipUploadProtocol :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text) Source #

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

ppgipUploadType :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text) Source #

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

ppgipResource :: Lens' ProjectsPolicyGetIAMPolicy Text Source #

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