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 |
Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
See: Compute Engine API Reference for compute.globalForwardingRules.get
.
Synopsis
- type GlobalForwardingRulesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("forwardingRules" :> (Capture "forwardingRule" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingRule)))))))
- globalForwardingRulesGet :: Text -> Text -> GlobalForwardingRulesGet
- data GlobalForwardingRulesGet
- gfrgProject :: Lens' GlobalForwardingRulesGet Text
- gfrgForwardingRule :: Lens' GlobalForwardingRulesGet Text
REST Resource
type GlobalForwardingRulesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("forwardingRules" :> (Capture "forwardingRule" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingRule))))))) Source #
A resource alias for compute.globalForwardingRules.get
method which the
GlobalForwardingRulesGet
request conforms to.
Creating a Request
globalForwardingRulesGet Source #
Creates a value of GlobalForwardingRulesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GlobalForwardingRulesGet Source #
Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
See: globalForwardingRulesGet
smart constructor.
Instances
Request Lenses
gfrgProject :: Lens' GlobalForwardingRulesGet Text Source #
Project ID for this request.
gfrgForwardingRule :: Lens' GlobalForwardingRulesGet Text Source #
Name of the ForwardingRule resource to return.