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

Contents

Description

Lists sinks.

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

Synopsis

REST Resource

type SinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSinksResponse)))))))))) Source #

A resource alias for logging.sinks.list method which the SinksList request conforms to.

Creating a Request

sinksList Source #

Arguments

:: Text

slParent

-> SinksList 

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

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

data SinksList Source #

Lists sinks.

See: sinksList smart constructor.

Instances
Eq SinksList Source # 
Instance details

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

Data SinksList Source # 
Instance details

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

Methods

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

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

toConstr :: SinksList -> Constr #

dataTypeOf :: SinksList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SinksList Source # 
Instance details

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

Generic SinksList Source # 
Instance details

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

Associated Types

type Rep SinksList :: Type -> Type #

GoogleRequest SinksList Source # 
Instance details

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

Associated Types

type Rs SinksList :: Type #

type Scopes SinksList :: [Symbol] #

type Rep SinksList Source # 
Instance details

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

type Scopes SinksList Source # 
Instance details

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

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

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

Request Lenses

slParent :: Lens' SinksList Text Source #

Required. The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"

slXgafv :: Lens' SinksList (Maybe Xgafv) Source #

V1 error format.

slUploadProtocol :: Lens' SinksList (Maybe Text) Source #

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

slAccessToken :: Lens' SinksList (Maybe Text) Source #

OAuth access token.

slUploadType :: Lens' SinksList (Maybe Text) Source #

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

slPageToken :: Lens' SinksList (Maybe Text) Source #

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

slPageSize :: Lens' SinksList (Maybe Int32) Source #

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.