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 ForwardingRule resource.
See: Compute Engine API Reference for compute.forwardingRules.get
.
Synopsis
- type ForwardingRulesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("forwardingRules" :> (Capture "forwardingRule" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingRule))))))))
- forwardingRulesGet :: Text -> Text -> Text -> ForwardingRulesGet
- data ForwardingRulesGet
- frgProject :: Lens' ForwardingRulesGet Text
- frgForwardingRule :: Lens' ForwardingRulesGet Text
- frgRegion :: Lens' ForwardingRulesGet Text
REST Resource
type ForwardingRulesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("forwardingRules" :> (Capture "forwardingRule" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingRule)))))))) Source #
A resource alias for compute.forwardingRules.get
method which the
ForwardingRulesGet
request conforms to.
Creating a Request
Creates a value of ForwardingRulesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ForwardingRulesGet Source #
Returns the specified ForwardingRule resource.
See: forwardingRulesGet
smart constructor.
Instances
Request Lenses
frgProject :: Lens' ForwardingRulesGet Text Source #
Project ID for this request.
frgForwardingRule :: Lens' ForwardingRulesGet Text Source #
Name of the ForwardingRule resource to return.