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

Contents

Description

Creates a source.

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

Synopsis

REST Resource

type OrganizationsSourcesCreateResource = "v1" :> (Capture "parent" Text :> ("sources" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Source :> Post '[JSON] Source))))))))) Source #

A resource alias for securitycenter.organizations.sources.create method which the OrganizationsSourcesCreate request conforms to.

Creating a Request

organizationsSourcesCreate Source #

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

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

data OrganizationsSourcesCreate Source #

Creates a source.

See: organizationsSourcesCreate smart constructor.

Instances
Eq OrganizationsSourcesCreate Source # 
Instance details

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

Data OrganizationsSourcesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsSourcesCreate -> Constr #

dataTypeOf :: OrganizationsSourcesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSourcesCreate Source # 
Instance details

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

Generic OrganizationsSourcesCreate Source # 
Instance details

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

Associated Types

type Rep OrganizationsSourcesCreate :: Type -> Type #

GoogleRequest OrganizationsSourcesCreate Source # 
Instance details

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

type Rep OrganizationsSourcesCreate Source # 
Instance details

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

type Rep OrganizationsSourcesCreate = D1 (MetaData "OrganizationsSourcesCreate" "Network.Google.Resource.SecurityCenter.Organizations.Sources.Create" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "OrganizationsSourcesCreate'" PrefixI True) ((S1 (MetaSel (Just "_oscParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oscXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_oscUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oscAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oscUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_oscPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Source) :*: S1 (MetaSel (Just "_oscCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsSourcesCreate Source # 
Instance details

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

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

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

Request Lenses

oscParent :: Lens' OrganizationsSourcesCreate Text Source #

Resource name of the new source's parent. Its format should be "organizations/[organization_id]".

oscUploadProtocol :: Lens' OrganizationsSourcesCreate (Maybe Text) Source #

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

oscUploadType :: Lens' OrganizationsSourcesCreate (Maybe Text) Source #

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