Documentation ¶
Overview ¶
Package budgets aliases all exported identifiers in package "cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb".
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterBudgetServiceServer(s *grpc.Server, srv BudgetServiceServer)deprecated
- type AllUpdatesRuledeprecated
- type Budgetdeprecated
- type BudgetAmountdeprecated
- type BudgetAmount_LastPeriodAmount
- type BudgetAmount_SpecifiedAmount
- type BudgetServiceClientdeprecated
- type BudgetServiceServerdeprecated
- type CalendarPerioddeprecated
- type CreateBudgetRequestdeprecated
- type CustomPerioddeprecated
- type DeleteBudgetRequestdeprecated
- type Filterdeprecated
- type Filter_CalendarPeriod
- type Filter_CreditTypesTreatmentdeprecated
- type Filter_CustomPeriod
- type GetBudgetRequestdeprecated
- type LastPeriodAmountdeprecated
- type ListBudgetsRequestdeprecated
- type ListBudgetsResponsedeprecated
- type ThresholdRuledeprecated
- type ThresholdRule_Basisdeprecated
- type UnimplementedBudgetServiceServerdeprecated
- type UpdateBudgetRequestdeprecated
Constants ¶
const ( CalendarPeriod_CALENDAR_PERIOD_UNSPECIFIED = src.CalendarPeriod_CALENDAR_PERIOD_UNSPECIFIED CalendarPeriod_MONTH = src.CalendarPeriod_MONTH CalendarPeriod_QUARTER = src.CalendarPeriod_QUARTER CalendarPeriod_YEAR = src.CalendarPeriod_YEAR Filter_CREDIT_TYPES_TREATMENT_UNSPECIFIED = src.Filter_CREDIT_TYPES_TREATMENT_UNSPECIFIED Filter_EXCLUDE_ALL_CREDITS = src.Filter_EXCLUDE_ALL_CREDITS Filter_INCLUDE_ALL_CREDITS = src.Filter_INCLUDE_ALL_CREDITS Filter_INCLUDE_SPECIFIED_CREDITS = src.Filter_INCLUDE_SPECIFIED_CREDITS ThresholdRule_BASIS_UNSPECIFIED = src.ThresholdRule_BASIS_UNSPECIFIED ThresholdRule_CURRENT_SPEND = src.ThresholdRule_CURRENT_SPEND ThresholdRule_FORECASTED_SPEND = src.ThresholdRule_FORECASTED_SPEND )
Deprecated: Please use consts in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
Variables ¶
var ( CalendarPeriod_name = src.CalendarPeriod_name CalendarPeriod_value = src.CalendarPeriod_value File_google_cloud_billing_budgets_v1beta1_budget_model_proto = src.File_google_cloud_billing_budgets_v1beta1_budget_model_proto File_google_cloud_billing_budgets_v1beta1_budget_service_proto = src.File_google_cloud_billing_budgets_v1beta1_budget_service_proto Filter_CreditTypesTreatment_name = src.Filter_CreditTypesTreatment_name Filter_CreditTypesTreatment_value = src.Filter_CreditTypesTreatment_value ThresholdRule_Basis_name = src.ThresholdRule_Basis_name ThresholdRule_Basis_value = src.ThresholdRule_Basis_value )
Deprecated: Please use vars in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
Functions ¶
func RegisterBudgetServiceServer
deprecated
func RegisterBudgetServiceServer(s *grpc.Server, srv BudgetServiceServer)
Deprecated: Please use funcs in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
Types ¶
type AllUpdatesRule
deprecated
type AllUpdatesRule = src.AllUpdatesRule
AllUpdatesRule defines notifications that are sent based on budget spend and thresholds.
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type Budget
deprecated
A budget is a plan that describes what you expect to spend on Cloud projects, plus the rules to execute as spend is tracked against that plan, (for example, send an alert when 90% of the target spend is met). The budget time period is configurable, with options such as month (default), quarter, year, or custom time period.
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type BudgetAmount
deprecated
type BudgetAmount = src.BudgetAmount
The budgeted amount for each usage period.
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type BudgetAmount_LastPeriodAmount ¶
type BudgetAmount_LastPeriodAmount = src.BudgetAmount_LastPeriodAmount
type BudgetAmount_SpecifiedAmount ¶
type BudgetAmount_SpecifiedAmount = src.BudgetAmount_SpecifiedAmount
type BudgetServiceClient
deprecated
type BudgetServiceClient = src.BudgetServiceClient
BudgetServiceClient is the client API for BudgetService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
func NewBudgetServiceClient
deprecated
func NewBudgetServiceClient(cc grpc.ClientConnInterface) BudgetServiceClient
Deprecated: Please use funcs in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type BudgetServiceServer
deprecated
type BudgetServiceServer = src.BudgetServiceServer
BudgetServiceServer is the server API for BudgetService service.
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type CalendarPeriod
deprecated
type CalendarPeriod = src.CalendarPeriod
A `CalendarPeriod` represents the abstract concept of a time period that has a canonical start. Grammatically, "the start of the current `CalendarPeriod`". All calendar times begin at 12 AM US and Canadian Pacific Time (UTC-8).
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type CreateBudgetRequest
deprecated
type CreateBudgetRequest = src.CreateBudgetRequest
Request for CreateBudget
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type CustomPeriod
deprecated
type CustomPeriod = src.CustomPeriod
All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type DeleteBudgetRequest
deprecated
type DeleteBudgetRequest = src.DeleteBudgetRequest
Request for DeleteBudget
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type Filter_CalendarPeriod ¶
type Filter_CalendarPeriod = src.Filter_CalendarPeriod
type Filter_CreditTypesTreatment
deprecated
type Filter_CreditTypesTreatment = src.Filter_CreditTypesTreatment
Specifies how credits are applied when determining the spend for threshold calculations. Budgets track the total cost minus any applicable selected credits. [See the documentation for a list of credit types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type Filter_CustomPeriod ¶
type Filter_CustomPeriod = src.Filter_CustomPeriod
type GetBudgetRequest
deprecated
type GetBudgetRequest = src.GetBudgetRequest
Request for GetBudget
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type LastPeriodAmount
deprecated
type LastPeriodAmount = src.LastPeriodAmount
Describes a budget amount targeted to the last [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period] spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type ListBudgetsRequest
deprecated
type ListBudgetsRequest = src.ListBudgetsRequest
Request for ListBudgets
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type ListBudgetsResponse
deprecated
type ListBudgetsResponse = src.ListBudgetsResponse
Response for ListBudgets
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type ThresholdRule
deprecated
type ThresholdRule = src.ThresholdRule
ThresholdRule contains the definition of a threshold. Threshold rules define the triggering events used to generate a budget notification email. When a threshold is crossed (spend exceeds the specified percentages of the budget), budget alert emails are sent to the email recipients you specify in the [NotificationsRule](#notificationsrule). Threshold rules also affect the fields included in the [JSON data object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) sent to a Pub/Sub topic. Threshold rules are _required_ if using email notifications. Threshold rules are _optional_ if only setting a [`pubsubTopic` NotificationsRule](#NotificationsRule), unless you want your JSON data object to include data about the thresholds you set. For more information, see [set budget threshold rules and actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions).
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type ThresholdRule_Basis
deprecated
type ThresholdRule_Basis = src.ThresholdRule_Basis
The type of basis used to determine if spend has passed the threshold.
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type UnimplementedBudgetServiceServer
deprecated
type UnimplementedBudgetServiceServer = src.UnimplementedBudgetServiceServer
UnimplementedBudgetServiceServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb
type UpdateBudgetRequest
deprecated
type UpdateBudgetRequest = src.UpdateBudgetRequest
Request for UpdateBudget
Deprecated: Please use types in: cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb