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 |
Gets a single alerting policy.
See: Stackdriver Monitoring API Reference for monitoring.projects.alertPolicies.get
.
Synopsis
- type ProjectsAlertPoliciesGetResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AlertPolicy)))))))
- projectsAlertPoliciesGet :: Text -> ProjectsAlertPoliciesGet
- data ProjectsAlertPoliciesGet
- papgXgafv :: Lens' ProjectsAlertPoliciesGet (Maybe Xgafv)
- papgUploadProtocol :: Lens' ProjectsAlertPoliciesGet (Maybe Text)
- papgAccessToken :: Lens' ProjectsAlertPoliciesGet (Maybe Text)
- papgUploadType :: Lens' ProjectsAlertPoliciesGet (Maybe Text)
- papgName :: Lens' ProjectsAlertPoliciesGet Text
- papgCallback :: Lens' ProjectsAlertPoliciesGet (Maybe Text)
REST Resource
type ProjectsAlertPoliciesGetResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AlertPolicy))))))) Source #
A resource alias for monitoring.projects.alertPolicies.get
method which the
ProjectsAlertPoliciesGet
request conforms to.
Creating a Request
projectsAlertPoliciesGet Source #
Creates a value of ProjectsAlertPoliciesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAlertPoliciesGet Source #
Gets a single alerting policy.
See: projectsAlertPoliciesGet
smart constructor.
Instances
Request Lenses
papgUploadProtocol :: Lens' ProjectsAlertPoliciesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
papgAccessToken :: Lens' ProjectsAlertPoliciesGet (Maybe Text) Source #
OAuth access token.
papgUploadType :: Lens' ProjectsAlertPoliciesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
papgName :: Lens' ProjectsAlertPoliciesGet Text Source #
The alerting policy to retrieve. The format is projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
papgCallback :: Lens' ProjectsAlertPoliciesGet (Maybe Text) Source #
JSONP