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

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

Namespace

Google \ Cloud \ Billing \ Budgets \ V1

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 Google\Cloud\Billing\Budgets\V1\BudgetServiceClient::budgetName() for help formatting this field.

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