gogol-compute-0.4.0: Google Compute Engine 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.Compute.GlobalOperations.Get

Contents

Description

Retrieves the specified Operations resource. Gets a list of operations by making a list() request.

See: Compute Engine API Reference for compute.globalOperations.get.

Synopsis

REST Resource

type GlobalOperationsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("operations" :> (Capture "operation" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Operation))))))) Source #

A resource alias for compute.globalOperations.get method which the GlobalOperationsGet request conforms to.

Creating a Request

globalOperationsGet Source #

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

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

data GlobalOperationsGet Source #

Retrieves the specified Operations resource. Gets a list of operations by making a list() request.

See: globalOperationsGet smart constructor.

Instances
Eq GlobalOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

Data GlobalOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

Methods

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

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

toConstr :: GlobalOperationsGet -> Constr #

dataTypeOf :: GlobalOperationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GlobalOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

Generic GlobalOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

Associated Types

type Rep GlobalOperationsGet :: Type -> Type #

GoogleRequest GlobalOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

Associated Types

type Rs GlobalOperationsGet :: Type #

type Scopes GlobalOperationsGet :: [Symbol] #

type Rep GlobalOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

type Rep GlobalOperationsGet = D1 (MetaData "GlobalOperationsGet" "Network.Google.Resource.Compute.GlobalOperations.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "GlobalOperationsGet'" PrefixI True) (S1 (MetaSel (Just "_gogProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gogOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes GlobalOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

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

Defined in Network.Google.Resource.Compute.GlobalOperations.Get

Request Lenses

gogProject :: Lens' GlobalOperationsGet Text Source #

Project ID for this request.

gogOperation :: Lens' GlobalOperationsGet Text Source #

Name of the Operations resource to return.