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

Contents

Description

Lists sinks.

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

Synopsis

REST Resource

type OrganizationsSinksListResource = "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.organizations.sinks.list method which the OrganizationsSinksList request conforms to.

Creating a Request

organizationsSinksList Source #

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

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

data OrganizationsSinksList Source #

Lists sinks.

See: organizationsSinksList smart constructor.

Instances
Eq OrganizationsSinksList Source # 
Instance details

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

Data OrganizationsSinksList Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsSinksList -> Constr #

dataTypeOf :: OrganizationsSinksList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSinksList Source # 
Instance details

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

Generic OrganizationsSinksList Source # 
Instance details

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

Associated Types

type Rep OrganizationsSinksList :: Type -> Type #

GoogleRequest OrganizationsSinksList Source # 
Instance details

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

type Rep OrganizationsSinksList Source # 
Instance details

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

type Rep OrganizationsSinksList = D1 (MetaData "OrganizationsSinksList" "Network.Google.Resource.Logging.Organizations.Sinks.List" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "OrganizationsSinksList'" PrefixI True) (((S1 (MetaSel (Just "_oslParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oslXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_oslUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oslAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oslUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oslPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_oslPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_oslCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsSinksList Source # 
Instance details

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

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

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

Request Lenses

oslParent :: Lens' OrganizationsSinksList 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]"

oslUploadProtocol :: Lens' OrganizationsSinksList (Maybe Text) Source #

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

oslUploadType :: Lens' OrganizationsSinksList (Maybe Text) Source #

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

oslPageToken :: Lens' OrganizationsSinksList (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.

oslPageSize :: Lens' OrganizationsSinksList (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.