public interface GranularReporter extends Service, GranularReporterTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig)
Create granular usage report for specific time period
|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig,
AsyncCallback<java.lang.Void> asyncCallback)
Create granular usage report for specific time period
|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Create granular usage report for specific time period
|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig,
InvocationConfig invocationConfig)
Create granular usage report for specific time period
|
void createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)Unauthenticated
- UnauthorizedInvalidRequest
- Bad RequestUnauthorized
- Forbiddenvoid createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- Bad RequestUnauthorized
- Forbiddenvoid createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request
Unauthorized
- Forbidden
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request
Unauthorized
- Forbidden
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.