Interface CreateBudgetRequestOrBuilder (2.16.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the budget field is set.