- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.0
- 2.1.7
public interface BudgetOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllUpdatesRule()
public abstract AllUpdatesRule getAllUpdatesRule()
Optional. Rules to apply to notifications sent based on budget spend and thresholds.
.google.cloud.billing.budgets.v1beta1.AllUpdatesRule all_updates_rule = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AllUpdatesRule | The allUpdatesRule. |
getAllUpdatesRuleOrBuilder()
public abstract AllUpdatesRuleOrBuilder getAllUpdatesRuleOrBuilder()
Optional. Rules to apply to notifications sent based on budget spend and thresholds.
.google.cloud.billing.budgets.v1beta1.AllUpdatesRule all_updates_rule = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AllUpdatesRuleOrBuilder |
getAmount()
public abstract BudgetAmount getAmount()
Required. Budgeted amount.
.google.cloud.billing.budgets.v1beta1.BudgetAmount amount = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BudgetAmount | The amount. |
getAmountOrBuilder()
public abstract BudgetAmountOrBuilder getAmountOrBuilder()
Required. Budgeted amount.
.google.cloud.billing.budgets.v1beta1.BudgetAmount amount = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BudgetAmountOrBuilder |
getBudgetFilter()
public abstract Filter getBudgetFilter()
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.
.google.cloud.billing.budgets.v1beta1.Filter budget_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Filter | The budgetFilter. |
getBudgetFilterOrBuilder()
public abstract FilterOrBuilder getBudgetFilterOrBuilder()
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.
.google.cloud.billing.budgets.v1beta1.Filter budget_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
FilterOrBuilder |
getDisplayName()
public abstract String getDisplayName()
User data for display name in UI. Validation: <= 60 chars.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
User data for display name in UI. Validation: <= 60 chars.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getEtag()
public abstract String getEtag()
Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()
Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for etag. |
getName()
public abstract String getName()
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}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
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}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getThresholdRules(int index)
public abstract ThresholdRule getThresholdRules(int index)
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.
repeated .google.cloud.billing.budgets.v1beta1.ThresholdRule threshold_rules = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ThresholdRule |
getThresholdRulesCount()
public abstract int getThresholdRulesCount()
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.
repeated .google.cloud.billing.budgets.v1beta1.ThresholdRule threshold_rules = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getThresholdRulesList()
public abstract List<ThresholdRule> getThresholdRulesList()
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.
repeated .google.cloud.billing.budgets.v1beta1.ThresholdRule threshold_rules = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<ThresholdRule> |
getThresholdRulesOrBuilder(int index)
public abstract ThresholdRuleOrBuilder getThresholdRulesOrBuilder(int index)
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.
repeated .google.cloud.billing.budgets.v1beta1.ThresholdRule threshold_rules = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ThresholdRuleOrBuilder |
getThresholdRulesOrBuilderList()
public abstract List<? extends ThresholdRuleOrBuilder> getThresholdRulesOrBuilderList()
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.
repeated .google.cloud.billing.budgets.v1beta1.ThresholdRule threshold_rules = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<? extends com.google.cloud.billing.budgets.v1beta1.ThresholdRuleOrBuilder> |
hasAllUpdatesRule()
public abstract boolean hasAllUpdatesRule()
Optional. Rules to apply to notifications sent based on budget spend and thresholds.
.google.cloud.billing.budgets.v1beta1.AllUpdatesRule all_updates_rule = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the allUpdatesRule field is set. |
hasAmount()
public abstract boolean hasAmount()
Required. Budgeted amount.
.google.cloud.billing.budgets.v1beta1.BudgetAmount amount = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the amount field is set. |
hasBudgetFilter()
public abstract boolean hasBudgetFilter()
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.
.google.cloud.billing.budgets.v1beta1.Filter budget_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the budgetFilter field is set. |