Class GoogleCloudBillingBudgetsV1Budget
A budget is a plan that describes what you expect to spend on Cloud projects, plus the rules to execute as spend is tracked against that plan, (for example, send an alert when 90% of the target spend is met). The budget time period is configurable, with options such as month (default), quarter, year, or custom time period.
Implements
Inherited Members
Namespace: Google.Apis.CloudBillingBudget.v1.Data
Assembly: Google.Apis.CloudBillingBudget.v1.dll
Syntax
public class GoogleCloudBillingBudgetsV1Budget : IDirectResponseSchema
Properties
Amount
Required. Budgeted amount.
Declaration
[JsonProperty("amount")]
public virtual GoogleCloudBillingBudgetsV1BudgetAmount Amount { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudBillingBudgetsV1BudgetAmount |
BudgetFilter
Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.
Declaration
[JsonProperty("budgetFilter")]
public virtual GoogleCloudBillingBudgetsV1Filter BudgetFilter { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudBillingBudgetsV1Filter |
DisplayName
User data for display name in UI. The name must be less than or equal to 60 characters.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the
form billingAccounts/{billingAccountId}/budgets/{budgetId}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NotificationsRule
Optional. Rules to apply to notifications sent based on budget spend and thresholds.
Declaration
[JsonProperty("notificationsRule")]
public virtual GoogleCloudBillingBudgetsV1NotificationsRule NotificationsRule { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudBillingBudgetsV1NotificationsRule |
OwnershipScope
Declaration
[JsonProperty("ownershipScope")]
public virtual string OwnershipScope { get; set; }
Property Value
Type | Description |
---|---|
string |
ThresholdRules
Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the
specified percentages of the budget. Optional for pubsubTopic
notifications. Required if using email
notifications.
Declaration
[JsonProperty("thresholdRules")]
public virtual IList<GoogleCloudBillingBudgetsV1ThresholdRule> ThresholdRules { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudBillingBudgetsV1ThresholdRule> |