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

Contents

Description

Returns the service configuration and enabled state for a given service.

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

Synopsis

REST Resource

type ServicesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleAPIServiceusageV1Service))))))) Source #

A resource alias for serviceusage.services.get method which the ServicesGet request conforms to.

Creating a Request

servicesGet Source #

Arguments

:: Text

sgName

-> ServicesGet 

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

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

data ServicesGet Source #

Returns the service configuration and enabled state for a given service.

See: servicesGet smart constructor.

Instances
Eq ServicesGet Source # 
Instance details

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

Data ServicesGet Source # 
Instance details

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

Methods

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

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

toConstr :: ServicesGet -> Constr #

dataTypeOf :: ServicesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesGet Source # 
Instance details

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

Generic ServicesGet Source # 
Instance details

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

Associated Types

type Rep ServicesGet :: Type -> Type #

GoogleRequest ServicesGet Source # 
Instance details

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

Associated Types

type Rs ServicesGet :: Type #

type Scopes ServicesGet :: [Symbol] #

type Rep ServicesGet Source # 
Instance details

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

type Rep ServicesGet = D1 (MetaData "ServicesGet" "Network.Google.Resource.ServiceUsage.Services.Get" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "ServicesGet'" PrefixI True) ((S1 (MetaSel (Just "_sgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ServicesGet Source # 
Instance details

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

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

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

Request Lenses

sgXgafv :: Lens' ServicesGet (Maybe Xgafv) Source #

V1 error format.

sgUploadProtocol :: Lens' ServicesGet (Maybe Text) Source #

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

sgAccessToken :: Lens' ServicesGet (Maybe Text) Source #

OAuth access token.

sgUploadType :: Lens' ServicesGet (Maybe Text) Source #

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

sgName :: Lens' ServicesGet Text Source #

Name of the consumer and service to get the `ConsumerState` for. An example name would be: `projects/123/services/serviceusage.googleapis.com` where `123` is the project number (not project ID).