Google Cloud Billing Budgets V1 Client - Class GetBudgetRequest (2.0.0-RC1)

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\Billing\Budgets\V1\GetBudgetRequest