GetBudgetResult class
Result data returned by getBudget.
Constructors
-
GetBudgetResult({required GoogleCloudBillingBudgetsV1BudgetAmountResponse amount, required GoogleCloudBillingBudgetsV1FilterResponse budgetFilter, required String displayName, required String etag, required String name, required GoogleCloudBillingBudgetsV1NotificationsRuleResponse notificationsRule, required String ownershipScope, required List<
GoogleCloudBillingBudgetsV1ThresholdRuleResponse> thresholdRules}) -
Creates a new GetBudgetResult.
amountBudgeted amount.budgetFilterOptional. 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.displayNameUser data for display name in UI. The name must be less than or equal to 60 characters.etagOptional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.nameResource name of the budget. The resource name implies the scope of a budget. Values are of the formbillingAccounts/{billingAccountId}/budgets/{budgetId}.notificationsRuleOptional. Rules to apply to notifications sent based on budget spend and thresholds.ownershipScopeRequired.thresholdRulesOptional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional forpubsubTopicnotifications. Required if using email notifications.const -
GetBudgetResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- amount → GoogleCloudBillingBudgetsV1BudgetAmountResponse
-
Budgeted amount.
final
- budgetFilter → GoogleCloudBillingBudgetsV1FilterResponse
-
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.
final
- displayName → String
-
User data for display name in UI. The name must be less than or equal to 60 characters.
final
- etag → String
-
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Resource name of the budget. The resource name implies the scope of a budget. Values are of the form
billingAccounts/{billingAccountId}/budgets/{budgetId}.final - notificationsRule → GoogleCloudBillingBudgetsV1NotificationsRuleResponse
-
Optional. Rules to apply to notifications sent based on budget spend and thresholds.
final
- ownershipScope → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
thresholdRules
→ List<
GoogleCloudBillingBudgetsV1ThresholdRuleResponse> -
Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for
pubsubTopicnotifications. Required if using email notifications.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited