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 |
Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
See: Stackdriver Logging API Reference for logging.billingAccounts.logs.list
.
Synopsis
- type BillingAccountsLogsListResource = "v2" :> (Capture "parent" Text :> ("logs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLogsResponse))))))))))
- billingAccountsLogsList :: Text -> BillingAccountsLogsList
- data BillingAccountsLogsList
- ballParent :: Lens' BillingAccountsLogsList Text
- ballXgafv :: Lens' BillingAccountsLogsList (Maybe Xgafv)
- ballUploadProtocol :: Lens' BillingAccountsLogsList (Maybe Text)
- ballAccessToken :: Lens' BillingAccountsLogsList (Maybe Text)
- ballUploadType :: Lens' BillingAccountsLogsList (Maybe Text)
- ballPageToken :: Lens' BillingAccountsLogsList (Maybe Text)
- ballPageSize :: Lens' BillingAccountsLogsList (Maybe Int32)
- ballCallback :: Lens' BillingAccountsLogsList (Maybe Text)
REST Resource
type BillingAccountsLogsListResource = "v2" :> (Capture "parent" Text :> ("logs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLogsResponse)))))))))) Source #
A resource alias for logging.billingAccounts.logs.list
method which the
BillingAccountsLogsList
request conforms to.
Creating a Request
billingAccountsLogsList Source #
Creates a value of BillingAccountsLogsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BillingAccountsLogsList Source #
Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
See: billingAccountsLogsList
smart constructor.
Instances
Request Lenses
ballParent :: Lens' BillingAccountsLogsList Text Source #
Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
ballUploadProtocol :: Lens' BillingAccountsLogsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ballAccessToken :: Lens' BillingAccountsLogsList (Maybe Text) Source #
OAuth access token.
ballUploadType :: Lens' BillingAccountsLogsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ballPageToken :: Lens' BillingAccountsLogsList (Maybe Text) Source #
Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
ballPageSize :: Lens' BillingAccountsLogsList (Maybe Int32) Source #
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
ballCallback :: Lens' BillingAccountsLogsList (Maybe Text) Source #
JSONP