gogol-logging-0.4.0: 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.Sinks.Get

Contents

Description

Gets a sink.

See: Stackdriver Logging API Reference for logging.sinks.get.

Synopsis

REST Resource

type SinksGetResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogSink))))))) Source #

A resource alias for logging.sinks.get method which the SinksGet request conforms to.

Creating a Request

sinksGet Source #

Arguments

:: Text

sgSinkName

-> SinksGet 

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

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

data SinksGet Source #

Gets a sink.

See: sinksGet smart constructor.

Instances
Eq SinksGet Source # 
Instance details

Defined in Network.Google.Resource.Logging.Sinks.Get

Data SinksGet Source # 
Instance details

Defined in Network.Google.Resource.Logging.Sinks.Get

Methods

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

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

toConstr :: SinksGet -> Constr #

dataTypeOf :: SinksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SinksGet Source # 
Instance details

Defined in Network.Google.Resource.Logging.Sinks.Get

Generic SinksGet Source # 
Instance details

Defined in Network.Google.Resource.Logging.Sinks.Get

Associated Types

type Rep SinksGet :: Type -> Type #

Methods

from :: SinksGet -> Rep SinksGet x #

to :: Rep SinksGet x -> SinksGet #

GoogleRequest SinksGet Source # 
Instance details

Defined in Network.Google.Resource.Logging.Sinks.Get

Associated Types

type Rs SinksGet :: Type #

type Scopes SinksGet :: [Symbol] #

type Rep SinksGet Source # 
Instance details

Defined in Network.Google.Resource.Logging.Sinks.Get

type Rep SinksGet = D1 (MetaData "SinksGet" "Network.Google.Resource.Logging.Sinks.Get" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "SinksGet'" PrefixI True) ((S1 (MetaSel (Just "_sgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sgSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SinksGet Source # 
Instance details

Defined in Network.Google.Resource.Logging.Sinks.Get

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

Defined in Network.Google.Resource.Logging.Sinks.Get

Request Lenses

sgXgafv :: Lens' SinksGet (Maybe Xgafv) Source #

V1 error format.

sgUploadProtocol :: Lens' SinksGet (Maybe Text) Source #

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

sgAccessToken :: Lens' SinksGet (Maybe Text) Source #

OAuth access token.

sgUploadType :: Lens' SinksGet (Maybe Text) Source #

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

sgSinkName :: Lens' SinksGet Text Source #

Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".