Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- type GlobalOperationsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("operations" :> (Capture "operation" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Operation)))))))
- globalOperationsGet :: Text -> Text -> GlobalOperationsGet
- data GlobalOperationsGet
- gogProject :: Lens' GlobalOperationsGet Text
- gogOperation :: Lens' GlobalOperationsGet Text
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
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
Request Lenses
gogProject :: Lens' GlobalOperationsGet Text Source #
Project ID for this request.
gogOperation :: Lens' GlobalOperationsGet Text Source #
Name of the Operations resource to return.