Package-level declarations

Types

Link copied to clipboard

The budgeted amount for each usage period.

All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).

data class GoogleCloudBillingBudgetsV1FilterResponse(val calendarPeriod: String, val creditTypes: List<String>, val creditTypesTreatment: String, val customPeriod: GoogleCloudBillingBudgetsV1CustomPeriodResponse, val labels: Map<String, String>, val projects: List<String>, val services: List<String>, val subaccounts: List<String>)

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

Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

data class GoogleCloudBillingBudgetsV1NotificationsRuleResponse(val disableDefaultIamRecipients: Boolean, val monitoringNotificationChannels: List<String>, val pubsubTopic: String, val schemaVersion: String)

NotificationsRule defines notifications that are sent based on budget spend and thresholds.

data class GoogleCloudBillingBudgetsV1ThresholdRuleResponse(val spendBasis: String, val thresholdPercent: Double)

ThresholdRule contains the definition of a threshold. Threshold rules define the triggering events used to generate a budget notification email. When a threshold is crossed (spend exceeds the specified percentages of the budget), budget alert emails are sent to the email recipients you specify in the #notificationsrule. Threshold rules also affect the fields included in the JSON data object sent to a Pub/Sub topic. Threshold rules are required if using email notifications. Threshold rules are optional if only setting a #NotificationsRule, unless you want your JSON data object to include data about the thresholds you set. For more information, see set budget threshold rules and actions.

Link copied to clipboard
data class GoogleTypeDateResponse(val day: Int, val month: Int, val year: Int)

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

Link copied to clipboard
data class GoogleTypeMoneyResponse(val currencyCode: String, val nanos: Int, val units: String)

Represents an amount of money with its currency type.