Google Cloud Billing Budgets V1 Client - Class GetBudgetRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Billing Budgets V1 Client class GetBudgetRequest.

Request for GetBudget

Generated from protobuf message google.cloud.billing.budgets.v1.GetBudgetRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of budget to get. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

getName

Required. Name of budget to get. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

Returns
TypeDescription
string

setName

Required. Name of budget to get. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of budget to get. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}. Please see {@see \Google\Cloud\Billing\Budgets\V1\BudgetServiceClient::budgetName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\Billing\Budgets\V1\GetBudgetRequest