Service Client: Google::Cloud::Billing::Budgets::V1::BudgetService::BudgetServiceClient
Client stub representing the remote BudgetService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to billing.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Billing::Budgets::V1::BudgetService - Compiled Protocol Buffers messages for google/cloud/billing/budgets/v1/budget_service.proto
SYNOPSIS
use Google::Cloud::Billing::Budgets::V1::BudgetService;
my $msg = Google::Cloud::Billing::Budgets::V1::BudgetService::CreateBudgetRequest->new({
parent => $parent,
budget => $budget,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Billing::Budgets::V1::BudgetService::CreateBudgetRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/billing/budgets/v1/budget_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Billing::Budgets::V1::BudgetService::CreateBudgetRequest
Request for CreateBudget
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the billing account to create the budget in. Values are of the form `billingAccounts/{billingAccountId}`.
$msg->budget()/$msg->budget($value)Type:
Message(Google::Cloud::Billing::Budgets::V1::BudgetModel::Budget)Required. Budget to create.
Google::Cloud::Billing::Budgets::V1::BudgetService::UpdateBudgetRequest
Request for UpdateBudget
Inherits from Protobuf::Message.
Accessors
$msg->budget()/$msg->budget($value)Type:
Message(Google::Cloud::Billing::Budgets::V1::BudgetModel::Budget)Required. The updated budget object. The budget to update is specified by the budget name in the budget.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Indicates which fields in the provided budget to update. Read-only fields (such as `name`) cannot be changed. If this is not provided, then only fields with non-default values from the request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more details about default values.
Google::Cloud::Billing::Budgets::V1::BudgetService::GetBudgetRequest
Request for GetBudget
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of budget to get. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.
Google::Cloud::Billing::Budgets::V1::BudgetService::ListBudgetsRequest
Request for ListBudgets
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Name of billing account to list budgets under. Values are of the form `billingAccounts/{billingAccountId}`.
$msg->scope()/$msg->scope($value)Type:
StringOptional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of "projects/project-id" or "projects/123") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value returned by the last `ListBudgetsResponse` which indicates that this is a continuation of a prior `ListBudgets` call, and that the system should return the next page of data.
Google::Cloud::Billing::Budgets::V1::BudgetService::ListBudgetsResponse
Response for ListBudgets
Inherits from Protobuf::Message.
Accessors
$msg->budgets()/$msg->budgets($value)Type:
Message(Google::Cloud::Billing::Budgets::V1::BudgetModel::Budget)List of the budgets owned by the requested billing account.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringIf not empty, indicates that there may be more budgets that match the request; this value should be passed in a new `ListBudgetsRequest`.
Google::Cloud::Billing::Budgets::V1::BudgetService::DeleteBudgetRequest
Request for DeleteBudget
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the budget to delete. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Billing::Budgets::V1::BudgetService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.