Billing API, gRPC: BillingAccountService.ListBillableObjectBindings
Retrieves the list of billable object bindings associated with the specified billing account.
gRPC request
rpc ListBillableObjectBindings (ListBillableObjectBindingsRequest) returns (ListBillableObjectBindingsResponse)
ListBillableObjectBindingsRequest
{
"billing_account_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
billing_account_id |
string Required field. ID of the billing account to list associated billable object bindings. |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, |
ListBillableObjectBindingsResponse
{
"billable_object_bindings": [
{
"effective_time": "google.protobuf.Timestamp",
"billable_object": {
"id": "string",
"type": "string"
}
}
],
"next_page_token": "string"
}
Field |
Description |
billable_object_bindings[] |
List of billable object bindings. |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
BillableObjectBinding
Represents a binding of the BillableObject to a BillingAccount.
Field |
Description |
effective_time |
Timestamp when binding was created. |
billable_object |
Object that is bound to billing account. |
BillableObject
Represents a link to an object in other service.
This object is being billed in the scope of a billing account.
Field |
Description |
id |
string ID of the object in other service. |
type |
string Billable object type. Can be one of the following:
|