Reference documentation and code samples for the Google Cloud Billing Budgets V1 Client class GetBudgetRequest.
Request for GetBudget
Generated from protobuf messagegoogle.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 formbillingAccounts/{billingAccountId}/budgets/{budgetId}.
getName
Required. Name of budget to get. Values are of the formbillingAccounts/{billingAccountId}/budgets/{budgetId}.
Returns
Type
Description
string
setName
Required. Name of budget to get. Values are of the formbillingAccounts/{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 formbillingAccounts/{billingAccountId}/budgets/{budgetId}. Please seeBudgetServiceClient::budgetName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Billing Budgets V1 Client - Class GetBudgetRequest (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-billing-budgets/latest/V1.GetBudgetRequest)\n- [2.0.4](/php/docs/reference/cloud-billing-budgets/2.0.4/V1.GetBudgetRequest)\n- [1.4.5](/php/docs/reference/cloud-billing-budgets/1.4.5/V1.GetBudgetRequest)\n- [1.3.1](/php/docs/reference/cloud-billing-budgets/1.3.1/V1.GetBudgetRequest)\n- [1.2.2](/php/docs/reference/cloud-billing-budgets/1.2.2/V1.GetBudgetRequest)\n- [1.1.0](/php/docs/reference/cloud-billing-budgets/1.1.0/V1.GetBudgetRequest)\n- [1.0.5](/php/docs/reference/cloud-billing-budgets/1.0.5/V1.GetBudgetRequest) \nReference documentation and code samples for the Google Cloud Billing Budgets V1 Client class GetBudgetRequest.\n\nRequest for GetBudget\n\nGenerated from protobuf message `google.cloud.billing.budgets.v1.GetBudgetRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Billing \\\\ Budgets \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of budget to get. Values are of the form\n`billingAccounts/{billingAccountId}/budgets/{budgetId}`.\n\n### setName\n\nRequired. Name of budget to get. Values are of the form\n`billingAccounts/{billingAccountId}/budgets/{budgetId}`.\n\n### static::build"]]