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

Contents

Description

Gets a sink.

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

Synopsis

REST Resource

type OrganizationsSinksGetResource = "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.organizations.sinks.get method which the OrganizationsSinksGet request conforms to.

Creating a Request

organizationsSinksGet Source #

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

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

data OrganizationsSinksGet Source #

Gets a sink.

See: organizationsSinksGet smart constructor.

Instances
Eq OrganizationsSinksGet Source # 
Instance details

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

Data OrganizationsSinksGet Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsSinksGet -> Constr #

dataTypeOf :: OrganizationsSinksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSinksGet Source # 
Instance details

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

Generic OrganizationsSinksGet Source # 
Instance details

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

Associated Types

type Rep OrganizationsSinksGet :: Type -> Type #

GoogleRequest OrganizationsSinksGet Source # 
Instance details

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

type Rep OrganizationsSinksGet Source # 
Instance details

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

type Rep OrganizationsSinksGet = D1 (MetaData "OrganizationsSinksGet" "Network.Google.Resource.Logging.Organizations.Sinks.Get" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "OrganizationsSinksGet'" PrefixI True) ((S1 (MetaSel (Just "_osgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_osgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_osgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_osgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_osgSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_osgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsSinksGet Source # 
Instance details

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

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

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

Request Lenses

osgUploadProtocol :: Lens' OrganizationsSinksGet (Maybe Text) Source #

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

osgUploadType :: Lens' OrganizationsSinksGet (Maybe Text) Source #

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

osgSinkName :: Lens' OrganizationsSinksGet 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".