v1

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Unspecified ownership scope, same as ALL_USERS.
	BudgetOwnershipScopeOwnershipScopeUnspecified = BudgetOwnershipScope("OWNERSHIP_SCOPE_UNSPECIFIED")
	// Both billing account-level users and project-level users have full access to the budget, if the users have the required IAM permissions.
	BudgetOwnershipScopeAllUsers = BudgetOwnershipScope("ALL_USERS")
	// Only billing account-level users have full access to the budget. Project-level users have read-only access, even if they have the required IAM permissions.
	BudgetOwnershipScopeBillingAccount = BudgetOwnershipScope("BILLING_ACCOUNT")
)
View Source
const (
	// Calendar period is unset. This is the default if the budget is for a custom time period (CustomPeriod).
	GoogleCloudBillingBudgetsV1FilterCalendarPeriodCalendarPeriodUnspecified = GoogleCloudBillingBudgetsV1FilterCalendarPeriod("CALENDAR_PERIOD_UNSPECIFIED")
	// A month. Month starts on the first day of each month, such as January 1, February 1, March 1, and so on.
	GoogleCloudBillingBudgetsV1FilterCalendarPeriodMonth = GoogleCloudBillingBudgetsV1FilterCalendarPeriod("MONTH")
	// A quarter. Quarters start on dates January 1, April 1, July 1, and October 1 of each year.
	GoogleCloudBillingBudgetsV1FilterCalendarPeriodQuarter = GoogleCloudBillingBudgetsV1FilterCalendarPeriod("QUARTER")
	// A year. Year starts on January 1.
	GoogleCloudBillingBudgetsV1FilterCalendarPeriodYear = GoogleCloudBillingBudgetsV1FilterCalendarPeriod("YEAR")
)
View Source
const (
	GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentCreditTypesTreatmentUnspecified = GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment("CREDIT_TYPES_TREATMENT_UNSPECIFIED")
	// All types of credit are subtracted from the gross cost to determine the spend for threshold calculations.
	GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentIncludeAllCredits = GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment("INCLUDE_ALL_CREDITS")
	// All types of credit are added to the net cost to determine the spend for threshold calculations.
	GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentExcludeAllCredits = GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment("EXCLUDE_ALL_CREDITS")
	// [Credit types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type) specified in the credit_types field are subtracted from the gross cost to determine the spend for threshold calculations.
	GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentIncludeSpecifiedCredits = GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment("INCLUDE_SPECIFIED_CREDITS")
)
View Source
const (
	// Unspecified threshold basis.
	GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisBasisUnspecified = GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis("BASIS_UNSPECIFIED")
	// Use current spend as the basis for comparison against the threshold.
	GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisCurrentSpend = GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis("CURRENT_SPEND")
	// Use forecasted spend for the period as the basis for comparison against the threshold. FORECASTED_SPEND can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period.
	GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisForecastedSpend = GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis("FORECASTED_SPEND")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Budget added in v0.3.0

type Budget struct {
	pulumi.CustomResourceState

	// Budgeted amount.
	Amount           GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput `pulumi:"amount"`
	BillingAccountId pulumi.StringOutput                                   `pulumi:"billingAccountId"`
	// Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.
	BudgetFilter GoogleCloudBillingBudgetsV1FilterResponseOutput `pulumi:"budgetFilter"`
	// User data for display name in UI. The name must be less than or equal to 60 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Resource name of the budget. The resource name implies the scope of a budget. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Optional. Rules to apply to notifications sent based on budget spend and thresholds.
	NotificationsRule GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput `pulumi:"notificationsRule"`
	OwnershipScope    pulumi.StringOutput                                        `pulumi:"ownershipScope"`
	// Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.
	ThresholdRules GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput `pulumi:"thresholdRules"`
}

Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information on the limits of the number of budgets you can create. Auto-naming is currently not supported for this resource.

func GetBudget added in v0.3.0

func GetBudget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BudgetState, opts ...pulumi.ResourceOption) (*Budget, error)

GetBudget gets an existing Budget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBudget added in v0.3.0

func NewBudget(ctx *pulumi.Context,
	name string, args *BudgetArgs, opts ...pulumi.ResourceOption) (*Budget, error)

NewBudget registers a new resource with the given unique name, arguments, and options.

func (*Budget) ElementType added in v0.3.0

func (*Budget) ElementType() reflect.Type

func (*Budget) ToBudgetOutput added in v0.3.0

func (i *Budget) ToBudgetOutput() BudgetOutput

func (*Budget) ToBudgetOutputWithContext added in v0.3.0

func (i *Budget) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

type BudgetArgs added in v0.3.0

type BudgetArgs struct {
	// Budgeted amount.
	Amount           GoogleCloudBillingBudgetsV1BudgetAmountInput
	BillingAccountId pulumi.StringInput
	// Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.
	BudgetFilter GoogleCloudBillingBudgetsV1FilterPtrInput
	// User data for display name in UI. The name must be less than or equal to 60 characters.
	DisplayName pulumi.StringPtrInput
	// Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.
	Etag pulumi.StringPtrInput
	// Optional. Rules to apply to notifications sent based on budget spend and thresholds.
	NotificationsRule GoogleCloudBillingBudgetsV1NotificationsRulePtrInput
	OwnershipScope    BudgetOwnershipScopePtrInput
	// Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.
	ThresholdRules GoogleCloudBillingBudgetsV1ThresholdRuleArrayInput
}

The set of arguments for constructing a Budget resource.

func (BudgetArgs) ElementType added in v0.3.0

func (BudgetArgs) ElementType() reflect.Type

type BudgetInput added in v0.3.0

type BudgetInput interface {
	pulumi.Input

	ToBudgetOutput() BudgetOutput
	ToBudgetOutputWithContext(ctx context.Context) BudgetOutput
}

type BudgetOutput added in v0.3.0

type BudgetOutput struct{ *pulumi.OutputState }

func (BudgetOutput) Amount added in v0.19.0

Budgeted amount.

func (BudgetOutput) BillingAccountId added in v0.21.0

func (o BudgetOutput) BillingAccountId() pulumi.StringOutput

func (BudgetOutput) BudgetFilter added in v0.19.0

Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.

func (BudgetOutput) DisplayName added in v0.19.0

func (o BudgetOutput) DisplayName() pulumi.StringOutput

User data for display name in UI. The name must be less than or equal to 60 characters.

func (BudgetOutput) ElementType added in v0.3.0

func (BudgetOutput) ElementType() reflect.Type

func (BudgetOutput) Etag added in v0.19.0

func (o BudgetOutput) Etag() pulumi.StringOutput

Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.

func (BudgetOutput) Name added in v0.19.0

func (o BudgetOutput) Name() pulumi.StringOutput

Resource name of the budget. The resource name implies the scope of a budget. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.

func (BudgetOutput) NotificationsRule added in v0.19.0

Optional. Rules to apply to notifications sent based on budget spend and thresholds.

func (BudgetOutput) OwnershipScope added in v0.32.0

func (o BudgetOutput) OwnershipScope() pulumi.StringOutput

func (BudgetOutput) ThresholdRules added in v0.19.0

Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.

func (BudgetOutput) ToBudgetOutput added in v0.3.0

func (o BudgetOutput) ToBudgetOutput() BudgetOutput

func (BudgetOutput) ToBudgetOutputWithContext added in v0.3.0

func (o BudgetOutput) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

type BudgetOwnershipScope added in v0.32.0

type BudgetOwnershipScope string

func (BudgetOwnershipScope) ElementType added in v0.32.0

func (BudgetOwnershipScope) ElementType() reflect.Type

func (BudgetOwnershipScope) ToBudgetOwnershipScopeOutput added in v0.32.0

func (e BudgetOwnershipScope) ToBudgetOwnershipScopeOutput() BudgetOwnershipScopeOutput

func (BudgetOwnershipScope) ToBudgetOwnershipScopeOutputWithContext added in v0.32.0

func (e BudgetOwnershipScope) ToBudgetOwnershipScopeOutputWithContext(ctx context.Context) BudgetOwnershipScopeOutput

func (BudgetOwnershipScope) ToBudgetOwnershipScopePtrOutput added in v0.32.0

func (e BudgetOwnershipScope) ToBudgetOwnershipScopePtrOutput() BudgetOwnershipScopePtrOutput

func (BudgetOwnershipScope) ToBudgetOwnershipScopePtrOutputWithContext added in v0.32.0

func (e BudgetOwnershipScope) ToBudgetOwnershipScopePtrOutputWithContext(ctx context.Context) BudgetOwnershipScopePtrOutput

func (BudgetOwnershipScope) ToStringOutput added in v0.32.0

func (e BudgetOwnershipScope) ToStringOutput() pulumi.StringOutput

func (BudgetOwnershipScope) ToStringOutputWithContext added in v0.32.0

func (e BudgetOwnershipScope) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (BudgetOwnershipScope) ToStringPtrOutput added in v0.32.0

func (e BudgetOwnershipScope) ToStringPtrOutput() pulumi.StringPtrOutput

func (BudgetOwnershipScope) ToStringPtrOutputWithContext added in v0.32.0

func (e BudgetOwnershipScope) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BudgetOwnershipScopeInput added in v0.32.0

type BudgetOwnershipScopeInput interface {
	pulumi.Input

	ToBudgetOwnershipScopeOutput() BudgetOwnershipScopeOutput
	ToBudgetOwnershipScopeOutputWithContext(context.Context) BudgetOwnershipScopeOutput
}

BudgetOwnershipScopeInput is an input type that accepts BudgetOwnershipScopeArgs and BudgetOwnershipScopeOutput values. You can construct a concrete instance of `BudgetOwnershipScopeInput` via:

BudgetOwnershipScopeArgs{...}

type BudgetOwnershipScopeOutput added in v0.32.0

type BudgetOwnershipScopeOutput struct{ *pulumi.OutputState }

func (BudgetOwnershipScopeOutput) ElementType added in v0.32.0

func (BudgetOwnershipScopeOutput) ElementType() reflect.Type

func (BudgetOwnershipScopeOutput) ToBudgetOwnershipScopeOutput added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToBudgetOwnershipScopeOutput() BudgetOwnershipScopeOutput

func (BudgetOwnershipScopeOutput) ToBudgetOwnershipScopeOutputWithContext added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToBudgetOwnershipScopeOutputWithContext(ctx context.Context) BudgetOwnershipScopeOutput

func (BudgetOwnershipScopeOutput) ToBudgetOwnershipScopePtrOutput added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToBudgetOwnershipScopePtrOutput() BudgetOwnershipScopePtrOutput

func (BudgetOwnershipScopeOutput) ToBudgetOwnershipScopePtrOutputWithContext added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToBudgetOwnershipScopePtrOutputWithContext(ctx context.Context) BudgetOwnershipScopePtrOutput

func (BudgetOwnershipScopeOutput) ToStringOutput added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToStringOutput() pulumi.StringOutput

func (BudgetOwnershipScopeOutput) ToStringOutputWithContext added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (BudgetOwnershipScopeOutput) ToStringPtrOutput added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (BudgetOwnershipScopeOutput) ToStringPtrOutputWithContext added in v0.32.0

func (o BudgetOwnershipScopeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BudgetOwnershipScopePtrInput added in v0.32.0

type BudgetOwnershipScopePtrInput interface {
	pulumi.Input

	ToBudgetOwnershipScopePtrOutput() BudgetOwnershipScopePtrOutput
	ToBudgetOwnershipScopePtrOutputWithContext(context.Context) BudgetOwnershipScopePtrOutput
}

func BudgetOwnershipScopePtr added in v0.32.0

func BudgetOwnershipScopePtr(v string) BudgetOwnershipScopePtrInput

type BudgetOwnershipScopePtrOutput added in v0.32.0

type BudgetOwnershipScopePtrOutput struct{ *pulumi.OutputState }

func (BudgetOwnershipScopePtrOutput) Elem added in v0.32.0

func (BudgetOwnershipScopePtrOutput) ElementType added in v0.32.0

func (BudgetOwnershipScopePtrOutput) ToBudgetOwnershipScopePtrOutput added in v0.32.0

func (o BudgetOwnershipScopePtrOutput) ToBudgetOwnershipScopePtrOutput() BudgetOwnershipScopePtrOutput

func (BudgetOwnershipScopePtrOutput) ToBudgetOwnershipScopePtrOutputWithContext added in v0.32.0

func (o BudgetOwnershipScopePtrOutput) ToBudgetOwnershipScopePtrOutputWithContext(ctx context.Context) BudgetOwnershipScopePtrOutput

func (BudgetOwnershipScopePtrOutput) ToStringPtrOutput added in v0.32.0

func (BudgetOwnershipScopePtrOutput) ToStringPtrOutputWithContext added in v0.32.0

func (o BudgetOwnershipScopePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BudgetState added in v0.3.0

type BudgetState struct {
}

func (BudgetState) ElementType added in v0.3.0

func (BudgetState) ElementType() reflect.Type

type GoogleCloudBillingBudgetsV1BudgetAmount

type GoogleCloudBillingBudgetsV1BudgetAmount struct {
	// Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period.
	LastPeriodAmount *GoogleCloudBillingBudgetsV1LastPeriodAmount `pulumi:"lastPeriodAmount"`
	// A specified amount to use as the budget. `currency_code` is optional. If specified when creating a budget, it must match the currency of the billing account. If specified when updating a budget, it must match the currency_code of the existing budget. The `currency_code` is provided on output.
	SpecifiedAmount *GoogleTypeMoney `pulumi:"specifiedAmount"`
}

The budgeted amount for each usage period.

type GoogleCloudBillingBudgetsV1BudgetAmountArgs

type GoogleCloudBillingBudgetsV1BudgetAmountArgs struct {
	// Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period.
	LastPeriodAmount GoogleCloudBillingBudgetsV1LastPeriodAmountPtrInput `pulumi:"lastPeriodAmount"`
	// A specified amount to use as the budget. `currency_code` is optional. If specified when creating a budget, it must match the currency of the billing account. If specified when updating a budget, it must match the currency_code of the existing budget. The `currency_code` is provided on output.
	SpecifiedAmount GoogleTypeMoneyPtrInput `pulumi:"specifiedAmount"`
}

The budgeted amount for each usage period.

func (GoogleCloudBillingBudgetsV1BudgetAmountArgs) ElementType

func (GoogleCloudBillingBudgetsV1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1BudgetAmountOutput

func (i GoogleCloudBillingBudgetsV1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1BudgetAmountOutput() GoogleCloudBillingBudgetsV1BudgetAmountOutput

func (GoogleCloudBillingBudgetsV1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1BudgetAmountOutputWithContext

func (i GoogleCloudBillingBudgetsV1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1BudgetAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1BudgetAmountOutput

type GoogleCloudBillingBudgetsV1BudgetAmountInput

type GoogleCloudBillingBudgetsV1BudgetAmountInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1BudgetAmountOutput() GoogleCloudBillingBudgetsV1BudgetAmountOutput
	ToGoogleCloudBillingBudgetsV1BudgetAmountOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1BudgetAmountOutput
}

GoogleCloudBillingBudgetsV1BudgetAmountInput is an input type that accepts GoogleCloudBillingBudgetsV1BudgetAmountArgs and GoogleCloudBillingBudgetsV1BudgetAmountOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1BudgetAmountInput` via:

GoogleCloudBillingBudgetsV1BudgetAmountArgs{...}

type GoogleCloudBillingBudgetsV1BudgetAmountOutput

type GoogleCloudBillingBudgetsV1BudgetAmountOutput struct{ *pulumi.OutputState }

The budgeted amount for each usage period.

func (GoogleCloudBillingBudgetsV1BudgetAmountOutput) ElementType

func (GoogleCloudBillingBudgetsV1BudgetAmountOutput) LastPeriodAmount

Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period.

func (GoogleCloudBillingBudgetsV1BudgetAmountOutput) SpecifiedAmount

A specified amount to use as the budget. `currency_code` is optional. If specified when creating a budget, it must match the currency of the billing account. If specified when updating a budget, it must match the currency_code of the existing budget. The `currency_code` is provided on output.

func (GoogleCloudBillingBudgetsV1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1BudgetAmountOutput

func (o GoogleCloudBillingBudgetsV1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1BudgetAmountOutput() GoogleCloudBillingBudgetsV1BudgetAmountOutput

func (GoogleCloudBillingBudgetsV1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1BudgetAmountOutputWithContext

func (o GoogleCloudBillingBudgetsV1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1BudgetAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1BudgetAmountOutput

type GoogleCloudBillingBudgetsV1BudgetAmountResponse

type GoogleCloudBillingBudgetsV1BudgetAmountResponse struct {
	// Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period.
	LastPeriodAmount GoogleCloudBillingBudgetsV1LastPeriodAmountResponse `pulumi:"lastPeriodAmount"`
	// A specified amount to use as the budget. `currency_code` is optional. If specified when creating a budget, it must match the currency of the billing account. If specified when updating a budget, it must match the currency_code of the existing budget. The `currency_code` is provided on output.
	SpecifiedAmount GoogleTypeMoneyResponse `pulumi:"specifiedAmount"`
}

The budgeted amount for each usage period.

type GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput

type GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput struct{ *pulumi.OutputState }

The budgeted amount for each usage period.

func (GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) LastPeriodAmount

Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period.

func (GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) SpecifiedAmount

A specified amount to use as the budget. `currency_code` is optional. If specified when creating a budget, it must match the currency of the billing account. If specified when updating a budget, it must match the currency_code of the existing budget. The `currency_code` is provided on output.

func (GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) ToGoogleCloudBillingBudgetsV1BudgetAmountResponseOutput

func (GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) ToGoogleCloudBillingBudgetsV1BudgetAmountResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) ToGoogleCloudBillingBudgetsV1BudgetAmountResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput

type GoogleCloudBillingBudgetsV1CustomPeriod

type GoogleCloudBillingBudgetsV1CustomPeriod struct {
	// Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.
	EndDate *GoogleTypeDate `pulumi:"endDate"`
	// The start date must be after January 1, 2017.
	StartDate GoogleTypeDate `pulumi:"startDate"`
}

All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).

type GoogleCloudBillingBudgetsV1CustomPeriodArgs

type GoogleCloudBillingBudgetsV1CustomPeriodArgs struct {
	// Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.
	EndDate GoogleTypeDatePtrInput `pulumi:"endDate"`
	// The start date must be after January 1, 2017.
	StartDate GoogleTypeDateInput `pulumi:"startDate"`
}

All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).

func (GoogleCloudBillingBudgetsV1CustomPeriodArgs) ElementType

func (GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodOutput

func (i GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodOutput() GoogleCloudBillingBudgetsV1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodOutputWithContext

func (i GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

func (i GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1CustomPeriodInput

type GoogleCloudBillingBudgetsV1CustomPeriodInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1CustomPeriodOutput() GoogleCloudBillingBudgetsV1CustomPeriodOutput
	ToGoogleCloudBillingBudgetsV1CustomPeriodOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1CustomPeriodOutput
}

GoogleCloudBillingBudgetsV1CustomPeriodInput is an input type that accepts GoogleCloudBillingBudgetsV1CustomPeriodArgs and GoogleCloudBillingBudgetsV1CustomPeriodOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1CustomPeriodInput` via:

GoogleCloudBillingBudgetsV1CustomPeriodArgs{...}

type GoogleCloudBillingBudgetsV1CustomPeriodOutput

type GoogleCloudBillingBudgetsV1CustomPeriodOutput struct{ *pulumi.OutputState }

All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).

func (GoogleCloudBillingBudgetsV1CustomPeriodOutput) ElementType

func (GoogleCloudBillingBudgetsV1CustomPeriodOutput) EndDate

Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.

func (GoogleCloudBillingBudgetsV1CustomPeriodOutput) StartDate

The start date must be after January 1, 2017.

func (GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodOutput

func (o GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodOutput() GoogleCloudBillingBudgetsV1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodOutputWithContext

func (o GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

func (o GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1CustomPeriodPtrInput

type GoogleCloudBillingBudgetsV1CustomPeriodPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput
	ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput
}

GoogleCloudBillingBudgetsV1CustomPeriodPtrInput is an input type that accepts GoogleCloudBillingBudgetsV1CustomPeriodArgs, GoogleCloudBillingBudgetsV1CustomPeriodPtr and GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1CustomPeriodPtrInput` via:

        GoogleCloudBillingBudgetsV1CustomPeriodArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) Elem

func (GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) EndDate

Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.

func (GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) StartDate

The start date must be after January 1, 2017.

func (GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

func (o GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1CustomPeriodResponse

type GoogleCloudBillingBudgetsV1CustomPeriodResponse struct {
	// Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.
	EndDate GoogleTypeDateResponse `pulumi:"endDate"`
	// The start date must be after January 1, 2017.
	StartDate GoogleTypeDateResponse `pulumi:"startDate"`
}

All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).

type GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput

type GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput struct{ *pulumi.OutputState }

All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).

func (GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) EndDate

Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.

func (GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) StartDate

The start date must be after January 1, 2017.

func (GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodResponseOutput

func (GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) ToGoogleCloudBillingBudgetsV1CustomPeriodResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput

type GoogleCloudBillingBudgetsV1Filter

type GoogleCloudBillingBudgetsV1Filter struct {
	// Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.
	CalendarPeriod *GoogleCloudBillingBudgetsV1FilterCalendarPeriod `pulumi:"calendarPeriod"`
	// Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
	CreditTypes []string `pulumi:"creditTypes"`
	// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.
	CreditTypesTreatment *GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment `pulumi:"creditTypesTreatment"`
	// Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.
	CustomPeriod *GoogleCloudBillingBudgetsV1CustomPeriod `pulumi:"customPeriod"`
	// Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single `"key": value` pair. Example: `{ "name": "wrench" }`. _Currently, multiple entries or multiple values per entry are not allowed._
	Labels map[string]string `pulumi:"labels"`
	// Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on.
	Projects []string `pulumi:"projects"`
	// Optional. A set of folder and organization names of the form `folders/{folderId}` or `organizations/{organizationId}`, specifying that usage from only this set of folders and organizations should be included in the budget. If omitted, the budget includes all usage that the billing account pays for. If the folder or organization contains projects that are paid for by a different Cloud Billing account, the budget *doesn't* apply to those projects.
	ResourceAncestors []string `pulumi:"resourceAncestors"`
	// Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.
	Services []string `pulumi:"services"`
	// Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.
	Subaccounts []string `pulumi:"subaccounts"`
}

A filter for a budget, limiting the scope of the cost to calculate.

type GoogleCloudBillingBudgetsV1FilterArgs

type GoogleCloudBillingBudgetsV1FilterArgs struct {
	// Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.
	CalendarPeriod GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrInput `pulumi:"calendarPeriod"`
	// Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
	CreditTypes pulumi.StringArrayInput `pulumi:"creditTypes"`
	// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.
	CreditTypesTreatment GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrInput `pulumi:"creditTypesTreatment"`
	// Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.
	CustomPeriod GoogleCloudBillingBudgetsV1CustomPeriodPtrInput `pulumi:"customPeriod"`
	// Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single `"key": value` pair. Example: `{ "name": "wrench" }`. _Currently, multiple entries or multiple values per entry are not allowed._
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on.
	Projects pulumi.StringArrayInput `pulumi:"projects"`
	// Optional. A set of folder and organization names of the form `folders/{folderId}` or `organizations/{organizationId}`, specifying that usage from only this set of folders and organizations should be included in the budget. If omitted, the budget includes all usage that the billing account pays for. If the folder or organization contains projects that are paid for by a different Cloud Billing account, the budget *doesn't* apply to those projects.
	ResourceAncestors pulumi.StringArrayInput `pulumi:"resourceAncestors"`
	// Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.
	Services pulumi.StringArrayInput `pulumi:"services"`
	// Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.
	Subaccounts pulumi.StringArrayInput `pulumi:"subaccounts"`
}

A filter for a budget, limiting the scope of the cost to calculate.

func (GoogleCloudBillingBudgetsV1FilterArgs) ElementType

func (GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterOutput

func (i GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterOutput() GoogleCloudBillingBudgetsV1FilterOutput

func (GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterOutputWithContext

func (i GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterOutput

func (GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterPtrOutput

func (i GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterPtrOutput() GoogleCloudBillingBudgetsV1FilterPtrOutput

func (GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterPtrOutput

type GoogleCloudBillingBudgetsV1FilterCalendarPeriod added in v0.4.0

type GoogleCloudBillingBudgetsV1FilterCalendarPeriod string

Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ElementType added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput() GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput() GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToStringOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToStringOutputWithContext added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToStringPtrOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriod) ToStringPtrOutputWithContext added in v0.4.0

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodInput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput() GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput
	ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput
}

GoogleCloudBillingBudgetsV1FilterCalendarPeriodInput is an input type that accepts GoogleCloudBillingBudgetsV1FilterCalendarPeriodArgs and GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1FilterCalendarPeriodInput` via:

GoogleCloudBillingBudgetsV1FilterCalendarPeriodArgs{...}

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput added in v0.6.0

func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput() GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToStringOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToStringOutputWithContext added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrInput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput() GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput
	ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput
}

func GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtr added in v0.6.0

func GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtr(v string) GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrInput

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) Elem added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment added in v0.4.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment string

Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ElementType added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput() GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput() GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToStringOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToStringOutputWithContext added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToStringPtrOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) ToStringPtrOutputWithContext added in v0.4.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentInput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput() GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput
	ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput
}

GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentInput is an input type that accepts GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentArgs and GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentInput` via:

GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentArgs{...}

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToStringOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToStringOutputWithContext added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrInput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput() GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput
	ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput
}

func GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtr added in v0.6.0

func GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtr(v string) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrInput

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) Elem added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1FilterInput

type GoogleCloudBillingBudgetsV1FilterInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1FilterOutput() GoogleCloudBillingBudgetsV1FilterOutput
	ToGoogleCloudBillingBudgetsV1FilterOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1FilterOutput
}

GoogleCloudBillingBudgetsV1FilterInput is an input type that accepts GoogleCloudBillingBudgetsV1FilterArgs and GoogleCloudBillingBudgetsV1FilterOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1FilterInput` via:

GoogleCloudBillingBudgetsV1FilterArgs{...}

type GoogleCloudBillingBudgetsV1FilterOutput

type GoogleCloudBillingBudgetsV1FilterOutput struct{ *pulumi.OutputState }

A filter for a budget, limiting the scope of the cost to calculate.

func (GoogleCloudBillingBudgetsV1FilterOutput) CalendarPeriod

Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.

func (GoogleCloudBillingBudgetsV1FilterOutput) CreditTypes

Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.

func (GoogleCloudBillingBudgetsV1FilterOutput) CreditTypesTreatment

Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.

func (GoogleCloudBillingBudgetsV1FilterOutput) CustomPeriod

Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.

func (GoogleCloudBillingBudgetsV1FilterOutput) ElementType

func (GoogleCloudBillingBudgetsV1FilterOutput) Labels

Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single `"key": value` pair. Example: `{ "name": "wrench" }`. _Currently, multiple entries or multiple values per entry are not allowed._

func (GoogleCloudBillingBudgetsV1FilterOutput) Projects

Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on.

func (GoogleCloudBillingBudgetsV1FilterOutput) ResourceAncestors added in v0.32.0

Optional. A set of folder and organization names of the form `folders/{folderId}` or `organizations/{organizationId}`, specifying that usage from only this set of folders and organizations should be included in the budget. If omitted, the budget includes all usage that the billing account pays for. If the folder or organization contains projects that are paid for by a different Cloud Billing account, the budget *doesn't* apply to those projects.

func (GoogleCloudBillingBudgetsV1FilterOutput) Services

Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.

func (GoogleCloudBillingBudgetsV1FilterOutput) Subaccounts

Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.

func (GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterOutput

func (o GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterOutput() GoogleCloudBillingBudgetsV1FilterOutput

func (GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterOutputWithContext

func (o GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterOutput

func (GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutput

func (o GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutput() GoogleCloudBillingBudgetsV1FilterPtrOutput

func (GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterPtrOutput

type GoogleCloudBillingBudgetsV1FilterPtrInput

type GoogleCloudBillingBudgetsV1FilterPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1FilterPtrOutput() GoogleCloudBillingBudgetsV1FilterPtrOutput
	ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1FilterPtrOutput
}

GoogleCloudBillingBudgetsV1FilterPtrInput is an input type that accepts GoogleCloudBillingBudgetsV1FilterArgs, GoogleCloudBillingBudgetsV1FilterPtr and GoogleCloudBillingBudgetsV1FilterPtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1FilterPtrInput` via:

        GoogleCloudBillingBudgetsV1FilterArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1FilterPtrOutput

type GoogleCloudBillingBudgetsV1FilterPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) CalendarPeriod

Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) CreditTypes

Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) CreditTypesTreatment

Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) CustomPeriod

Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) Elem

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) Labels

Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single `"key": value` pair. Example: `{ "name": "wrench" }`. _Currently, multiple entries or multiple values per entry are not allowed._

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) Projects

Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) ResourceAncestors added in v0.32.0

Optional. A set of folder and organization names of the form `folders/{folderId}` or `organizations/{organizationId}`, specifying that usage from only this set of folders and organizations should be included in the budget. If omitted, the budget includes all usage that the billing account pays for. If the folder or organization contains projects that are paid for by a different Cloud Billing account, the budget *doesn't* apply to those projects.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) Services

Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) Subaccounts

Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutput

func (o GoogleCloudBillingBudgetsV1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutput() GoogleCloudBillingBudgetsV1FilterPtrOutput

func (GoogleCloudBillingBudgetsV1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterPtrOutput

type GoogleCloudBillingBudgetsV1FilterResponse

type GoogleCloudBillingBudgetsV1FilterResponse struct {
	// Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.
	CalendarPeriod string `pulumi:"calendarPeriod"`
	// Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
	CreditTypes []string `pulumi:"creditTypes"`
	// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.
	CreditTypesTreatment string `pulumi:"creditTypesTreatment"`
	// Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.
	CustomPeriod GoogleCloudBillingBudgetsV1CustomPeriodResponse `pulumi:"customPeriod"`
	// Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single `"key": value` pair. Example: `{ "name": "wrench" }`. _Currently, multiple entries or multiple values per entry are not allowed._
	Labels map[string]string `pulumi:"labels"`
	// Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on.
	Projects []string `pulumi:"projects"`
	// Optional. A set of folder and organization names of the form `folders/{folderId}` or `organizations/{organizationId}`, specifying that usage from only this set of folders and organizations should be included in the budget. If omitted, the budget includes all usage that the billing account pays for. If the folder or organization contains projects that are paid for by a different Cloud Billing account, the budget *doesn't* apply to those projects.
	ResourceAncestors []string `pulumi:"resourceAncestors"`
	// Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.
	Services []string `pulumi:"services"`
	// Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.
	Subaccounts []string `pulumi:"subaccounts"`
}

A filter for a budget, limiting the scope of the cost to calculate.

type GoogleCloudBillingBudgetsV1FilterResponseOutput

type GoogleCloudBillingBudgetsV1FilterResponseOutput struct{ *pulumi.OutputState }

A filter for a budget, limiting the scope of the cost to calculate.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) CalendarPeriod

Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) CreditTypes

Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) CreditTypesTreatment

Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) CustomPeriod

Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) Labels

Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single `"key": value` pair. Example: `{ "name": "wrench" }`. _Currently, multiple entries or multiple values per entry are not allowed._

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) Projects

Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) ResourceAncestors added in v0.32.0

Optional. A set of folder and organization names of the form `folders/{folderId}` or `organizations/{organizationId}`, specifying that usage from only this set of folders and organizations should be included in the budget. If omitted, the budget includes all usage that the billing account pays for. If the folder or organization contains projects that are paid for by a different Cloud Billing account, the budget *doesn't* apply to those projects.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) Services

Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) Subaccounts

Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) ToGoogleCloudBillingBudgetsV1FilterResponseOutput

func (o GoogleCloudBillingBudgetsV1FilterResponseOutput) ToGoogleCloudBillingBudgetsV1FilterResponseOutput() GoogleCloudBillingBudgetsV1FilterResponseOutput

func (GoogleCloudBillingBudgetsV1FilterResponseOutput) ToGoogleCloudBillingBudgetsV1FilterResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1FilterResponseOutput) ToGoogleCloudBillingBudgetsV1FilterResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1FilterResponseOutput

type GoogleCloudBillingBudgetsV1LastPeriodAmount

type GoogleCloudBillingBudgetsV1LastPeriodAmount struct {
}

Describes a budget amount targeted to the last 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. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

type GoogleCloudBillingBudgetsV1LastPeriodAmountArgs

type GoogleCloudBillingBudgetsV1LastPeriodAmountArgs struct {
}

Describes a budget amount targeted to the last 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. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

func (GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ElementType

func (GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutput

func (i GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutput() GoogleCloudBillingBudgetsV1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutputWithContext

func (i GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

func (i GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1LastPeriodAmountInput

type GoogleCloudBillingBudgetsV1LastPeriodAmountInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutput() GoogleCloudBillingBudgetsV1LastPeriodAmountOutput
	ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountOutput
}

GoogleCloudBillingBudgetsV1LastPeriodAmountInput is an input type that accepts GoogleCloudBillingBudgetsV1LastPeriodAmountArgs and GoogleCloudBillingBudgetsV1LastPeriodAmountOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1LastPeriodAmountInput` via:

GoogleCloudBillingBudgetsV1LastPeriodAmountArgs{...}

type GoogleCloudBillingBudgetsV1LastPeriodAmountOutput

type GoogleCloudBillingBudgetsV1LastPeriodAmountOutput struct{ *pulumi.OutputState }

Describes a budget amount targeted to the last 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. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

func (GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ElementType

func (GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutput

func (o GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutput() GoogleCloudBillingBudgetsV1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutputWithContext

func (o GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

func (o GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1LastPeriodAmountPtrInput

type GoogleCloudBillingBudgetsV1LastPeriodAmountPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput
	ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput
}

GoogleCloudBillingBudgetsV1LastPeriodAmountPtrInput is an input type that accepts GoogleCloudBillingBudgetsV1LastPeriodAmountArgs, GoogleCloudBillingBudgetsV1LastPeriodAmountPtr and GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1LastPeriodAmountPtrInput` via:

        GoogleCloudBillingBudgetsV1LastPeriodAmountArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) Elem

func (GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1LastPeriodAmountResponse

type GoogleCloudBillingBudgetsV1LastPeriodAmountResponse struct {
}

Describes a budget amount targeted to the last 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. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

type GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput

type GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput struct{ *pulumi.OutputState }

Describes a budget amount targeted to the last 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. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

func (GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput

func (GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput) ToGoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput

type GoogleCloudBillingBudgetsV1NotificationsRule

type GoogleCloudBillingBudgetsV1NotificationsRule struct {
	// Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account.
	DisableDefaultIamRecipients *bool `pulumi:"disableDefaultIamRecipients"`
	// Optional. When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with `Owner` role on a cloud project.
	EnableProjectLevelRecipients *bool `pulumi:"enableProjectLevelRecipients"`
	// Optional. Email targets to send notifications to when a threshold is exceeded. This is in addition to the `DefaultIamRecipients` who receive alert emails based on their billing account IAM role. The value is the full REST resource name of a Cloud Monitoring email notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 email notifications are allowed. To customize budget alert email recipients with monitoring notification channels, you _must create the monitoring notification channels before you link them to a budget_. For guidance on setting up notification channels to use with budgets, see [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). For Cloud Billing budget alerts, you _must use email notification channels_. The other types of notification channels are _not_ supported, such as Slack, SMS, or PagerDuty. If you want to [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), use a pubsubTopic and configure [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).
	MonitoringNotificationChannels []string `pulumi:"monitoringNotificationChannels"`
	// Optional. The name of the Pub/Sub topic where budget-related messages are published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent to the topic at regular intervals; the timing of the updates is not dependent on the [threshold rules](#thresholdrule) you've set. Note that if you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) to contain data for `alertThresholdExceeded`, you need at least one [alert threshold rule](#thresholdrule). When you set threshold rules, you must also enable at least one of the email notification options, either using the default IAM recipients or Cloud Monitoring email notification channels. To use Pub/Sub topics with budgets, you must do the following: 1. Create the Pub/Sub topic before connecting it to your budget. For guidance, see [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For additional details on Pub/Sub roles and permissions, see [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task).
	PubsubTopic *string `pulumi:"pubsubTopic"`
	// Optional. Required when NotificationsRule.pubsub_topic is set. The schema version of the notification sent to NotificationsRule.pubsub_topic. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.
	SchemaVersion *string `pulumi:"schemaVersion"`
}

NotificationsRule defines notifications that are sent based on budget spend and thresholds.

type GoogleCloudBillingBudgetsV1NotificationsRuleArgs

type GoogleCloudBillingBudgetsV1NotificationsRuleArgs struct {
	// Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account.
	DisableDefaultIamRecipients pulumi.BoolPtrInput `pulumi:"disableDefaultIamRecipients"`
	// Optional. When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with `Owner` role on a cloud project.
	EnableProjectLevelRecipients pulumi.BoolPtrInput `pulumi:"enableProjectLevelRecipients"`
	// Optional. Email targets to send notifications to when a threshold is exceeded. This is in addition to the `DefaultIamRecipients` who receive alert emails based on their billing account IAM role. The value is the full REST resource name of a Cloud Monitoring email notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 email notifications are allowed. To customize budget alert email recipients with monitoring notification channels, you _must create the monitoring notification channels before you link them to a budget_. For guidance on setting up notification channels to use with budgets, see [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). For Cloud Billing budget alerts, you _must use email notification channels_. The other types of notification channels are _not_ supported, such as Slack, SMS, or PagerDuty. If you want to [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), use a pubsubTopic and configure [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).
	MonitoringNotificationChannels pulumi.StringArrayInput `pulumi:"monitoringNotificationChannels"`
	// Optional. The name of the Pub/Sub topic where budget-related messages are published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent to the topic at regular intervals; the timing of the updates is not dependent on the [threshold rules](#thresholdrule) you've set. Note that if you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) to contain data for `alertThresholdExceeded`, you need at least one [alert threshold rule](#thresholdrule). When you set threshold rules, you must also enable at least one of the email notification options, either using the default IAM recipients or Cloud Monitoring email notification channels. To use Pub/Sub topics with budgets, you must do the following: 1. Create the Pub/Sub topic before connecting it to your budget. For guidance, see [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For additional details on Pub/Sub roles and permissions, see [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task).
	PubsubTopic pulumi.StringPtrInput `pulumi:"pubsubTopic"`
	// Optional. Required when NotificationsRule.pubsub_topic is set. The schema version of the notification sent to NotificationsRule.pubsub_topic. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.
	SchemaVersion pulumi.StringPtrInput `pulumi:"schemaVersion"`
}

NotificationsRule defines notifications that are sent based on budget spend and thresholds.

func (GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ElementType

func (GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutput

func (i GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutput() GoogleCloudBillingBudgetsV1NotificationsRuleOutput

func (GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutputWithContext

func (i GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1NotificationsRuleOutput

func (GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

func (i GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutput() GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

func (GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

type GoogleCloudBillingBudgetsV1NotificationsRuleInput

type GoogleCloudBillingBudgetsV1NotificationsRuleInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1NotificationsRuleOutput() GoogleCloudBillingBudgetsV1NotificationsRuleOutput
	ToGoogleCloudBillingBudgetsV1NotificationsRuleOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1NotificationsRuleOutput
}

GoogleCloudBillingBudgetsV1NotificationsRuleInput is an input type that accepts GoogleCloudBillingBudgetsV1NotificationsRuleArgs and GoogleCloudBillingBudgetsV1NotificationsRuleOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1NotificationsRuleInput` via:

GoogleCloudBillingBudgetsV1NotificationsRuleArgs{...}

type GoogleCloudBillingBudgetsV1NotificationsRuleOutput

type GoogleCloudBillingBudgetsV1NotificationsRuleOutput struct{ *pulumi.OutputState }

NotificationsRule defines notifications that are sent based on budget spend and thresholds.

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) DisableDefaultIamRecipients

Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account.

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ElementType

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) EnableProjectLevelRecipients added in v0.32.0

Optional. When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with `Owner` role on a cloud project.

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) MonitoringNotificationChannels

Optional. Email targets to send notifications to when a threshold is exceeded. This is in addition to the `DefaultIamRecipients` who receive alert emails based on their billing account IAM role. The value is the full REST resource name of a Cloud Monitoring email notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 email notifications are allowed. To customize budget alert email recipients with monitoring notification channels, you _must create the monitoring notification channels before you link them to a budget_. For guidance on setting up notification channels to use with budgets, see [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). For Cloud Billing budget alerts, you _must use email notification channels_. The other types of notification channels are _not_ supported, such as Slack, SMS, or PagerDuty. If you want to [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), use a pubsubTopic and configure [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) PubsubTopic

Optional. The name of the Pub/Sub topic where budget-related messages are published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent to the topic at regular intervals; the timing of the updates is not dependent on the [threshold rules](#thresholdrule) you've set. Note that if you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) to contain data for `alertThresholdExceeded`, you need at least one [alert threshold rule](#thresholdrule). When you set threshold rules, you must also enable at least one of the email notification options, either using the default IAM recipients or Cloud Monitoring email notification channels. To use Pub/Sub topics with budgets, you must do the following: 1. Create the Pub/Sub topic before connecting it to your budget. For guidance, see [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For additional details on Pub/Sub roles and permissions, see [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task).

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) SchemaVersion

Optional. Required when NotificationsRule.pubsub_topic is set. The schema version of the notification sent to NotificationsRule.pubsub_topic. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutput

func (o GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutput() GoogleCloudBillingBudgetsV1NotificationsRuleOutput

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutputWithContext

func (o GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1NotificationsRuleOutput

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

func (o GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutput() GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

func (GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

type GoogleCloudBillingBudgetsV1NotificationsRulePtrInput

type GoogleCloudBillingBudgetsV1NotificationsRulePtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutput() GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput
	ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput
}

GoogleCloudBillingBudgetsV1NotificationsRulePtrInput is an input type that accepts GoogleCloudBillingBudgetsV1NotificationsRuleArgs, GoogleCloudBillingBudgetsV1NotificationsRulePtr and GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1NotificationsRulePtrInput` via:

        GoogleCloudBillingBudgetsV1NotificationsRuleArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

type GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) DisableDefaultIamRecipients

Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account.

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) Elem

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) EnableProjectLevelRecipients added in v0.32.0

Optional. When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with `Owner` role on a cloud project.

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) MonitoringNotificationChannels

Optional. Email targets to send notifications to when a threshold is exceeded. This is in addition to the `DefaultIamRecipients` who receive alert emails based on their billing account IAM role. The value is the full REST resource name of a Cloud Monitoring email notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 email notifications are allowed. To customize budget alert email recipients with monitoring notification channels, you _must create the monitoring notification channels before you link them to a budget_. For guidance on setting up notification channels to use with budgets, see [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). For Cloud Billing budget alerts, you _must use email notification channels_. The other types of notification channels are _not_ supported, such as Slack, SMS, or PagerDuty. If you want to [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), use a pubsubTopic and configure [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) PubsubTopic

Optional. The name of the Pub/Sub topic where budget-related messages are published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent to the topic at regular intervals; the timing of the updates is not dependent on the [threshold rules](#thresholdrule) you've set. Note that if you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) to contain data for `alertThresholdExceeded`, you need at least one [alert threshold rule](#thresholdrule). When you set threshold rules, you must also enable at least one of the email notification options, either using the default IAM recipients or Cloud Monitoring email notification channels. To use Pub/Sub topics with budgets, you must do the following: 1. Create the Pub/Sub topic before connecting it to your budget. For guidance, see [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For additional details on Pub/Sub roles and permissions, see [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task).

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) SchemaVersion

Optional. Required when NotificationsRule.pubsub_topic is set. The schema version of the notification sent to NotificationsRule.pubsub_topic. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

func (GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput

type GoogleCloudBillingBudgetsV1NotificationsRuleResponse

type GoogleCloudBillingBudgetsV1NotificationsRuleResponse struct {
	// Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account.
	DisableDefaultIamRecipients bool `pulumi:"disableDefaultIamRecipients"`
	// Optional. When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with `Owner` role on a cloud project.
	EnableProjectLevelRecipients bool `pulumi:"enableProjectLevelRecipients"`
	// Optional. Email targets to send notifications to when a threshold is exceeded. This is in addition to the `DefaultIamRecipients` who receive alert emails based on their billing account IAM role. The value is the full REST resource name of a Cloud Monitoring email notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 email notifications are allowed. To customize budget alert email recipients with monitoring notification channels, you _must create the monitoring notification channels before you link them to a budget_. For guidance on setting up notification channels to use with budgets, see [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). For Cloud Billing budget alerts, you _must use email notification channels_. The other types of notification channels are _not_ supported, such as Slack, SMS, or PagerDuty. If you want to [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), use a pubsubTopic and configure [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).
	MonitoringNotificationChannels []string `pulumi:"monitoringNotificationChannels"`
	// Optional. The name of the Pub/Sub topic where budget-related messages are published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent to the topic at regular intervals; the timing of the updates is not dependent on the [threshold rules](#thresholdrule) you've set. Note that if you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) to contain data for `alertThresholdExceeded`, you need at least one [alert threshold rule](#thresholdrule). When you set threshold rules, you must also enable at least one of the email notification options, either using the default IAM recipients or Cloud Monitoring email notification channels. To use Pub/Sub topics with budgets, you must do the following: 1. Create the Pub/Sub topic before connecting it to your budget. For guidance, see [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For additional details on Pub/Sub roles and permissions, see [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task).
	PubsubTopic string `pulumi:"pubsubTopic"`
	// Optional. Required when NotificationsRule.pubsub_topic is set. The schema version of the notification sent to NotificationsRule.pubsub_topic. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.
	SchemaVersion string `pulumi:"schemaVersion"`
}

NotificationsRule defines notifications that are sent based on budget spend and thresholds.

type GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput

type GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput struct{ *pulumi.OutputState }

NotificationsRule defines notifications that are sent based on budget spend and thresholds.

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) DisableDefaultIamRecipients

Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account.

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) EnableProjectLevelRecipients added in v0.32.0

Optional. When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with `Owner` role on a cloud project.

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) MonitoringNotificationChannels

Optional. Email targets to send notifications to when a threshold is exceeded. This is in addition to the `DefaultIamRecipients` who receive alert emails based on their billing account IAM role. The value is the full REST resource name of a Cloud Monitoring email notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 email notifications are allowed. To customize budget alert email recipients with monitoring notification channels, you _must create the monitoring notification channels before you link them to a budget_. For guidance on setting up notification channels to use with budgets, see [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). For Cloud Billing budget alerts, you _must use email notification channels_. The other types of notification channels are _not_ supported, such as Slack, SMS, or PagerDuty. If you want to [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), use a pubsubTopic and configure [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) PubsubTopic

Optional. The name of the Pub/Sub topic where budget-related messages are published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent to the topic at regular intervals; the timing of the updates is not dependent on the [threshold rules](#thresholdrule) you've set. Note that if you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) to contain data for `alertThresholdExceeded`, you need at least one [alert threshold rule](#thresholdrule). When you set threshold rules, you must also enable at least one of the email notification options, either using the default IAM recipients or Cloud Monitoring email notification channels. To use Pub/Sub topics with budgets, you must do the following: 1. Create the Pub/Sub topic before connecting it to your budget. For guidance, see [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For additional details on Pub/Sub roles and permissions, see [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task).

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) SchemaVersion

Optional. Required when NotificationsRule.pubsub_topic is set. The schema version of the notification sent to NotificationsRule.pubsub_topic. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) ToGoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput

func (GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) ToGoogleCloudBillingBudgetsV1NotificationsRuleResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) ToGoogleCloudBillingBudgetsV1NotificationsRuleResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput

type GoogleCloudBillingBudgetsV1ThresholdRule

type GoogleCloudBillingBudgetsV1ThresholdRule struct {
	// Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
	SpendBasis *GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis `pulumi:"spendBasis"`
	// Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.
	ThresholdPercent float64 `pulumi:"thresholdPercent"`
}

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).

type GoogleCloudBillingBudgetsV1ThresholdRuleArgs

type GoogleCloudBillingBudgetsV1ThresholdRuleArgs struct {
	// Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
	SpendBasis GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrInput `pulumi:"spendBasis"`
	// Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.
	ThresholdPercent pulumi.Float64Input `pulumi:"thresholdPercent"`
}

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).

func (GoogleCloudBillingBudgetsV1ThresholdRuleArgs) ElementType

func (GoogleCloudBillingBudgetsV1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutput

func (i GoogleCloudBillingBudgetsV1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutput() GoogleCloudBillingBudgetsV1ThresholdRuleOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutputWithContext

func (i GoogleCloudBillingBudgetsV1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleArray

type GoogleCloudBillingBudgetsV1ThresholdRuleArray []GoogleCloudBillingBudgetsV1ThresholdRuleInput

func (GoogleCloudBillingBudgetsV1ThresholdRuleArray) ElementType

func (GoogleCloudBillingBudgetsV1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput

func (i GoogleCloudBillingBudgetsV1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput() GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutputWithContext

func (i GoogleCloudBillingBudgetsV1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleArrayInput

type GoogleCloudBillingBudgetsV1ThresholdRuleArrayInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput() GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput
	ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput
}

GoogleCloudBillingBudgetsV1ThresholdRuleArrayInput is an input type that accepts GoogleCloudBillingBudgetsV1ThresholdRuleArray and GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1ThresholdRuleArrayInput` via:

GoogleCloudBillingBudgetsV1ThresholdRuleArray{ GoogleCloudBillingBudgetsV1ThresholdRuleArgs{...} }

type GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) ElementType

func (GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) Index

func (GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput

func (o GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput() GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutputWithContext

func (o GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleInput

type GoogleCloudBillingBudgetsV1ThresholdRuleInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1ThresholdRuleOutput() GoogleCloudBillingBudgetsV1ThresholdRuleOutput
	ToGoogleCloudBillingBudgetsV1ThresholdRuleOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleOutput
}

GoogleCloudBillingBudgetsV1ThresholdRuleInput is an input type that accepts GoogleCloudBillingBudgetsV1ThresholdRuleArgs and GoogleCloudBillingBudgetsV1ThresholdRuleOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1ThresholdRuleInput` via:

GoogleCloudBillingBudgetsV1ThresholdRuleArgs{...}

type GoogleCloudBillingBudgetsV1ThresholdRuleOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleOutput struct{ *pulumi.OutputState }

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).

func (GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ElementType

func (GoogleCloudBillingBudgetsV1ThresholdRuleOutput) SpendBasis

Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.

func (GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ThresholdPercent

Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.

func (GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutput

func (o GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutput() GoogleCloudBillingBudgetsV1ThresholdRuleOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutputWithContext

func (o GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleResponse

type GoogleCloudBillingBudgetsV1ThresholdRuleResponse struct {
	// Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
	SpendBasis string `pulumi:"spendBasis"`
	// Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.
	ThresholdPercent float64 `pulumi:"thresholdPercent"`
}

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).

type GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) ElementType

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) Index

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutputWithContext

func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput struct{ *pulumi.OutputState }

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).

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) SpendBasis

Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) ThresholdPercent

Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis added in v0.4.0

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis string

Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ElementType added in v0.4.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput() GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput() GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToStringOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToStringOutputWithContext added in v0.4.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToStringPtrOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) ToStringPtrOutputWithContext added in v0.4.0

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisInput added in v0.6.0

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput() GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput
	ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput
}

GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisInput is an input type that accepts GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisArgs and GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisInput` via:

GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisArgs{...}

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToStringOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToStringOutputWithContext added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrInput added in v0.6.0

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput() GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput
	ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput
}

func GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtr added in v0.6.0

func GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtr(v string) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrInput

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) Elem added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleTypeDate

type GoogleTypeDate struct {
	// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
	Day *int `pulumi:"day"`
	// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
	Month *int `pulumi:"month"`
	// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
	Year *int `pulumi:"year"`
}

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

type GoogleTypeDateArgs

type GoogleTypeDateArgs struct {
	// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
	Day pulumi.IntPtrInput `pulumi:"day"`
	// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
	Month pulumi.IntPtrInput `pulumi:"month"`
	// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
	Year pulumi.IntPtrInput `pulumi:"year"`
}

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

func (GoogleTypeDateArgs) ElementType

func (GoogleTypeDateArgs) ElementType() reflect.Type

func (GoogleTypeDateArgs) ToGoogleTypeDateOutput

func (i GoogleTypeDateArgs) ToGoogleTypeDateOutput() GoogleTypeDateOutput

func (GoogleTypeDateArgs) ToGoogleTypeDateOutputWithContext

func (i GoogleTypeDateArgs) ToGoogleTypeDateOutputWithContext(ctx context.Context) GoogleTypeDateOutput

func (GoogleTypeDateArgs) ToGoogleTypeDatePtrOutput

func (i GoogleTypeDateArgs) ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput

func (GoogleTypeDateArgs) ToGoogleTypeDatePtrOutputWithContext

func (i GoogleTypeDateArgs) ToGoogleTypeDatePtrOutputWithContext(ctx context.Context) GoogleTypeDatePtrOutput

type GoogleTypeDateInput

type GoogleTypeDateInput interface {
	pulumi.Input

	ToGoogleTypeDateOutput() GoogleTypeDateOutput
	ToGoogleTypeDateOutputWithContext(context.Context) GoogleTypeDateOutput
}

GoogleTypeDateInput is an input type that accepts GoogleTypeDateArgs and GoogleTypeDateOutput values. You can construct a concrete instance of `GoogleTypeDateInput` via:

GoogleTypeDateArgs{...}

type GoogleTypeDateOutput

type GoogleTypeDateOutput struct{ *pulumi.OutputState }

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

func (GoogleTypeDateOutput) Day

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

func (GoogleTypeDateOutput) ElementType

func (GoogleTypeDateOutput) ElementType() reflect.Type

func (GoogleTypeDateOutput) Month

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

func (GoogleTypeDateOutput) ToGoogleTypeDateOutput

func (o GoogleTypeDateOutput) ToGoogleTypeDateOutput() GoogleTypeDateOutput

func (GoogleTypeDateOutput) ToGoogleTypeDateOutputWithContext

func (o GoogleTypeDateOutput) ToGoogleTypeDateOutputWithContext(ctx context.Context) GoogleTypeDateOutput

func (GoogleTypeDateOutput) ToGoogleTypeDatePtrOutput

func (o GoogleTypeDateOutput) ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput

func (GoogleTypeDateOutput) ToGoogleTypeDatePtrOutputWithContext

func (o GoogleTypeDateOutput) ToGoogleTypeDatePtrOutputWithContext(ctx context.Context) GoogleTypeDatePtrOutput

func (GoogleTypeDateOutput) Year

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

type GoogleTypeDatePtrInput

type GoogleTypeDatePtrInput interface {
	pulumi.Input

	ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput
	ToGoogleTypeDatePtrOutputWithContext(context.Context) GoogleTypeDatePtrOutput
}

GoogleTypeDatePtrInput is an input type that accepts GoogleTypeDateArgs, GoogleTypeDatePtr and GoogleTypeDatePtrOutput values. You can construct a concrete instance of `GoogleTypeDatePtrInput` via:

        GoogleTypeDateArgs{...}

or:

        nil

type GoogleTypeDatePtrOutput

type GoogleTypeDatePtrOutput struct{ *pulumi.OutputState }

func (GoogleTypeDatePtrOutput) Day

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

func (GoogleTypeDatePtrOutput) Elem

func (GoogleTypeDatePtrOutput) ElementType

func (GoogleTypeDatePtrOutput) ElementType() reflect.Type

func (GoogleTypeDatePtrOutput) Month

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

func (GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutput

func (o GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput

func (GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutputWithContext

func (o GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutputWithContext(ctx context.Context) GoogleTypeDatePtrOutput

func (GoogleTypeDatePtrOutput) Year

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

type GoogleTypeDateResponse

type GoogleTypeDateResponse struct {
	// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
	Day int `pulumi:"day"`
	// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
	Month int `pulumi:"month"`
	// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
	Year int `pulumi:"year"`
}

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

type GoogleTypeDateResponseOutput

type GoogleTypeDateResponseOutput struct{ *pulumi.OutputState }

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

func (GoogleTypeDateResponseOutput) Day

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

func (GoogleTypeDateResponseOutput) ElementType

func (GoogleTypeDateResponseOutput) Month

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

func (GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutput

func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutput() GoogleTypeDateResponseOutput

func (GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext

func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext(ctx context.Context) GoogleTypeDateResponseOutput

func (GoogleTypeDateResponseOutput) Year

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

type GoogleTypeMoney

type GoogleTypeMoney struct {
	// The three-letter currency code defined in ISO 4217.
	CurrencyCode *string `pulumi:"currencyCode"`
	// Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
	Nanos *int `pulumi:"nanos"`
	// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
	Units *string `pulumi:"units"`
}

Represents an amount of money with its currency type.

type GoogleTypeMoneyArgs

type GoogleTypeMoneyArgs struct {
	// The three-letter currency code defined in ISO 4217.
	CurrencyCode pulumi.StringPtrInput `pulumi:"currencyCode"`
	// Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
	Nanos pulumi.IntPtrInput `pulumi:"nanos"`
	// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
	Units pulumi.StringPtrInput `pulumi:"units"`
}

Represents an amount of money with its currency type.

func (GoogleTypeMoneyArgs) ElementType

func (GoogleTypeMoneyArgs) ElementType() reflect.Type

func (GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutput

func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutput() GoogleTypeMoneyOutput

func (GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutputWithContext

func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutputWithContext(ctx context.Context) GoogleTypeMoneyOutput

func (GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutput

func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput

func (GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutputWithContext

func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutputWithContext(ctx context.Context) GoogleTypeMoneyPtrOutput

type GoogleTypeMoneyInput

type GoogleTypeMoneyInput interface {
	pulumi.Input

	ToGoogleTypeMoneyOutput() GoogleTypeMoneyOutput
	ToGoogleTypeMoneyOutputWithContext(context.Context) GoogleTypeMoneyOutput
}

GoogleTypeMoneyInput is an input type that accepts GoogleTypeMoneyArgs and GoogleTypeMoneyOutput values. You can construct a concrete instance of `GoogleTypeMoneyInput` via:

GoogleTypeMoneyArgs{...}

type GoogleTypeMoneyOutput

type GoogleTypeMoneyOutput struct{ *pulumi.OutputState }

Represents an amount of money with its currency type.

func (GoogleTypeMoneyOutput) CurrencyCode

func (o GoogleTypeMoneyOutput) CurrencyCode() pulumi.StringPtrOutput

The three-letter currency code defined in ISO 4217.

func (GoogleTypeMoneyOutput) ElementType

func (GoogleTypeMoneyOutput) ElementType() reflect.Type

func (GoogleTypeMoneyOutput) Nanos

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.

func (GoogleTypeMoneyOutput) ToGoogleTypeMoneyOutput

func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyOutput() GoogleTypeMoneyOutput

func (GoogleTypeMoneyOutput) ToGoogleTypeMoneyOutputWithContext

func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyOutputWithContext(ctx context.Context) GoogleTypeMoneyOutput

func (GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutput

func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput

func (GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutputWithContext

func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx context.Context) GoogleTypeMoneyPtrOutput

func (GoogleTypeMoneyOutput) Units

The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.

type GoogleTypeMoneyPtrInput

type GoogleTypeMoneyPtrInput interface {
	pulumi.Input

	ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput
	ToGoogleTypeMoneyPtrOutputWithContext(context.Context) GoogleTypeMoneyPtrOutput
}

GoogleTypeMoneyPtrInput is an input type that accepts GoogleTypeMoneyArgs, GoogleTypeMoneyPtr and GoogleTypeMoneyPtrOutput values. You can construct a concrete instance of `GoogleTypeMoneyPtrInput` via:

        GoogleTypeMoneyArgs{...}

or:

        nil

type GoogleTypeMoneyPtrOutput

type GoogleTypeMoneyPtrOutput struct{ *pulumi.OutputState }

func (GoogleTypeMoneyPtrOutput) CurrencyCode

The three-letter currency code defined in ISO 4217.

func (GoogleTypeMoneyPtrOutput) Elem

func (GoogleTypeMoneyPtrOutput) ElementType

func (GoogleTypeMoneyPtrOutput) ElementType() reflect.Type

func (GoogleTypeMoneyPtrOutput) Nanos

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.

func (GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutput

func (o GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput

func (GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutputWithContext

func (o GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx context.Context) GoogleTypeMoneyPtrOutput

func (GoogleTypeMoneyPtrOutput) Units

The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.

type GoogleTypeMoneyResponse

type GoogleTypeMoneyResponse struct {
	// The three-letter currency code defined in ISO 4217.
	CurrencyCode string `pulumi:"currencyCode"`
	// Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
	Nanos int `pulumi:"nanos"`
	// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
	Units string `pulumi:"units"`
}

Represents an amount of money with its currency type.

type GoogleTypeMoneyResponseOutput

type GoogleTypeMoneyResponseOutput struct{ *pulumi.OutputState }

Represents an amount of money with its currency type.

func (GoogleTypeMoneyResponseOutput) CurrencyCode

The three-letter currency code defined in ISO 4217.

func (GoogleTypeMoneyResponseOutput) ElementType

func (GoogleTypeMoneyResponseOutput) Nanos

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.

func (GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutput

func (o GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutput() GoogleTypeMoneyResponseOutput

func (GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutputWithContext

func (o GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutputWithContext(ctx context.Context) GoogleTypeMoneyResponseOutput

func (GoogleTypeMoneyResponseOutput) Units

The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.

type LookupBudgetArgs added in v0.4.0

type LookupBudgetArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	BudgetId         string `pulumi:"budgetId"`
}

type LookupBudgetOutputArgs added in v0.8.0

type LookupBudgetOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	BudgetId         pulumi.StringInput `pulumi:"budgetId"`
}

func (LookupBudgetOutputArgs) ElementType added in v0.8.0

func (LookupBudgetOutputArgs) ElementType() reflect.Type

type LookupBudgetResult added in v0.4.0

type LookupBudgetResult struct {
	// Budgeted amount.
	Amount GoogleCloudBillingBudgetsV1BudgetAmountResponse `pulumi:"amount"`
	// Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.
	BudgetFilter GoogleCloudBillingBudgetsV1FilterResponse `pulumi:"budgetFilter"`
	// User data for display name in UI. The name must be less than or equal to 60 characters.
	DisplayName string `pulumi:"displayName"`
	// Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.
	Etag string `pulumi:"etag"`
	// Resource name of the budget. The resource name implies the scope of a budget. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.
	Name string `pulumi:"name"`
	// Optional. Rules to apply to notifications sent based on budget spend and thresholds.
	NotificationsRule GoogleCloudBillingBudgetsV1NotificationsRuleResponse `pulumi:"notificationsRule"`
	OwnershipScope    string                                               `pulumi:"ownershipScope"`
	// Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.
	ThresholdRules []GoogleCloudBillingBudgetsV1ThresholdRuleResponse `pulumi:"thresholdRules"`
}

func LookupBudget added in v0.4.0

func LookupBudget(ctx *pulumi.Context, args *LookupBudgetArgs, opts ...pulumi.InvokeOption) (*LookupBudgetResult, error)

Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.

type LookupBudgetResultOutput added in v0.8.0

type LookupBudgetResultOutput struct{ *pulumi.OutputState }

func LookupBudgetOutput added in v0.8.0

func LookupBudgetOutput(ctx *pulumi.Context, args LookupBudgetOutputArgs, opts ...pulumi.InvokeOption) LookupBudgetResultOutput

func (LookupBudgetResultOutput) Amount added in v0.8.0

Budgeted amount.

func (LookupBudgetResultOutput) BudgetFilter added in v0.8.0

Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.

func (LookupBudgetResultOutput) DisplayName added in v0.8.0

User data for display name in UI. The name must be less than or equal to 60 characters.

func (LookupBudgetResultOutput) ElementType added in v0.8.0

func (LookupBudgetResultOutput) ElementType() reflect.Type

func (LookupBudgetResultOutput) Etag added in v0.8.0

Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.

func (LookupBudgetResultOutput) Name added in v0.8.0

Resource name of the budget. The resource name implies the scope of a budget. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.

func (LookupBudgetResultOutput) NotificationsRule added in v0.8.0

Optional. Rules to apply to notifications sent based on budget spend and thresholds.

func (LookupBudgetResultOutput) OwnershipScope added in v0.32.0

func (o LookupBudgetResultOutput) OwnershipScope() pulumi.StringOutput

func (LookupBudgetResultOutput) ThresholdRules added in v0.8.0

Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.

func (LookupBudgetResultOutput) ToLookupBudgetResultOutput added in v0.8.0

func (o LookupBudgetResultOutput) ToLookupBudgetResultOutput() LookupBudgetResultOutput

func (LookupBudgetResultOutput) ToLookupBudgetResultOutputWithContext added in v0.8.0

func (o LookupBudgetResultOutput) ToLookupBudgetResultOutputWithContext(ctx context.Context) LookupBudgetResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL