Interface CreateBudgetRequestOrBuilder (2.49.0)

public interface CreateBudgetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBudget()

public abstract Budget getBudget()

Required. Budget to create.

.google.cloud.billing.budgets.v1beta1.Budget budget = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Budget

The budget.

getBudgetOrBuilder()

public abstract BudgetOrBuilder getBudgetOrBuilder()

Required. Budget to create.

.google.cloud.billing.budgets.v1beta1.Budget budget = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BudgetOrBuilder

getParent()

public abstract String getParent()

Required. The name of the billing account to create the budget in. Values are of the form billingAccounts/{billingAccountId}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the billing account to create the budget in. Values are of the form billingAccounts/{billingAccountId}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasBudget()

public abstract boolean hasBudget()

Required. Budget to create.

.google.cloud.billing.budgets.v1beta1.Budget budget = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the budget field is set.