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.Findings.Patch

Contents

Description

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

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

Synopsis

REST Resource

type OrganizationsSourcesFindingsPatchResource = "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] Finding :> Patch '[JSON] Finding))))))))) Source #

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

Creating a Request

organizationsSourcesFindingsPatch Source #

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

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

data OrganizationsSourcesFindingsPatch Source #

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

See: organizationsSourcesFindingsPatch smart constructor.

Instances
Eq OrganizationsSourcesFindingsPatch Source # 
Instance details

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

Data OrganizationsSourcesFindingsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsSourcesFindingsPatch -> Constr #

dataTypeOf :: OrganizationsSourcesFindingsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSourcesFindingsPatch Source # 
Instance details

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

Generic OrganizationsSourcesFindingsPatch Source # 
Instance details

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

Associated Types

type Rep OrganizationsSourcesFindingsPatch :: Type -> Type #

GoogleRequest OrganizationsSourcesFindingsPatch Source # 
Instance details

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

type Rep OrganizationsSourcesFindingsPatch Source # 
Instance details

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

type Rep OrganizationsSourcesFindingsPatch = D1 (MetaData "OrganizationsSourcesFindingsPatch" "Network.Google.Resource.SecurityCenter.Organizations.Sources.Findings.Patch" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "OrganizationsSourcesFindingsPatch'" PrefixI True) (((S1 (MetaSel (Just "_osfpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_osfpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_osfpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_osfpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_osfpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_osfpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Finding)) :*: (S1 (MetaSel (Just "_osfpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_osfpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsSourcesFindingsPatch Source # 
Instance details

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

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

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

Request Lenses

osfpUploadProtocol :: Lens' OrganizationsSourcesFindingsPatch (Maybe Text) Source #

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

osfpUpdateMask :: Lens' OrganizationsSourcesFindingsPatch (Maybe GFieldMask) Source #

The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using "source_properties." in the field mask.

osfpUploadType :: Lens' OrganizationsSourcesFindingsPatch (Maybe Text) Source #

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

osfpName :: Lens' OrganizationsSourcesFindingsPatch Text Source #

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