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 the description of an exclusion.
See: Stackdriver Logging API Reference for logging.exclusions.get
.
Synopsis
- type ExclusionsGetResource = "v2" :> (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] LogExclusion)))))))
- exclusionsGet :: Text -> ExclusionsGet
- data ExclusionsGet
- egXgafv :: Lens' ExclusionsGet (Maybe Xgafv)
- egUploadProtocol :: Lens' ExclusionsGet (Maybe Text)
- egAccessToken :: Lens' ExclusionsGet (Maybe Text)
- egUploadType :: Lens' ExclusionsGet (Maybe Text)
- egName :: Lens' ExclusionsGet Text
- egCallback :: Lens' ExclusionsGet (Maybe Text)
REST Resource
type ExclusionsGetResource = "v2" :> (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] LogExclusion))))))) Source #
A resource alias for logging.exclusions.get
method which the
ExclusionsGet
request conforms to.
Creating a Request
:: Text | |
-> ExclusionsGet |
Creates a value of ExclusionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ExclusionsGet Source #
Gets the description of an exclusion.
See: exclusionsGet
smart constructor.
Instances
Request Lenses
egUploadProtocol :: Lens' ExclusionsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
egAccessToken :: Lens' ExclusionsGet (Maybe Text) Source #
OAuth access token.
egUploadType :: Lens' ExclusionsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
egName :: Lens' ExclusionsGet Text Source #
Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
egCallback :: Lens' ExclusionsGet (Maybe Text) Source #
JSONP