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.BillingAccounts.Sinks.Get

Contents

Description

Gets a sink.

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

Synopsis

REST Resource

type BillingAccountsSinksGetResource = "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.billingAccounts.sinks.get method which the BillingAccountsSinksGet request conforms to.

Creating a Request

billingAccountsSinksGet Source #

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

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

data BillingAccountsSinksGet Source #

Gets a sink.

See: billingAccountsSinksGet smart constructor.

Instances
Eq BillingAccountsSinksGet Source # 
Instance details

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

Data BillingAccountsSinksGet Source # 
Instance details

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

Methods

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

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

toConstr :: BillingAccountsSinksGet -> Constr #

dataTypeOf :: BillingAccountsSinksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccountsSinksGet Source # 
Instance details

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

Generic BillingAccountsSinksGet Source # 
Instance details

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

Associated Types

type Rep BillingAccountsSinksGet :: Type -> Type #

GoogleRequest BillingAccountsSinksGet Source # 
Instance details

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

type Rep BillingAccountsSinksGet Source # 
Instance details

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

type Rep BillingAccountsSinksGet = D1 (MetaData "BillingAccountsSinksGet" "Network.Google.Resource.Logging.BillingAccounts.Sinks.Get" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "BillingAccountsSinksGet'" PrefixI True) ((S1 (MetaSel (Just "_basgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_basgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_basgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_basgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_basgSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_basgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsSinksGet Source # 
Instance details

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

type Scopes BillingAccountsSinksGet = "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 BillingAccountsSinksGet Source # 
Instance details

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

Request Lenses

basgUploadProtocol :: Lens' BillingAccountsSinksGet (Maybe Text) Source #

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

basgUploadType :: Lens' BillingAccountsSinksGet (Maybe Text) Source #

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

basgSinkName :: Lens' BillingAccountsSinksGet 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".