| 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.ResourceViews.ZoneViews.GetService
Description
Get the service information of a resource view or a resource.
See: Google Compute Engine Instance Groups API Reference for resourceviews.zoneViews.getService.
- type ZoneViewsGetServiceResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("getService" :> (QueryParam "resourceName" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ZoneViewsGetServiceResponse))))))))))
- zoneViewsGetService :: Text -> Text -> Text -> ZoneViewsGetService
- data ZoneViewsGetService
- zvgsResourceView :: Lens' ZoneViewsGetService Text
- zvgsResourceName :: Lens' ZoneViewsGetService (Maybe Text)
- zvgsProject :: Lens' ZoneViewsGetService Text
- zvgsZone :: Lens' ZoneViewsGetService Text
REST Resource
type ZoneViewsGetServiceResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("getService" :> (QueryParam "resourceName" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ZoneViewsGetServiceResponse)))))))))) Source #
A resource alias for resourceviews.zoneViews.getService method which the
ZoneViewsGetService request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> ZoneViewsGetService |
Creates a value of ZoneViewsGetService with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ZoneViewsGetService Source #
Get the service information of a resource view or a resource.
See: zoneViewsGetService smart constructor.
Instances
Request Lenses
zvgsResourceView :: Lens' ZoneViewsGetService Text Source #
The name of the resource view.
zvgsResourceName :: Lens' ZoneViewsGetService (Maybe Text) Source #
The name of the resource if user wants to get the service information of the resource.
zvgsProject :: Lens' ZoneViewsGetService Text Source #
The project name of the resource view.