Cloud Billing API (cloudbilling:v1beta)

2024-03-07

4 new methods

Additions

    Methods
  • cloudbilling.projects.anomalies.get

  • cloudbilling.projects.anomalies.list

      Path: v1beta/{+parent}/anomalies

      Flat Path: v1beta/projects/{projectsId}/anomalies

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The project to list Anomaly for the project. Format for project: projects/{project}. Format for billing account: billingAccounts/{billing_account}.

          Pattern: ^projects/[^/]+$

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: Optional. Maximum number of anomalies to return. Results may return fewer than this value. Default value is 50 and maximum value is 1000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: Optional. Page token received from a previous ListAnomalies call to retrieve the next page of results. If this field is empty, the first page is returned.

          Location: query

          Type: string

        filter

          Description: Optional. Options for how to filter the anomalies. Currently, only filter on `start_time` and `end_time` is supported. Only =, AND operators are supported. If start_time and/or end_time empty, we only retrieve the most recent 30 days' anomalies. Examples: - start_time = "20231201" AND end_time = "20240120" .

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

    • https://www.googleapis.com/auth/cloud-billing
    • https://www.googleapis.com/auth/cloud-billing.readonly
    • https://www.googleapis.com/auth/cloud-platform
    • Description: Lists anomalies for a billing account or a project.

  • cloudbilling.billingAccounts.anomalies.get

  • cloudbilling.billingAccounts.anomalies.list

      Path: v1beta/{+parent}/anomalies

      Flat Path: v1beta/billingAccounts/{billingAccountsId}/anomalies

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The project to list Anomaly for the project. Format for project: projects/{project}. Format for billing account: billingAccounts/{billing_account}.

          Pattern: ^billingAccounts/[^/]+$

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: Optional. Maximum number of anomalies to return. Results may return fewer than this value. Default value is 50 and maximum value is 1000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: Optional. Page token received from a previous ListAnomalies call to retrieve the next page of results. If this field is empty, the first page is returned.

          Location: query

          Type: string

        filter

          Description: Optional. Options for how to filter the anomalies. Currently, only filter on `start_time` and `end_time` is supported. Only =, AND operators are supported. If start_time and/or end_time empty, we only retrieve the most recent 30 days' anomalies. Examples: - start_time = "20231201" AND end_time = "20240120" .

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

    • https://www.googleapis.com/auth/cloud-billing
    • https://www.googleapis.com/auth/cloud-billing.readonly
    • https://www.googleapis.com/auth/cloud-platform
    • Description: Lists anomalies for a billing account or a project.