GoogleCloudBillingBudgetsV1FilterArgs

data class GoogleCloudBillingBudgetsV1FilterArgs(val calendarPeriod: Output<GoogleCloudBillingBudgetsV1FilterCalendarPeriod>? = null, val creditTypes: Output<List<String>>? = null, val creditTypesTreatment: Output<GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment>? = null, val customPeriod: Output<GoogleCloudBillingBudgetsV1CustomPeriodArgs>? = null, val labels: Output<Map<String, String>>? = null, val projects: Output<List<String>>? = null, val services: Output<List<String>>? = null, val subaccounts: Output<List<String>>? = null) : ConvertibleToJava<GoogleCloudBillingBudgetsV1FilterArgs>

A filter for a budget, limiting the scope of the cost to calculate.

Constructors

Link copied to clipboard
fun GoogleCloudBillingBudgetsV1FilterArgs(calendarPeriod: Output<GoogleCloudBillingBudgetsV1FilterCalendarPeriod>? = null, creditTypes: Output<List<String>>? = null, creditTypesTreatment: Output<GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment>? = null, customPeriod: Output<GoogleCloudBillingBudgetsV1CustomPeriodArgs>? = null, labels: Output<Map<String, String>>? = null, projects: Output<List<String>>? = null, services: Output<List<String>>? = null, subaccounts: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudBillingBudgetsV1FilterArgs

Properties

Link copied to clipboard

Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.

Link copied to clipboard
val creditTypes: Output<List<String>>? = null

Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See a list of acceptable credit type values. If Filter.credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS, this field must be empty.

Link copied to clipboard

Optional. If not set, default behavior is INCLUDE_ALL_CREDITS.

Link copied to clipboard

Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single "key": value pair. Example: { "name": "wrench" }. Currently, multiple entries or multiple values per entry are not allowed.

Link copied to clipboard
val projects: Output<List<String>>? = null

Optional. A set of projects of the form projects/{project}, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on.

Link copied to clipboard
val services: Output<List<String>>? = null

Optional. A set of services of the form services/{service_id}, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.

Link copied to clipboard
val subaccounts: Output<List<String>>? = null

Optional. A set of subaccounts of the form billingAccounts/{account_id}, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.