v1beta1

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")
	// The Budget is fully accessible to both billing account users and resource users, provided that they have the required IAM permissions.
	BudgetOwnershipScopeAllUsers = BudgetOwnershipScope("ALL_USERS")
	// Only billing account users have full access to the `Budget`, resource-level users have read-only access, provided that 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).
	GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodCalendarPeriodUnspecified = GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod("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.
	GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodMonth = GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod("MONTH")
	// A quarter. Quarters start on dates January 1, April 1, July 1, and October 1 of each year.
	GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodQuarter = GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod("QUARTER")
	// A year. Year starts on January 1.
	GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodYear = GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod("YEAR")
)
View Source
const (
	GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentCreditTypesTreatmentUnspecified = GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment("CREDIT_TYPES_TREATMENT_UNSPECIFIED")
	// All types of credit are subtracted from the gross cost to determine the spend for threshold calculations.
	GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentIncludeAllCredits = GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment("INCLUDE_ALL_CREDITS")
	// All types of credit are added to the net cost to determine the spend for threshold calculations.
	GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentExcludeAllCredits = GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment("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.
	GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentIncludeSpecifiedCredits = GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment("INCLUDE_SPECIFIED_CREDITS")
)
View Source
const (
	// Unspecified threshold basis.
	GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisBasisUnspecified = GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis("BASIS_UNSPECIFIED")
	// Use current spend as the basis for comparison against the threshold.
	GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisCurrentSpend = GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis("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.
	GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisForecastedSpend = GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis("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

	// Optional. Rules to apply to notifications sent based on budget spend and thresholds.
	AllUpdatesRule GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput `pulumi:"allUpdatesRule"`
	// Budgeted amount.
	Amount           GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput `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 GoogleCloudBillingBudgetsV1beta1FilterResponseOutput `pulumi:"budgetFilter"`
	// User data for display name in UI. Validation: <= 60 chars.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause 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"`
	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 GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput `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 {
	// Optional. Rules to apply to notifications sent based on budget spend and thresholds.
	AllUpdatesRule GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrInput
	// Budgeted amount.
	Amount           GoogleCloudBillingBudgetsV1beta1BudgetAmountInput
	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 GoogleCloudBillingBudgetsV1beta1FilterPtrInput
	// User data for display name in UI. Validation: <= 60 chars.
	DisplayName pulumi.StringPtrInput
	// Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes.
	Etag           pulumi.StringPtrInput
	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 GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayInput
}

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) AllUpdatesRule added in v0.19.0

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

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. Validation: <= 60 chars.

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 will cause 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) 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 GoogleCloudBillingBudgetsV1beta1AllUpdatesRule

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRule 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. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.
	MonitoringNotificationChannels []string `pulumi:"monitoringNotificationChannels"`
	// Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task for more details on Pub/Sub roles and permissions.
	PubsubTopic *string `pulumi:"pubsubTopic"`
	// Optional. Required when AllUpdatesRule.pubsub_topic is set. The schema version of the notification sent to AllUpdatesRule.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"`
}

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

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs 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. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.
	MonitoringNotificationChannels pulumi.StringArrayInput `pulumi:"monitoringNotificationChannels"`
	// Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task for more details on Pub/Sub roles and permissions.
	PubsubTopic pulumi.StringPtrInput `pulumi:"pubsubTopic"`
	// Optional. Required when AllUpdatesRule.pubsub_topic is set. The schema version of the notification sent to AllUpdatesRule.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"`
}

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

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ElementType

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput

func (i GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput() GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

func (i GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput() GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleInput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput() GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput
	ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput
}

GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs and GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleInput` via:

GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs{...}

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) 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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) 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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) MonitoringNotificationChannels

Optional. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) PubsubTopic

Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task for more details on Pub/Sub roles and permissions.

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) SchemaVersion

Optional. Required when AllUpdatesRule.pubsub_topic is set. The schema version of the notification sent to AllUpdatesRule.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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput() GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrInput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput() GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput
	ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput
}

GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs, GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtr and GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrInput` via:

        GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) 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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) Elem

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) 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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) MonitoringNotificationChannels

Optional. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) PubsubTopic

Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task for more details on Pub/Sub roles and permissions.

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) SchemaVersion

Optional. Required when AllUpdatesRule.pubsub_topic is set. The schema version of the notification sent to AllUpdatesRule.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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse 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. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.
	MonitoringNotificationChannels []string `pulumi:"monitoringNotificationChannels"`
	// Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task for more details on Pub/Sub roles and permissions.
	PubsubTopic string `pulumi:"pubsubTopic"`
	// Optional. Required when AllUpdatesRule.pubsub_topic is set. The schema version of the notification sent to AllUpdatesRule.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"`
}

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

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput

type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) MonitoringNotificationChannels

Optional. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) PubsubTopic

Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task for more details on Pub/Sub roles and permissions.

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) SchemaVersion

Optional. Required when AllUpdatesRule.pubsub_topic is set. The schema version of the notification sent to AllUpdatesRule.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 (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput

func (GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput

type GoogleCloudBillingBudgetsV1beta1BudgetAmount

type GoogleCloudBillingBudgetsV1beta1BudgetAmount 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 *GoogleCloudBillingBudgetsV1beta1LastPeriodAmount `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 GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs

type GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs 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 GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrInput `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 (GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs) ElementType

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutput

func (i GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutput() GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput

type GoogleCloudBillingBudgetsV1beta1BudgetAmountInput

type GoogleCloudBillingBudgetsV1beta1BudgetAmountInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutput() GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput
	ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput
}

GoogleCloudBillingBudgetsV1beta1BudgetAmountInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs and GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1BudgetAmountInput` via:

GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs{...}

type GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput

type GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput struct{ *pulumi.OutputState }

The budgeted amount for each usage period.

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) 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 (GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) 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 (GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutput

func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutput() GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput

type GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse

type GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse 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 GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponse `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 GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput

type GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput struct{ *pulumi.OutputState }

The budgeted amount for each usage period.

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput

func (GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) ToGoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput

type GoogleCloudBillingBudgetsV1beta1CustomPeriod

type GoogleCloudBillingBudgetsV1beta1CustomPeriod 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 GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs

type GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs 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 (GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ElementType

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutput

func (i GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutput() GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

func (i GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodInput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutput() GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput
	ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput
}

GoogleCloudBillingBudgetsV1beta1CustomPeriodInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs and GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1CustomPeriodInput` via:

GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs{...}

type GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) 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 (GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) StartDate

The start date must be after January 1, 2017.

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutput

func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutput() GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrInput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput
	ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput
}

GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs, GoogleCloudBillingBudgetsV1beta1CustomPeriodPtr and GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrInput` via:

        GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) Elem

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) 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 (GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) StartDate

The start date must be after January 1, 2017.

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodResponse

type GoogleCloudBillingBudgetsV1beta1CustomPeriodResponse 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 GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput

type GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) StartDate

The start date must be after January 1, 2017.

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput

func (GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput

type GoogleCloudBillingBudgetsV1beta1Filter

type GoogleCloudBillingBudgetsV1beta1Filter struct {
	// Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on.
	CalendarPeriod *GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod `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 *GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment `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 *GoogleCloudBillingBudgetsV1beta1CustomPeriod `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 will include 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 will include 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 will include 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 will be included. If omitted, the report will include 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 GoogleCloudBillingBudgetsV1beta1FilterArgs

type GoogleCloudBillingBudgetsV1beta1FilterArgs struct {
	// Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on.
	CalendarPeriod GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrInput `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 GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrInput `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 GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrInput `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 will include 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 will include 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 will include 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 will be included. If omitted, the report will include 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 (GoogleCloudBillingBudgetsV1beta1FilterArgs) ElementType

func (GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterOutput

func (i GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterOutput() GoogleCloudBillingBudgetsV1beta1FilterOutput

func (GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterOutput

func (GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput

func (i GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterPtrOutput

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod added in v0.4.0

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod string

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

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ElementType added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput() GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToStringOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToStringOutputWithContext added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToStringPtrOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) ToStringPtrOutputWithContext added in v0.4.0

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodInput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput() GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput
	ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput
}

GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodArgs and GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodInput` via:

GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodArgs{...}

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToStringOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToStringOutputWithContext added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrInput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput
	ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput
}

func GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtr added in v0.6.0

func GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtr(v string) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrInput

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) Elem added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment added in v0.4.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment string

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

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ElementType added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToStringOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToStringOutputWithContext added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToStringPtrOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) ToStringPtrOutputWithContext added in v0.4.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentInput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput() GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput
	ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput
}

GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentArgs and GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentInput` via:

GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentArgs{...}

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToStringOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToStringOutputWithContext added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrInput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput
	ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput
}

func GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtr added in v0.6.0

func GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtr(v string) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrInput

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) Elem added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1FilterInput

type GoogleCloudBillingBudgetsV1beta1FilterInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1FilterOutput() GoogleCloudBillingBudgetsV1beta1FilterOutput
	ToGoogleCloudBillingBudgetsV1beta1FilterOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1FilterOutput
}

GoogleCloudBillingBudgetsV1beta1FilterInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1FilterArgs and GoogleCloudBillingBudgetsV1beta1FilterOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1FilterInput` via:

GoogleCloudBillingBudgetsV1beta1FilterArgs{...}

type GoogleCloudBillingBudgetsV1beta1FilterOutput

type GoogleCloudBillingBudgetsV1beta1FilterOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) CalendarPeriod

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

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterOutput) CreditTypesTreatment

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

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) 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 will include 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 (GoogleCloudBillingBudgetsV1beta1FilterOutput) 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 will include all usage for the billing account, regardless of which project the usage occurred on.

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterOutput) 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 will include 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 (GoogleCloudBillingBudgetsV1beta1FilterOutput) 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 will be included. If omitted, the report will include usage from the parent account and all subaccounts, if they exist.

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterOutput

func (o GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterOutput() GoogleCloudBillingBudgetsV1beta1FilterOutput

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterOutput

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput

func (o GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterPtrOutput

type GoogleCloudBillingBudgetsV1beta1FilterPtrInput

type GoogleCloudBillingBudgetsV1beta1FilterPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterPtrOutput
	ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1FilterPtrOutput
}

GoogleCloudBillingBudgetsV1beta1FilterPtrInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1FilterArgs, GoogleCloudBillingBudgetsV1beta1FilterPtr and GoogleCloudBillingBudgetsV1beta1FilterPtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1FilterPtrInput` via:

        GoogleCloudBillingBudgetsV1beta1FilterArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1beta1FilterPtrOutput

type GoogleCloudBillingBudgetsV1beta1FilterPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) CalendarPeriod

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

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) CreditTypesTreatment

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

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) Elem

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) 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 will include 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 (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) 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 will include all usage for the billing account, regardless of which project the usage occurred on.

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) 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 will include 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 (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) 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 will be included. If omitted, the report will include usage from the parent account and all subaccounts, if they exist.

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput

func (o GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterPtrOutput

func (GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterPtrOutput

type GoogleCloudBillingBudgetsV1beta1FilterResponse

type GoogleCloudBillingBudgetsV1beta1FilterResponse struct {
	// Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track 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 GoogleCloudBillingBudgetsV1beta1CustomPeriodResponse `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 will include 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 will include 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 will include 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 will be included. If omitted, the report will include 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 GoogleCloudBillingBudgetsV1beta1FilterResponseOutput

type GoogleCloudBillingBudgetsV1beta1FilterResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) CalendarPeriod

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

func (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) CreditTypesTreatment

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

func (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) 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 will include 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 (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) 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 will include all usage for the billing account, regardless of which project the usage occurred on.

func (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) 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 will include 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 (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) 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 will be included. If omitted, the report will include usage from the parent account and all subaccounts, if they exist.

func (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) ToGoogleCloudBillingBudgetsV1beta1FilterResponseOutput

func (GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) ToGoogleCloudBillingBudgetsV1beta1FilterResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) ToGoogleCloudBillingBudgetsV1beta1FilterResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1FilterResponseOutput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmount

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmount 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. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs 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. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ElementType

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput

func (i GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

func (i GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountInput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput
	ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput
}

GoogleCloudBillingBudgetsV1beta1LastPeriodAmountInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs and GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1LastPeriodAmountInput` via:

GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs{...}

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput 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. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrInput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput
	ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput
}

GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs, GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtr and GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrInput` via:

        GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs{...}

or:

        nil

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) Elem

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponse

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponse 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. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput

type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput 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. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput

func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRule

type GoogleCloudBillingBudgetsV1beta1ThresholdRule struct {
	// Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
	SpendBasis *GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis `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 GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs struct {
	// Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
	SpendBasis GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrInput `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 (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs) ElementType

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput

func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray []GoogleCloudBillingBudgetsV1beta1ThresholdRuleInput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray) ElementType

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput

func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutputWithContext

func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayInput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput
	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput
}

GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray and GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayInput` via:

GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray{ GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs{...} }

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) Index

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleInput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput
	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput
}

GoogleCloudBillingBudgetsV1beta1ThresholdRuleInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs and GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1ThresholdRuleInput` via:

GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs{...}

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput 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 (GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) SpendBasis

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

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) 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 (GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse 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 GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) Index

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput 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 (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) ElementType

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) SpendBasis

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

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) 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 (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutputWithContext

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis added in v0.4.0

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis string

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

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ElementType added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext added in v0.6.0

func (e GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToStringOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToStringOutputWithContext added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToStringPtrOutput added in v0.4.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) ToStringPtrOutputWithContext added in v0.4.0

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisInput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput
	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput
}

GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisArgs and GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput values. You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisInput` via:

GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisArgs{...}

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToStringOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToStringOutputWithContext added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrInput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrInput interface {
	pulumi.Input

	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput() GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput
	ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext(context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput
}

func GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtr added in v0.6.0

func GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtr(v string) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrInput

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) Elem added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) ElementType added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext added in v0.6.0

func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext(ctx context.Context) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) 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 {
	// Optional. Rules to apply to notifications sent based on budget spend and thresholds.
	AllUpdatesRule GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse `pulumi:"allUpdatesRule"`
	// Budgeted amount.
	Amount GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse `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 GoogleCloudBillingBudgetsV1beta1FilterResponse `pulumi:"budgetFilter"`
	// User data for display name in UI. Validation: <= 60 chars.
	DisplayName string `pulumi:"displayName"`
	// Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause 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"`
	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 []GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse `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) AllUpdatesRule added in v0.8.0

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

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. Validation: <= 60 chars.

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 will cause 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) 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