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

Contents

Description

Updates an attestor. Returns NOT_FOUND if the attestor does not exist.

See: Binary Authorization API Reference for binaryauthorization.projects.attestors.update.

Synopsis

REST Resource

type ProjectsAttestorsUpdateResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Attestor :> Put '[JSON] Attestor)))))))) Source #

A resource alias for binaryauthorization.projects.attestors.update method which the ProjectsAttestorsUpdate request conforms to.

Creating a Request

projectsAttestorsUpdate Source #

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

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

data ProjectsAttestorsUpdate Source #

Updates an attestor. Returns NOT_FOUND if the attestor does not exist.

See: projectsAttestorsUpdate smart constructor.

Instances
Eq ProjectsAttestorsUpdate Source # 
Instance details

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

Data ProjectsAttestorsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAttestorsUpdate -> Constr #

dataTypeOf :: ProjectsAttestorsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAttestorsUpdate Source # 
Instance details

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

Generic ProjectsAttestorsUpdate Source # 
Instance details

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

Associated Types

type Rep ProjectsAttestorsUpdate :: Type -> Type #

GoogleRequest ProjectsAttestorsUpdate Source # 
Instance details

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

type Rep ProjectsAttestorsUpdate Source # 
Instance details

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

type Rep ProjectsAttestorsUpdate = D1 (MetaData "ProjectsAttestorsUpdate" "Network.Google.Resource.BinaryAuthorization.Projects.Attestors.Update" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" False) (C1 (MetaCons "ProjectsAttestorsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_pauXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pauUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pauAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pauUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pauPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Attestor)) :*: (S1 (MetaSel (Just "_pauName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pauCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAttestorsUpdate Source # 
Instance details

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

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

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

Request Lenses

pauUploadProtocol :: Lens' ProjectsAttestorsUpdate (Maybe Text) Source #

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

pauUploadType :: Lens' ProjectsAttestorsUpdate (Maybe Text) Source #

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

pauName :: Lens' ProjectsAttestorsUpdate Text Source #

Required. The resource name, in the format: `projects/*/attestors/*`. This field may not be updated.