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 |
Network.Google.Resource.Compute.Licenses.Get
Description
Returns the specified License resource. Get a list of available licenses by making a list() request.
See: Compute Engine API Reference for compute.licenses.get
.
- type LicensesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("licenses" :> (Capture "license" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] License)))))))
- licensesGet :: Text -> Text -> LicensesGet
- data LicensesGet
- lgProject :: Lens' LicensesGet Text
- lgLicense :: Lens' LicensesGet Text
REST Resource
type LicensesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("licenses" :> (Capture "license" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] License))))))) #
A resource alias for compute.licenses.get
method which the
LicensesGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> LicensesGet |
Creates a value of LicensesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LicensesGet #
Returns the specified License resource. Get a list of available licenses by making a list() request.
See: licensesGet
smart constructor.
Instances
Eq LicensesGet # | |
Data LicensesGet # | |
Show LicensesGet # | |
Generic LicensesGet # | |
GoogleRequest LicensesGet # | |
type Rep LicensesGet # | |
type Scopes LicensesGet # | |
type Rs LicensesGet # | |
Request Lenses
lgProject :: Lens' LicensesGet Text #
Project ID for this request.
lgLicense :: Lens' LicensesGet Text #
Name of the License resource to return.