Class BillableUsageAPI
- java.lang.Object
-
- com.databricks.sdk.service.billing.BillableUsageAPI
-
@Generated public class BillableUsageAPI extends Object
This API allows you to download billable usage logs for the specified account and date range. This feature works with all account types.
-
-
Constructor Summary
Constructors Constructor Description BillableUsageAPI(ApiClient apiClient)
Regular-use constructorBillableUsageAPI(BillableUsageService mock)
Constructor for mocks
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
download(DownloadRequest request)
Return billable usage logs.void
download(String startMonth, String endMonth)
BillableUsageService
impl()
-
-
-
Constructor Detail
-
BillableUsageAPI
public BillableUsageAPI(ApiClient apiClient)
Regular-use constructor
-
BillableUsageAPI
public BillableUsageAPI(BillableUsageService mock)
Constructor for mocks
-
-
Method Detail
-
download
public void download(DownloadRequest request)
Return billable usage logs.Returns billable usage logs in CSV format for the specified account and date range. For the data schema, see [CSV file schema]. Note that this method might take multiple seconds to complete.
[CSV file schema]: https://docs.databricks.com/administration-guide/account-settings/usage-analysis.html#schema
-
impl
public BillableUsageService impl()
-
-