gogol-serviceusage-0.4.0: Google Service Usage 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.ServiceUsage.Services.List

Contents

Description

List all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project.

See: Service Usage API Reference for serviceusage.services.list.

Synopsis

REST Resource

type ServicesListResource = "v1" :> (Capture "parent" Text :> ("services" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListServicesResponse))))))))))) Source #

A resource alias for serviceusage.services.list method which the ServicesList request conforms to.

Creating a Request

servicesList Source #

Arguments

:: Text

slParent

-> ServicesList 

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

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

data ServicesList Source #

List all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project.

See: servicesList smart constructor.

Instances
Eq ServicesList Source # 
Instance details

Defined in Network.Google.Resource.ServiceUsage.Services.List

Data ServicesList Source # 
Instance details

Defined in Network.Google.Resource.ServiceUsage.Services.List

Methods

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

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

toConstr :: ServicesList -> Constr #

dataTypeOf :: ServicesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesList Source # 
Instance details

Defined in Network.Google.Resource.ServiceUsage.Services.List

Generic ServicesList Source # 
Instance details

Defined in Network.Google.Resource.ServiceUsage.Services.List

Associated Types

type Rep ServicesList :: Type -> Type #

GoogleRequest ServicesList Source # 
Instance details

Defined in Network.Google.Resource.ServiceUsage.Services.List

Associated Types

type Rs ServicesList :: Type #

type Scopes ServicesList :: [Symbol] #

type Rep ServicesList Source # 
Instance details

Defined in Network.Google.Resource.ServiceUsage.Services.List

type Scopes ServicesList Source # 
Instance details

Defined in Network.Google.Resource.ServiceUsage.Services.List

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

Defined in Network.Google.Resource.ServiceUsage.Services.List

Request Lenses

slParent :: Lens' ServicesList Text Source #

Parent to search for services on. An example name would be: `projects/123` where `123` is the project number (not project ID).

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

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

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

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

slFilter :: Lens' ServicesList (Maybe Text) Source #

Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.

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

Token identifying which result to start with, which is returned by a previous list call.

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

Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.