gogol-logging-0.1.1: Google Stackdriver Logging 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.Logging.Organizations.Sinks.Create

Contents

Description

Creates a sink.

See: Stackdriver Logging API Reference for logging.organizations.sinks.create.

Synopsis

REST Resource

type OrganizationsSinksCreateResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogSink :> Post '[JSON] LogSink))))))))))) Source #

A resource alias for logging.organizations.sinks.create method which the OrganizationsSinksCreate request conforms to.

Creating a Request

organizationsSinksCreate Source #

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

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

data OrganizationsSinksCreate Source #

Creates a sink.

See: organizationsSinksCreate smart constructor.

Instances

Eq OrganizationsSinksCreate Source # 
Data OrganizationsSinksCreate Source # 

Methods

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

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

toConstr :: OrganizationsSinksCreate -> Constr #

dataTypeOf :: OrganizationsSinksCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSinksCreate Source # 
Generic OrganizationsSinksCreate Source # 
GoogleRequest OrganizationsSinksCreate Source # 
type Rep OrganizationsSinksCreate Source # 
type Scopes OrganizationsSinksCreate Source # 
type Scopes OrganizationsSinksCreate = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/logging.admin" ([] Symbol))
type Rs OrganizationsSinksCreate Source # 

Request Lenses

oscParent :: Lens' OrganizationsSinksCreate Text Source #

Required. The resource in which to create the sink. Example: `"projects/my-project-id"`. The new sink must be provided in the request.

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

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

oscPp :: Lens' OrganizationsSinksCreate Bool Source #

Pretty-print response.

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

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