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.Attestors.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.attestors.getIamPolicy.

Synopsis

REST Resource

type ProjectsAttestorsGetIAMPolicyResource = "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.attestors.getIamPolicy method which the ProjectsAttestorsGetIAMPolicy request conforms to.

Creating a Request

projectsAttestorsGetIAMPolicy Source #

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

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

data ProjectsAttestorsGetIAMPolicy 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: projectsAttestorsGetIAMPolicy smart constructor.

Instances
Eq ProjectsAttestorsGetIAMPolicy Source # 
Instance details

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

Data ProjectsAttestorsGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAttestorsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsAttestorsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAttestorsGetIAMPolicy Source # 
Instance details

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

Generic ProjectsAttestorsGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsAttestorsGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsAttestorsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsAttestorsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsAttestorsGetIAMPolicy = D1 (MetaData "ProjectsAttestorsGetIAMPolicy" "Network.Google.Resource.BinaryAuthorization.Projects.Attestors.GetIAMPolicy" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" False) (C1 (MetaCons "ProjectsAttestorsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pagipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pagipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pagipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pagipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pagipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pagipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAttestorsGetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

pagipUploadProtocol :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text) Source #

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

pagipUploadType :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text) Source #

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

pagipResource :: Lens' ProjectsAttestorsGetIAMPolicy Text Source #

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