gogol-securitycenter-0.5.0: Google Cloud Security Command Center 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.SecurityCenter.Organizations.Sources.Patch

Contents

Description

Updates a source.

See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.patch.

Synopsis

REST Resource

type OrganizationsSourcesPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Source :> Patch '[JSON] Source))))))))) Source #

A resource alias for securitycenter.organizations.sources.patch method which the OrganizationsSourcesPatch request conforms to.

Creating a Request

organizationsSourcesPatch Source #

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

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

data OrganizationsSourcesPatch Source #

Updates a source.

See: organizationsSourcesPatch smart constructor.

Instances
Eq OrganizationsSourcesPatch Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

Data OrganizationsSourcesPatch Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

Methods

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

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

toConstr :: OrganizationsSourcesPatch -> Constr #

dataTypeOf :: OrganizationsSourcesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSourcesPatch Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

Generic OrganizationsSourcesPatch Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

Associated Types

type Rep OrganizationsSourcesPatch :: Type -> Type #

GoogleRequest OrganizationsSourcesPatch Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

type Rep OrganizationsSourcesPatch Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

type Rep OrganizationsSourcesPatch = D1 (MetaData "OrganizationsSourcesPatch" "Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "OrganizationsSourcesPatch'" PrefixI True) (((S1 (MetaSel (Just "_ospXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ospUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ospUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_ospAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ospUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ospPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Source)) :*: (S1 (MetaSel (Just "_ospName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ospCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsSourcesPatch Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

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

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch

Request Lenses

ospUploadProtocol :: Lens' OrganizationsSourcesPatch (Maybe Text) Source #

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

ospUpdateMask :: Lens' OrganizationsSourcesPatch (Maybe GFieldMask) Source #

The FieldMask to use when updating the source resource. If empty all mutable fields will be updated.

ospUploadType :: Lens' OrganizationsSourcesPatch (Maybe Text) Source #

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

ospName :: Lens' OrganizationsSourcesPatch Text Source #

The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/sources/456"