| 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.Projects.GetXpnHost
Description
Gets the shared VPC host project that this project links to. May be empty if no link exists.
See: Compute Engine API Reference for compute.projects.getXpnHost.
Synopsis
- type ProjectsGetXpnHostResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("getXpnHost" :> (QueryParam "alt" AltJSON :> Get '[JSON] Project)))))
- projectsGetXpnHost :: Text -> ProjectsGetXpnHost
- data ProjectsGetXpnHost
- pgxhProject :: Lens' ProjectsGetXpnHost Text
REST Resource
type ProjectsGetXpnHostResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("getXpnHost" :> (QueryParam "alt" AltJSON :> Get '[JSON] Project))))) Source #
A resource alias for compute.projects.getXpnHost method which the
ProjectsGetXpnHost request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> ProjectsGetXpnHost |
Creates a value of ProjectsGetXpnHost with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsGetXpnHost Source #
Gets the shared VPC host project that this project links to. May be empty if no link exists.
See: projectsGetXpnHost smart constructor.
Instances
Request Lenses
pgxhProject :: Lens' ProjectsGetXpnHost Text Source #
Project ID for this request.