v2

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 (
	// An unspecified format version that will default to V2.
	BillingAccountSinkOutputVersionFormatVersionFormatUnspecified = BillingAccountSinkOutputVersionFormat("VERSION_FORMAT_UNSPECIFIED")
	// LogEntry version 2 format.
	BillingAccountSinkOutputVersionFormatV2 = BillingAccountSinkOutputVersionFormat("V2")
	// LogEntry version 1 format.
	BillingAccountSinkOutputVersionFormatV1 = BillingAccountSinkOutputVersionFormat("V1")
)
View Source
const (
	// An unspecified format version that will default to V2.
	FolderSinkOutputVersionFormatVersionFormatUnspecified = FolderSinkOutputVersionFormat("VERSION_FORMAT_UNSPECIFIED")
	// LogEntry version 2 format.
	FolderSinkOutputVersionFormatV2 = FolderSinkOutputVersionFormat("V2")
	// LogEntry version 1 format.
	FolderSinkOutputVersionFormatV1 = FolderSinkOutputVersionFormat("V1")
)
View Source
const (
	// The index's type is unspecified.
	IndexConfigTypeIndexTypeUnspecified = IndexConfigType("INDEX_TYPE_UNSPECIFIED")
	// The index is a string-type index.
	IndexConfigTypeIndexTypeString = IndexConfigType("INDEX_TYPE_STRING")
	// The index is a integer-type index.
	IndexConfigTypeIndexTypeInteger = IndexConfigType("INDEX_TYPE_INTEGER")
)
View Source
const (
	// A variable-length string. This is the default.
	LabelDescriptorValueTypeString = LabelDescriptorValueType("STRING")
	// Boolean; true or false.
	LabelDescriptorValueTypeBool = LabelDescriptorValueType("BOOL")
	// A 64-bit signed integer.
	LabelDescriptorValueTypeInt64 = LabelDescriptorValueType("INT64")
)
View Source
const (
	// Do not use this default value.
	MetricDescriptorLaunchStageLaunchStageUnspecified = MetricDescriptorLaunchStage("LAUNCH_STAGE_UNSPECIFIED")
	// The feature is not yet implemented. Users can not use it.
	MetricDescriptorLaunchStageUnimplemented = MetricDescriptorLaunchStage("UNIMPLEMENTED")
	// Prelaunch features are hidden from users and are only visible internally.
	MetricDescriptorLaunchStagePrelaunch = MetricDescriptorLaunchStage("PRELAUNCH")
	// Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
	MetricDescriptorLaunchStageEarlyAccess = MetricDescriptorLaunchStage("EARLY_ACCESS")
	// Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
	MetricDescriptorLaunchStageAlpha = MetricDescriptorLaunchStage("ALPHA")
	// Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
	MetricDescriptorLaunchStageBeta = MetricDescriptorLaunchStage("BETA")
	// GA features are open to all developers and are considered stable and fully qualified for production use.
	MetricDescriptorLaunchStageGa = MetricDescriptorLaunchStage("GA")
	// Deprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation.
	MetricDescriptorLaunchStageDeprecated = MetricDescriptorLaunchStage("DEPRECATED")
)
View Source
const (
	// Do not use this default value.
	MetricDescriptorMetadataLaunchStageLaunchStageUnspecified = MetricDescriptorMetadataLaunchStage("LAUNCH_STAGE_UNSPECIFIED")
	// The feature is not yet implemented. Users can not use it.
	MetricDescriptorMetadataLaunchStageUnimplemented = MetricDescriptorMetadataLaunchStage("UNIMPLEMENTED")
	// Prelaunch features are hidden from users and are only visible internally.
	MetricDescriptorMetadataLaunchStagePrelaunch = MetricDescriptorMetadataLaunchStage("PRELAUNCH")
	// Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
	MetricDescriptorMetadataLaunchStageEarlyAccess = MetricDescriptorMetadataLaunchStage("EARLY_ACCESS")
	// Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.
	MetricDescriptorMetadataLaunchStageAlpha = MetricDescriptorMetadataLaunchStage("ALPHA")
	// Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
	MetricDescriptorMetadataLaunchStageBeta = MetricDescriptorMetadataLaunchStage("BETA")
	// GA features are open to all developers and are considered stable and fully qualified for production use.
	MetricDescriptorMetadataLaunchStageGa = MetricDescriptorMetadataLaunchStage("GA")
	// Deprecated features are scheduled to be shut down and removed. For more information, see the "Deprecation Policy" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation.
	MetricDescriptorMetadataLaunchStageDeprecated = MetricDescriptorMetadataLaunchStage("DEPRECATED")
)
View Source
const (
	// Do not use this default value.
	MetricDescriptorMetricKindMetricKindUnspecified = MetricDescriptorMetricKind("METRIC_KIND_UNSPECIFIED")
	// An instantaneous measurement of a value.
	MetricDescriptorMetricKindGauge = MetricDescriptorMetricKind("GAUGE")
	// The change in a value during a time interval.
	MetricDescriptorMetricKindDelta = MetricDescriptorMetricKind("DELTA")
	// A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.
	MetricDescriptorMetricKindCumulative = MetricDescriptorMetricKind("CUMULATIVE")
)
View Source
const (
	// Do not use this default value.
	MetricDescriptorValueTypeValueTypeUnspecified = MetricDescriptorValueType("VALUE_TYPE_UNSPECIFIED")
	// The value is a boolean. This value type can be used only if the metric kind is GAUGE.
	MetricDescriptorValueTypeBool = MetricDescriptorValueType("BOOL")
	// The value is a signed 64-bit integer.
	MetricDescriptorValueTypeInt64 = MetricDescriptorValueType("INT64")
	// The value is a double precision floating point number.
	MetricDescriptorValueTypeDouble = MetricDescriptorValueType("DOUBLE")
	// The value is a text string. This value type can be used only if the metric kind is GAUGE.
	MetricDescriptorValueTypeString = MetricDescriptorValueType("STRING")
	// The value is a Distribution.
	MetricDescriptorValueTypeDistribution = MetricDescriptorValueType("DISTRIBUTION")
	// The value is money.
	MetricDescriptorValueTypeMoney = MetricDescriptorValueType("MONEY")
)
View Source
const (
	// Logging API v2.
	MetricVersionV2 = MetricVersion("V2")
	// Logging API v1.
	MetricVersionV1 = MetricVersion("V1")
)
View Source
const (
	// An unspecified format version that will default to V2.
	OrganizationSinkOutputVersionFormatVersionFormatUnspecified = OrganizationSinkOutputVersionFormat("VERSION_FORMAT_UNSPECIFIED")
	// LogEntry version 2 format.
	OrganizationSinkOutputVersionFormatV2 = OrganizationSinkOutputVersionFormat("V2")
	// LogEntry version 1 format.
	OrganizationSinkOutputVersionFormatV1 = OrganizationSinkOutputVersionFormat("V1")
)
View Source
const (
	// An unspecified format version that will default to V2.
	SinkOutputVersionFormatVersionFormatUnspecified = SinkOutputVersionFormat("VERSION_FORMAT_UNSPECIFIED")
	// LogEntry version 2 format.
	SinkOutputVersionFormatV2 = SinkOutputVersionFormat("V2")
	// LogEntry version 1 format.
	SinkOutputVersionFormatV1 = SinkOutputVersionFormat("V1")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BigQueryDataset added in v0.29.0

type BigQueryDataset struct {
}

Describes a BigQuery dataset that was created by a link.

type BigQueryDatasetArgs added in v0.29.0

type BigQueryDatasetArgs struct {
}

Describes a BigQuery dataset that was created by a link.

func (BigQueryDatasetArgs) ElementType added in v0.29.0

func (BigQueryDatasetArgs) ElementType() reflect.Type

func (BigQueryDatasetArgs) ToBigQueryDatasetOutput added in v0.29.0

func (i BigQueryDatasetArgs) ToBigQueryDatasetOutput() BigQueryDatasetOutput

func (BigQueryDatasetArgs) ToBigQueryDatasetOutputWithContext added in v0.29.0

func (i BigQueryDatasetArgs) ToBigQueryDatasetOutputWithContext(ctx context.Context) BigQueryDatasetOutput

func (BigQueryDatasetArgs) ToBigQueryDatasetPtrOutput added in v0.29.0

func (i BigQueryDatasetArgs) ToBigQueryDatasetPtrOutput() BigQueryDatasetPtrOutput

func (BigQueryDatasetArgs) ToBigQueryDatasetPtrOutputWithContext added in v0.29.0

func (i BigQueryDatasetArgs) ToBigQueryDatasetPtrOutputWithContext(ctx context.Context) BigQueryDatasetPtrOutput

type BigQueryDatasetInput added in v0.29.0

type BigQueryDatasetInput interface {
	pulumi.Input

	ToBigQueryDatasetOutput() BigQueryDatasetOutput
	ToBigQueryDatasetOutputWithContext(context.Context) BigQueryDatasetOutput
}

BigQueryDatasetInput is an input type that accepts BigQueryDatasetArgs and BigQueryDatasetOutput values. You can construct a concrete instance of `BigQueryDatasetInput` via:

BigQueryDatasetArgs{...}

type BigQueryDatasetOutput added in v0.29.0

type BigQueryDatasetOutput struct{ *pulumi.OutputState }

Describes a BigQuery dataset that was created by a link.

func (BigQueryDatasetOutput) ElementType added in v0.29.0

func (BigQueryDatasetOutput) ElementType() reflect.Type

func (BigQueryDatasetOutput) ToBigQueryDatasetOutput added in v0.29.0

func (o BigQueryDatasetOutput) ToBigQueryDatasetOutput() BigQueryDatasetOutput

func (BigQueryDatasetOutput) ToBigQueryDatasetOutputWithContext added in v0.29.0

func (o BigQueryDatasetOutput) ToBigQueryDatasetOutputWithContext(ctx context.Context) BigQueryDatasetOutput

func (BigQueryDatasetOutput) ToBigQueryDatasetPtrOutput added in v0.29.0

func (o BigQueryDatasetOutput) ToBigQueryDatasetPtrOutput() BigQueryDatasetPtrOutput

func (BigQueryDatasetOutput) ToBigQueryDatasetPtrOutputWithContext added in v0.29.0

func (o BigQueryDatasetOutput) ToBigQueryDatasetPtrOutputWithContext(ctx context.Context) BigQueryDatasetPtrOutput

type BigQueryDatasetPtrInput added in v0.29.0

type BigQueryDatasetPtrInput interface {
	pulumi.Input

	ToBigQueryDatasetPtrOutput() BigQueryDatasetPtrOutput
	ToBigQueryDatasetPtrOutputWithContext(context.Context) BigQueryDatasetPtrOutput
}

BigQueryDatasetPtrInput is an input type that accepts BigQueryDatasetArgs, BigQueryDatasetPtr and BigQueryDatasetPtrOutput values. You can construct a concrete instance of `BigQueryDatasetPtrInput` via:

        BigQueryDatasetArgs{...}

or:

        nil

func BigQueryDatasetPtr added in v0.29.0

func BigQueryDatasetPtr(v *BigQueryDatasetArgs) BigQueryDatasetPtrInput

type BigQueryDatasetPtrOutput added in v0.29.0

type BigQueryDatasetPtrOutput struct{ *pulumi.OutputState }

func (BigQueryDatasetPtrOutput) Elem added in v0.29.0

func (BigQueryDatasetPtrOutput) ElementType added in v0.29.0

func (BigQueryDatasetPtrOutput) ElementType() reflect.Type

func (BigQueryDatasetPtrOutput) ToBigQueryDatasetPtrOutput added in v0.29.0

func (o BigQueryDatasetPtrOutput) ToBigQueryDatasetPtrOutput() BigQueryDatasetPtrOutput

func (BigQueryDatasetPtrOutput) ToBigQueryDatasetPtrOutputWithContext added in v0.29.0

func (o BigQueryDatasetPtrOutput) ToBigQueryDatasetPtrOutputWithContext(ctx context.Context) BigQueryDatasetPtrOutput

type BigQueryDatasetResponse added in v0.29.0

type BigQueryDatasetResponse struct {
	// The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).The dataset will have a resource path of "bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID"
	DatasetId string `pulumi:"datasetId"`
}

Describes a BigQuery dataset that was created by a link.

type BigQueryDatasetResponseOutput added in v0.29.0

type BigQueryDatasetResponseOutput struct{ *pulumi.OutputState }

Describes a BigQuery dataset that was created by a link.

func (BigQueryDatasetResponseOutput) DatasetId added in v0.29.0

The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).The dataset will have a resource path of "bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID"

func (BigQueryDatasetResponseOutput) ElementType added in v0.29.0

func (BigQueryDatasetResponseOutput) ToBigQueryDatasetResponseOutput added in v0.29.0

func (o BigQueryDatasetResponseOutput) ToBigQueryDatasetResponseOutput() BigQueryDatasetResponseOutput

func (BigQueryDatasetResponseOutput) ToBigQueryDatasetResponseOutputWithContext added in v0.29.0

func (o BigQueryDatasetResponseOutput) ToBigQueryDatasetResponseOutputWithContext(ctx context.Context) BigQueryDatasetResponseOutput

type BigQueryOptions

type BigQueryOptions struct {
	// Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.
	UsePartitionedTables *bool `pulumi:"usePartitionedTables"`
}

Options that change functionality of a sink exporting data to BigQuery.

type BigQueryOptionsArgs

type BigQueryOptionsArgs struct {
	// Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.
	UsePartitionedTables pulumi.BoolPtrInput `pulumi:"usePartitionedTables"`
}

Options that change functionality of a sink exporting data to BigQuery.

func (BigQueryOptionsArgs) ElementType

func (BigQueryOptionsArgs) ElementType() reflect.Type

func (BigQueryOptionsArgs) ToBigQueryOptionsOutput

func (i BigQueryOptionsArgs) ToBigQueryOptionsOutput() BigQueryOptionsOutput

func (BigQueryOptionsArgs) ToBigQueryOptionsOutputWithContext

func (i BigQueryOptionsArgs) ToBigQueryOptionsOutputWithContext(ctx context.Context) BigQueryOptionsOutput

func (BigQueryOptionsArgs) ToBigQueryOptionsPtrOutput

func (i BigQueryOptionsArgs) ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput

func (BigQueryOptionsArgs) ToBigQueryOptionsPtrOutputWithContext

func (i BigQueryOptionsArgs) ToBigQueryOptionsPtrOutputWithContext(ctx context.Context) BigQueryOptionsPtrOutput

type BigQueryOptionsInput

type BigQueryOptionsInput interface {
	pulumi.Input

	ToBigQueryOptionsOutput() BigQueryOptionsOutput
	ToBigQueryOptionsOutputWithContext(context.Context) BigQueryOptionsOutput
}

BigQueryOptionsInput is an input type that accepts BigQueryOptionsArgs and BigQueryOptionsOutput values. You can construct a concrete instance of `BigQueryOptionsInput` via:

BigQueryOptionsArgs{...}

type BigQueryOptionsOutput

type BigQueryOptionsOutput struct{ *pulumi.OutputState }

Options that change functionality of a sink exporting data to BigQuery.

func (BigQueryOptionsOutput) ElementType

func (BigQueryOptionsOutput) ElementType() reflect.Type

func (BigQueryOptionsOutput) ToBigQueryOptionsOutput

func (o BigQueryOptionsOutput) ToBigQueryOptionsOutput() BigQueryOptionsOutput

func (BigQueryOptionsOutput) ToBigQueryOptionsOutputWithContext

func (o BigQueryOptionsOutput) ToBigQueryOptionsOutputWithContext(ctx context.Context) BigQueryOptionsOutput

func (BigQueryOptionsOutput) ToBigQueryOptionsPtrOutput

func (o BigQueryOptionsOutput) ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput

func (BigQueryOptionsOutput) ToBigQueryOptionsPtrOutputWithContext

func (o BigQueryOptionsOutput) ToBigQueryOptionsPtrOutputWithContext(ctx context.Context) BigQueryOptionsPtrOutput

func (BigQueryOptionsOutput) UsePartitionedTables

func (o BigQueryOptionsOutput) UsePartitionedTables() pulumi.BoolPtrOutput

Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.

type BigQueryOptionsPtrInput

type BigQueryOptionsPtrInput interface {
	pulumi.Input

	ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput
	ToBigQueryOptionsPtrOutputWithContext(context.Context) BigQueryOptionsPtrOutput
}

BigQueryOptionsPtrInput is an input type that accepts BigQueryOptionsArgs, BigQueryOptionsPtr and BigQueryOptionsPtrOutput values. You can construct a concrete instance of `BigQueryOptionsPtrInput` via:

        BigQueryOptionsArgs{...}

or:

        nil

type BigQueryOptionsPtrOutput

type BigQueryOptionsPtrOutput struct{ *pulumi.OutputState }

func (BigQueryOptionsPtrOutput) Elem

func (BigQueryOptionsPtrOutput) ElementType

func (BigQueryOptionsPtrOutput) ElementType() reflect.Type

func (BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutput

func (o BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput

func (BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutputWithContext

func (o BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutputWithContext(ctx context.Context) BigQueryOptionsPtrOutput

func (BigQueryOptionsPtrOutput) UsePartitionedTables

func (o BigQueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolPtrOutput

Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.

type BigQueryOptionsResponse

type BigQueryOptionsResponse struct {
	// Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.
	UsePartitionedTables bool `pulumi:"usePartitionedTables"`
	// True if new timestamp column based partitioning is in use, false if legacy ingress-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.
	UsesTimestampColumnPartitioning bool `pulumi:"usesTimestampColumnPartitioning"`
}

Options that change functionality of a sink exporting data to BigQuery.

type BigQueryOptionsResponseOutput

type BigQueryOptionsResponseOutput struct{ *pulumi.OutputState }

Options that change functionality of a sink exporting data to BigQuery.

func (BigQueryOptionsResponseOutput) ElementType

func (BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutput

func (o BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutput() BigQueryOptionsResponseOutput

func (BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutputWithContext

func (o BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutputWithContext(ctx context.Context) BigQueryOptionsResponseOutput

func (BigQueryOptionsResponseOutput) UsePartitionedTables

func (o BigQueryOptionsResponseOutput) UsePartitionedTables() pulumi.BoolOutput

Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.

func (BigQueryOptionsResponseOutput) UsesTimestampColumnPartitioning

func (o BigQueryOptionsResponseOutput) UsesTimestampColumnPartitioning() pulumi.BoolOutput

True if new timestamp column based partitioning is in use, false if legacy ingress-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.

type BillingAccountBucket added in v0.21.0

type BillingAccountBucket struct {
	pulumi.CustomResourceState

	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolOutput   `pulumi:"analyticsEnabled"`
	BillingAccountId pulumi.StringOutput `pulumi:"billingAccountId"`
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponseOutput `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this bucket.
	Description pulumi.StringOutput `pulumi:"description"`
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigResponseArrayOutput `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	Location       pulumi.StringOutput `pulumi:"location"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked pulumi.BoolOutput `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name pulumi.StringOutput `pulumi:"name"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayOutput `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntOutput `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. Auto-naming is currently not supported for this resource.

func GetBillingAccountBucket added in v0.21.0

func GetBillingAccountBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BillingAccountBucketState, opts ...pulumi.ResourceOption) (*BillingAccountBucket, error)

GetBillingAccountBucket gets an existing BillingAccountBucket 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 NewBillingAccountBucket added in v0.21.0

func NewBillingAccountBucket(ctx *pulumi.Context,
	name string, args *BillingAccountBucketArgs, opts ...pulumi.ResourceOption) (*BillingAccountBucket, error)

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

func (*BillingAccountBucket) ElementType added in v0.21.0

func (*BillingAccountBucket) ElementType() reflect.Type

func (*BillingAccountBucket) ToBillingAccountBucketOutput added in v0.21.0

func (i *BillingAccountBucket) ToBillingAccountBucketOutput() BillingAccountBucketOutput

func (*BillingAccountBucket) ToBillingAccountBucketOutputWithContext added in v0.21.0

func (i *BillingAccountBucket) ToBillingAccountBucketOutputWithContext(ctx context.Context) BillingAccountBucketOutput

type BillingAccountBucketArgs added in v0.21.0

type BillingAccountBucketArgs struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolPtrInput
	BillingAccountId pulumi.StringInput
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringInput
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsPtrInput
	// Describes this bucket.
	Description pulumi.StringPtrInput
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigArrayInput
	Location     pulumi.StringPtrInput
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked pulumi.BoolPtrInput
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayInput
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntPtrInput
}

The set of arguments for constructing a BillingAccountBucket resource.

func (BillingAccountBucketArgs) ElementType added in v0.21.0

func (BillingAccountBucketArgs) ElementType() reflect.Type

type BillingAccountBucketInput added in v0.21.0

type BillingAccountBucketInput interface {
	pulumi.Input

	ToBillingAccountBucketOutput() BillingAccountBucketOutput
	ToBillingAccountBucketOutputWithContext(ctx context.Context) BillingAccountBucketOutput
}
type BillingAccountBucketLink struct {
	pulumi.CustomResourceState

	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset  BigQueryDatasetResponseOutput `pulumi:"bigqueryDataset"`
	BillingAccountId pulumi.StringOutput           `pulumi:"billingAccountId"`
	BucketId         pulumi.StringOutput           `pulumi:"bucketId"`
	// The creation timestamp of the link.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The resource lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringOutput `pulumi:"linkId"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name pulumi.StringOutput `pulumi:"name"`
}

Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. Auto-naming is currently not supported for this resource.

func GetBillingAccountBucketLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BillingAccountBucketLinkState, opts ...pulumi.ResourceOption) (*BillingAccountBucketLink, error)

GetBillingAccountBucketLink gets an existing BillingAccountBucketLink 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 NewBillingAccountBucketLink(ctx *pulumi.Context,
	name string, args *BillingAccountBucketLinkArgs, opts ...pulumi.ResourceOption) (*BillingAccountBucketLink, error)

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

func (*BillingAccountBucketLink) ElementType added in v0.29.0

func (*BillingAccountBucketLink) ElementType() reflect.Type

func (*BillingAccountBucketLink) ToBillingAccountBucketLinkOutput added in v0.29.0

func (i *BillingAccountBucketLink) ToBillingAccountBucketLinkOutput() BillingAccountBucketLinkOutput

func (*BillingAccountBucketLink) ToBillingAccountBucketLinkOutputWithContext added in v0.29.0

func (i *BillingAccountBucketLink) ToBillingAccountBucketLinkOutputWithContext(ctx context.Context) BillingAccountBucketLinkOutput

type BillingAccountBucketLinkArgs added in v0.29.0

type BillingAccountBucketLinkArgs struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset  BigQueryDatasetPtrInput
	BillingAccountId pulumi.StringInput
	BucketId         pulumi.StringInput
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringInput
	Location pulumi.StringPtrInput
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a BillingAccountBucketLink resource.

func (BillingAccountBucketLinkArgs) ElementType added in v0.29.0

type BillingAccountBucketLinkInput added in v0.29.0

type BillingAccountBucketLinkInput interface {
	pulumi.Input

	ToBillingAccountBucketLinkOutput() BillingAccountBucketLinkOutput
	ToBillingAccountBucketLinkOutputWithContext(ctx context.Context) BillingAccountBucketLinkOutput
}

type BillingAccountBucketLinkOutput added in v0.29.0

type BillingAccountBucketLinkOutput struct{ *pulumi.OutputState }

func (BillingAccountBucketLinkOutput) BigqueryDataset added in v0.29.0

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (BillingAccountBucketLinkOutput) BillingAccountId added in v0.29.0

func (o BillingAccountBucketLinkOutput) BillingAccountId() pulumi.StringOutput

func (BillingAccountBucketLinkOutput) BucketId added in v0.29.0

func (BillingAccountBucketLinkOutput) CreateTime added in v0.29.0

The creation timestamp of the link.

func (BillingAccountBucketLinkOutput) Description added in v0.29.0

Describes this link.The maximum length of the description is 8000 characters.

func (BillingAccountBucketLinkOutput) ElementType added in v0.29.0

func (BillingAccountBucketLinkOutput) LifecycleState added in v0.29.0

The resource lifecycle state.

func (BillingAccountBucketLinkOutput) LinkId added in v0.29.0

Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

func (BillingAccountBucketLinkOutput) Location added in v0.29.0

func (BillingAccountBucketLinkOutput) Name added in v0.29.0

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (BillingAccountBucketLinkOutput) ToBillingAccountBucketLinkOutput added in v0.29.0

func (o BillingAccountBucketLinkOutput) ToBillingAccountBucketLinkOutput() BillingAccountBucketLinkOutput

func (BillingAccountBucketLinkOutput) ToBillingAccountBucketLinkOutputWithContext added in v0.29.0

func (o BillingAccountBucketLinkOutput) ToBillingAccountBucketLinkOutputWithContext(ctx context.Context) BillingAccountBucketLinkOutput

type BillingAccountBucketLinkState added in v0.29.0

type BillingAccountBucketLinkState struct {
}

func (BillingAccountBucketLinkState) ElementType added in v0.29.0

type BillingAccountBucketOutput added in v0.21.0

type BillingAccountBucketOutput struct{ *pulumi.OutputState }

func (BillingAccountBucketOutput) AnalyticsEnabled added in v0.29.0

func (o BillingAccountBucketOutput) AnalyticsEnabled() pulumi.BoolOutput

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (BillingAccountBucketOutput) BillingAccountId added in v0.21.0

func (o BillingAccountBucketOutput) BillingAccountId() pulumi.StringOutput

func (BillingAccountBucketOutput) BucketId added in v0.21.0

Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

func (BillingAccountBucketOutput) CmekSettings added in v0.21.0

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (BillingAccountBucketOutput) CreateTime added in v0.21.0

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (BillingAccountBucketOutput) Description added in v0.21.0

Describes this bucket.

func (BillingAccountBucketOutput) ElementType added in v0.21.0

func (BillingAccountBucketOutput) ElementType() reflect.Type

func (BillingAccountBucketOutput) IndexConfigs added in v0.21.0

A list of indexed fields and related configuration data.

func (BillingAccountBucketOutput) LifecycleState added in v0.21.0

func (o BillingAccountBucketOutput) LifecycleState() pulumi.StringOutput

The bucket lifecycle state.

func (BillingAccountBucketOutput) Location added in v0.21.0

func (BillingAccountBucketOutput) Locked added in v0.21.0

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (BillingAccountBucketOutput) Name added in v0.21.0

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (BillingAccountBucketOutput) RestrictedFields added in v0.21.0

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (BillingAccountBucketOutput) RetentionDays added in v0.21.0

func (o BillingAccountBucketOutput) RetentionDays() pulumi.IntOutput

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (BillingAccountBucketOutput) ToBillingAccountBucketOutput added in v0.21.0

func (o BillingAccountBucketOutput) ToBillingAccountBucketOutput() BillingAccountBucketOutput

func (BillingAccountBucketOutput) ToBillingAccountBucketOutputWithContext added in v0.21.0

func (o BillingAccountBucketOutput) ToBillingAccountBucketOutputWithContext(ctx context.Context) BillingAccountBucketOutput

func (BillingAccountBucketOutput) UpdateTime added in v0.21.0

The last update timestamp of the bucket.

type BillingAccountBucketState added in v0.21.0

type BillingAccountBucketState struct {
}

func (BillingAccountBucketState) ElementType added in v0.21.0

func (BillingAccountBucketState) ElementType() reflect.Type

type BillingAccountBucketView added in v0.21.0

type BillingAccountBucketView struct {
	pulumi.CustomResourceState

	BillingAccountId pulumi.StringOutput `pulumi:"billingAccountId"`
	BucketId         pulumi.StringOutput `pulumi:"bucketId"`
	// The creation timestamp of the view.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this view.
	Description pulumi.StringOutput `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringOutput `pulumi:"filter"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name pulumi.StringOutput `pulumi:"name"`
	// The last update timestamp of the view.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringOutput `pulumi:"viewId"`
}

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. Auto-naming is currently not supported for this resource.

func GetBillingAccountBucketView added in v0.21.0

func GetBillingAccountBucketView(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BillingAccountBucketViewState, opts ...pulumi.ResourceOption) (*BillingAccountBucketView, error)

GetBillingAccountBucketView gets an existing BillingAccountBucketView 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 NewBillingAccountBucketView added in v0.21.0

func NewBillingAccountBucketView(ctx *pulumi.Context,
	name string, args *BillingAccountBucketViewArgs, opts ...pulumi.ResourceOption) (*BillingAccountBucketView, error)

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

func (*BillingAccountBucketView) ElementType added in v0.21.0

func (*BillingAccountBucketView) ElementType() reflect.Type

func (*BillingAccountBucketView) ToBillingAccountBucketViewOutput added in v0.21.0

func (i *BillingAccountBucketView) ToBillingAccountBucketViewOutput() BillingAccountBucketViewOutput

func (*BillingAccountBucketView) ToBillingAccountBucketViewOutputWithContext added in v0.21.0

func (i *BillingAccountBucketView) ToBillingAccountBucketViewOutputWithContext(ctx context.Context) BillingAccountBucketViewOutput

type BillingAccountBucketViewArgs added in v0.21.0

type BillingAccountBucketViewArgs struct {
	BillingAccountId pulumi.StringInput
	BucketId         pulumi.StringInput
	// Describes this view.
	Description pulumi.StringPtrInput
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringPtrInput
	Location pulumi.StringPtrInput
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name pulumi.StringPtrInput
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringInput
}

The set of arguments for constructing a BillingAccountBucketView resource.

func (BillingAccountBucketViewArgs) ElementType added in v0.21.0

type BillingAccountBucketViewInput added in v0.21.0

type BillingAccountBucketViewInput interface {
	pulumi.Input

	ToBillingAccountBucketViewOutput() BillingAccountBucketViewOutput
	ToBillingAccountBucketViewOutputWithContext(ctx context.Context) BillingAccountBucketViewOutput
}

type BillingAccountBucketViewOutput added in v0.21.0

type BillingAccountBucketViewOutput struct{ *pulumi.OutputState }

func (BillingAccountBucketViewOutput) BillingAccountId added in v0.21.0

func (o BillingAccountBucketViewOutput) BillingAccountId() pulumi.StringOutput

func (BillingAccountBucketViewOutput) BucketId added in v0.21.0

func (BillingAccountBucketViewOutput) CreateTime added in v0.21.0

The creation timestamp of the view.

func (BillingAccountBucketViewOutput) Description added in v0.21.0

Describes this view.

func (BillingAccountBucketViewOutput) ElementType added in v0.21.0

func (BillingAccountBucketViewOutput) Filter added in v0.21.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (BillingAccountBucketViewOutput) Location added in v0.21.0

func (BillingAccountBucketViewOutput) Name added in v0.21.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (BillingAccountBucketViewOutput) ToBillingAccountBucketViewOutput added in v0.21.0

func (o BillingAccountBucketViewOutput) ToBillingAccountBucketViewOutput() BillingAccountBucketViewOutput

func (BillingAccountBucketViewOutput) ToBillingAccountBucketViewOutputWithContext added in v0.21.0

func (o BillingAccountBucketViewOutput) ToBillingAccountBucketViewOutputWithContext(ctx context.Context) BillingAccountBucketViewOutput

func (BillingAccountBucketViewOutput) UpdateTime added in v0.21.0

The last update timestamp of the view.

func (BillingAccountBucketViewOutput) ViewId added in v0.21.0

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

type BillingAccountBucketViewState added in v0.21.0

type BillingAccountBucketViewState struct {
}

func (BillingAccountBucketViewState) ElementType added in v0.21.0

type BillingAccountExclusion

type BillingAccountExclusion struct {
	pulumi.CustomResourceState

	BillingAccountId pulumi.StringOutput `pulumi:"billingAccountId"`
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description pulumi.StringOutput `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter pulumi.StringOutput `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringOutput `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

func GetBillingAccountExclusion

func GetBillingAccountExclusion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BillingAccountExclusionState, opts ...pulumi.ResourceOption) (*BillingAccountExclusion, error)

GetBillingAccountExclusion gets an existing BillingAccountExclusion 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 NewBillingAccountExclusion

func NewBillingAccountExclusion(ctx *pulumi.Context,
	name string, args *BillingAccountExclusionArgs, opts ...pulumi.ResourceOption) (*BillingAccountExclusion, error)

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

func (*BillingAccountExclusion) ElementType

func (*BillingAccountExclusion) ElementType() reflect.Type

func (*BillingAccountExclusion) ToBillingAccountExclusionOutput

func (i *BillingAccountExclusion) ToBillingAccountExclusionOutput() BillingAccountExclusionOutput

func (*BillingAccountExclusion) ToBillingAccountExclusionOutputWithContext

func (i *BillingAccountExclusion) ToBillingAccountExclusionOutputWithContext(ctx context.Context) BillingAccountExclusionOutput

type BillingAccountExclusionArgs

type BillingAccountExclusionArgs struct {
	BillingAccountId pulumi.StringInput
	// Optional. A description of this exclusion.
	Description pulumi.StringPtrInput
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolPtrInput
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter pulumi.StringInput
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a BillingAccountExclusion resource.

func (BillingAccountExclusionArgs) ElementType

type BillingAccountExclusionInput

type BillingAccountExclusionInput interface {
	pulumi.Input

	ToBillingAccountExclusionOutput() BillingAccountExclusionOutput
	ToBillingAccountExclusionOutputWithContext(ctx context.Context) BillingAccountExclusionOutput
}

type BillingAccountExclusionOutput

type BillingAccountExclusionOutput struct{ *pulumi.OutputState }

func (BillingAccountExclusionOutput) BillingAccountId added in v0.21.0

func (o BillingAccountExclusionOutput) BillingAccountId() pulumi.StringOutput

func (BillingAccountExclusionOutput) CreateTime added in v0.19.0

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (BillingAccountExclusionOutput) Description added in v0.19.0

Optional. A description of this exclusion.

func (BillingAccountExclusionOutput) Disabled added in v0.19.0

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (BillingAccountExclusionOutput) ElementType

func (BillingAccountExclusionOutput) Filter added in v0.19.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (BillingAccountExclusionOutput) Name added in v0.19.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (BillingAccountExclusionOutput) ToBillingAccountExclusionOutput

func (o BillingAccountExclusionOutput) ToBillingAccountExclusionOutput() BillingAccountExclusionOutput

func (BillingAccountExclusionOutput) ToBillingAccountExclusionOutputWithContext

func (o BillingAccountExclusionOutput) ToBillingAccountExclusionOutputWithContext(ctx context.Context) BillingAccountExclusionOutput

func (BillingAccountExclusionOutput) UpdateTime added in v0.19.0

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type BillingAccountExclusionState

type BillingAccountExclusionState struct {
}

func (BillingAccountExclusionState) ElementType

type BillingAccountSink

type BillingAccountSink struct {
	pulumi.CustomResourceState

	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions  BigQueryOptionsResponseOutput `pulumi:"bigqueryOptions"`
	BillingAccountId pulumi.StringOutput           `pulumi:"billingAccountId"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrOutput `pulumi:"customWriterIdentity"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringOutput `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionResponseArrayOutput `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringOutput `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolOutput `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat pulumi.StringOutput `pulumi:"outputVersionFormat"`
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrOutput `pulumi:"uniqueWriterIdentity"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"`
}

Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

func GetBillingAccountSink

func GetBillingAccountSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BillingAccountSinkState, opts ...pulumi.ResourceOption) (*BillingAccountSink, error)

GetBillingAccountSink gets an existing BillingAccountSink 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 NewBillingAccountSink

func NewBillingAccountSink(ctx *pulumi.Context,
	name string, args *BillingAccountSinkArgs, opts ...pulumi.ResourceOption) (*BillingAccountSink, error)

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

func (*BillingAccountSink) ElementType

func (*BillingAccountSink) ElementType() reflect.Type

func (*BillingAccountSink) ToBillingAccountSinkOutput

func (i *BillingAccountSink) ToBillingAccountSinkOutput() BillingAccountSinkOutput

func (*BillingAccountSink) ToBillingAccountSinkOutputWithContext

func (i *BillingAccountSink) ToBillingAccountSinkOutputWithContext(ctx context.Context) BillingAccountSinkOutput

type BillingAccountSinkArgs

type BillingAccountSinkArgs struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions  BigQueryOptionsPtrInput
	BillingAccountId pulumi.StringInput
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrInput
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringInput
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolPtrInput
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionArrayInput
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringPtrInput
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolPtrInput
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringPtrInput
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat BillingAccountSinkOutputVersionFormatPtrInput
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrInput
}

The set of arguments for constructing a BillingAccountSink resource.

func (BillingAccountSinkArgs) ElementType

func (BillingAccountSinkArgs) ElementType() reflect.Type

type BillingAccountSinkInput

type BillingAccountSinkInput interface {
	pulumi.Input

	ToBillingAccountSinkOutput() BillingAccountSinkOutput
	ToBillingAccountSinkOutputWithContext(ctx context.Context) BillingAccountSinkOutput
}

type BillingAccountSinkOutput

type BillingAccountSinkOutput struct{ *pulumi.OutputState }

func (BillingAccountSinkOutput) BigqueryOptions added in v0.19.0

Optional. Options that affect sinks exporting data to BigQuery.

func (BillingAccountSinkOutput) BillingAccountId added in v0.21.0

func (o BillingAccountSinkOutput) BillingAccountId() pulumi.StringOutput

func (BillingAccountSinkOutput) CreateTime added in v0.19.0

The creation timestamp of the sink.This field may not be present for older sinks.

func (BillingAccountSinkOutput) CustomWriterIdentity added in v0.32.0

func (o BillingAccountSinkOutput) CustomWriterIdentity() pulumi.StringPtrOutput

Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.

func (BillingAccountSinkOutput) Description added in v0.19.0

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (BillingAccountSinkOutput) Destination added in v0.19.0

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (BillingAccountSinkOutput) Disabled added in v0.19.0

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (BillingAccountSinkOutput) ElementType

func (BillingAccountSinkOutput) ElementType() reflect.Type

func (BillingAccountSinkOutput) Exclusions added in v0.19.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (BillingAccountSinkOutput) Filter added in v0.19.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (BillingAccountSinkOutput) IncludeChildren added in v0.19.0

func (o BillingAccountSinkOutput) IncludeChildren() pulumi.BoolOutput

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (BillingAccountSinkOutput) Name added in v0.19.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (BillingAccountSinkOutput) OutputVersionFormat deprecated added in v0.19.0

func (o BillingAccountSinkOutput) OutputVersionFormat() pulumi.StringOutput

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (BillingAccountSinkOutput) ToBillingAccountSinkOutput

func (o BillingAccountSinkOutput) ToBillingAccountSinkOutput() BillingAccountSinkOutput

func (BillingAccountSinkOutput) ToBillingAccountSinkOutputWithContext

func (o BillingAccountSinkOutput) ToBillingAccountSinkOutputWithContext(ctx context.Context) BillingAccountSinkOutput

func (BillingAccountSinkOutput) UniqueWriterIdentity added in v0.21.0

func (o BillingAccountSinkOutput) UniqueWriterIdentity() pulumi.BoolPtrOutput

Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.

func (BillingAccountSinkOutput) UpdateTime added in v0.19.0

The last update timestamp of the sink.This field may not be present for older sinks.

func (BillingAccountSinkOutput) WriterIdentity added in v0.19.0

func (o BillingAccountSinkOutput) WriterIdentity() pulumi.StringOutput

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type BillingAccountSinkOutputVersionFormat added in v0.17.0

type BillingAccountSinkOutputVersionFormat string

Deprecated. This field is unused.

func (BillingAccountSinkOutputVersionFormat) ElementType added in v0.17.0

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutput added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutput() BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutputWithContext added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormat) ToStringOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormat) ToStringOutputWithContext added in v0.17.0

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

func (BillingAccountSinkOutputVersionFormat) ToStringPtrOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormat) ToStringPtrOutputWithContext added in v0.17.0

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

type BillingAccountSinkOutputVersionFormatInput added in v0.17.0

type BillingAccountSinkOutputVersionFormatInput interface {
	pulumi.Input

	ToBillingAccountSinkOutputVersionFormatOutput() BillingAccountSinkOutputVersionFormatOutput
	ToBillingAccountSinkOutputVersionFormatOutputWithContext(context.Context) BillingAccountSinkOutputVersionFormatOutput
}

BillingAccountSinkOutputVersionFormatInput is an input type that accepts BillingAccountSinkOutputVersionFormatArgs and BillingAccountSinkOutputVersionFormatOutput values. You can construct a concrete instance of `BillingAccountSinkOutputVersionFormatInput` via:

BillingAccountSinkOutputVersionFormatArgs{...}

type BillingAccountSinkOutputVersionFormatOutput added in v0.17.0

type BillingAccountSinkOutputVersionFormatOutput struct{ *pulumi.OutputState }

func (BillingAccountSinkOutputVersionFormatOutput) ElementType added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutput added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutput() BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutputWithContext added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToStringOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToStringOutputWithContext added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToStringPtrOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToStringPtrOutputWithContext added in v0.17.0

type BillingAccountSinkOutputVersionFormatPtrInput added in v0.17.0

type BillingAccountSinkOutputVersionFormatPtrInput interface {
	pulumi.Input

	ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput
	ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(context.Context) BillingAccountSinkOutputVersionFormatPtrOutput
}

func BillingAccountSinkOutputVersionFormatPtr added in v0.17.0

func BillingAccountSinkOutputVersionFormatPtr(v string) BillingAccountSinkOutputVersionFormatPtrInput

type BillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

type BillingAccountSinkOutputVersionFormatPtrOutput struct{ *pulumi.OutputState }

func (BillingAccountSinkOutputVersionFormatPtrOutput) Elem added in v0.17.0

func (BillingAccountSinkOutputVersionFormatPtrOutput) ElementType added in v0.17.0

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToStringPtrOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToStringPtrOutputWithContext added in v0.17.0

type BillingAccountSinkState

type BillingAccountSinkState struct {
}

func (BillingAccountSinkState) ElementType

func (BillingAccountSinkState) ElementType() reflect.Type

type Bucket

type Bucket struct {
	pulumi.CustomResourceState

	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolOutput `pulumi:"analyticsEnabled"`
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponseOutput `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this bucket.
	Description pulumi.StringOutput `pulumi:"description"`
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigResponseArrayOutput `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	Location       pulumi.StringOutput `pulumi:"location"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked pulumi.BoolOutput `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayOutput `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntOutput `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. Auto-naming is currently not supported for this resource.

func GetBucket

func GetBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketState, opts ...pulumi.ResourceOption) (*Bucket, error)

GetBucket gets an existing Bucket 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 NewBucket

func NewBucket(ctx *pulumi.Context,
	name string, args *BucketArgs, opts ...pulumi.ResourceOption) (*Bucket, error)

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

func (*Bucket) ElementType

func (*Bucket) ElementType() reflect.Type

func (*Bucket) ToBucketOutput

func (i *Bucket) ToBucketOutput() BucketOutput

func (*Bucket) ToBucketOutputWithContext

func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput

type BucketArgs

type BucketArgs struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolPtrInput
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringInput
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsPtrInput
	// Describes this bucket.
	Description pulumi.StringPtrInput
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigArrayInput
	Location     pulumi.StringPtrInput
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked  pulumi.BoolPtrInput
	Project pulumi.StringPtrInput
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayInput
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntPtrInput
}

The set of arguments for constructing a Bucket resource.

func (BucketArgs) ElementType

func (BucketArgs) ElementType() reflect.Type

type BucketInput

type BucketInput interface {
	pulumi.Input

	ToBucketOutput() BucketOutput
	ToBucketOutputWithContext(ctx context.Context) BucketOutput
}

type BucketOptions

type BucketOptions struct {
	// The explicit buckets.
	ExplicitBuckets *Explicit `pulumi:"explicitBuckets"`
	// The exponential buckets.
	ExponentialBuckets *Exponential `pulumi:"exponentialBuckets"`
	// The linear bucket.
	LinearBuckets *Linear `pulumi:"linearBuckets"`
}

BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.

type BucketOptionsArgs

type BucketOptionsArgs struct {
	// The explicit buckets.
	ExplicitBuckets ExplicitPtrInput `pulumi:"explicitBuckets"`
	// The exponential buckets.
	ExponentialBuckets ExponentialPtrInput `pulumi:"exponentialBuckets"`
	// The linear bucket.
	LinearBuckets LinearPtrInput `pulumi:"linearBuckets"`
}

BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.

func (BucketOptionsArgs) ElementType

func (BucketOptionsArgs) ElementType() reflect.Type

func (BucketOptionsArgs) ToBucketOptionsOutput

func (i BucketOptionsArgs) ToBucketOptionsOutput() BucketOptionsOutput

func (BucketOptionsArgs) ToBucketOptionsOutputWithContext

func (i BucketOptionsArgs) ToBucketOptionsOutputWithContext(ctx context.Context) BucketOptionsOutput

func (BucketOptionsArgs) ToBucketOptionsPtrOutput

func (i BucketOptionsArgs) ToBucketOptionsPtrOutput() BucketOptionsPtrOutput

func (BucketOptionsArgs) ToBucketOptionsPtrOutputWithContext

func (i BucketOptionsArgs) ToBucketOptionsPtrOutputWithContext(ctx context.Context) BucketOptionsPtrOutput

type BucketOptionsInput

type BucketOptionsInput interface {
	pulumi.Input

	ToBucketOptionsOutput() BucketOptionsOutput
	ToBucketOptionsOutputWithContext(context.Context) BucketOptionsOutput
}

BucketOptionsInput is an input type that accepts BucketOptionsArgs and BucketOptionsOutput values. You can construct a concrete instance of `BucketOptionsInput` via:

BucketOptionsArgs{...}

type BucketOptionsOutput

type BucketOptionsOutput struct{ *pulumi.OutputState }

BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.

func (BucketOptionsOutput) ElementType

func (BucketOptionsOutput) ElementType() reflect.Type

func (BucketOptionsOutput) ExplicitBuckets

func (o BucketOptionsOutput) ExplicitBuckets() ExplicitPtrOutput

The explicit buckets.

func (BucketOptionsOutput) ExponentialBuckets

func (o BucketOptionsOutput) ExponentialBuckets() ExponentialPtrOutput

The exponential buckets.

func (BucketOptionsOutput) LinearBuckets

func (o BucketOptionsOutput) LinearBuckets() LinearPtrOutput

The linear bucket.

func (BucketOptionsOutput) ToBucketOptionsOutput

func (o BucketOptionsOutput) ToBucketOptionsOutput() BucketOptionsOutput

func (BucketOptionsOutput) ToBucketOptionsOutputWithContext

func (o BucketOptionsOutput) ToBucketOptionsOutputWithContext(ctx context.Context) BucketOptionsOutput

func (BucketOptionsOutput) ToBucketOptionsPtrOutput

func (o BucketOptionsOutput) ToBucketOptionsPtrOutput() BucketOptionsPtrOutput

func (BucketOptionsOutput) ToBucketOptionsPtrOutputWithContext

func (o BucketOptionsOutput) ToBucketOptionsPtrOutputWithContext(ctx context.Context) BucketOptionsPtrOutput

type BucketOptionsPtrInput

type BucketOptionsPtrInput interface {
	pulumi.Input

	ToBucketOptionsPtrOutput() BucketOptionsPtrOutput
	ToBucketOptionsPtrOutputWithContext(context.Context) BucketOptionsPtrOutput
}

BucketOptionsPtrInput is an input type that accepts BucketOptionsArgs, BucketOptionsPtr and BucketOptionsPtrOutput values. You can construct a concrete instance of `BucketOptionsPtrInput` via:

        BucketOptionsArgs{...}

or:

        nil

type BucketOptionsPtrOutput

type BucketOptionsPtrOutput struct{ *pulumi.OutputState }

func (BucketOptionsPtrOutput) Elem

func (BucketOptionsPtrOutput) ElementType

func (BucketOptionsPtrOutput) ElementType() reflect.Type

func (BucketOptionsPtrOutput) ExplicitBuckets

func (o BucketOptionsPtrOutput) ExplicitBuckets() ExplicitPtrOutput

The explicit buckets.

func (BucketOptionsPtrOutput) ExponentialBuckets

func (o BucketOptionsPtrOutput) ExponentialBuckets() ExponentialPtrOutput

The exponential buckets.

func (BucketOptionsPtrOutput) LinearBuckets

func (o BucketOptionsPtrOutput) LinearBuckets() LinearPtrOutput

The linear bucket.

func (BucketOptionsPtrOutput) ToBucketOptionsPtrOutput

func (o BucketOptionsPtrOutput) ToBucketOptionsPtrOutput() BucketOptionsPtrOutput

func (BucketOptionsPtrOutput) ToBucketOptionsPtrOutputWithContext

func (o BucketOptionsPtrOutput) ToBucketOptionsPtrOutputWithContext(ctx context.Context) BucketOptionsPtrOutput

type BucketOptionsResponse

type BucketOptionsResponse struct {
	// The explicit buckets.
	ExplicitBuckets ExplicitResponse `pulumi:"explicitBuckets"`
	// The exponential buckets.
	ExponentialBuckets ExponentialResponse `pulumi:"exponentialBuckets"`
	// The linear bucket.
	LinearBuckets LinearResponse `pulumi:"linearBuckets"`
}

BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.

type BucketOptionsResponseOutput

type BucketOptionsResponseOutput struct{ *pulumi.OutputState }

BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.

func (BucketOptionsResponseOutput) ElementType

func (BucketOptionsResponseOutput) ExplicitBuckets

The explicit buckets.

func (BucketOptionsResponseOutput) ExponentialBuckets

The exponential buckets.

func (BucketOptionsResponseOutput) LinearBuckets

The linear bucket.

func (BucketOptionsResponseOutput) ToBucketOptionsResponseOutput

func (o BucketOptionsResponseOutput) ToBucketOptionsResponseOutput() BucketOptionsResponseOutput

func (BucketOptionsResponseOutput) ToBucketOptionsResponseOutputWithContext

func (o BucketOptionsResponseOutput) ToBucketOptionsResponseOutputWithContext(ctx context.Context) BucketOptionsResponseOutput

type BucketOutput

type BucketOutput struct{ *pulumi.OutputState }

func (BucketOutput) AnalyticsEnabled added in v0.29.0

func (o BucketOutput) AnalyticsEnabled() pulumi.BoolOutput

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (BucketOutput) BucketId added in v0.21.0

func (o BucketOutput) BucketId() pulumi.StringOutput

Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

func (BucketOutput) CmekSettings added in v0.20.0

func (o BucketOutput) CmekSettings() CmekSettingsResponseOutput

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (BucketOutput) CreateTime added in v0.20.0

func (o BucketOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (BucketOutput) Description added in v0.20.0

func (o BucketOutput) Description() pulumi.StringOutput

Describes this bucket.

func (BucketOutput) ElementType

func (BucketOutput) ElementType() reflect.Type

func (BucketOutput) IndexConfigs added in v0.20.0

A list of indexed fields and related configuration data.

func (BucketOutput) LifecycleState added in v0.20.0

func (o BucketOutput) LifecycleState() pulumi.StringOutput

The bucket lifecycle state.

func (BucketOutput) Location added in v0.21.0

func (o BucketOutput) Location() pulumi.StringOutput

func (BucketOutput) Locked added in v0.20.0

func (o BucketOutput) Locked() pulumi.BoolOutput

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (BucketOutput) Name added in v0.20.0

func (o BucketOutput) Name() pulumi.StringOutput

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (BucketOutput) Project added in v0.21.0

func (o BucketOutput) Project() pulumi.StringOutput

func (BucketOutput) RestrictedFields added in v0.20.0

func (o BucketOutput) RestrictedFields() pulumi.StringArrayOutput

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (BucketOutput) RetentionDays added in v0.20.0

func (o BucketOutput) RetentionDays() pulumi.IntOutput

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (BucketOutput) ToBucketOutput

func (o BucketOutput) ToBucketOutput() BucketOutput

func (BucketOutput) ToBucketOutputWithContext

func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput

func (BucketOutput) UpdateTime added in v0.20.0

func (o BucketOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the bucket.

type BucketState

type BucketState struct {
}

func (BucketState) ElementType

func (BucketState) ElementType() reflect.Type

type BucketView

type BucketView struct {
	pulumi.CustomResourceState

	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// The creation timestamp of the view.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this view.
	Description pulumi.StringOutput `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringOutput `pulumi:"filter"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The last update timestamp of the view.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringOutput `pulumi:"viewId"`
}

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.

func GetBucketView

func GetBucketView(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketViewState, opts ...pulumi.ResourceOption) (*BucketView, error)

GetBucketView gets an existing BucketView 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 NewBucketView

func NewBucketView(ctx *pulumi.Context,
	name string, args *BucketViewArgs, opts ...pulumi.ResourceOption) (*BucketView, error)

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

func (*BucketView) ElementType

func (*BucketView) ElementType() reflect.Type

func (*BucketView) ToBucketViewOutput

func (i *BucketView) ToBucketViewOutput() BucketViewOutput

func (*BucketView) ToBucketViewOutputWithContext

func (i *BucketView) ToBucketViewOutputWithContext(ctx context.Context) BucketViewOutput

type BucketViewArgs

type BucketViewArgs struct {
	BucketId pulumi.StringInput
	// Describes this view.
	Description pulumi.StringPtrInput
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringPtrInput
	Location pulumi.StringPtrInput
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringInput
}

The set of arguments for constructing a BucketView resource.

func (BucketViewArgs) ElementType

func (BucketViewArgs) ElementType() reflect.Type

type BucketViewInput

type BucketViewInput interface {
	pulumi.Input

	ToBucketViewOutput() BucketViewOutput
	ToBucketViewOutputWithContext(ctx context.Context) BucketViewOutput
}

type BucketViewOutput

type BucketViewOutput struct{ *pulumi.OutputState }

func (BucketViewOutput) BucketId added in v0.21.0

func (o BucketViewOutput) BucketId() pulumi.StringOutput

func (BucketViewOutput) CreateTime added in v0.20.0

func (o BucketViewOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the view.

func (BucketViewOutput) Description added in v0.20.0

func (o BucketViewOutput) Description() pulumi.StringOutput

Describes this view.

func (BucketViewOutput) ElementType

func (BucketViewOutput) ElementType() reflect.Type

func (BucketViewOutput) Filter added in v0.20.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (BucketViewOutput) Location added in v0.21.0

func (o BucketViewOutput) Location() pulumi.StringOutput

func (BucketViewOutput) Name added in v0.20.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (BucketViewOutput) Project added in v0.21.0

func (o BucketViewOutput) Project() pulumi.StringOutput

func (BucketViewOutput) ToBucketViewOutput

func (o BucketViewOutput) ToBucketViewOutput() BucketViewOutput

func (BucketViewOutput) ToBucketViewOutputWithContext

func (o BucketViewOutput) ToBucketViewOutputWithContext(ctx context.Context) BucketViewOutput

func (BucketViewOutput) UpdateTime added in v0.20.0

func (o BucketViewOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the view.

func (BucketViewOutput) ViewId added in v0.21.0

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

type BucketViewState

type BucketViewState struct {
}

func (BucketViewState) ElementType

func (BucketViewState) ElementType() reflect.Type

type CmekSettings added in v0.20.0

type CmekSettings struct {
	// The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
	KmsKeyName *string `pulumi:"kmsKeyName"`
	// The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
	KmsKeyVersionName *string `pulumi:"kmsKeyVersionName"`
}

Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

type CmekSettingsArgs added in v0.20.0

type CmekSettingsArgs struct {
	// The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
	KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"`
	// The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
	KmsKeyVersionName pulumi.StringPtrInput `pulumi:"kmsKeyVersionName"`
}

Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

func (CmekSettingsArgs) ElementType added in v0.20.0

func (CmekSettingsArgs) ElementType() reflect.Type

func (CmekSettingsArgs) ToCmekSettingsOutput added in v0.20.0

func (i CmekSettingsArgs) ToCmekSettingsOutput() CmekSettingsOutput

func (CmekSettingsArgs) ToCmekSettingsOutputWithContext added in v0.20.0

func (i CmekSettingsArgs) ToCmekSettingsOutputWithContext(ctx context.Context) CmekSettingsOutput

func (CmekSettingsArgs) ToCmekSettingsPtrOutput added in v0.20.0

func (i CmekSettingsArgs) ToCmekSettingsPtrOutput() CmekSettingsPtrOutput

func (CmekSettingsArgs) ToCmekSettingsPtrOutputWithContext added in v0.20.0

func (i CmekSettingsArgs) ToCmekSettingsPtrOutputWithContext(ctx context.Context) CmekSettingsPtrOutput

type CmekSettingsInput added in v0.20.0

type CmekSettingsInput interface {
	pulumi.Input

	ToCmekSettingsOutput() CmekSettingsOutput
	ToCmekSettingsOutputWithContext(context.Context) CmekSettingsOutput
}

CmekSettingsInput is an input type that accepts CmekSettingsArgs and CmekSettingsOutput values. You can construct a concrete instance of `CmekSettingsInput` via:

CmekSettingsArgs{...}

type CmekSettingsOutput added in v0.20.0

type CmekSettingsOutput struct{ *pulumi.OutputState }

Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

func (CmekSettingsOutput) ElementType added in v0.20.0

func (CmekSettingsOutput) ElementType() reflect.Type

func (CmekSettingsOutput) KmsKeyName added in v0.20.0

func (o CmekSettingsOutput) KmsKeyName() pulumi.StringPtrOutput

The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

func (CmekSettingsOutput) KmsKeyVersionName added in v0.20.0

func (o CmekSettingsOutput) KmsKeyVersionName() pulumi.StringPtrOutput

The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.

func (CmekSettingsOutput) ToCmekSettingsOutput added in v0.20.0

func (o CmekSettingsOutput) ToCmekSettingsOutput() CmekSettingsOutput

func (CmekSettingsOutput) ToCmekSettingsOutputWithContext added in v0.20.0

func (o CmekSettingsOutput) ToCmekSettingsOutputWithContext(ctx context.Context) CmekSettingsOutput

func (CmekSettingsOutput) ToCmekSettingsPtrOutput added in v0.20.0

func (o CmekSettingsOutput) ToCmekSettingsPtrOutput() CmekSettingsPtrOutput

func (CmekSettingsOutput) ToCmekSettingsPtrOutputWithContext added in v0.20.0

func (o CmekSettingsOutput) ToCmekSettingsPtrOutputWithContext(ctx context.Context) CmekSettingsPtrOutput

type CmekSettingsPtrInput added in v0.20.0

type CmekSettingsPtrInput interface {
	pulumi.Input

	ToCmekSettingsPtrOutput() CmekSettingsPtrOutput
	ToCmekSettingsPtrOutputWithContext(context.Context) CmekSettingsPtrOutput
}

CmekSettingsPtrInput is an input type that accepts CmekSettingsArgs, CmekSettingsPtr and CmekSettingsPtrOutput values. You can construct a concrete instance of `CmekSettingsPtrInput` via:

        CmekSettingsArgs{...}

or:

        nil

func CmekSettingsPtr added in v0.20.0

func CmekSettingsPtr(v *CmekSettingsArgs) CmekSettingsPtrInput

type CmekSettingsPtrOutput added in v0.20.0

type CmekSettingsPtrOutput struct{ *pulumi.OutputState }

func (CmekSettingsPtrOutput) Elem added in v0.20.0

func (CmekSettingsPtrOutput) ElementType added in v0.20.0

func (CmekSettingsPtrOutput) ElementType() reflect.Type

func (CmekSettingsPtrOutput) KmsKeyName added in v0.20.0

The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

func (CmekSettingsPtrOutput) KmsKeyVersionName added in v0.20.0

func (o CmekSettingsPtrOutput) KmsKeyVersionName() pulumi.StringPtrOutput

The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.

func (CmekSettingsPtrOutput) ToCmekSettingsPtrOutput added in v0.20.0

func (o CmekSettingsPtrOutput) ToCmekSettingsPtrOutput() CmekSettingsPtrOutput

func (CmekSettingsPtrOutput) ToCmekSettingsPtrOutputWithContext added in v0.20.0

func (o CmekSettingsPtrOutput) ToCmekSettingsPtrOutputWithContext(ctx context.Context) CmekSettingsPtrOutput

type CmekSettingsResponse added in v0.20.0

type CmekSettingsResponse struct {
	// The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
	KmsKeyVersionName string `pulumi:"kmsKeyVersionName"`
	// The resource name of the CMEK settings.
	Name string `pulumi:"name"`
	// The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
	ServiceAccountId string `pulumi:"serviceAccountId"`
}

Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

type CmekSettingsResponseOutput added in v0.20.0

type CmekSettingsResponseOutput struct{ *pulumi.OutputState }

Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

func (CmekSettingsResponseOutput) ElementType added in v0.20.0

func (CmekSettingsResponseOutput) ElementType() reflect.Type

func (CmekSettingsResponseOutput) KmsKeyName added in v0.20.0

The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

func (CmekSettingsResponseOutput) KmsKeyVersionName added in v0.20.0

func (o CmekSettingsResponseOutput) KmsKeyVersionName() pulumi.StringOutput

The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.

func (CmekSettingsResponseOutput) Name added in v0.20.0

The resource name of the CMEK settings.

func (CmekSettingsResponseOutput) ServiceAccountId added in v0.20.0

func (o CmekSettingsResponseOutput) ServiceAccountId() pulumi.StringOutput

The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

func (CmekSettingsResponseOutput) ToCmekSettingsResponseOutput added in v0.20.0

func (o CmekSettingsResponseOutput) ToCmekSettingsResponseOutput() CmekSettingsResponseOutput

func (CmekSettingsResponseOutput) ToCmekSettingsResponseOutputWithContext added in v0.20.0

func (o CmekSettingsResponseOutput) ToCmekSettingsResponseOutputWithContext(ctx context.Context) CmekSettingsResponseOutput

type Exclusion

type Exclusion struct {
	pulumi.CustomResourceState

	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description pulumi.StringOutput `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter pulumi.StringOutput `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

func GetExclusion

func GetExclusion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExclusionState, opts ...pulumi.ResourceOption) (*Exclusion, error)

GetExclusion gets an existing Exclusion 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 NewExclusion

func NewExclusion(ctx *pulumi.Context,
	name string, args *ExclusionArgs, opts ...pulumi.ResourceOption) (*Exclusion, error)

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

func (*Exclusion) ElementType

func (*Exclusion) ElementType() reflect.Type

func (*Exclusion) ToExclusionOutput

func (i *Exclusion) ToExclusionOutput() ExclusionOutput

func (*Exclusion) ToExclusionOutputWithContext

func (i *Exclusion) ToExclusionOutputWithContext(ctx context.Context) ExclusionOutput

type ExclusionArgs

type ExclusionArgs struct {
	// Optional. A description of this exclusion.
	Description pulumi.StringPtrInput
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolPtrInput
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter pulumi.StringInput
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Exclusion resource.

func (ExclusionArgs) ElementType

func (ExclusionArgs) ElementType() reflect.Type

type ExclusionInput

type ExclusionInput interface {
	pulumi.Input

	ToExclusionOutput() ExclusionOutput
	ToExclusionOutputWithContext(ctx context.Context) ExclusionOutput
}

type ExclusionOutput

type ExclusionOutput struct{ *pulumi.OutputState }

func (ExclusionOutput) CreateTime added in v0.20.0

func (o ExclusionOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (ExclusionOutput) Description added in v0.20.0

func (o ExclusionOutput) Description() pulumi.StringOutput

Optional. A description of this exclusion.

func (ExclusionOutput) Disabled added in v0.20.0

func (o ExclusionOutput) Disabled() pulumi.BoolOutput

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (ExclusionOutput) ElementType

func (ExclusionOutput) ElementType() reflect.Type

func (ExclusionOutput) Filter added in v0.20.0

func (o ExclusionOutput) Filter() pulumi.StringOutput

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (ExclusionOutput) Name added in v0.20.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (ExclusionOutput) Project added in v0.21.0

func (o ExclusionOutput) Project() pulumi.StringOutput

func (ExclusionOutput) ToExclusionOutput

func (o ExclusionOutput) ToExclusionOutput() ExclusionOutput

func (ExclusionOutput) ToExclusionOutputWithContext

func (o ExclusionOutput) ToExclusionOutputWithContext(ctx context.Context) ExclusionOutput

func (ExclusionOutput) UpdateTime added in v0.20.0

func (o ExclusionOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type ExclusionState

type ExclusionState struct {
}

func (ExclusionState) ElementType

func (ExclusionState) ElementType() reflect.Type

type Explicit

type Explicit struct {
	// The values must be monotonically increasing.
	Bounds []float64 `pulumi:"bounds"`
}

Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

type ExplicitArgs

type ExplicitArgs struct {
	// The values must be monotonically increasing.
	Bounds pulumi.Float64ArrayInput `pulumi:"bounds"`
}

Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

func (ExplicitArgs) ElementType

func (ExplicitArgs) ElementType() reflect.Type

func (ExplicitArgs) ToExplicitOutput

func (i ExplicitArgs) ToExplicitOutput() ExplicitOutput

func (ExplicitArgs) ToExplicitOutputWithContext

func (i ExplicitArgs) ToExplicitOutputWithContext(ctx context.Context) ExplicitOutput

func (ExplicitArgs) ToExplicitPtrOutput

func (i ExplicitArgs) ToExplicitPtrOutput() ExplicitPtrOutput

func (ExplicitArgs) ToExplicitPtrOutputWithContext

func (i ExplicitArgs) ToExplicitPtrOutputWithContext(ctx context.Context) ExplicitPtrOutput

type ExplicitInput

type ExplicitInput interface {
	pulumi.Input

	ToExplicitOutput() ExplicitOutput
	ToExplicitOutputWithContext(context.Context) ExplicitOutput
}

ExplicitInput is an input type that accepts ExplicitArgs and ExplicitOutput values. You can construct a concrete instance of `ExplicitInput` via:

ExplicitArgs{...}

type ExplicitOutput

type ExplicitOutput struct{ *pulumi.OutputState }

Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

func (ExplicitOutput) Bounds

The values must be monotonically increasing.

func (ExplicitOutput) ElementType

func (ExplicitOutput) ElementType() reflect.Type

func (ExplicitOutput) ToExplicitOutput

func (o ExplicitOutput) ToExplicitOutput() ExplicitOutput

func (ExplicitOutput) ToExplicitOutputWithContext

func (o ExplicitOutput) ToExplicitOutputWithContext(ctx context.Context) ExplicitOutput

func (ExplicitOutput) ToExplicitPtrOutput

func (o ExplicitOutput) ToExplicitPtrOutput() ExplicitPtrOutput

func (ExplicitOutput) ToExplicitPtrOutputWithContext

func (o ExplicitOutput) ToExplicitPtrOutputWithContext(ctx context.Context) ExplicitPtrOutput

type ExplicitPtrInput

type ExplicitPtrInput interface {
	pulumi.Input

	ToExplicitPtrOutput() ExplicitPtrOutput
	ToExplicitPtrOutputWithContext(context.Context) ExplicitPtrOutput
}

ExplicitPtrInput is an input type that accepts ExplicitArgs, ExplicitPtr and ExplicitPtrOutput values. You can construct a concrete instance of `ExplicitPtrInput` via:

        ExplicitArgs{...}

or:

        nil

func ExplicitPtr

func ExplicitPtr(v *ExplicitArgs) ExplicitPtrInput

type ExplicitPtrOutput

type ExplicitPtrOutput struct{ *pulumi.OutputState }

func (ExplicitPtrOutput) Bounds

The values must be monotonically increasing.

func (ExplicitPtrOutput) Elem

func (ExplicitPtrOutput) ElementType

func (ExplicitPtrOutput) ElementType() reflect.Type

func (ExplicitPtrOutput) ToExplicitPtrOutput

func (o ExplicitPtrOutput) ToExplicitPtrOutput() ExplicitPtrOutput

func (ExplicitPtrOutput) ToExplicitPtrOutputWithContext

func (o ExplicitPtrOutput) ToExplicitPtrOutputWithContext(ctx context.Context) ExplicitPtrOutput

type ExplicitResponse

type ExplicitResponse struct {
	// The values must be monotonically increasing.
	Bounds []float64 `pulumi:"bounds"`
}

Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

type ExplicitResponseOutput

type ExplicitResponseOutput struct{ *pulumi.OutputState }

Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

func (ExplicitResponseOutput) Bounds

The values must be monotonically increasing.

func (ExplicitResponseOutput) ElementType

func (ExplicitResponseOutput) ElementType() reflect.Type

func (ExplicitResponseOutput) ToExplicitResponseOutput

func (o ExplicitResponseOutput) ToExplicitResponseOutput() ExplicitResponseOutput

func (ExplicitResponseOutput) ToExplicitResponseOutputWithContext

func (o ExplicitResponseOutput) ToExplicitResponseOutputWithContext(ctx context.Context) ExplicitResponseOutput

type Exponential

type Exponential struct {
	// Must be greater than 1.
	GrowthFactor *float64 `pulumi:"growthFactor"`
	// Must be greater than 0.
	NumFiniteBuckets *int `pulumi:"numFiniteBuckets"`
	// Must be greater than 0.
	Scale *float64 `pulumi:"scale"`
}

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

type ExponentialArgs

type ExponentialArgs struct {
	// Must be greater than 1.
	GrowthFactor pulumi.Float64PtrInput `pulumi:"growthFactor"`
	// Must be greater than 0.
	NumFiniteBuckets pulumi.IntPtrInput `pulumi:"numFiniteBuckets"`
	// Must be greater than 0.
	Scale pulumi.Float64PtrInput `pulumi:"scale"`
}

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

func (ExponentialArgs) ElementType

func (ExponentialArgs) ElementType() reflect.Type

func (ExponentialArgs) ToExponentialOutput

func (i ExponentialArgs) ToExponentialOutput() ExponentialOutput

func (ExponentialArgs) ToExponentialOutputWithContext

func (i ExponentialArgs) ToExponentialOutputWithContext(ctx context.Context) ExponentialOutput

func (ExponentialArgs) ToExponentialPtrOutput

func (i ExponentialArgs) ToExponentialPtrOutput() ExponentialPtrOutput

func (ExponentialArgs) ToExponentialPtrOutputWithContext

func (i ExponentialArgs) ToExponentialPtrOutputWithContext(ctx context.Context) ExponentialPtrOutput

type ExponentialInput

type ExponentialInput interface {
	pulumi.Input

	ToExponentialOutput() ExponentialOutput
	ToExponentialOutputWithContext(context.Context) ExponentialOutput
}

ExponentialInput is an input type that accepts ExponentialArgs and ExponentialOutput values. You can construct a concrete instance of `ExponentialInput` via:

ExponentialArgs{...}

type ExponentialOutput

type ExponentialOutput struct{ *pulumi.OutputState }

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

func (ExponentialOutput) ElementType

func (ExponentialOutput) ElementType() reflect.Type

func (ExponentialOutput) GrowthFactor

func (o ExponentialOutput) GrowthFactor() pulumi.Float64PtrOutput

Must be greater than 1.

func (ExponentialOutput) NumFiniteBuckets

func (o ExponentialOutput) NumFiniteBuckets() pulumi.IntPtrOutput

Must be greater than 0.

func (ExponentialOutput) Scale

Must be greater than 0.

func (ExponentialOutput) ToExponentialOutput

func (o ExponentialOutput) ToExponentialOutput() ExponentialOutput

func (ExponentialOutput) ToExponentialOutputWithContext

func (o ExponentialOutput) ToExponentialOutputWithContext(ctx context.Context) ExponentialOutput

func (ExponentialOutput) ToExponentialPtrOutput

func (o ExponentialOutput) ToExponentialPtrOutput() ExponentialPtrOutput

func (ExponentialOutput) ToExponentialPtrOutputWithContext

func (o ExponentialOutput) ToExponentialPtrOutputWithContext(ctx context.Context) ExponentialPtrOutput

type ExponentialPtrInput

type ExponentialPtrInput interface {
	pulumi.Input

	ToExponentialPtrOutput() ExponentialPtrOutput
	ToExponentialPtrOutputWithContext(context.Context) ExponentialPtrOutput
}

ExponentialPtrInput is an input type that accepts ExponentialArgs, ExponentialPtr and ExponentialPtrOutput values. You can construct a concrete instance of `ExponentialPtrInput` via:

        ExponentialArgs{...}

or:

        nil

func ExponentialPtr

func ExponentialPtr(v *ExponentialArgs) ExponentialPtrInput

type ExponentialPtrOutput

type ExponentialPtrOutput struct{ *pulumi.OutputState }

func (ExponentialPtrOutput) Elem

func (ExponentialPtrOutput) ElementType

func (ExponentialPtrOutput) ElementType() reflect.Type

func (ExponentialPtrOutput) GrowthFactor

func (o ExponentialPtrOutput) GrowthFactor() pulumi.Float64PtrOutput

Must be greater than 1.

func (ExponentialPtrOutput) NumFiniteBuckets

func (o ExponentialPtrOutput) NumFiniteBuckets() pulumi.IntPtrOutput

Must be greater than 0.

func (ExponentialPtrOutput) Scale

Must be greater than 0.

func (ExponentialPtrOutput) ToExponentialPtrOutput

func (o ExponentialPtrOutput) ToExponentialPtrOutput() ExponentialPtrOutput

func (ExponentialPtrOutput) ToExponentialPtrOutputWithContext

func (o ExponentialPtrOutput) ToExponentialPtrOutputWithContext(ctx context.Context) ExponentialPtrOutput

type ExponentialResponse

type ExponentialResponse struct {
	// Must be greater than 1.
	GrowthFactor float64 `pulumi:"growthFactor"`
	// Must be greater than 0.
	NumFiniteBuckets int `pulumi:"numFiniteBuckets"`
	// Must be greater than 0.
	Scale float64 `pulumi:"scale"`
}

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

type ExponentialResponseOutput

type ExponentialResponseOutput struct{ *pulumi.OutputState }

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

func (ExponentialResponseOutput) ElementType

func (ExponentialResponseOutput) ElementType() reflect.Type

func (ExponentialResponseOutput) GrowthFactor

Must be greater than 1.

func (ExponentialResponseOutput) NumFiniteBuckets

func (o ExponentialResponseOutput) NumFiniteBuckets() pulumi.IntOutput

Must be greater than 0.

func (ExponentialResponseOutput) Scale

Must be greater than 0.

func (ExponentialResponseOutput) ToExponentialResponseOutput

func (o ExponentialResponseOutput) ToExponentialResponseOutput() ExponentialResponseOutput

func (ExponentialResponseOutput) ToExponentialResponseOutputWithContext

func (o ExponentialResponseOutput) ToExponentialResponseOutputWithContext(ctx context.Context) ExponentialResponseOutput

type FolderBucket

type FolderBucket struct {
	pulumi.CustomResourceState

	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolOutput `pulumi:"analyticsEnabled"`
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponseOutput `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this bucket.
	Description pulumi.StringOutput `pulumi:"description"`
	FolderId    pulumi.StringOutput `pulumi:"folderId"`
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigResponseArrayOutput `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	Location       pulumi.StringOutput `pulumi:"location"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked pulumi.BoolOutput `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name pulumi.StringOutput `pulumi:"name"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayOutput `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntOutput `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. Auto-naming is currently not supported for this resource.

func GetFolderBucket

func GetFolderBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FolderBucketState, opts ...pulumi.ResourceOption) (*FolderBucket, error)

GetFolderBucket gets an existing FolderBucket 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 NewFolderBucket

func NewFolderBucket(ctx *pulumi.Context,
	name string, args *FolderBucketArgs, opts ...pulumi.ResourceOption) (*FolderBucket, error)

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

func (*FolderBucket) ElementType

func (*FolderBucket) ElementType() reflect.Type

func (*FolderBucket) ToFolderBucketOutput

func (i *FolderBucket) ToFolderBucketOutput() FolderBucketOutput

func (*FolderBucket) ToFolderBucketOutputWithContext

func (i *FolderBucket) ToFolderBucketOutputWithContext(ctx context.Context) FolderBucketOutput

type FolderBucketArgs

type FolderBucketArgs struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolPtrInput
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringInput
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsPtrInput
	// Describes this bucket.
	Description pulumi.StringPtrInput
	FolderId    pulumi.StringInput
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigArrayInput
	Location     pulumi.StringPtrInput
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked pulumi.BoolPtrInput
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayInput
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntPtrInput
}

The set of arguments for constructing a FolderBucket resource.

func (FolderBucketArgs) ElementType

func (FolderBucketArgs) ElementType() reflect.Type

type FolderBucketInput

type FolderBucketInput interface {
	pulumi.Input

	ToFolderBucketOutput() FolderBucketOutput
	ToFolderBucketOutputWithContext(ctx context.Context) FolderBucketOutput
}
type FolderBucketLink struct {
	pulumi.CustomResourceState

	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetResponseOutput `pulumi:"bigqueryDataset"`
	BucketId        pulumi.StringOutput           `pulumi:"bucketId"`
	// The creation timestamp of the link.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	FolderId    pulumi.StringOutput `pulumi:"folderId"`
	// The resource lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringOutput `pulumi:"linkId"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name pulumi.StringOutput `pulumi:"name"`
}

Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. Auto-naming is currently not supported for this resource.

func GetFolderBucketLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FolderBucketLinkState, opts ...pulumi.ResourceOption) (*FolderBucketLink, error)

GetFolderBucketLink gets an existing FolderBucketLink 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 NewFolderBucketLink(ctx *pulumi.Context,
	name string, args *FolderBucketLinkArgs, opts ...pulumi.ResourceOption) (*FolderBucketLink, error)

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

func (*FolderBucketLink) ElementType added in v0.29.0

func (*FolderBucketLink) ElementType() reflect.Type

func (*FolderBucketLink) ToFolderBucketLinkOutput added in v0.29.0

func (i *FolderBucketLink) ToFolderBucketLinkOutput() FolderBucketLinkOutput

func (*FolderBucketLink) ToFolderBucketLinkOutputWithContext added in v0.29.0

func (i *FolderBucketLink) ToFolderBucketLinkOutputWithContext(ctx context.Context) FolderBucketLinkOutput

type FolderBucketLinkArgs added in v0.29.0

type FolderBucketLinkArgs struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetPtrInput
	BucketId        pulumi.StringInput
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	FolderId    pulumi.StringInput
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringInput
	Location pulumi.StringPtrInput
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a FolderBucketLink resource.

func (FolderBucketLinkArgs) ElementType added in v0.29.0

func (FolderBucketLinkArgs) ElementType() reflect.Type

type FolderBucketLinkInput added in v0.29.0

type FolderBucketLinkInput interface {
	pulumi.Input

	ToFolderBucketLinkOutput() FolderBucketLinkOutput
	ToFolderBucketLinkOutputWithContext(ctx context.Context) FolderBucketLinkOutput
}

type FolderBucketLinkOutput added in v0.29.0

type FolderBucketLinkOutput struct{ *pulumi.OutputState }

func (FolderBucketLinkOutput) BigqueryDataset added in v0.29.0

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (FolderBucketLinkOutput) BucketId added in v0.29.0

func (FolderBucketLinkOutput) CreateTime added in v0.29.0

The creation timestamp of the link.

func (FolderBucketLinkOutput) Description added in v0.29.0

func (o FolderBucketLinkOutput) Description() pulumi.StringOutput

Describes this link.The maximum length of the description is 8000 characters.

func (FolderBucketLinkOutput) ElementType added in v0.29.0

func (FolderBucketLinkOutput) ElementType() reflect.Type

func (FolderBucketLinkOutput) FolderId added in v0.29.0

func (FolderBucketLinkOutput) LifecycleState added in v0.29.0

func (o FolderBucketLinkOutput) LifecycleState() pulumi.StringOutput

The resource lifecycle state.

func (FolderBucketLinkOutput) LinkId added in v0.29.0

Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

func (FolderBucketLinkOutput) Location added in v0.29.0

func (FolderBucketLinkOutput) Name added in v0.29.0

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (FolderBucketLinkOutput) ToFolderBucketLinkOutput added in v0.29.0

func (o FolderBucketLinkOutput) ToFolderBucketLinkOutput() FolderBucketLinkOutput

func (FolderBucketLinkOutput) ToFolderBucketLinkOutputWithContext added in v0.29.0

func (o FolderBucketLinkOutput) ToFolderBucketLinkOutputWithContext(ctx context.Context) FolderBucketLinkOutput

type FolderBucketLinkState added in v0.29.0

type FolderBucketLinkState struct {
}

func (FolderBucketLinkState) ElementType added in v0.29.0

func (FolderBucketLinkState) ElementType() reflect.Type

type FolderBucketOutput

type FolderBucketOutput struct{ *pulumi.OutputState }

func (FolderBucketOutput) AnalyticsEnabled added in v0.29.0

func (o FolderBucketOutput) AnalyticsEnabled() pulumi.BoolOutput

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (FolderBucketOutput) BucketId added in v0.21.0

func (o FolderBucketOutput) BucketId() pulumi.StringOutput

Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

func (FolderBucketOutput) CmekSettings added in v0.20.0

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (FolderBucketOutput) CreateTime added in v0.20.0

func (o FolderBucketOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (FolderBucketOutput) Description added in v0.20.0

func (o FolderBucketOutput) Description() pulumi.StringOutput

Describes this bucket.

func (FolderBucketOutput) ElementType

func (FolderBucketOutput) ElementType() reflect.Type

func (FolderBucketOutput) FolderId added in v0.21.0

func (o FolderBucketOutput) FolderId() pulumi.StringOutput

func (FolderBucketOutput) IndexConfigs added in v0.20.0

A list of indexed fields and related configuration data.

func (FolderBucketOutput) LifecycleState added in v0.20.0

func (o FolderBucketOutput) LifecycleState() pulumi.StringOutput

The bucket lifecycle state.

func (FolderBucketOutput) Location added in v0.21.0

func (o FolderBucketOutput) Location() pulumi.StringOutput

func (FolderBucketOutput) Locked added in v0.20.0

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (FolderBucketOutput) Name added in v0.20.0

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (FolderBucketOutput) RestrictedFields added in v0.20.0

func (o FolderBucketOutput) RestrictedFields() pulumi.StringArrayOutput

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (FolderBucketOutput) RetentionDays added in v0.20.0

func (o FolderBucketOutput) RetentionDays() pulumi.IntOutput

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (FolderBucketOutput) ToFolderBucketOutput

func (o FolderBucketOutput) ToFolderBucketOutput() FolderBucketOutput

func (FolderBucketOutput) ToFolderBucketOutputWithContext

func (o FolderBucketOutput) ToFolderBucketOutputWithContext(ctx context.Context) FolderBucketOutput

func (FolderBucketOutput) UpdateTime added in v0.20.0

func (o FolderBucketOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the bucket.

type FolderBucketState

type FolderBucketState struct {
}

func (FolderBucketState) ElementType

func (FolderBucketState) ElementType() reflect.Type

type FolderBucketView

type FolderBucketView struct {
	pulumi.CustomResourceState

	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// The creation timestamp of the view.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this view.
	Description pulumi.StringOutput `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringOutput `pulumi:"filter"`
	FolderId pulumi.StringOutput `pulumi:"folderId"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name pulumi.StringOutput `pulumi:"name"`
	// The last update timestamp of the view.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringOutput `pulumi:"viewId"`
}

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. Auto-naming is currently not supported for this resource.

func GetFolderBucketView

func GetFolderBucketView(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FolderBucketViewState, opts ...pulumi.ResourceOption) (*FolderBucketView, error)

GetFolderBucketView gets an existing FolderBucketView 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 NewFolderBucketView

func NewFolderBucketView(ctx *pulumi.Context,
	name string, args *FolderBucketViewArgs, opts ...pulumi.ResourceOption) (*FolderBucketView, error)

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

func (*FolderBucketView) ElementType

func (*FolderBucketView) ElementType() reflect.Type

func (*FolderBucketView) ToFolderBucketViewOutput

func (i *FolderBucketView) ToFolderBucketViewOutput() FolderBucketViewOutput

func (*FolderBucketView) ToFolderBucketViewOutputWithContext

func (i *FolderBucketView) ToFolderBucketViewOutputWithContext(ctx context.Context) FolderBucketViewOutput

type FolderBucketViewArgs

type FolderBucketViewArgs struct {
	BucketId pulumi.StringInput
	// Describes this view.
	Description pulumi.StringPtrInput
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringPtrInput
	FolderId pulumi.StringInput
	Location pulumi.StringPtrInput
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name pulumi.StringPtrInput
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringInput
}

The set of arguments for constructing a FolderBucketView resource.

func (FolderBucketViewArgs) ElementType

func (FolderBucketViewArgs) ElementType() reflect.Type

type FolderBucketViewInput

type FolderBucketViewInput interface {
	pulumi.Input

	ToFolderBucketViewOutput() FolderBucketViewOutput
	ToFolderBucketViewOutputWithContext(ctx context.Context) FolderBucketViewOutput
}

type FolderBucketViewOutput

type FolderBucketViewOutput struct{ *pulumi.OutputState }

func (FolderBucketViewOutput) BucketId added in v0.21.0

func (FolderBucketViewOutput) CreateTime added in v0.20.0

The creation timestamp of the view.

func (FolderBucketViewOutput) Description added in v0.20.0

func (o FolderBucketViewOutput) Description() pulumi.StringOutput

Describes this view.

func (FolderBucketViewOutput) ElementType

func (FolderBucketViewOutput) ElementType() reflect.Type

func (FolderBucketViewOutput) Filter added in v0.20.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (FolderBucketViewOutput) FolderId added in v0.21.0

func (FolderBucketViewOutput) Location added in v0.21.0

func (FolderBucketViewOutput) Name added in v0.20.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (FolderBucketViewOutput) ToFolderBucketViewOutput

func (o FolderBucketViewOutput) ToFolderBucketViewOutput() FolderBucketViewOutput

func (FolderBucketViewOutput) ToFolderBucketViewOutputWithContext

func (o FolderBucketViewOutput) ToFolderBucketViewOutputWithContext(ctx context.Context) FolderBucketViewOutput

func (FolderBucketViewOutput) UpdateTime added in v0.20.0

The last update timestamp of the view.

func (FolderBucketViewOutput) ViewId added in v0.21.0

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

type FolderBucketViewState

type FolderBucketViewState struct {
}

func (FolderBucketViewState) ElementType

func (FolderBucketViewState) ElementType() reflect.Type

type FolderExclusion

type FolderExclusion struct {
	pulumi.CustomResourceState

	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description pulumi.StringOutput `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter   pulumi.StringOutput `pulumi:"filter"`
	FolderId pulumi.StringOutput `pulumi:"folderId"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringOutput `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

func GetFolderExclusion

func GetFolderExclusion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FolderExclusionState, opts ...pulumi.ResourceOption) (*FolderExclusion, error)

GetFolderExclusion gets an existing FolderExclusion 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 NewFolderExclusion

func NewFolderExclusion(ctx *pulumi.Context,
	name string, args *FolderExclusionArgs, opts ...pulumi.ResourceOption) (*FolderExclusion, error)

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

func (*FolderExclusion) ElementType

func (*FolderExclusion) ElementType() reflect.Type

func (*FolderExclusion) ToFolderExclusionOutput

func (i *FolderExclusion) ToFolderExclusionOutput() FolderExclusionOutput

func (*FolderExclusion) ToFolderExclusionOutputWithContext

func (i *FolderExclusion) ToFolderExclusionOutputWithContext(ctx context.Context) FolderExclusionOutput

type FolderExclusionArgs

type FolderExclusionArgs struct {
	// Optional. A description of this exclusion.
	Description pulumi.StringPtrInput
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolPtrInput
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter   pulumi.StringInput
	FolderId pulumi.StringInput
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a FolderExclusion resource.

func (FolderExclusionArgs) ElementType

func (FolderExclusionArgs) ElementType() reflect.Type

type FolderExclusionInput

type FolderExclusionInput interface {
	pulumi.Input

	ToFolderExclusionOutput() FolderExclusionOutput
	ToFolderExclusionOutputWithContext(ctx context.Context) FolderExclusionOutput
}

type FolderExclusionOutput

type FolderExclusionOutput struct{ *pulumi.OutputState }

func (FolderExclusionOutput) CreateTime added in v0.20.0

func (o FolderExclusionOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (FolderExclusionOutput) Description added in v0.20.0

func (o FolderExclusionOutput) Description() pulumi.StringOutput

Optional. A description of this exclusion.

func (FolderExclusionOutput) Disabled added in v0.20.0

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (FolderExclusionOutput) ElementType

func (FolderExclusionOutput) ElementType() reflect.Type

func (FolderExclusionOutput) Filter added in v0.20.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (FolderExclusionOutput) FolderId added in v0.21.0

func (FolderExclusionOutput) Name added in v0.20.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (FolderExclusionOutput) ToFolderExclusionOutput

func (o FolderExclusionOutput) ToFolderExclusionOutput() FolderExclusionOutput

func (FolderExclusionOutput) ToFolderExclusionOutputWithContext

func (o FolderExclusionOutput) ToFolderExclusionOutputWithContext(ctx context.Context) FolderExclusionOutput

func (FolderExclusionOutput) UpdateTime added in v0.20.0

func (o FolderExclusionOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type FolderExclusionState

type FolderExclusionState struct {
}

func (FolderExclusionState) ElementType

func (FolderExclusionState) ElementType() reflect.Type

type FolderSink

type FolderSink struct {
	pulumi.CustomResourceState

	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponseOutput `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrOutput `pulumi:"customWriterIdentity"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringOutput `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionResponseArrayOutput `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter   pulumi.StringOutput `pulumi:"filter"`
	FolderId pulumi.StringOutput `pulumi:"folderId"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolOutput `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat pulumi.StringOutput `pulumi:"outputVersionFormat"`
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrOutput `pulumi:"uniqueWriterIdentity"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"`
}

Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

func GetFolderSink

func GetFolderSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FolderSinkState, opts ...pulumi.ResourceOption) (*FolderSink, error)

GetFolderSink gets an existing FolderSink 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 NewFolderSink

func NewFolderSink(ctx *pulumi.Context,
	name string, args *FolderSinkArgs, opts ...pulumi.ResourceOption) (*FolderSink, error)

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

func (*FolderSink) ElementType

func (*FolderSink) ElementType() reflect.Type

func (*FolderSink) ToFolderSinkOutput

func (i *FolderSink) ToFolderSinkOutput() FolderSinkOutput

func (*FolderSink) ToFolderSinkOutputWithContext

func (i *FolderSink) ToFolderSinkOutputWithContext(ctx context.Context) FolderSinkOutput

type FolderSinkArgs

type FolderSinkArgs struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsPtrInput
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrInput
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringInput
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolPtrInput
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionArrayInput
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter   pulumi.StringPtrInput
	FolderId pulumi.StringInput
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolPtrInput
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringPtrInput
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat FolderSinkOutputVersionFormatPtrInput
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrInput
}

The set of arguments for constructing a FolderSink resource.

func (FolderSinkArgs) ElementType

func (FolderSinkArgs) ElementType() reflect.Type

type FolderSinkInput

type FolderSinkInput interface {
	pulumi.Input

	ToFolderSinkOutput() FolderSinkOutput
	ToFolderSinkOutputWithContext(ctx context.Context) FolderSinkOutput
}

type FolderSinkOutput

type FolderSinkOutput struct{ *pulumi.OutputState }

func (FolderSinkOutput) BigqueryOptions added in v0.20.0

func (o FolderSinkOutput) BigqueryOptions() BigQueryOptionsResponseOutput

Optional. Options that affect sinks exporting data to BigQuery.

func (FolderSinkOutput) CreateTime added in v0.20.0

func (o FolderSinkOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the sink.This field may not be present for older sinks.

func (FolderSinkOutput) CustomWriterIdentity added in v0.32.0

func (o FolderSinkOutput) CustomWriterIdentity() pulumi.StringPtrOutput

Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.

func (FolderSinkOutput) Description added in v0.20.0

func (o FolderSinkOutput) Description() pulumi.StringOutput

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (FolderSinkOutput) Destination added in v0.20.0

func (o FolderSinkOutput) Destination() pulumi.StringOutput

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (FolderSinkOutput) Disabled added in v0.20.0

func (o FolderSinkOutput) Disabled() pulumi.BoolOutput

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (FolderSinkOutput) ElementType

func (FolderSinkOutput) ElementType() reflect.Type

func (FolderSinkOutput) Exclusions added in v0.20.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (FolderSinkOutput) Filter added in v0.20.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (FolderSinkOutput) FolderId added in v0.21.0

func (o FolderSinkOutput) FolderId() pulumi.StringOutput

func (FolderSinkOutput) IncludeChildren added in v0.20.0

func (o FolderSinkOutput) IncludeChildren() pulumi.BoolOutput

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (FolderSinkOutput) Name added in v0.20.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (FolderSinkOutput) OutputVersionFormat deprecated added in v0.20.0

func (o FolderSinkOutput) OutputVersionFormat() pulumi.StringOutput

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (FolderSinkOutput) ToFolderSinkOutput

func (o FolderSinkOutput) ToFolderSinkOutput() FolderSinkOutput

func (FolderSinkOutput) ToFolderSinkOutputWithContext

func (o FolderSinkOutput) ToFolderSinkOutputWithContext(ctx context.Context) FolderSinkOutput

func (FolderSinkOutput) UniqueWriterIdentity added in v0.21.0

func (o FolderSinkOutput) UniqueWriterIdentity() pulumi.BoolPtrOutput

Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.

func (FolderSinkOutput) UpdateTime added in v0.20.0

func (o FolderSinkOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the sink.This field may not be present for older sinks.

func (FolderSinkOutput) WriterIdentity added in v0.20.0

func (o FolderSinkOutput) WriterIdentity() pulumi.StringOutput

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type FolderSinkOutputVersionFormat added in v0.20.0

type FolderSinkOutputVersionFormat string

Deprecated. This field is unused.

func (FolderSinkOutputVersionFormat) ElementType added in v0.20.0

func (FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatOutput added in v0.20.0

func (e FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatOutput() FolderSinkOutputVersionFormatOutput

func (FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatOutputWithContext added in v0.20.0

func (e FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatOutputWithContext(ctx context.Context) FolderSinkOutputVersionFormatOutput

func (FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatPtrOutput added in v0.20.0

func (e FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatPtrOutput() FolderSinkOutputVersionFormatPtrOutput

func (FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (e FolderSinkOutputVersionFormat) ToFolderSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) FolderSinkOutputVersionFormatPtrOutput

func (FolderSinkOutputVersionFormat) ToStringOutput added in v0.20.0

func (FolderSinkOutputVersionFormat) ToStringOutputWithContext added in v0.20.0

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

func (FolderSinkOutputVersionFormat) ToStringPtrOutput added in v0.20.0

func (FolderSinkOutputVersionFormat) ToStringPtrOutputWithContext added in v0.20.0

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

type FolderSinkOutputVersionFormatInput added in v0.20.0

type FolderSinkOutputVersionFormatInput interface {
	pulumi.Input

	ToFolderSinkOutputVersionFormatOutput() FolderSinkOutputVersionFormatOutput
	ToFolderSinkOutputVersionFormatOutputWithContext(context.Context) FolderSinkOutputVersionFormatOutput
}

FolderSinkOutputVersionFormatInput is an input type that accepts FolderSinkOutputVersionFormatArgs and FolderSinkOutputVersionFormatOutput values. You can construct a concrete instance of `FolderSinkOutputVersionFormatInput` via:

FolderSinkOutputVersionFormatArgs{...}

type FolderSinkOutputVersionFormatOutput added in v0.20.0

type FolderSinkOutputVersionFormatOutput struct{ *pulumi.OutputState }

func (FolderSinkOutputVersionFormatOutput) ElementType added in v0.20.0

func (FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatOutput added in v0.20.0

func (o FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatOutput() FolderSinkOutputVersionFormatOutput

func (FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatOutputWithContext added in v0.20.0

func (o FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatOutputWithContext(ctx context.Context) FolderSinkOutputVersionFormatOutput

func (FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatPtrOutput added in v0.20.0

func (o FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatPtrOutput() FolderSinkOutputVersionFormatPtrOutput

func (FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (o FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) FolderSinkOutputVersionFormatPtrOutput

func (FolderSinkOutputVersionFormatOutput) ToStringOutput added in v0.20.0

func (FolderSinkOutputVersionFormatOutput) ToStringOutputWithContext added in v0.20.0

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

func (FolderSinkOutputVersionFormatOutput) ToStringPtrOutput added in v0.20.0

func (FolderSinkOutputVersionFormatOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type FolderSinkOutputVersionFormatPtrInput added in v0.20.0

type FolderSinkOutputVersionFormatPtrInput interface {
	pulumi.Input

	ToFolderSinkOutputVersionFormatPtrOutput() FolderSinkOutputVersionFormatPtrOutput
	ToFolderSinkOutputVersionFormatPtrOutputWithContext(context.Context) FolderSinkOutputVersionFormatPtrOutput
}

func FolderSinkOutputVersionFormatPtr added in v0.20.0

func FolderSinkOutputVersionFormatPtr(v string) FolderSinkOutputVersionFormatPtrInput

type FolderSinkOutputVersionFormatPtrOutput added in v0.20.0

type FolderSinkOutputVersionFormatPtrOutput struct{ *pulumi.OutputState }

func (FolderSinkOutputVersionFormatPtrOutput) Elem added in v0.20.0

func (FolderSinkOutputVersionFormatPtrOutput) ElementType added in v0.20.0

func (FolderSinkOutputVersionFormatPtrOutput) ToFolderSinkOutputVersionFormatPtrOutput added in v0.20.0

func (o FolderSinkOutputVersionFormatPtrOutput) ToFolderSinkOutputVersionFormatPtrOutput() FolderSinkOutputVersionFormatPtrOutput

func (FolderSinkOutputVersionFormatPtrOutput) ToFolderSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (o FolderSinkOutputVersionFormatPtrOutput) ToFolderSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) FolderSinkOutputVersionFormatPtrOutput

func (FolderSinkOutputVersionFormatPtrOutput) ToStringPtrOutput added in v0.20.0

func (FolderSinkOutputVersionFormatPtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type FolderSinkState

type FolderSinkState struct {
}

func (FolderSinkState) ElementType

func (FolderSinkState) ElementType() reflect.Type

type IndexConfig added in v0.20.0

type IndexConfig struct {
	// The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
	FieldPath string `pulumi:"fieldPath"`
	// The type of data in this index.
	Type IndexConfigType `pulumi:"type"`
}

Configuration for an indexed field.

type IndexConfigArgs added in v0.20.0

type IndexConfigArgs struct {
	// The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
	FieldPath pulumi.StringInput `pulumi:"fieldPath"`
	// The type of data in this index.
	Type IndexConfigTypeInput `pulumi:"type"`
}

Configuration for an indexed field.

func (IndexConfigArgs) ElementType added in v0.20.0

func (IndexConfigArgs) ElementType() reflect.Type

func (IndexConfigArgs) ToIndexConfigOutput added in v0.20.0

func (i IndexConfigArgs) ToIndexConfigOutput() IndexConfigOutput

func (IndexConfigArgs) ToIndexConfigOutputWithContext added in v0.20.0

func (i IndexConfigArgs) ToIndexConfigOutputWithContext(ctx context.Context) IndexConfigOutput

type IndexConfigArray added in v0.20.0

type IndexConfigArray []IndexConfigInput

func (IndexConfigArray) ElementType added in v0.20.0

func (IndexConfigArray) ElementType() reflect.Type

func (IndexConfigArray) ToIndexConfigArrayOutput added in v0.20.0

func (i IndexConfigArray) ToIndexConfigArrayOutput() IndexConfigArrayOutput

func (IndexConfigArray) ToIndexConfigArrayOutputWithContext added in v0.20.0

func (i IndexConfigArray) ToIndexConfigArrayOutputWithContext(ctx context.Context) IndexConfigArrayOutput

type IndexConfigArrayInput added in v0.20.0

type IndexConfigArrayInput interface {
	pulumi.Input

	ToIndexConfigArrayOutput() IndexConfigArrayOutput
	ToIndexConfigArrayOutputWithContext(context.Context) IndexConfigArrayOutput
}

IndexConfigArrayInput is an input type that accepts IndexConfigArray and IndexConfigArrayOutput values. You can construct a concrete instance of `IndexConfigArrayInput` via:

IndexConfigArray{ IndexConfigArgs{...} }

type IndexConfigArrayOutput added in v0.20.0

type IndexConfigArrayOutput struct{ *pulumi.OutputState }

func (IndexConfigArrayOutput) ElementType added in v0.20.0

func (IndexConfigArrayOutput) ElementType() reflect.Type

func (IndexConfigArrayOutput) Index added in v0.20.0

func (IndexConfigArrayOutput) ToIndexConfigArrayOutput added in v0.20.0

func (o IndexConfigArrayOutput) ToIndexConfigArrayOutput() IndexConfigArrayOutput

func (IndexConfigArrayOutput) ToIndexConfigArrayOutputWithContext added in v0.20.0

func (o IndexConfigArrayOutput) ToIndexConfigArrayOutputWithContext(ctx context.Context) IndexConfigArrayOutput

type IndexConfigInput added in v0.20.0

type IndexConfigInput interface {
	pulumi.Input

	ToIndexConfigOutput() IndexConfigOutput
	ToIndexConfigOutputWithContext(context.Context) IndexConfigOutput
}

IndexConfigInput is an input type that accepts IndexConfigArgs and IndexConfigOutput values. You can construct a concrete instance of `IndexConfigInput` via:

IndexConfigArgs{...}

type IndexConfigOutput added in v0.20.0

type IndexConfigOutput struct{ *pulumi.OutputState }

Configuration for an indexed field.

func (IndexConfigOutput) ElementType added in v0.20.0

func (IndexConfigOutput) ElementType() reflect.Type

func (IndexConfigOutput) FieldPath added in v0.20.0

func (o IndexConfigOutput) FieldPath() pulumi.StringOutput

The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status

func (IndexConfigOutput) ToIndexConfigOutput added in v0.20.0

func (o IndexConfigOutput) ToIndexConfigOutput() IndexConfigOutput

func (IndexConfigOutput) ToIndexConfigOutputWithContext added in v0.20.0

func (o IndexConfigOutput) ToIndexConfigOutputWithContext(ctx context.Context) IndexConfigOutput

func (IndexConfigOutput) Type added in v0.20.0

The type of data in this index.

type IndexConfigResponse added in v0.20.0

type IndexConfigResponse struct {
	// The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.
	CreateTime string `pulumi:"createTime"`
	// The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
	FieldPath string `pulumi:"fieldPath"`
	// The type of data in this index.
	Type string `pulumi:"type"`
}

Configuration for an indexed field.

type IndexConfigResponseArrayOutput added in v0.20.0

type IndexConfigResponseArrayOutput struct{ *pulumi.OutputState }

func (IndexConfigResponseArrayOutput) ElementType added in v0.20.0

func (IndexConfigResponseArrayOutput) Index added in v0.20.0

func (IndexConfigResponseArrayOutput) ToIndexConfigResponseArrayOutput added in v0.20.0

func (o IndexConfigResponseArrayOutput) ToIndexConfigResponseArrayOutput() IndexConfigResponseArrayOutput

func (IndexConfigResponseArrayOutput) ToIndexConfigResponseArrayOutputWithContext added in v0.20.0

func (o IndexConfigResponseArrayOutput) ToIndexConfigResponseArrayOutputWithContext(ctx context.Context) IndexConfigResponseArrayOutput

type IndexConfigResponseOutput added in v0.20.0

type IndexConfigResponseOutput struct{ *pulumi.OutputState }

Configuration for an indexed field.

func (IndexConfigResponseOutput) CreateTime added in v0.20.0

The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.

func (IndexConfigResponseOutput) ElementType added in v0.20.0

func (IndexConfigResponseOutput) ElementType() reflect.Type

func (IndexConfigResponseOutput) FieldPath added in v0.20.0

The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status

func (IndexConfigResponseOutput) ToIndexConfigResponseOutput added in v0.20.0

func (o IndexConfigResponseOutput) ToIndexConfigResponseOutput() IndexConfigResponseOutput

func (IndexConfigResponseOutput) ToIndexConfigResponseOutputWithContext added in v0.20.0

func (o IndexConfigResponseOutput) ToIndexConfigResponseOutputWithContext(ctx context.Context) IndexConfigResponseOutput

func (IndexConfigResponseOutput) Type added in v0.20.0

The type of data in this index.

type IndexConfigType added in v0.20.0

type IndexConfigType string

Required. The type of data in this index.

func (IndexConfigType) ElementType added in v0.20.0

func (IndexConfigType) ElementType() reflect.Type

func (IndexConfigType) ToIndexConfigTypeOutput added in v0.20.0

func (e IndexConfigType) ToIndexConfigTypeOutput() IndexConfigTypeOutput

func (IndexConfigType) ToIndexConfigTypeOutputWithContext added in v0.20.0

func (e IndexConfigType) ToIndexConfigTypeOutputWithContext(ctx context.Context) IndexConfigTypeOutput

func (IndexConfigType) ToIndexConfigTypePtrOutput added in v0.20.0

func (e IndexConfigType) ToIndexConfigTypePtrOutput() IndexConfigTypePtrOutput

func (IndexConfigType) ToIndexConfigTypePtrOutputWithContext added in v0.20.0

func (e IndexConfigType) ToIndexConfigTypePtrOutputWithContext(ctx context.Context) IndexConfigTypePtrOutput

func (IndexConfigType) ToStringOutput added in v0.20.0

func (e IndexConfigType) ToStringOutput() pulumi.StringOutput

func (IndexConfigType) ToStringOutputWithContext added in v0.20.0

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

func (IndexConfigType) ToStringPtrOutput added in v0.20.0

func (e IndexConfigType) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexConfigType) ToStringPtrOutputWithContext added in v0.20.0

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

type IndexConfigTypeInput added in v0.20.0

type IndexConfigTypeInput interface {
	pulumi.Input

	ToIndexConfigTypeOutput() IndexConfigTypeOutput
	ToIndexConfigTypeOutputWithContext(context.Context) IndexConfigTypeOutput
}

IndexConfigTypeInput is an input type that accepts IndexConfigTypeArgs and IndexConfigTypeOutput values. You can construct a concrete instance of `IndexConfigTypeInput` via:

IndexConfigTypeArgs{...}

type IndexConfigTypeOutput added in v0.20.0

type IndexConfigTypeOutput struct{ *pulumi.OutputState }

func (IndexConfigTypeOutput) ElementType added in v0.20.0

func (IndexConfigTypeOutput) ElementType() reflect.Type

func (IndexConfigTypeOutput) ToIndexConfigTypeOutput added in v0.20.0

func (o IndexConfigTypeOutput) ToIndexConfigTypeOutput() IndexConfigTypeOutput

func (IndexConfigTypeOutput) ToIndexConfigTypeOutputWithContext added in v0.20.0

func (o IndexConfigTypeOutput) ToIndexConfigTypeOutputWithContext(ctx context.Context) IndexConfigTypeOutput

func (IndexConfigTypeOutput) ToIndexConfigTypePtrOutput added in v0.20.0

func (o IndexConfigTypeOutput) ToIndexConfigTypePtrOutput() IndexConfigTypePtrOutput

func (IndexConfigTypeOutput) ToIndexConfigTypePtrOutputWithContext added in v0.20.0

func (o IndexConfigTypeOutput) ToIndexConfigTypePtrOutputWithContext(ctx context.Context) IndexConfigTypePtrOutput

func (IndexConfigTypeOutput) ToStringOutput added in v0.20.0

func (o IndexConfigTypeOutput) ToStringOutput() pulumi.StringOutput

func (IndexConfigTypeOutput) ToStringOutputWithContext added in v0.20.0

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

func (IndexConfigTypeOutput) ToStringPtrOutput added in v0.20.0

func (o IndexConfigTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexConfigTypeOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type IndexConfigTypePtrInput added in v0.20.0

type IndexConfigTypePtrInput interface {
	pulumi.Input

	ToIndexConfigTypePtrOutput() IndexConfigTypePtrOutput
	ToIndexConfigTypePtrOutputWithContext(context.Context) IndexConfigTypePtrOutput
}

func IndexConfigTypePtr added in v0.20.0

func IndexConfigTypePtr(v string) IndexConfigTypePtrInput

type IndexConfigTypePtrOutput added in v0.20.0

type IndexConfigTypePtrOutput struct{ *pulumi.OutputState }

func (IndexConfigTypePtrOutput) Elem added in v0.20.0

func (IndexConfigTypePtrOutput) ElementType added in v0.20.0

func (IndexConfigTypePtrOutput) ElementType() reflect.Type

func (IndexConfigTypePtrOutput) ToIndexConfigTypePtrOutput added in v0.20.0

func (o IndexConfigTypePtrOutput) ToIndexConfigTypePtrOutput() IndexConfigTypePtrOutput

func (IndexConfigTypePtrOutput) ToIndexConfigTypePtrOutputWithContext added in v0.20.0

func (o IndexConfigTypePtrOutput) ToIndexConfigTypePtrOutputWithContext(ctx context.Context) IndexConfigTypePtrOutput

func (IndexConfigTypePtrOutput) ToStringPtrOutput added in v0.20.0

func (o IndexConfigTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexConfigTypePtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type LabelDescriptor

type LabelDescriptor struct {
	// A human-readable description for the label.
	Description *string `pulumi:"description"`
	// The label key.
	Key *string `pulumi:"key"`
	// The type of data that can be assigned to the label.
	ValueType *LabelDescriptorValueType `pulumi:"valueType"`
}

A description of a label.

type LabelDescriptorArgs

type LabelDescriptorArgs struct {
	// A human-readable description for the label.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The label key.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The type of data that can be assigned to the label.
	ValueType LabelDescriptorValueTypePtrInput `pulumi:"valueType"`
}

A description of a label.

func (LabelDescriptorArgs) ElementType

func (LabelDescriptorArgs) ElementType() reflect.Type

func (LabelDescriptorArgs) ToLabelDescriptorOutput

func (i LabelDescriptorArgs) ToLabelDescriptorOutput() LabelDescriptorOutput

func (LabelDescriptorArgs) ToLabelDescriptorOutputWithContext

func (i LabelDescriptorArgs) ToLabelDescriptorOutputWithContext(ctx context.Context) LabelDescriptorOutput

type LabelDescriptorArray

type LabelDescriptorArray []LabelDescriptorInput

func (LabelDescriptorArray) ElementType

func (LabelDescriptorArray) ElementType() reflect.Type

func (LabelDescriptorArray) ToLabelDescriptorArrayOutput

func (i LabelDescriptorArray) ToLabelDescriptorArrayOutput() LabelDescriptorArrayOutput

func (LabelDescriptorArray) ToLabelDescriptorArrayOutputWithContext

func (i LabelDescriptorArray) ToLabelDescriptorArrayOutputWithContext(ctx context.Context) LabelDescriptorArrayOutput

type LabelDescriptorArrayInput

type LabelDescriptorArrayInput interface {
	pulumi.Input

	ToLabelDescriptorArrayOutput() LabelDescriptorArrayOutput
	ToLabelDescriptorArrayOutputWithContext(context.Context) LabelDescriptorArrayOutput
}

LabelDescriptorArrayInput is an input type that accepts LabelDescriptorArray and LabelDescriptorArrayOutput values. You can construct a concrete instance of `LabelDescriptorArrayInput` via:

LabelDescriptorArray{ LabelDescriptorArgs{...} }

type LabelDescriptorArrayOutput

type LabelDescriptorArrayOutput struct{ *pulumi.OutputState }

func (LabelDescriptorArrayOutput) ElementType

func (LabelDescriptorArrayOutput) ElementType() reflect.Type

func (LabelDescriptorArrayOutput) Index

func (LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutput

func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutput() LabelDescriptorArrayOutput

func (LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext

func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext(ctx context.Context) LabelDescriptorArrayOutput

type LabelDescriptorInput

type LabelDescriptorInput interface {
	pulumi.Input

	ToLabelDescriptorOutput() LabelDescriptorOutput
	ToLabelDescriptorOutputWithContext(context.Context) LabelDescriptorOutput
}

LabelDescriptorInput is an input type that accepts LabelDescriptorArgs and LabelDescriptorOutput values. You can construct a concrete instance of `LabelDescriptorInput` via:

LabelDescriptorArgs{...}

type LabelDescriptorOutput

type LabelDescriptorOutput struct{ *pulumi.OutputState }

A description of a label.

func (LabelDescriptorOutput) Description

A human-readable description for the label.

func (LabelDescriptorOutput) ElementType

func (LabelDescriptorOutput) ElementType() reflect.Type

func (LabelDescriptorOutput) Key

The label key.

func (LabelDescriptorOutput) ToLabelDescriptorOutput

func (o LabelDescriptorOutput) ToLabelDescriptorOutput() LabelDescriptorOutput

func (LabelDescriptorOutput) ToLabelDescriptorOutputWithContext

func (o LabelDescriptorOutput) ToLabelDescriptorOutputWithContext(ctx context.Context) LabelDescriptorOutput

func (LabelDescriptorOutput) ValueType

The type of data that can be assigned to the label.

type LabelDescriptorResponse

type LabelDescriptorResponse struct {
	// A human-readable description for the label.
	Description string `pulumi:"description"`
	// The label key.
	Key string `pulumi:"key"`
	// The type of data that can be assigned to the label.
	ValueType string `pulumi:"valueType"`
}

A description of a label.

type LabelDescriptorResponseArrayOutput

type LabelDescriptorResponseArrayOutput struct{ *pulumi.OutputState }

func (LabelDescriptorResponseArrayOutput) ElementType

func (LabelDescriptorResponseArrayOutput) Index

func (LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput

func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput() LabelDescriptorResponseArrayOutput

func (LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutputWithContext

func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutputWithContext(ctx context.Context) LabelDescriptorResponseArrayOutput

type LabelDescriptorResponseOutput

type LabelDescriptorResponseOutput struct{ *pulumi.OutputState }

A description of a label.

func (LabelDescriptorResponseOutput) Description

A human-readable description for the label.

func (LabelDescriptorResponseOutput) ElementType

func (LabelDescriptorResponseOutput) Key

The label key.

func (LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutput

func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutput() LabelDescriptorResponseOutput

func (LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContext

func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContext(ctx context.Context) LabelDescriptorResponseOutput

func (LabelDescriptorResponseOutput) ValueType

The type of data that can be assigned to the label.

type LabelDescriptorValueType added in v0.20.0

type LabelDescriptorValueType string

The type of data that can be assigned to the label.

func (LabelDescriptorValueType) ElementType added in v0.20.0

func (LabelDescriptorValueType) ElementType() reflect.Type

func (LabelDescriptorValueType) ToLabelDescriptorValueTypeOutput added in v0.20.0

func (e LabelDescriptorValueType) ToLabelDescriptorValueTypeOutput() LabelDescriptorValueTypeOutput

func (LabelDescriptorValueType) ToLabelDescriptorValueTypeOutputWithContext added in v0.20.0

func (e LabelDescriptorValueType) ToLabelDescriptorValueTypeOutputWithContext(ctx context.Context) LabelDescriptorValueTypeOutput

func (LabelDescriptorValueType) ToLabelDescriptorValueTypePtrOutput added in v0.20.0

func (e LabelDescriptorValueType) ToLabelDescriptorValueTypePtrOutput() LabelDescriptorValueTypePtrOutput

func (LabelDescriptorValueType) ToLabelDescriptorValueTypePtrOutputWithContext added in v0.20.0

func (e LabelDescriptorValueType) ToLabelDescriptorValueTypePtrOutputWithContext(ctx context.Context) LabelDescriptorValueTypePtrOutput

func (LabelDescriptorValueType) ToStringOutput added in v0.20.0

func (e LabelDescriptorValueType) ToStringOutput() pulumi.StringOutput

func (LabelDescriptorValueType) ToStringOutputWithContext added in v0.20.0

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

func (LabelDescriptorValueType) ToStringPtrOutput added in v0.20.0

func (e LabelDescriptorValueType) ToStringPtrOutput() pulumi.StringPtrOutput

func (LabelDescriptorValueType) ToStringPtrOutputWithContext added in v0.20.0

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

type LabelDescriptorValueTypeInput added in v0.20.0

type LabelDescriptorValueTypeInput interface {
	pulumi.Input

	ToLabelDescriptorValueTypeOutput() LabelDescriptorValueTypeOutput
	ToLabelDescriptorValueTypeOutputWithContext(context.Context) LabelDescriptorValueTypeOutput
}

LabelDescriptorValueTypeInput is an input type that accepts LabelDescriptorValueTypeArgs and LabelDescriptorValueTypeOutput values. You can construct a concrete instance of `LabelDescriptorValueTypeInput` via:

LabelDescriptorValueTypeArgs{...}

type LabelDescriptorValueTypeOutput added in v0.20.0

type LabelDescriptorValueTypeOutput struct{ *pulumi.OutputState }

func (LabelDescriptorValueTypeOutput) ElementType added in v0.20.0

func (LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypeOutput added in v0.20.0

func (o LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypeOutput() LabelDescriptorValueTypeOutput

func (LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypeOutputWithContext added in v0.20.0

func (o LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypeOutputWithContext(ctx context.Context) LabelDescriptorValueTypeOutput

func (LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypePtrOutput added in v0.20.0

func (o LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypePtrOutput() LabelDescriptorValueTypePtrOutput

func (LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypePtrOutputWithContext added in v0.20.0

func (o LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypePtrOutputWithContext(ctx context.Context) LabelDescriptorValueTypePtrOutput

func (LabelDescriptorValueTypeOutput) ToStringOutput added in v0.20.0

func (LabelDescriptorValueTypeOutput) ToStringOutputWithContext added in v0.20.0

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

func (LabelDescriptorValueTypeOutput) ToStringPtrOutput added in v0.20.0

func (LabelDescriptorValueTypeOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type LabelDescriptorValueTypePtrInput added in v0.20.0

type LabelDescriptorValueTypePtrInput interface {
	pulumi.Input

	ToLabelDescriptorValueTypePtrOutput() LabelDescriptorValueTypePtrOutput
	ToLabelDescriptorValueTypePtrOutputWithContext(context.Context) LabelDescriptorValueTypePtrOutput
}

func LabelDescriptorValueTypePtr added in v0.20.0

func LabelDescriptorValueTypePtr(v string) LabelDescriptorValueTypePtrInput

type LabelDescriptorValueTypePtrOutput added in v0.20.0

type LabelDescriptorValueTypePtrOutput struct{ *pulumi.OutputState }

func (LabelDescriptorValueTypePtrOutput) Elem added in v0.20.0

func (LabelDescriptorValueTypePtrOutput) ElementType added in v0.20.0

func (LabelDescriptorValueTypePtrOutput) ToLabelDescriptorValueTypePtrOutput added in v0.20.0

func (o LabelDescriptorValueTypePtrOutput) ToLabelDescriptorValueTypePtrOutput() LabelDescriptorValueTypePtrOutput

func (LabelDescriptorValueTypePtrOutput) ToLabelDescriptorValueTypePtrOutputWithContext added in v0.20.0

func (o LabelDescriptorValueTypePtrOutput) ToLabelDescriptorValueTypePtrOutputWithContext(ctx context.Context) LabelDescriptorValueTypePtrOutput

func (LabelDescriptorValueTypePtrOutput) ToStringPtrOutput added in v0.20.0

func (LabelDescriptorValueTypePtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type Linear

type Linear struct {
	// Must be greater than 0.
	NumFiniteBuckets *int `pulumi:"numFiniteBuckets"`
	// Lower bound of the first bucket.
	Offset *float64 `pulumi:"offset"`
	// Must be greater than 0.
	Width *float64 `pulumi:"width"`
}

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).

type LinearArgs

type LinearArgs struct {
	// Must be greater than 0.
	NumFiniteBuckets pulumi.IntPtrInput `pulumi:"numFiniteBuckets"`
	// Lower bound of the first bucket.
	Offset pulumi.Float64PtrInput `pulumi:"offset"`
	// Must be greater than 0.
	Width pulumi.Float64PtrInput `pulumi:"width"`
}

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).

func (LinearArgs) ElementType

func (LinearArgs) ElementType() reflect.Type

func (LinearArgs) ToLinearOutput

func (i LinearArgs) ToLinearOutput() LinearOutput

func (LinearArgs) ToLinearOutputWithContext

func (i LinearArgs) ToLinearOutputWithContext(ctx context.Context) LinearOutput

func (LinearArgs) ToLinearPtrOutput

func (i LinearArgs) ToLinearPtrOutput() LinearPtrOutput

func (LinearArgs) ToLinearPtrOutputWithContext

func (i LinearArgs) ToLinearPtrOutputWithContext(ctx context.Context) LinearPtrOutput

type LinearInput

type LinearInput interface {
	pulumi.Input

	ToLinearOutput() LinearOutput
	ToLinearOutputWithContext(context.Context) LinearOutput
}

LinearInput is an input type that accepts LinearArgs and LinearOutput values. You can construct a concrete instance of `LinearInput` via:

LinearArgs{...}

type LinearOutput

type LinearOutput struct{ *pulumi.OutputState }

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).

func (LinearOutput) ElementType

func (LinearOutput) ElementType() reflect.Type

func (LinearOutput) NumFiniteBuckets

func (o LinearOutput) NumFiniteBuckets() pulumi.IntPtrOutput

Must be greater than 0.

func (LinearOutput) Offset

Lower bound of the first bucket.

func (LinearOutput) ToLinearOutput

func (o LinearOutput) ToLinearOutput() LinearOutput

func (LinearOutput) ToLinearOutputWithContext

func (o LinearOutput) ToLinearOutputWithContext(ctx context.Context) LinearOutput

func (LinearOutput) ToLinearPtrOutput

func (o LinearOutput) ToLinearPtrOutput() LinearPtrOutput

func (LinearOutput) ToLinearPtrOutputWithContext

func (o LinearOutput) ToLinearPtrOutputWithContext(ctx context.Context) LinearPtrOutput

func (LinearOutput) Width

Must be greater than 0.

type LinearPtrInput

type LinearPtrInput interface {
	pulumi.Input

	ToLinearPtrOutput() LinearPtrOutput
	ToLinearPtrOutputWithContext(context.Context) LinearPtrOutput
}

LinearPtrInput is an input type that accepts LinearArgs, LinearPtr and LinearPtrOutput values. You can construct a concrete instance of `LinearPtrInput` via:

        LinearArgs{...}

or:

        nil

func LinearPtr

func LinearPtr(v *LinearArgs) LinearPtrInput

type LinearPtrOutput

type LinearPtrOutput struct{ *pulumi.OutputState }

func (LinearPtrOutput) Elem

func (o LinearPtrOutput) Elem() LinearOutput

func (LinearPtrOutput) ElementType

func (LinearPtrOutput) ElementType() reflect.Type

func (LinearPtrOutput) NumFiniteBuckets

func (o LinearPtrOutput) NumFiniteBuckets() pulumi.IntPtrOutput

Must be greater than 0.

func (LinearPtrOutput) Offset

Lower bound of the first bucket.

func (LinearPtrOutput) ToLinearPtrOutput

func (o LinearPtrOutput) ToLinearPtrOutput() LinearPtrOutput

func (LinearPtrOutput) ToLinearPtrOutputWithContext

func (o LinearPtrOutput) ToLinearPtrOutputWithContext(ctx context.Context) LinearPtrOutput

func (LinearPtrOutput) Width

Must be greater than 0.

type LinearResponse

type LinearResponse struct {
	// Must be greater than 0.
	NumFiniteBuckets int `pulumi:"numFiniteBuckets"`
	// Lower bound of the first bucket.
	Offset float64 `pulumi:"offset"`
	// Must be greater than 0.
	Width float64 `pulumi:"width"`
}

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).

type LinearResponseOutput

type LinearResponseOutput struct{ *pulumi.OutputState }

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).

func (LinearResponseOutput) ElementType

func (LinearResponseOutput) ElementType() reflect.Type

func (LinearResponseOutput) NumFiniteBuckets

func (o LinearResponseOutput) NumFiniteBuckets() pulumi.IntOutput

Must be greater than 0.

func (LinearResponseOutput) Offset

Lower bound of the first bucket.

func (LinearResponseOutput) ToLinearResponseOutput

func (o LinearResponseOutput) ToLinearResponseOutput() LinearResponseOutput

func (LinearResponseOutput) ToLinearResponseOutputWithContext

func (o LinearResponseOutput) ToLinearResponseOutputWithContext(ctx context.Context) LinearResponseOutput

func (LinearResponseOutput) Width

Must be greater than 0.

type Link struct {
	pulumi.CustomResourceState

	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetResponseOutput `pulumi:"bigqueryDataset"`
	BucketId        pulumi.StringOutput           `pulumi:"bucketId"`
	// The creation timestamp of the link.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The resource lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringOutput `pulumi:"linkId"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
}

Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.

func GetLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LinkState, opts ...pulumi.ResourceOption) (*Link, error)

GetLink gets an existing Link 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 NewLink(ctx *pulumi.Context,
	name string, args *LinkArgs, opts ...pulumi.ResourceOption) (*Link, error)

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

func (*Link) ElementType added in v0.29.0

func (*Link) ElementType() reflect.Type

func (*Link) ToLinkOutput added in v0.29.0

func (i *Link) ToLinkOutput() LinkOutput

func (*Link) ToLinkOutputWithContext added in v0.29.0

func (i *Link) ToLinkOutputWithContext(ctx context.Context) LinkOutput

type LinkArgs added in v0.29.0

type LinkArgs struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetPtrInput
	BucketId        pulumi.StringInput
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringInput
	Location pulumi.StringPtrInput
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Link resource.

func (LinkArgs) ElementType added in v0.29.0

func (LinkArgs) ElementType() reflect.Type

type LinkInput added in v0.29.0

type LinkInput interface {
	pulumi.Input

	ToLinkOutput() LinkOutput
	ToLinkOutputWithContext(ctx context.Context) LinkOutput
}

type LinkOutput added in v0.29.0

type LinkOutput struct{ *pulumi.OutputState }

func (LinkOutput) BigqueryDataset added in v0.29.0

func (o LinkOutput) BigqueryDataset() BigQueryDatasetResponseOutput

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (LinkOutput) BucketId added in v0.29.0

func (o LinkOutput) BucketId() pulumi.StringOutput

func (LinkOutput) CreateTime added in v0.29.0

func (o LinkOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the link.

func (LinkOutput) Description added in v0.29.0

func (o LinkOutput) Description() pulumi.StringOutput

Describes this link.The maximum length of the description is 8000 characters.

func (LinkOutput) ElementType added in v0.29.0

func (LinkOutput) ElementType() reflect.Type

func (LinkOutput) LifecycleState added in v0.29.0

func (o LinkOutput) LifecycleState() pulumi.StringOutput

The resource lifecycle state.

func (LinkOutput) LinkId added in v0.29.0

func (o LinkOutput) LinkId() pulumi.StringOutput

Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

func (LinkOutput) Location added in v0.29.0

func (o LinkOutput) Location() pulumi.StringOutput

func (LinkOutput) Name added in v0.29.0

func (o LinkOutput) Name() pulumi.StringOutput

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (LinkOutput) Project added in v0.29.0

func (o LinkOutput) Project() pulumi.StringOutput

func (LinkOutput) ToLinkOutput added in v0.29.0

func (o LinkOutput) ToLinkOutput() LinkOutput

func (LinkOutput) ToLinkOutputWithContext added in v0.29.0

func (o LinkOutput) ToLinkOutputWithContext(ctx context.Context) LinkOutput

type LinkState added in v0.29.0

type LinkState struct {
}

func (LinkState) ElementType added in v0.29.0

func (LinkState) ElementType() reflect.Type

type LogExclusion

type LogExclusion struct {
	// Optional. A description of this exclusion.
	Description *string `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled *bool `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
}

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

type LogExclusionArgs

type LogExclusionArgs struct {
	// Optional. A description of this exclusion.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter pulumi.StringInput `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringInput `pulumi:"name"`
}

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

func (LogExclusionArgs) ElementType

func (LogExclusionArgs) ElementType() reflect.Type

func (LogExclusionArgs) ToLogExclusionOutput

func (i LogExclusionArgs) ToLogExclusionOutput() LogExclusionOutput

func (LogExclusionArgs) ToLogExclusionOutputWithContext

func (i LogExclusionArgs) ToLogExclusionOutputWithContext(ctx context.Context) LogExclusionOutput

type LogExclusionArray

type LogExclusionArray []LogExclusionInput

func (LogExclusionArray) ElementType

func (LogExclusionArray) ElementType() reflect.Type

func (LogExclusionArray) ToLogExclusionArrayOutput

func (i LogExclusionArray) ToLogExclusionArrayOutput() LogExclusionArrayOutput

func (LogExclusionArray) ToLogExclusionArrayOutputWithContext

func (i LogExclusionArray) ToLogExclusionArrayOutputWithContext(ctx context.Context) LogExclusionArrayOutput

type LogExclusionArrayInput

type LogExclusionArrayInput interface {
	pulumi.Input

	ToLogExclusionArrayOutput() LogExclusionArrayOutput
	ToLogExclusionArrayOutputWithContext(context.Context) LogExclusionArrayOutput
}

LogExclusionArrayInput is an input type that accepts LogExclusionArray and LogExclusionArrayOutput values. You can construct a concrete instance of `LogExclusionArrayInput` via:

LogExclusionArray{ LogExclusionArgs{...} }

type LogExclusionArrayOutput

type LogExclusionArrayOutput struct{ *pulumi.OutputState }

func (LogExclusionArrayOutput) ElementType

func (LogExclusionArrayOutput) ElementType() reflect.Type

func (LogExclusionArrayOutput) Index

func (LogExclusionArrayOutput) ToLogExclusionArrayOutput

func (o LogExclusionArrayOutput) ToLogExclusionArrayOutput() LogExclusionArrayOutput

func (LogExclusionArrayOutput) ToLogExclusionArrayOutputWithContext

func (o LogExclusionArrayOutput) ToLogExclusionArrayOutputWithContext(ctx context.Context) LogExclusionArrayOutput

type LogExclusionInput

type LogExclusionInput interface {
	pulumi.Input

	ToLogExclusionOutput() LogExclusionOutput
	ToLogExclusionOutputWithContext(context.Context) LogExclusionOutput
}

LogExclusionInput is an input type that accepts LogExclusionArgs and LogExclusionOutput values. You can construct a concrete instance of `LogExclusionInput` via:

LogExclusionArgs{...}

type LogExclusionOutput

type LogExclusionOutput struct{ *pulumi.OutputState }

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

func (LogExclusionOutput) Description

func (o LogExclusionOutput) Description() pulumi.StringPtrOutput

Optional. A description of this exclusion.

func (LogExclusionOutput) Disabled

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (LogExclusionOutput) ElementType

func (LogExclusionOutput) ElementType() reflect.Type

func (LogExclusionOutput) Filter

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (LogExclusionOutput) Name

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LogExclusionOutput) ToLogExclusionOutput

func (o LogExclusionOutput) ToLogExclusionOutput() LogExclusionOutput

func (LogExclusionOutput) ToLogExclusionOutputWithContext

func (o LogExclusionOutput) ToLogExclusionOutputWithContext(ctx context.Context) LogExclusionOutput

type LogExclusionResponse

type LogExclusionResponse struct {
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description string `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled bool `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime string `pulumi:"updateTime"`
}

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

type LogExclusionResponseArrayOutput

type LogExclusionResponseArrayOutput struct{ *pulumi.OutputState }

func (LogExclusionResponseArrayOutput) ElementType

func (LogExclusionResponseArrayOutput) Index

func (LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutput

func (o LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutput() LogExclusionResponseArrayOutput

func (LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutputWithContext

func (o LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutputWithContext(ctx context.Context) LogExclusionResponseArrayOutput

type LogExclusionResponseOutput

type LogExclusionResponseOutput struct{ *pulumi.OutputState }

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

func (LogExclusionResponseOutput) CreateTime

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (LogExclusionResponseOutput) Description

Optional. A description of this exclusion.

func (LogExclusionResponseOutput) Disabled

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (LogExclusionResponseOutput) ElementType

func (LogExclusionResponseOutput) ElementType() reflect.Type

func (LogExclusionResponseOutput) Filter

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (LogExclusionResponseOutput) Name

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LogExclusionResponseOutput) ToLogExclusionResponseOutput

func (o LogExclusionResponseOutput) ToLogExclusionResponseOutput() LogExclusionResponseOutput

func (LogExclusionResponseOutput) ToLogExclusionResponseOutputWithContext

func (o LogExclusionResponseOutput) ToLogExclusionResponseOutputWithContext(ctx context.Context) LogExclusionResponseOutput

func (LogExclusionResponseOutput) UpdateTime

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type LookupBillingAccountBucketArgs added in v0.21.0

type LookupBillingAccountBucketArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	BucketId         string `pulumi:"bucketId"`
	Location         string `pulumi:"location"`
}

type LookupBillingAccountBucketLinkArgs added in v0.29.0

type LookupBillingAccountBucketLinkArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	BucketId         string `pulumi:"bucketId"`
	LinkId           string `pulumi:"linkId"`
	Location         string `pulumi:"location"`
}

type LookupBillingAccountBucketLinkOutputArgs added in v0.29.0

type LookupBillingAccountBucketLinkOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	BucketId         pulumi.StringInput `pulumi:"bucketId"`
	LinkId           pulumi.StringInput `pulumi:"linkId"`
	Location         pulumi.StringInput `pulumi:"location"`
}

func (LookupBillingAccountBucketLinkOutputArgs) ElementType added in v0.29.0

type LookupBillingAccountBucketLinkResult added in v0.29.0

type LookupBillingAccountBucketLinkResult struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetResponse `pulumi:"bigqueryDataset"`
	// The creation timestamp of the link.
	CreateTime string `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The resource lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name string `pulumi:"name"`
}

Gets a link.

type LookupBillingAccountBucketLinkResultOutput added in v0.29.0

type LookupBillingAccountBucketLinkResultOutput struct{ *pulumi.OutputState }

func (LookupBillingAccountBucketLinkResultOutput) BigqueryDataset added in v0.29.0

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (LookupBillingAccountBucketLinkResultOutput) CreateTime added in v0.29.0

The creation timestamp of the link.

func (LookupBillingAccountBucketLinkResultOutput) Description added in v0.29.0

Describes this link.The maximum length of the description is 8000 characters.

func (LookupBillingAccountBucketLinkResultOutput) ElementType added in v0.29.0

func (LookupBillingAccountBucketLinkResultOutput) LifecycleState added in v0.29.0

The resource lifecycle state.

func (LookupBillingAccountBucketLinkResultOutput) Name added in v0.29.0

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (LookupBillingAccountBucketLinkResultOutput) ToLookupBillingAccountBucketLinkResultOutput added in v0.29.0

func (o LookupBillingAccountBucketLinkResultOutput) ToLookupBillingAccountBucketLinkResultOutput() LookupBillingAccountBucketLinkResultOutput

func (LookupBillingAccountBucketLinkResultOutput) ToLookupBillingAccountBucketLinkResultOutputWithContext added in v0.29.0

func (o LookupBillingAccountBucketLinkResultOutput) ToLookupBillingAccountBucketLinkResultOutputWithContext(ctx context.Context) LookupBillingAccountBucketLinkResultOutput

type LookupBillingAccountBucketOutputArgs added in v0.21.0

type LookupBillingAccountBucketOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	BucketId         pulumi.StringInput `pulumi:"bucketId"`
	Location         pulumi.StringInput `pulumi:"location"`
}

func (LookupBillingAccountBucketOutputArgs) ElementType added in v0.21.0

type LookupBillingAccountBucketResult added in v0.21.0

type LookupBillingAccountBucketResult struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled bool `pulumi:"analyticsEnabled"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponse `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime string `pulumi:"createTime"`
	// Describes this bucket.
	Description string `pulumi:"description"`
	// A list of indexed fields and related configuration data.
	IndexConfigs []IndexConfigResponse `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked bool `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name string `pulumi:"name"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields []string `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays int `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupBillingAccountBucket added in v0.21.0

func LookupBillingAccountBucket(ctx *pulumi.Context, args *LookupBillingAccountBucketArgs, opts ...pulumi.InvokeOption) (*LookupBillingAccountBucketResult, error)

Gets a log bucket.

type LookupBillingAccountBucketResultOutput added in v0.21.0

type LookupBillingAccountBucketResultOutput struct{ *pulumi.OutputState }

func (LookupBillingAccountBucketResultOutput) AnalyticsEnabled added in v0.29.0

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (LookupBillingAccountBucketResultOutput) CmekSettings added in v0.21.0

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (LookupBillingAccountBucketResultOutput) CreateTime added in v0.21.0

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (LookupBillingAccountBucketResultOutput) Description added in v0.21.0

Describes this bucket.

func (LookupBillingAccountBucketResultOutput) ElementType added in v0.21.0

func (LookupBillingAccountBucketResultOutput) IndexConfigs added in v0.21.0

A list of indexed fields and related configuration data.

func (LookupBillingAccountBucketResultOutput) LifecycleState added in v0.21.0

The bucket lifecycle state.

func (LookupBillingAccountBucketResultOutput) Locked added in v0.21.0

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (LookupBillingAccountBucketResultOutput) Name added in v0.21.0

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (LookupBillingAccountBucketResultOutput) RestrictedFields added in v0.21.0

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (LookupBillingAccountBucketResultOutput) RetentionDays added in v0.21.0

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (LookupBillingAccountBucketResultOutput) ToLookupBillingAccountBucketResultOutput added in v0.21.0

func (o LookupBillingAccountBucketResultOutput) ToLookupBillingAccountBucketResultOutput() LookupBillingAccountBucketResultOutput

func (LookupBillingAccountBucketResultOutput) ToLookupBillingAccountBucketResultOutputWithContext added in v0.21.0

func (o LookupBillingAccountBucketResultOutput) ToLookupBillingAccountBucketResultOutputWithContext(ctx context.Context) LookupBillingAccountBucketResultOutput

func (LookupBillingAccountBucketResultOutput) UpdateTime added in v0.21.0

The last update timestamp of the bucket.

type LookupBillingAccountBucketViewArgs added in v0.21.0

type LookupBillingAccountBucketViewArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	BucketId         string `pulumi:"bucketId"`
	Location         string `pulumi:"location"`
	ViewId           string `pulumi:"viewId"`
}

type LookupBillingAccountBucketViewOutputArgs added in v0.21.0

type LookupBillingAccountBucketViewOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	BucketId         pulumi.StringInput `pulumi:"bucketId"`
	Location         pulumi.StringInput `pulumi:"location"`
	ViewId           pulumi.StringInput `pulumi:"viewId"`
}

func (LookupBillingAccountBucketViewOutputArgs) ElementType added in v0.21.0

type LookupBillingAccountBucketViewResult added in v0.21.0

type LookupBillingAccountBucketViewResult struct {
	// The creation timestamp of the view.
	CreateTime string `pulumi:"createTime"`
	// Describes this view.
	Description string `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter string `pulumi:"filter"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name string `pulumi:"name"`
	// The last update timestamp of the view.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupBillingAccountBucketView added in v0.21.0

Gets a view on a log bucket.

type LookupBillingAccountBucketViewResultOutput added in v0.21.0

type LookupBillingAccountBucketViewResultOutput struct{ *pulumi.OutputState }

func (LookupBillingAccountBucketViewResultOutput) CreateTime added in v0.21.0

The creation timestamp of the view.

func (LookupBillingAccountBucketViewResultOutput) Description added in v0.21.0

Describes this view.

func (LookupBillingAccountBucketViewResultOutput) ElementType added in v0.21.0

func (LookupBillingAccountBucketViewResultOutput) Filter added in v0.21.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (LookupBillingAccountBucketViewResultOutput) Name added in v0.21.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (LookupBillingAccountBucketViewResultOutput) ToLookupBillingAccountBucketViewResultOutput added in v0.21.0

func (o LookupBillingAccountBucketViewResultOutput) ToLookupBillingAccountBucketViewResultOutput() LookupBillingAccountBucketViewResultOutput

func (LookupBillingAccountBucketViewResultOutput) ToLookupBillingAccountBucketViewResultOutputWithContext added in v0.21.0

func (o LookupBillingAccountBucketViewResultOutput) ToLookupBillingAccountBucketViewResultOutputWithContext(ctx context.Context) LookupBillingAccountBucketViewResultOutput

func (LookupBillingAccountBucketViewResultOutput) UpdateTime added in v0.21.0

The last update timestamp of the view.

type LookupBillingAccountExclusionArgs added in v0.4.0

type LookupBillingAccountExclusionArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	ExclusionId      string `pulumi:"exclusionId"`
}

type LookupBillingAccountExclusionOutputArgs added in v0.8.0

type LookupBillingAccountExclusionOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	ExclusionId      pulumi.StringInput `pulumi:"exclusionId"`
}

func (LookupBillingAccountExclusionOutputArgs) ElementType added in v0.8.0

type LookupBillingAccountExclusionResult added in v0.4.0

type LookupBillingAccountExclusionResult struct {
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description string `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled bool `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupBillingAccountExclusion added in v0.4.0

Gets the description of an exclusion in the _Default sink.

type LookupBillingAccountExclusionResultOutput added in v0.8.0

type LookupBillingAccountExclusionResultOutput struct{ *pulumi.OutputState }

func (LookupBillingAccountExclusionResultOutput) CreateTime added in v0.8.0

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (LookupBillingAccountExclusionResultOutput) Description added in v0.8.0

Optional. A description of this exclusion.

func (LookupBillingAccountExclusionResultOutput) Disabled added in v0.8.0

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (LookupBillingAccountExclusionResultOutput) ElementType added in v0.8.0

func (LookupBillingAccountExclusionResultOutput) Filter added in v0.8.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (LookupBillingAccountExclusionResultOutput) Name added in v0.8.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutput added in v0.8.0

func (o LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutput() LookupBillingAccountExclusionResultOutput

func (LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutputWithContext added in v0.8.0

func (o LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutputWithContext(ctx context.Context) LookupBillingAccountExclusionResultOutput

func (LookupBillingAccountExclusionResultOutput) UpdateTime added in v0.8.0

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type LookupBillingAccountSinkArgs added in v0.4.0

type LookupBillingAccountSinkArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	SinkId           string `pulumi:"sinkId"`
}

type LookupBillingAccountSinkOutputArgs added in v0.8.0

type LookupBillingAccountSinkOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	SinkId           pulumi.StringInput `pulumi:"sinkId"`
}

func (LookupBillingAccountSinkOutputArgs) ElementType added in v0.8.0

type LookupBillingAccountSinkResult added in v0.4.0

type LookupBillingAccountSinkResult struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponse `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination string `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled bool `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions []LogExclusionResponse `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter string `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren bool `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat string `pulumi:"outputVersionFormat"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime string `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity string `pulumi:"writerIdentity"`
}

func LookupBillingAccountSink added in v0.4.0

func LookupBillingAccountSink(ctx *pulumi.Context, args *LookupBillingAccountSinkArgs, opts ...pulumi.InvokeOption) (*LookupBillingAccountSinkResult, error)

Gets a sink.

type LookupBillingAccountSinkResultOutput added in v0.8.0

type LookupBillingAccountSinkResultOutput struct{ *pulumi.OutputState }

func (LookupBillingAccountSinkResultOutput) BigqueryOptions added in v0.8.0

Optional. Options that affect sinks exporting data to BigQuery.

func (LookupBillingAccountSinkResultOutput) CreateTime added in v0.8.0

The creation timestamp of the sink.This field may not be present for older sinks.

func (LookupBillingAccountSinkResultOutput) Description added in v0.8.0

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (LookupBillingAccountSinkResultOutput) Destination added in v0.8.0

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (LookupBillingAccountSinkResultOutput) Disabled added in v0.8.0

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (LookupBillingAccountSinkResultOutput) ElementType added in v0.8.0

func (LookupBillingAccountSinkResultOutput) Exclusions added in v0.8.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (LookupBillingAccountSinkResultOutput) Filter added in v0.8.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (LookupBillingAccountSinkResultOutput) IncludeChildren added in v0.8.0

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (LookupBillingAccountSinkResultOutput) Name added in v0.8.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupBillingAccountSinkResultOutput) OutputVersionFormat deprecated added in v0.17.0

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutput added in v0.8.0

func (o LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutput() LookupBillingAccountSinkResultOutput

func (LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutputWithContext added in v0.8.0

func (o LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutputWithContext(ctx context.Context) LookupBillingAccountSinkResultOutput

func (LookupBillingAccountSinkResultOutput) UpdateTime added in v0.8.0

The last update timestamp of the sink.This field may not be present for older sinks.

func (LookupBillingAccountSinkResultOutput) WriterIdentity added in v0.8.0

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type LookupBucketArgs added in v0.20.0

type LookupBucketArgs struct {
	BucketId string  `pulumi:"bucketId"`
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
}

type LookupBucketOutputArgs added in v0.20.0

type LookupBucketOutputArgs struct {
	BucketId pulumi.StringInput    `pulumi:"bucketId"`
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupBucketOutputArgs) ElementType added in v0.20.0

func (LookupBucketOutputArgs) ElementType() reflect.Type

type LookupBucketResult added in v0.20.0

type LookupBucketResult struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled bool `pulumi:"analyticsEnabled"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponse `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime string `pulumi:"createTime"`
	// Describes this bucket.
	Description string `pulumi:"description"`
	// A list of indexed fields and related configuration data.
	IndexConfigs []IndexConfigResponse `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked bool `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name string `pulumi:"name"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields []string `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays int `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupBucket added in v0.20.0

func LookupBucket(ctx *pulumi.Context, args *LookupBucketArgs, opts ...pulumi.InvokeOption) (*LookupBucketResult, error)

Gets a log bucket.

type LookupBucketResultOutput added in v0.20.0

type LookupBucketResultOutput struct{ *pulumi.OutputState }

func LookupBucketOutput added in v0.20.0

func LookupBucketOutput(ctx *pulumi.Context, args LookupBucketOutputArgs, opts ...pulumi.InvokeOption) LookupBucketResultOutput

func (LookupBucketResultOutput) AnalyticsEnabled added in v0.29.0

func (o LookupBucketResultOutput) AnalyticsEnabled() pulumi.BoolOutput

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (LookupBucketResultOutput) CmekSettings added in v0.20.0

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (LookupBucketResultOutput) CreateTime added in v0.20.0

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (LookupBucketResultOutput) Description added in v0.20.0

Describes this bucket.

func (LookupBucketResultOutput) ElementType added in v0.20.0

func (LookupBucketResultOutput) ElementType() reflect.Type

func (LookupBucketResultOutput) IndexConfigs added in v0.20.0

A list of indexed fields and related configuration data.

func (LookupBucketResultOutput) LifecycleState added in v0.20.0

func (o LookupBucketResultOutput) LifecycleState() pulumi.StringOutput

The bucket lifecycle state.

func (LookupBucketResultOutput) Locked added in v0.20.0

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (LookupBucketResultOutput) Name added in v0.20.0

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (LookupBucketResultOutput) RestrictedFields added in v0.20.0

func (o LookupBucketResultOutput) RestrictedFields() pulumi.StringArrayOutput

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (LookupBucketResultOutput) RetentionDays added in v0.20.0

func (o LookupBucketResultOutput) RetentionDays() pulumi.IntOutput

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (LookupBucketResultOutput) ToLookupBucketResultOutput added in v0.20.0

func (o LookupBucketResultOutput) ToLookupBucketResultOutput() LookupBucketResultOutput

func (LookupBucketResultOutput) ToLookupBucketResultOutputWithContext added in v0.20.0

func (o LookupBucketResultOutput) ToLookupBucketResultOutputWithContext(ctx context.Context) LookupBucketResultOutput

func (LookupBucketResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the bucket.

type LookupBucketViewArgs added in v0.20.0

type LookupBucketViewArgs struct {
	BucketId string  `pulumi:"bucketId"`
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
	ViewId   string  `pulumi:"viewId"`
}

type LookupBucketViewOutputArgs added in v0.20.0

type LookupBucketViewOutputArgs struct {
	BucketId pulumi.StringInput    `pulumi:"bucketId"`
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
	ViewId   pulumi.StringInput    `pulumi:"viewId"`
}

func (LookupBucketViewOutputArgs) ElementType added in v0.20.0

func (LookupBucketViewOutputArgs) ElementType() reflect.Type

type LookupBucketViewResult added in v0.20.0

type LookupBucketViewResult struct {
	// The creation timestamp of the view.
	CreateTime string `pulumi:"createTime"`
	// Describes this view.
	Description string `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter string `pulumi:"filter"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name string `pulumi:"name"`
	// The last update timestamp of the view.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupBucketView added in v0.20.0

func LookupBucketView(ctx *pulumi.Context, args *LookupBucketViewArgs, opts ...pulumi.InvokeOption) (*LookupBucketViewResult, error)

Gets a view on a log bucket.

type LookupBucketViewResultOutput added in v0.20.0

type LookupBucketViewResultOutput struct{ *pulumi.OutputState }

func LookupBucketViewOutput added in v0.20.0

func (LookupBucketViewResultOutput) CreateTime added in v0.20.0

The creation timestamp of the view.

func (LookupBucketViewResultOutput) Description added in v0.20.0

Describes this view.

func (LookupBucketViewResultOutput) ElementType added in v0.20.0

func (LookupBucketViewResultOutput) Filter added in v0.20.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (LookupBucketViewResultOutput) Name added in v0.20.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (LookupBucketViewResultOutput) ToLookupBucketViewResultOutput added in v0.20.0

func (o LookupBucketViewResultOutput) ToLookupBucketViewResultOutput() LookupBucketViewResultOutput

func (LookupBucketViewResultOutput) ToLookupBucketViewResultOutputWithContext added in v0.20.0

func (o LookupBucketViewResultOutput) ToLookupBucketViewResultOutputWithContext(ctx context.Context) LookupBucketViewResultOutput

func (LookupBucketViewResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the view.

type LookupExclusionArgs added in v0.20.0

type LookupExclusionArgs struct {
	ExclusionId string  `pulumi:"exclusionId"`
	Project     *string `pulumi:"project"`
}

type LookupExclusionOutputArgs added in v0.20.0

type LookupExclusionOutputArgs struct {
	ExclusionId pulumi.StringInput    `pulumi:"exclusionId"`
	Project     pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupExclusionOutputArgs) ElementType added in v0.20.0

func (LookupExclusionOutputArgs) ElementType() reflect.Type

type LookupExclusionResult added in v0.20.0

type LookupExclusionResult struct {
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description string `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled bool `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupExclusion added in v0.20.0

func LookupExclusion(ctx *pulumi.Context, args *LookupExclusionArgs, opts ...pulumi.InvokeOption) (*LookupExclusionResult, error)

Gets the description of an exclusion in the _Default sink.

type LookupExclusionResultOutput added in v0.20.0

type LookupExclusionResultOutput struct{ *pulumi.OutputState }

func LookupExclusionOutput added in v0.20.0

func (LookupExclusionResultOutput) CreateTime added in v0.20.0

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (LookupExclusionResultOutput) Description added in v0.20.0

Optional. A description of this exclusion.

func (LookupExclusionResultOutput) Disabled added in v0.20.0

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (LookupExclusionResultOutput) ElementType added in v0.20.0

func (LookupExclusionResultOutput) Filter added in v0.20.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (LookupExclusionResultOutput) Name added in v0.20.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupExclusionResultOutput) ToLookupExclusionResultOutput added in v0.20.0

func (o LookupExclusionResultOutput) ToLookupExclusionResultOutput() LookupExclusionResultOutput

func (LookupExclusionResultOutput) ToLookupExclusionResultOutputWithContext added in v0.20.0

func (o LookupExclusionResultOutput) ToLookupExclusionResultOutputWithContext(ctx context.Context) LookupExclusionResultOutput

func (LookupExclusionResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type LookupFolderBucketArgs added in v0.20.0

type LookupFolderBucketArgs struct {
	BucketId string `pulumi:"bucketId"`
	FolderId string `pulumi:"folderId"`
	Location string `pulumi:"location"`
}

type LookupFolderBucketLinkArgs added in v0.29.0

type LookupFolderBucketLinkArgs struct {
	BucketId string `pulumi:"bucketId"`
	FolderId string `pulumi:"folderId"`
	LinkId   string `pulumi:"linkId"`
	Location string `pulumi:"location"`
}

type LookupFolderBucketLinkOutputArgs added in v0.29.0

type LookupFolderBucketLinkOutputArgs struct {
	BucketId pulumi.StringInput `pulumi:"bucketId"`
	FolderId pulumi.StringInput `pulumi:"folderId"`
	LinkId   pulumi.StringInput `pulumi:"linkId"`
	Location pulumi.StringInput `pulumi:"location"`
}

func (LookupFolderBucketLinkOutputArgs) ElementType added in v0.29.0

type LookupFolderBucketLinkResult added in v0.29.0

type LookupFolderBucketLinkResult struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetResponse `pulumi:"bigqueryDataset"`
	// The creation timestamp of the link.
	CreateTime string `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The resource lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name string `pulumi:"name"`
}
func LookupFolderBucketLink(ctx *pulumi.Context, args *LookupFolderBucketLinkArgs, opts ...pulumi.InvokeOption) (*LookupFolderBucketLinkResult, error)

Gets a link.

type LookupFolderBucketLinkResultOutput added in v0.29.0

type LookupFolderBucketLinkResultOutput struct{ *pulumi.OutputState }

func LookupFolderBucketLinkOutput added in v0.29.0

func (LookupFolderBucketLinkResultOutput) BigqueryDataset added in v0.29.0

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (LookupFolderBucketLinkResultOutput) CreateTime added in v0.29.0

The creation timestamp of the link.

func (LookupFolderBucketLinkResultOutput) Description added in v0.29.0

Describes this link.The maximum length of the description is 8000 characters.

func (LookupFolderBucketLinkResultOutput) ElementType added in v0.29.0

func (LookupFolderBucketLinkResultOutput) LifecycleState added in v0.29.0

The resource lifecycle state.

func (LookupFolderBucketLinkResultOutput) Name added in v0.29.0

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (LookupFolderBucketLinkResultOutput) ToLookupFolderBucketLinkResultOutput added in v0.29.0

func (o LookupFolderBucketLinkResultOutput) ToLookupFolderBucketLinkResultOutput() LookupFolderBucketLinkResultOutput

func (LookupFolderBucketLinkResultOutput) ToLookupFolderBucketLinkResultOutputWithContext added in v0.29.0

func (o LookupFolderBucketLinkResultOutput) ToLookupFolderBucketLinkResultOutputWithContext(ctx context.Context) LookupFolderBucketLinkResultOutput

type LookupFolderBucketOutputArgs added in v0.20.0

type LookupFolderBucketOutputArgs struct {
	BucketId pulumi.StringInput `pulumi:"bucketId"`
	FolderId pulumi.StringInput `pulumi:"folderId"`
	Location pulumi.StringInput `pulumi:"location"`
}

func (LookupFolderBucketOutputArgs) ElementType added in v0.20.0

type LookupFolderBucketResult added in v0.20.0

type LookupFolderBucketResult struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled bool `pulumi:"analyticsEnabled"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponse `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime string `pulumi:"createTime"`
	// Describes this bucket.
	Description string `pulumi:"description"`
	// A list of indexed fields and related configuration data.
	IndexConfigs []IndexConfigResponse `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked bool `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name string `pulumi:"name"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields []string `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays int `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupFolderBucket added in v0.20.0

func LookupFolderBucket(ctx *pulumi.Context, args *LookupFolderBucketArgs, opts ...pulumi.InvokeOption) (*LookupFolderBucketResult, error)

Gets a log bucket.

type LookupFolderBucketResultOutput added in v0.20.0

type LookupFolderBucketResultOutput struct{ *pulumi.OutputState }

func LookupFolderBucketOutput added in v0.20.0

func (LookupFolderBucketResultOutput) AnalyticsEnabled added in v0.29.0

func (o LookupFolderBucketResultOutput) AnalyticsEnabled() pulumi.BoolOutput

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (LookupFolderBucketResultOutput) CmekSettings added in v0.20.0

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (LookupFolderBucketResultOutput) CreateTime added in v0.20.0

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (LookupFolderBucketResultOutput) Description added in v0.20.0

Describes this bucket.

func (LookupFolderBucketResultOutput) ElementType added in v0.20.0

func (LookupFolderBucketResultOutput) IndexConfigs added in v0.20.0

A list of indexed fields and related configuration data.

func (LookupFolderBucketResultOutput) LifecycleState added in v0.20.0

The bucket lifecycle state.

func (LookupFolderBucketResultOutput) Locked added in v0.20.0

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (LookupFolderBucketResultOutput) Name added in v0.20.0

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (LookupFolderBucketResultOutput) RestrictedFields added in v0.20.0

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (LookupFolderBucketResultOutput) RetentionDays added in v0.20.0

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (LookupFolderBucketResultOutput) ToLookupFolderBucketResultOutput added in v0.20.0

func (o LookupFolderBucketResultOutput) ToLookupFolderBucketResultOutput() LookupFolderBucketResultOutput

func (LookupFolderBucketResultOutput) ToLookupFolderBucketResultOutputWithContext added in v0.20.0

func (o LookupFolderBucketResultOutput) ToLookupFolderBucketResultOutputWithContext(ctx context.Context) LookupFolderBucketResultOutput

func (LookupFolderBucketResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the bucket.

type LookupFolderBucketViewArgs added in v0.20.0

type LookupFolderBucketViewArgs struct {
	BucketId string `pulumi:"bucketId"`
	FolderId string `pulumi:"folderId"`
	Location string `pulumi:"location"`
	ViewId   string `pulumi:"viewId"`
}

type LookupFolderBucketViewOutputArgs added in v0.20.0

type LookupFolderBucketViewOutputArgs struct {
	BucketId pulumi.StringInput `pulumi:"bucketId"`
	FolderId pulumi.StringInput `pulumi:"folderId"`
	Location pulumi.StringInput `pulumi:"location"`
	ViewId   pulumi.StringInput `pulumi:"viewId"`
}

func (LookupFolderBucketViewOutputArgs) ElementType added in v0.20.0

type LookupFolderBucketViewResult added in v0.20.0

type LookupFolderBucketViewResult struct {
	// The creation timestamp of the view.
	CreateTime string `pulumi:"createTime"`
	// Describes this view.
	Description string `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter string `pulumi:"filter"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name string `pulumi:"name"`
	// The last update timestamp of the view.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupFolderBucketView added in v0.20.0

func LookupFolderBucketView(ctx *pulumi.Context, args *LookupFolderBucketViewArgs, opts ...pulumi.InvokeOption) (*LookupFolderBucketViewResult, error)

Gets a view on a log bucket.

type LookupFolderBucketViewResultOutput added in v0.20.0

type LookupFolderBucketViewResultOutput struct{ *pulumi.OutputState }

func LookupFolderBucketViewOutput added in v0.20.0

func (LookupFolderBucketViewResultOutput) CreateTime added in v0.20.0

The creation timestamp of the view.

func (LookupFolderBucketViewResultOutput) Description added in v0.20.0

Describes this view.

func (LookupFolderBucketViewResultOutput) ElementType added in v0.20.0

func (LookupFolderBucketViewResultOutput) Filter added in v0.20.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (LookupFolderBucketViewResultOutput) Name added in v0.20.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (LookupFolderBucketViewResultOutput) ToLookupFolderBucketViewResultOutput added in v0.20.0

func (o LookupFolderBucketViewResultOutput) ToLookupFolderBucketViewResultOutput() LookupFolderBucketViewResultOutput

func (LookupFolderBucketViewResultOutput) ToLookupFolderBucketViewResultOutputWithContext added in v0.20.0

func (o LookupFolderBucketViewResultOutput) ToLookupFolderBucketViewResultOutputWithContext(ctx context.Context) LookupFolderBucketViewResultOutput

func (LookupFolderBucketViewResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the view.

type LookupFolderExclusionArgs added in v0.20.0

type LookupFolderExclusionArgs struct {
	ExclusionId string `pulumi:"exclusionId"`
	FolderId    string `pulumi:"folderId"`
}

type LookupFolderExclusionOutputArgs added in v0.20.0

type LookupFolderExclusionOutputArgs struct {
	ExclusionId pulumi.StringInput `pulumi:"exclusionId"`
	FolderId    pulumi.StringInput `pulumi:"folderId"`
}

func (LookupFolderExclusionOutputArgs) ElementType added in v0.20.0

type LookupFolderExclusionResult added in v0.20.0

type LookupFolderExclusionResult struct {
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description string `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled bool `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupFolderExclusion added in v0.20.0

func LookupFolderExclusion(ctx *pulumi.Context, args *LookupFolderExclusionArgs, opts ...pulumi.InvokeOption) (*LookupFolderExclusionResult, error)

Gets the description of an exclusion in the _Default sink.

type LookupFolderExclusionResultOutput added in v0.20.0

type LookupFolderExclusionResultOutput struct{ *pulumi.OutputState }

func LookupFolderExclusionOutput added in v0.20.0

func (LookupFolderExclusionResultOutput) CreateTime added in v0.20.0

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (LookupFolderExclusionResultOutput) Description added in v0.20.0

Optional. A description of this exclusion.

func (LookupFolderExclusionResultOutput) Disabled added in v0.20.0

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (LookupFolderExclusionResultOutput) ElementType added in v0.20.0

func (LookupFolderExclusionResultOutput) Filter added in v0.20.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (LookupFolderExclusionResultOutput) Name added in v0.20.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupFolderExclusionResultOutput) ToLookupFolderExclusionResultOutput added in v0.20.0

func (o LookupFolderExclusionResultOutput) ToLookupFolderExclusionResultOutput() LookupFolderExclusionResultOutput

func (LookupFolderExclusionResultOutput) ToLookupFolderExclusionResultOutputWithContext added in v0.20.0

func (o LookupFolderExclusionResultOutput) ToLookupFolderExclusionResultOutputWithContext(ctx context.Context) LookupFolderExclusionResultOutput

func (LookupFolderExclusionResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type LookupFolderSinkArgs added in v0.20.0

type LookupFolderSinkArgs struct {
	FolderId string `pulumi:"folderId"`
	SinkId   string `pulumi:"sinkId"`
}

type LookupFolderSinkOutputArgs added in v0.20.0

type LookupFolderSinkOutputArgs struct {
	FolderId pulumi.StringInput `pulumi:"folderId"`
	SinkId   pulumi.StringInput `pulumi:"sinkId"`
}

func (LookupFolderSinkOutputArgs) ElementType added in v0.20.0

func (LookupFolderSinkOutputArgs) ElementType() reflect.Type

type LookupFolderSinkResult added in v0.20.0

type LookupFolderSinkResult struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponse `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination string `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled bool `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions []LogExclusionResponse `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter string `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren bool `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat string `pulumi:"outputVersionFormat"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime string `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity string `pulumi:"writerIdentity"`
}

func LookupFolderSink added in v0.20.0

func LookupFolderSink(ctx *pulumi.Context, args *LookupFolderSinkArgs, opts ...pulumi.InvokeOption) (*LookupFolderSinkResult, error)

Gets a sink.

type LookupFolderSinkResultOutput added in v0.20.0

type LookupFolderSinkResultOutput struct{ *pulumi.OutputState }

func LookupFolderSinkOutput added in v0.20.0

func (LookupFolderSinkResultOutput) BigqueryOptions added in v0.20.0

Optional. Options that affect sinks exporting data to BigQuery.

func (LookupFolderSinkResultOutput) CreateTime added in v0.20.0

The creation timestamp of the sink.This field may not be present for older sinks.

func (LookupFolderSinkResultOutput) Description added in v0.20.0

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (LookupFolderSinkResultOutput) Destination added in v0.20.0

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (LookupFolderSinkResultOutput) Disabled added in v0.20.0

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (LookupFolderSinkResultOutput) ElementType added in v0.20.0

func (LookupFolderSinkResultOutput) Exclusions added in v0.20.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (LookupFolderSinkResultOutput) Filter added in v0.20.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (LookupFolderSinkResultOutput) IncludeChildren added in v0.20.0

func (o LookupFolderSinkResultOutput) IncludeChildren() pulumi.BoolOutput

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (LookupFolderSinkResultOutput) Name added in v0.20.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupFolderSinkResultOutput) OutputVersionFormat deprecated added in v0.20.0

func (o LookupFolderSinkResultOutput) OutputVersionFormat() pulumi.StringOutput

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (LookupFolderSinkResultOutput) ToLookupFolderSinkResultOutput added in v0.20.0

func (o LookupFolderSinkResultOutput) ToLookupFolderSinkResultOutput() LookupFolderSinkResultOutput

func (LookupFolderSinkResultOutput) ToLookupFolderSinkResultOutputWithContext added in v0.20.0

func (o LookupFolderSinkResultOutput) ToLookupFolderSinkResultOutputWithContext(ctx context.Context) LookupFolderSinkResultOutput

func (LookupFolderSinkResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the sink.This field may not be present for older sinks.

func (LookupFolderSinkResultOutput) WriterIdentity added in v0.20.0

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type LookupLinkArgs added in v0.29.0

type LookupLinkArgs struct {
	BucketId string  `pulumi:"bucketId"`
	LinkId   string  `pulumi:"linkId"`
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
}

type LookupLinkOutputArgs added in v0.29.0

type LookupLinkOutputArgs struct {
	BucketId pulumi.StringInput    `pulumi:"bucketId"`
	LinkId   pulumi.StringInput    `pulumi:"linkId"`
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupLinkOutputArgs) ElementType added in v0.29.0

func (LookupLinkOutputArgs) ElementType() reflect.Type

type LookupLinkResult added in v0.29.0

type LookupLinkResult struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetResponse `pulumi:"bigqueryDataset"`
	// The creation timestamp of the link.
	CreateTime string `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The resource lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name string `pulumi:"name"`
}
func LookupLink(ctx *pulumi.Context, args *LookupLinkArgs, opts ...pulumi.InvokeOption) (*LookupLinkResult, error)

Gets a link.

type LookupLinkResultOutput added in v0.29.0

type LookupLinkResultOutput struct{ *pulumi.OutputState }

func LookupLinkOutput added in v0.29.0

func LookupLinkOutput(ctx *pulumi.Context, args LookupLinkOutputArgs, opts ...pulumi.InvokeOption) LookupLinkResultOutput

func (LookupLinkResultOutput) BigqueryDataset added in v0.29.0

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (LookupLinkResultOutput) CreateTime added in v0.29.0

The creation timestamp of the link.

func (LookupLinkResultOutput) Description added in v0.29.0

func (o LookupLinkResultOutput) Description() pulumi.StringOutput

Describes this link.The maximum length of the description is 8000 characters.

func (LookupLinkResultOutput) ElementType added in v0.29.0

func (LookupLinkResultOutput) ElementType() reflect.Type

func (LookupLinkResultOutput) LifecycleState added in v0.29.0

func (o LookupLinkResultOutput) LifecycleState() pulumi.StringOutput

The resource lifecycle state.

func (LookupLinkResultOutput) Name added in v0.29.0

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (LookupLinkResultOutput) ToLookupLinkResultOutput added in v0.29.0

func (o LookupLinkResultOutput) ToLookupLinkResultOutput() LookupLinkResultOutput

func (LookupLinkResultOutput) ToLookupLinkResultOutputWithContext added in v0.29.0

func (o LookupLinkResultOutput) ToLookupLinkResultOutputWithContext(ctx context.Context) LookupLinkResultOutput

type LookupMetricArgs added in v0.20.0

type LookupMetricArgs struct {
	MetricId string  `pulumi:"metricId"`
	Project  *string `pulumi:"project"`
}

type LookupMetricOutputArgs added in v0.20.0

type LookupMetricOutputArgs struct {
	MetricId pulumi.StringInput    `pulumi:"metricId"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupMetricOutputArgs) ElementType added in v0.20.0

func (LookupMetricOutputArgs) ElementType() reflect.Type

type LookupMetricResult added in v0.20.0

type LookupMetricResult struct {
	// Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric.
	BucketName string `pulumi:"bucketName"`
	// Optional. The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values.
	BucketOptions BucketOptionsResponse `pulumi:"bucketOptions"`
	// The creation timestamp of the metric.This field may not be present for older metrics.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// Optional. If set to True, then this metric is disabled and it does not generate any points.
	Disabled bool `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries. Example: "resource.type=gae_app AND severity>=ERROR" The maximum length of the filter is 20000 characters.
	Filter string `pulumi:"filter"`
	// Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If either the extraction or the type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in a project.
	LabelExtractors map[string]string `pulumi:"labelExtractors"`
	// Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of "1". Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description.
	MetricDescriptor MetricDescriptorResponse `pulumi:"metricDescriptor"`
	// The client-assigned metric identifier. Examples: "error_count", "nginx/requests".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format "projects/PROJECT_ID/metrics/METRIC_ID". Example: If the resource name of a metric is "projects/my-project/metrics/nginx%2Frequests", this field's value is "nginx/requests".
	Name string `pulumi:"name"`
	// The last update timestamp of the metric.This field may not be present for older metrics.
	UpdateTime string `pulumi:"updateTime"`
	// Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")
	ValueExtractor string `pulumi:"valueExtractor"`
	// Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
	//
	// Deprecated: Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
	Version string `pulumi:"version"`
}

func LookupMetric added in v0.20.0

func LookupMetric(ctx *pulumi.Context, args *LookupMetricArgs, opts ...pulumi.InvokeOption) (*LookupMetricResult, error)

Gets a logs-based metric.

type LookupMetricResultOutput added in v0.20.0

type LookupMetricResultOutput struct{ *pulumi.OutputState }

func LookupMetricOutput added in v0.20.0

func LookupMetricOutput(ctx *pulumi.Context, args LookupMetricOutputArgs, opts ...pulumi.InvokeOption) LookupMetricResultOutput

func (LookupMetricResultOutput) BucketName added in v0.23.0

Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric.

func (LookupMetricResultOutput) BucketOptions added in v0.20.0

Optional. The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values.

func (LookupMetricResultOutput) CreateTime added in v0.20.0

The creation timestamp of the metric.This field may not be present for older metrics.

func (LookupMetricResultOutput) Description added in v0.20.0

Optional. A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

func (LookupMetricResultOutput) Disabled added in v0.20.0

Optional. If set to True, then this metric is disabled and it does not generate any points.

func (LookupMetricResultOutput) ElementType added in v0.20.0

func (LookupMetricResultOutput) ElementType() reflect.Type

func (LookupMetricResultOutput) Filter added in v0.20.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries. Example: "resource.type=gae_app AND severity>=ERROR" The maximum length of the filter is 20000 characters.

func (LookupMetricResultOutput) LabelExtractors added in v0.20.0

func (o LookupMetricResultOutput) LabelExtractors() pulumi.StringMapOutput

Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If either the extraction or the type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in a project.

func (LookupMetricResultOutput) MetricDescriptor added in v0.20.0

Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of "1". Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description.

func (LookupMetricResultOutput) Name added in v0.20.0

The client-assigned metric identifier. Examples: "error_count", "nginx/requests".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format "projects/PROJECT_ID/metrics/METRIC_ID". Example: If the resource name of a metric is "projects/my-project/metrics/nginx%2Frequests", this field's value is "nginx/requests".

func (LookupMetricResultOutput) ToLookupMetricResultOutput added in v0.20.0

func (o LookupMetricResultOutput) ToLookupMetricResultOutput() LookupMetricResultOutput

func (LookupMetricResultOutput) ToLookupMetricResultOutputWithContext added in v0.20.0

func (o LookupMetricResultOutput) ToLookupMetricResultOutputWithContext(ctx context.Context) LookupMetricResultOutput

func (LookupMetricResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the metric.This field may not be present for older metrics.

func (LookupMetricResultOutput) ValueExtractor added in v0.20.0

func (o LookupMetricResultOutput) ValueExtractor() pulumi.StringOutput

Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")

func (LookupMetricResultOutput) Version deprecated added in v0.20.0

Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.

Deprecated: Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.

type LookupOrganizationBucketArgs added in v0.20.0

type LookupOrganizationBucketArgs struct {
	BucketId       string `pulumi:"bucketId"`
	Location       string `pulumi:"location"`
	OrganizationId string `pulumi:"organizationId"`
}

type LookupOrganizationBucketLinkArgs added in v0.29.0

type LookupOrganizationBucketLinkArgs struct {
	BucketId       string `pulumi:"bucketId"`
	LinkId         string `pulumi:"linkId"`
	Location       string `pulumi:"location"`
	OrganizationId string `pulumi:"organizationId"`
}

type LookupOrganizationBucketLinkOutputArgs added in v0.29.0

type LookupOrganizationBucketLinkOutputArgs struct {
	BucketId       pulumi.StringInput `pulumi:"bucketId"`
	LinkId         pulumi.StringInput `pulumi:"linkId"`
	Location       pulumi.StringInput `pulumi:"location"`
	OrganizationId pulumi.StringInput `pulumi:"organizationId"`
}

func (LookupOrganizationBucketLinkOutputArgs) ElementType added in v0.29.0

type LookupOrganizationBucketLinkResult added in v0.29.0

type LookupOrganizationBucketLinkResult struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetResponse `pulumi:"bigqueryDataset"`
	// The creation timestamp of the link.
	CreateTime string `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The resource lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name string `pulumi:"name"`
}
func LookupOrganizationBucketLink(ctx *pulumi.Context, args *LookupOrganizationBucketLinkArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationBucketLinkResult, error)

Gets a link.

type LookupOrganizationBucketLinkResultOutput added in v0.29.0

type LookupOrganizationBucketLinkResultOutput struct{ *pulumi.OutputState }

func (LookupOrganizationBucketLinkResultOutput) BigqueryDataset added in v0.29.0

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (LookupOrganizationBucketLinkResultOutput) CreateTime added in v0.29.0

The creation timestamp of the link.

func (LookupOrganizationBucketLinkResultOutput) Description added in v0.29.0

Describes this link.The maximum length of the description is 8000 characters.

func (LookupOrganizationBucketLinkResultOutput) ElementType added in v0.29.0

func (LookupOrganizationBucketLinkResultOutput) LifecycleState added in v0.29.0

The resource lifecycle state.

func (LookupOrganizationBucketLinkResultOutput) Name added in v0.29.0

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (LookupOrganizationBucketLinkResultOutput) ToLookupOrganizationBucketLinkResultOutput added in v0.29.0

func (o LookupOrganizationBucketLinkResultOutput) ToLookupOrganizationBucketLinkResultOutput() LookupOrganizationBucketLinkResultOutput

func (LookupOrganizationBucketLinkResultOutput) ToLookupOrganizationBucketLinkResultOutputWithContext added in v0.29.0

func (o LookupOrganizationBucketLinkResultOutput) ToLookupOrganizationBucketLinkResultOutputWithContext(ctx context.Context) LookupOrganizationBucketLinkResultOutput

type LookupOrganizationBucketOutputArgs added in v0.20.0

type LookupOrganizationBucketOutputArgs struct {
	BucketId       pulumi.StringInput `pulumi:"bucketId"`
	Location       pulumi.StringInput `pulumi:"location"`
	OrganizationId pulumi.StringInput `pulumi:"organizationId"`
}

func (LookupOrganizationBucketOutputArgs) ElementType added in v0.20.0

type LookupOrganizationBucketResult added in v0.20.0

type LookupOrganizationBucketResult struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled bool `pulumi:"analyticsEnabled"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponse `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime string `pulumi:"createTime"`
	// Describes this bucket.
	Description string `pulumi:"description"`
	// A list of indexed fields and related configuration data.
	IndexConfigs []IndexConfigResponse `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState string `pulumi:"lifecycleState"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked bool `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name string `pulumi:"name"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields []string `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays int `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupOrganizationBucket added in v0.20.0

func LookupOrganizationBucket(ctx *pulumi.Context, args *LookupOrganizationBucketArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationBucketResult, error)

Gets a log bucket.

type LookupOrganizationBucketResultOutput added in v0.20.0

type LookupOrganizationBucketResultOutput struct{ *pulumi.OutputState }

func (LookupOrganizationBucketResultOutput) AnalyticsEnabled added in v0.29.0

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (LookupOrganizationBucketResultOutput) CmekSettings added in v0.20.0

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (LookupOrganizationBucketResultOutput) CreateTime added in v0.20.0

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (LookupOrganizationBucketResultOutput) Description added in v0.20.0

Describes this bucket.

func (LookupOrganizationBucketResultOutput) ElementType added in v0.20.0

func (LookupOrganizationBucketResultOutput) IndexConfigs added in v0.20.0

A list of indexed fields and related configuration data.

func (LookupOrganizationBucketResultOutput) LifecycleState added in v0.20.0

The bucket lifecycle state.

func (LookupOrganizationBucketResultOutput) Locked added in v0.20.0

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (LookupOrganizationBucketResultOutput) Name added in v0.20.0

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (LookupOrganizationBucketResultOutput) RestrictedFields added in v0.20.0

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (LookupOrganizationBucketResultOutput) RetentionDays added in v0.20.0

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (LookupOrganizationBucketResultOutput) ToLookupOrganizationBucketResultOutput added in v0.20.0

func (o LookupOrganizationBucketResultOutput) ToLookupOrganizationBucketResultOutput() LookupOrganizationBucketResultOutput

func (LookupOrganizationBucketResultOutput) ToLookupOrganizationBucketResultOutputWithContext added in v0.20.0

func (o LookupOrganizationBucketResultOutput) ToLookupOrganizationBucketResultOutputWithContext(ctx context.Context) LookupOrganizationBucketResultOutput

func (LookupOrganizationBucketResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the bucket.

type LookupOrganizationBucketViewArgs added in v0.20.0

type LookupOrganizationBucketViewArgs struct {
	BucketId       string `pulumi:"bucketId"`
	Location       string `pulumi:"location"`
	OrganizationId string `pulumi:"organizationId"`
	ViewId         string `pulumi:"viewId"`
}

type LookupOrganizationBucketViewOutputArgs added in v0.20.0

type LookupOrganizationBucketViewOutputArgs struct {
	BucketId       pulumi.StringInput `pulumi:"bucketId"`
	Location       pulumi.StringInput `pulumi:"location"`
	OrganizationId pulumi.StringInput `pulumi:"organizationId"`
	ViewId         pulumi.StringInput `pulumi:"viewId"`
}

func (LookupOrganizationBucketViewOutputArgs) ElementType added in v0.20.0

type LookupOrganizationBucketViewResult added in v0.20.0

type LookupOrganizationBucketViewResult struct {
	// The creation timestamp of the view.
	CreateTime string `pulumi:"createTime"`
	// Describes this view.
	Description string `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter string `pulumi:"filter"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name string `pulumi:"name"`
	// The last update timestamp of the view.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupOrganizationBucketView added in v0.20.0

func LookupOrganizationBucketView(ctx *pulumi.Context, args *LookupOrganizationBucketViewArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationBucketViewResult, error)

Gets a view on a log bucket.

type LookupOrganizationBucketViewResultOutput added in v0.20.0

type LookupOrganizationBucketViewResultOutput struct{ *pulumi.OutputState }

func (LookupOrganizationBucketViewResultOutput) CreateTime added in v0.20.0

The creation timestamp of the view.

func (LookupOrganizationBucketViewResultOutput) Description added in v0.20.0

Describes this view.

func (LookupOrganizationBucketViewResultOutput) ElementType added in v0.20.0

func (LookupOrganizationBucketViewResultOutput) Filter added in v0.20.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (LookupOrganizationBucketViewResultOutput) Name added in v0.20.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (LookupOrganizationBucketViewResultOutput) ToLookupOrganizationBucketViewResultOutput added in v0.20.0

func (o LookupOrganizationBucketViewResultOutput) ToLookupOrganizationBucketViewResultOutput() LookupOrganizationBucketViewResultOutput

func (LookupOrganizationBucketViewResultOutput) ToLookupOrganizationBucketViewResultOutputWithContext added in v0.20.0

func (o LookupOrganizationBucketViewResultOutput) ToLookupOrganizationBucketViewResultOutputWithContext(ctx context.Context) LookupOrganizationBucketViewResultOutput

func (LookupOrganizationBucketViewResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the view.

type LookupOrganizationExclusionArgs added in v0.20.0

type LookupOrganizationExclusionArgs struct {
	ExclusionId    string `pulumi:"exclusionId"`
	OrganizationId string `pulumi:"organizationId"`
}

type LookupOrganizationExclusionOutputArgs added in v0.20.0

type LookupOrganizationExclusionOutputArgs struct {
	ExclusionId    pulumi.StringInput `pulumi:"exclusionId"`
	OrganizationId pulumi.StringInput `pulumi:"organizationId"`
}

func (LookupOrganizationExclusionOutputArgs) ElementType added in v0.20.0

type LookupOrganizationExclusionResult added in v0.20.0

type LookupOrganizationExclusionResult struct {
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description string `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled bool `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupOrganizationExclusion added in v0.20.0

func LookupOrganizationExclusion(ctx *pulumi.Context, args *LookupOrganizationExclusionArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationExclusionResult, error)

Gets the description of an exclusion in the _Default sink.

type LookupOrganizationExclusionResultOutput added in v0.20.0

type LookupOrganizationExclusionResultOutput struct{ *pulumi.OutputState }

func (LookupOrganizationExclusionResultOutput) CreateTime added in v0.20.0

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (LookupOrganizationExclusionResultOutput) Description added in v0.20.0

Optional. A description of this exclusion.

func (LookupOrganizationExclusionResultOutput) Disabled added in v0.20.0

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (LookupOrganizationExclusionResultOutput) ElementType added in v0.20.0

func (LookupOrganizationExclusionResultOutput) Filter added in v0.20.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (LookupOrganizationExclusionResultOutput) Name added in v0.20.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupOrganizationExclusionResultOutput) ToLookupOrganizationExclusionResultOutput added in v0.20.0

func (o LookupOrganizationExclusionResultOutput) ToLookupOrganizationExclusionResultOutput() LookupOrganizationExclusionResultOutput

func (LookupOrganizationExclusionResultOutput) ToLookupOrganizationExclusionResultOutputWithContext added in v0.20.0

func (o LookupOrganizationExclusionResultOutput) ToLookupOrganizationExclusionResultOutputWithContext(ctx context.Context) LookupOrganizationExclusionResultOutput

func (LookupOrganizationExclusionResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type LookupOrganizationSinkArgs added in v0.20.0

type LookupOrganizationSinkArgs struct {
	OrganizationId string `pulumi:"organizationId"`
	SinkId         string `pulumi:"sinkId"`
}

type LookupOrganizationSinkOutputArgs added in v0.20.0

type LookupOrganizationSinkOutputArgs struct {
	OrganizationId pulumi.StringInput `pulumi:"organizationId"`
	SinkId         pulumi.StringInput `pulumi:"sinkId"`
}

func (LookupOrganizationSinkOutputArgs) ElementType added in v0.20.0

type LookupOrganizationSinkResult added in v0.20.0

type LookupOrganizationSinkResult struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponse `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination string `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled bool `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions []LogExclusionResponse `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter string `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren bool `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat string `pulumi:"outputVersionFormat"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime string `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity string `pulumi:"writerIdentity"`
}

func LookupOrganizationSink added in v0.20.0

func LookupOrganizationSink(ctx *pulumi.Context, args *LookupOrganizationSinkArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationSinkResult, error)

Gets a sink.

type LookupOrganizationSinkResultOutput added in v0.20.0

type LookupOrganizationSinkResultOutput struct{ *pulumi.OutputState }

func LookupOrganizationSinkOutput added in v0.20.0

func (LookupOrganizationSinkResultOutput) BigqueryOptions added in v0.20.0

Optional. Options that affect sinks exporting data to BigQuery.

func (LookupOrganizationSinkResultOutput) CreateTime added in v0.20.0

The creation timestamp of the sink.This field may not be present for older sinks.

func (LookupOrganizationSinkResultOutput) Description added in v0.20.0

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (LookupOrganizationSinkResultOutput) Destination added in v0.20.0

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (LookupOrganizationSinkResultOutput) Disabled added in v0.20.0

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (LookupOrganizationSinkResultOutput) ElementType added in v0.20.0

func (LookupOrganizationSinkResultOutput) Exclusions added in v0.20.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (LookupOrganizationSinkResultOutput) Filter added in v0.20.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (LookupOrganizationSinkResultOutput) IncludeChildren added in v0.20.0

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (LookupOrganizationSinkResultOutput) Name added in v0.20.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupOrganizationSinkResultOutput) OutputVersionFormat deprecated added in v0.20.0

func (o LookupOrganizationSinkResultOutput) OutputVersionFormat() pulumi.StringOutput

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (LookupOrganizationSinkResultOutput) ToLookupOrganizationSinkResultOutput added in v0.20.0

func (o LookupOrganizationSinkResultOutput) ToLookupOrganizationSinkResultOutput() LookupOrganizationSinkResultOutput

func (LookupOrganizationSinkResultOutput) ToLookupOrganizationSinkResultOutputWithContext added in v0.20.0

func (o LookupOrganizationSinkResultOutput) ToLookupOrganizationSinkResultOutputWithContext(ctx context.Context) LookupOrganizationSinkResultOutput

func (LookupOrganizationSinkResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the sink.This field may not be present for older sinks.

func (LookupOrganizationSinkResultOutput) WriterIdentity added in v0.20.0

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type LookupSinkArgs added in v0.20.0

type LookupSinkArgs struct {
	Project *string `pulumi:"project"`
	SinkId  string  `pulumi:"sinkId"`
}

type LookupSinkOutputArgs added in v0.20.0

type LookupSinkOutputArgs struct {
	Project pulumi.StringPtrInput `pulumi:"project"`
	SinkId  pulumi.StringInput    `pulumi:"sinkId"`
}

func (LookupSinkOutputArgs) ElementType added in v0.20.0

func (LookupSinkOutputArgs) ElementType() reflect.Type

type LookupSinkResult added in v0.20.0

type LookupSinkResult struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponse `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination string `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled bool `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions []LogExclusionResponse `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter string `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren bool `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat string `pulumi:"outputVersionFormat"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime string `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity string `pulumi:"writerIdentity"`
}

func LookupSink added in v0.20.0

func LookupSink(ctx *pulumi.Context, args *LookupSinkArgs, opts ...pulumi.InvokeOption) (*LookupSinkResult, error)

Gets a sink.

type LookupSinkResultOutput added in v0.20.0

type LookupSinkResultOutput struct{ *pulumi.OutputState }

func LookupSinkOutput added in v0.20.0

func LookupSinkOutput(ctx *pulumi.Context, args LookupSinkOutputArgs, opts ...pulumi.InvokeOption) LookupSinkResultOutput

func (LookupSinkResultOutput) BigqueryOptions added in v0.20.0

Optional. Options that affect sinks exporting data to BigQuery.

func (LookupSinkResultOutput) CreateTime added in v0.20.0

The creation timestamp of the sink.This field may not be present for older sinks.

func (LookupSinkResultOutput) Description added in v0.20.0

func (o LookupSinkResultOutput) Description() pulumi.StringOutput

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (LookupSinkResultOutput) Destination added in v0.20.0

func (o LookupSinkResultOutput) Destination() pulumi.StringOutput

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (LookupSinkResultOutput) Disabled added in v0.20.0

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (LookupSinkResultOutput) ElementType added in v0.20.0

func (LookupSinkResultOutput) ElementType() reflect.Type

func (LookupSinkResultOutput) Exclusions added in v0.20.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (LookupSinkResultOutput) Filter added in v0.20.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (LookupSinkResultOutput) IncludeChildren added in v0.20.0

func (o LookupSinkResultOutput) IncludeChildren() pulumi.BoolOutput

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (LookupSinkResultOutput) Name added in v0.20.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupSinkResultOutput) OutputVersionFormat deprecated added in v0.20.0

func (o LookupSinkResultOutput) OutputVersionFormat() pulumi.StringOutput

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (LookupSinkResultOutput) ToLookupSinkResultOutput added in v0.20.0

func (o LookupSinkResultOutput) ToLookupSinkResultOutput() LookupSinkResultOutput

func (LookupSinkResultOutput) ToLookupSinkResultOutputWithContext added in v0.20.0

func (o LookupSinkResultOutput) ToLookupSinkResultOutputWithContext(ctx context.Context) LookupSinkResultOutput

func (LookupSinkResultOutput) UpdateTime added in v0.20.0

The last update timestamp of the sink.This field may not be present for older sinks.

func (LookupSinkResultOutput) WriterIdentity added in v0.20.0

func (o LookupSinkResultOutput) WriterIdentity() pulumi.StringOutput

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type Metric

type Metric struct {
	pulumi.CustomResourceState

	// Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric.
	BucketName pulumi.StringOutput `pulumi:"bucketName"`
	// Optional. The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values.
	BucketOptions BucketOptionsResponseOutput `pulumi:"bucketOptions"`
	// The creation timestamp of the metric.This field may not be present for older metrics.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// Optional. If set to True, then this metric is disabled and it does not generate any points.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries. Example: "resource.type=gae_app AND severity>=ERROR" The maximum length of the filter is 20000 characters.
	Filter pulumi.StringOutput `pulumi:"filter"`
	// Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If either the extraction or the type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in a project.
	LabelExtractors pulumi.StringMapOutput `pulumi:"labelExtractors"`
	// Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of "1". Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description.
	MetricDescriptor MetricDescriptorResponseOutput `pulumi:"metricDescriptor"`
	// The client-assigned metric identifier. Examples: "error_count", "nginx/requests".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format "projects/PROJECT_ID/metrics/METRIC_ID". Example: If the resource name of a metric is "projects/my-project/metrics/nginx%2Frequests", this field's value is "nginx/requests".
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The last update timestamp of the metric.This field may not be present for older metrics.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")
	ValueExtractor pulumi.StringOutput `pulumi:"valueExtractor"`
	// Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
	//
	// Deprecated: Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
	Version pulumi.StringOutput `pulumi:"version"`
}

Creates a logs-based metric.

func GetMetric

func GetMetric(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MetricState, opts ...pulumi.ResourceOption) (*Metric, error)

GetMetric gets an existing Metric 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 NewMetric

func NewMetric(ctx *pulumi.Context,
	name string, args *MetricArgs, opts ...pulumi.ResourceOption) (*Metric, error)

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

func (*Metric) ElementType

func (*Metric) ElementType() reflect.Type

func (*Metric) ToMetricOutput

func (i *Metric) ToMetricOutput() MetricOutput

func (*Metric) ToMetricOutputWithContext

func (i *Metric) ToMetricOutputWithContext(ctx context.Context) MetricOutput

type MetricArgs

type MetricArgs struct {
	// Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric.
	BucketName pulumi.StringPtrInput
	// Optional. The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values.
	BucketOptions BucketOptionsPtrInput
	// Optional. A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// Optional. If set to True, then this metric is disabled and it does not generate any points.
	Disabled pulumi.BoolPtrInput
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries. Example: "resource.type=gae_app AND severity>=ERROR" The maximum length of the filter is 20000 characters.
	Filter pulumi.StringInput
	// Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If either the extraction or the type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in a project.
	LabelExtractors pulumi.StringMapInput
	// Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of "1". Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description.
	MetricDescriptor MetricDescriptorPtrInput
	// The client-assigned metric identifier. Examples: "error_count", "nginx/requests".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format "projects/PROJECT_ID/metrics/METRIC_ID". Example: If the resource name of a metric is "projects/my-project/metrics/nginx%2Frequests", this field's value is "nginx/requests".
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")
	ValueExtractor pulumi.StringPtrInput
	// Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
	//
	// Deprecated: Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
	Version MetricVersionPtrInput
}

The set of arguments for constructing a Metric resource.

func (MetricArgs) ElementType

func (MetricArgs) ElementType() reflect.Type

type MetricDescriptor

type MetricDescriptor struct {
	// A detailed description of the metric, which can be used in documentation.
	Description *string `pulumi:"description"`
	// A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.
	DisplayName *string `pulumi:"displayName"`
	// The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.
	Labels []LabelDescriptor `pulumi:"labels"`
	// Optional. The launch stage of the metric definition.
	LaunchStage *MetricDescriptorLaunchStage `pulumi:"launchStage"`
	// Optional. Metadata which can be used to guide usage of the metric.
	Metadata *MetricDescriptorMetadata `pulumi:"metadata"`
	// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
	MetricKind *MetricDescriptorMetricKind `pulumi:"metricKind"`
	// Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
	MonitoredResourceTypes []string `pulumi:"monitoredResourceTypes"`
	// The resource name of the metric descriptor.
	Name *string `pulumi:"name"`
	// The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"
	Type *string `pulumi:"type"`
	// The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean "5300 page views per day"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means "3 percent"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means "3 percent").
	Unit *string `pulumi:"unit"`
	// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.
	ValueType *MetricDescriptorValueType `pulumi:"valueType"`
}

Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.

type MetricDescriptorArgs

type MetricDescriptorArgs struct {
	// A detailed description of the metric, which can be used in documentation.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.
	Labels LabelDescriptorArrayInput `pulumi:"labels"`
	// Optional. The launch stage of the metric definition.
	LaunchStage MetricDescriptorLaunchStagePtrInput `pulumi:"launchStage"`
	// Optional. Metadata which can be used to guide usage of the metric.
	Metadata MetricDescriptorMetadataPtrInput `pulumi:"metadata"`
	// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
	MetricKind MetricDescriptorMetricKindPtrInput `pulumi:"metricKind"`
	// Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
	MonitoredResourceTypes pulumi.StringArrayInput `pulumi:"monitoredResourceTypes"`
	// The resource name of the metric descriptor.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean "5300 page views per day"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means "3 percent"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means "3 percent").
	Unit pulumi.StringPtrInput `pulumi:"unit"`
	// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.
	ValueType MetricDescriptorValueTypePtrInput `pulumi:"valueType"`
}

Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.

func (MetricDescriptorArgs) ElementType

func (MetricDescriptorArgs) ElementType() reflect.Type

func (MetricDescriptorArgs) ToMetricDescriptorOutput

func (i MetricDescriptorArgs) ToMetricDescriptorOutput() MetricDescriptorOutput

func (MetricDescriptorArgs) ToMetricDescriptorOutputWithContext

func (i MetricDescriptorArgs) ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput

func (MetricDescriptorArgs) ToMetricDescriptorPtrOutput

func (i MetricDescriptorArgs) ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput

func (MetricDescriptorArgs) ToMetricDescriptorPtrOutputWithContext

func (i MetricDescriptorArgs) ToMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricDescriptorPtrOutput

type MetricDescriptorInput

type MetricDescriptorInput interface {
	pulumi.Input

	ToMetricDescriptorOutput() MetricDescriptorOutput
	ToMetricDescriptorOutputWithContext(context.Context) MetricDescriptorOutput
}

MetricDescriptorInput is an input type that accepts MetricDescriptorArgs and MetricDescriptorOutput values. You can construct a concrete instance of `MetricDescriptorInput` via:

MetricDescriptorArgs{...}

type MetricDescriptorLaunchStage added in v0.20.0

type MetricDescriptorLaunchStage string

Optional. The launch stage of the metric definition.

func (MetricDescriptorLaunchStage) ElementType added in v0.20.0

func (MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStageOutput added in v0.20.0

func (e MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStageOutput() MetricDescriptorLaunchStageOutput

func (MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStageOutputWithContext added in v0.20.0

func (e MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStageOutputWithContext(ctx context.Context) MetricDescriptorLaunchStageOutput

func (MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStagePtrOutput added in v0.20.0

func (e MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStagePtrOutput() MetricDescriptorLaunchStagePtrOutput

func (MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStagePtrOutputWithContext added in v0.20.0

func (e MetricDescriptorLaunchStage) ToMetricDescriptorLaunchStagePtrOutputWithContext(ctx context.Context) MetricDescriptorLaunchStagePtrOutput

func (MetricDescriptorLaunchStage) ToStringOutput added in v0.20.0

func (e MetricDescriptorLaunchStage) ToStringOutput() pulumi.StringOutput

func (MetricDescriptorLaunchStage) ToStringOutputWithContext added in v0.20.0

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

func (MetricDescriptorLaunchStage) ToStringPtrOutput added in v0.20.0

func (e MetricDescriptorLaunchStage) ToStringPtrOutput() pulumi.StringPtrOutput

func (MetricDescriptorLaunchStage) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorLaunchStageInput added in v0.20.0

type MetricDescriptorLaunchStageInput interface {
	pulumi.Input

	ToMetricDescriptorLaunchStageOutput() MetricDescriptorLaunchStageOutput
	ToMetricDescriptorLaunchStageOutputWithContext(context.Context) MetricDescriptorLaunchStageOutput
}

MetricDescriptorLaunchStageInput is an input type that accepts MetricDescriptorLaunchStageArgs and MetricDescriptorLaunchStageOutput values. You can construct a concrete instance of `MetricDescriptorLaunchStageInput` via:

MetricDescriptorLaunchStageArgs{...}

type MetricDescriptorLaunchStageOutput added in v0.20.0

type MetricDescriptorLaunchStageOutput struct{ *pulumi.OutputState }

func (MetricDescriptorLaunchStageOutput) ElementType added in v0.20.0

func (MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStageOutput added in v0.20.0

func (o MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStageOutput() MetricDescriptorLaunchStageOutput

func (MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStageOutputWithContext added in v0.20.0

func (o MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStageOutputWithContext(ctx context.Context) MetricDescriptorLaunchStageOutput

func (MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStagePtrOutput added in v0.20.0

func (o MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStagePtrOutput() MetricDescriptorLaunchStagePtrOutput

func (MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStagePtrOutputWithContext added in v0.20.0

func (o MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStagePtrOutputWithContext(ctx context.Context) MetricDescriptorLaunchStagePtrOutput

func (MetricDescriptorLaunchStageOutput) ToStringOutput added in v0.20.0

func (MetricDescriptorLaunchStageOutput) ToStringOutputWithContext added in v0.20.0

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

func (MetricDescriptorLaunchStageOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorLaunchStageOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorLaunchStagePtrInput added in v0.20.0

type MetricDescriptorLaunchStagePtrInput interface {
	pulumi.Input

	ToMetricDescriptorLaunchStagePtrOutput() MetricDescriptorLaunchStagePtrOutput
	ToMetricDescriptorLaunchStagePtrOutputWithContext(context.Context) MetricDescriptorLaunchStagePtrOutput
}

func MetricDescriptorLaunchStagePtr added in v0.20.0

func MetricDescriptorLaunchStagePtr(v string) MetricDescriptorLaunchStagePtrInput

type MetricDescriptorLaunchStagePtrOutput added in v0.20.0

type MetricDescriptorLaunchStagePtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorLaunchStagePtrOutput) Elem added in v0.20.0

func (MetricDescriptorLaunchStagePtrOutput) ElementType added in v0.20.0

func (MetricDescriptorLaunchStagePtrOutput) ToMetricDescriptorLaunchStagePtrOutput added in v0.20.0

func (o MetricDescriptorLaunchStagePtrOutput) ToMetricDescriptorLaunchStagePtrOutput() MetricDescriptorLaunchStagePtrOutput

func (MetricDescriptorLaunchStagePtrOutput) ToMetricDescriptorLaunchStagePtrOutputWithContext added in v0.20.0

func (o MetricDescriptorLaunchStagePtrOutput) ToMetricDescriptorLaunchStagePtrOutputWithContext(ctx context.Context) MetricDescriptorLaunchStagePtrOutput

func (MetricDescriptorLaunchStagePtrOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorLaunchStagePtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorMetadata

type MetricDescriptorMetadata struct {
	// The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
	IngestDelay *string `pulumi:"ingestDelay"`
	// Deprecated. Must use the MetricDescriptor.launch_stage instead.
	//
	// Deprecated: Deprecated. Must use the MetricDescriptor.launch_stage instead.
	LaunchStage *MetricDescriptorMetadataLaunchStage `pulumi:"launchStage"`
	// The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
	SamplePeriod *string `pulumi:"samplePeriod"`
}

Additional annotations that can be used to guide the usage of a metric.

type MetricDescriptorMetadataArgs

type MetricDescriptorMetadataArgs struct {
	// The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
	IngestDelay pulumi.StringPtrInput `pulumi:"ingestDelay"`
	// Deprecated. Must use the MetricDescriptor.launch_stage instead.
	//
	// Deprecated: Deprecated. Must use the MetricDescriptor.launch_stage instead.
	LaunchStage MetricDescriptorMetadataLaunchStagePtrInput `pulumi:"launchStage"`
	// The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
	SamplePeriod pulumi.StringPtrInput `pulumi:"samplePeriod"`
}

Additional annotations that can be used to guide the usage of a metric.

func (MetricDescriptorMetadataArgs) ElementType

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutput

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContext

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutputWithContext

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput

type MetricDescriptorMetadataInput

type MetricDescriptorMetadataInput interface {
	pulumi.Input

	ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput
	ToMetricDescriptorMetadataOutputWithContext(context.Context) MetricDescriptorMetadataOutput
}

MetricDescriptorMetadataInput is an input type that accepts MetricDescriptorMetadataArgs and MetricDescriptorMetadataOutput values. You can construct a concrete instance of `MetricDescriptorMetadataInput` via:

MetricDescriptorMetadataArgs{...}

type MetricDescriptorMetadataLaunchStage added in v0.20.0

type MetricDescriptorMetadataLaunchStage string

Deprecated. Must use the MetricDescriptor.launch_stage instead.

func (MetricDescriptorMetadataLaunchStage) ElementType added in v0.20.0

func (MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStageOutput added in v0.20.0

func (e MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStageOutput() MetricDescriptorMetadataLaunchStageOutput

func (MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStageOutputWithContext added in v0.20.0

func (e MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStageOutputWithContext(ctx context.Context) MetricDescriptorMetadataLaunchStageOutput

func (MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStagePtrOutput added in v0.20.0

func (e MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStagePtrOutput() MetricDescriptorMetadataLaunchStagePtrOutput

func (MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext added in v0.20.0

func (e MetricDescriptorMetadataLaunchStage) ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataLaunchStagePtrOutput

func (MetricDescriptorMetadataLaunchStage) ToStringOutput added in v0.20.0

func (MetricDescriptorMetadataLaunchStage) ToStringOutputWithContext added in v0.20.0

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

func (MetricDescriptorMetadataLaunchStage) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorMetadataLaunchStage) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorMetadataLaunchStageInput added in v0.20.0

type MetricDescriptorMetadataLaunchStageInput interface {
	pulumi.Input

	ToMetricDescriptorMetadataLaunchStageOutput() MetricDescriptorMetadataLaunchStageOutput
	ToMetricDescriptorMetadataLaunchStageOutputWithContext(context.Context) MetricDescriptorMetadataLaunchStageOutput
}

MetricDescriptorMetadataLaunchStageInput is an input type that accepts MetricDescriptorMetadataLaunchStageArgs and MetricDescriptorMetadataLaunchStageOutput values. You can construct a concrete instance of `MetricDescriptorMetadataLaunchStageInput` via:

MetricDescriptorMetadataLaunchStageArgs{...}

type MetricDescriptorMetadataLaunchStageOutput added in v0.20.0

type MetricDescriptorMetadataLaunchStageOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMetadataLaunchStageOutput) ElementType added in v0.20.0

func (MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStageOutput added in v0.20.0

func (o MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStageOutput() MetricDescriptorMetadataLaunchStageOutput

func (MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStageOutputWithContext added in v0.20.0

func (o MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStageOutputWithContext(ctx context.Context) MetricDescriptorMetadataLaunchStageOutput

func (MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStagePtrOutput added in v0.20.0

func (o MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStagePtrOutput() MetricDescriptorMetadataLaunchStagePtrOutput

func (MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext added in v0.20.0

func (o MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataLaunchStagePtrOutput

func (MetricDescriptorMetadataLaunchStageOutput) ToStringOutput added in v0.20.0

func (MetricDescriptorMetadataLaunchStageOutput) ToStringOutputWithContext added in v0.20.0

func (MetricDescriptorMetadataLaunchStageOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorMetadataLaunchStageOutput) ToStringPtrOutputWithContext added in v0.20.0

type MetricDescriptorMetadataLaunchStagePtrInput added in v0.20.0

type MetricDescriptorMetadataLaunchStagePtrInput interface {
	pulumi.Input

	ToMetricDescriptorMetadataLaunchStagePtrOutput() MetricDescriptorMetadataLaunchStagePtrOutput
	ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext(context.Context) MetricDescriptorMetadataLaunchStagePtrOutput
}

func MetricDescriptorMetadataLaunchStagePtr added in v0.20.0

func MetricDescriptorMetadataLaunchStagePtr(v string) MetricDescriptorMetadataLaunchStagePtrInput

type MetricDescriptorMetadataLaunchStagePtrOutput added in v0.20.0

type MetricDescriptorMetadataLaunchStagePtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMetadataLaunchStagePtrOutput) Elem added in v0.20.0

func (MetricDescriptorMetadataLaunchStagePtrOutput) ElementType added in v0.20.0

func (MetricDescriptorMetadataLaunchStagePtrOutput) ToMetricDescriptorMetadataLaunchStagePtrOutput added in v0.20.0

func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToMetricDescriptorMetadataLaunchStagePtrOutput() MetricDescriptorMetadataLaunchStagePtrOutput

func (MetricDescriptorMetadataLaunchStagePtrOutput) ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext added in v0.20.0

func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataLaunchStagePtrOutput

func (MetricDescriptorMetadataLaunchStagePtrOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorMetadataLaunchStagePtrOutput) ToStringPtrOutputWithContext added in v0.20.0

type MetricDescriptorMetadataOutput

type MetricDescriptorMetadataOutput struct{ *pulumi.OutputState }

Additional annotations that can be used to guide the usage of a metric.

func (MetricDescriptorMetadataOutput) ElementType

func (MetricDescriptorMetadataOutput) IngestDelay

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.

func (MetricDescriptorMetadataOutput) LaunchStage deprecated added in v0.20.0

Deprecated. Must use the MetricDescriptor.launch_stage instead.

Deprecated: Deprecated. Must use the MetricDescriptor.launch_stage instead.

func (MetricDescriptorMetadataOutput) SamplePeriod

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutput

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutputWithContext

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutput

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithContext

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput

type MetricDescriptorMetadataPtrInput

type MetricDescriptorMetadataPtrInput interface {
	pulumi.Input

	ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
	ToMetricDescriptorMetadataPtrOutputWithContext(context.Context) MetricDescriptorMetadataPtrOutput
}

MetricDescriptorMetadataPtrInput is an input type that accepts MetricDescriptorMetadataArgs, MetricDescriptorMetadataPtr and MetricDescriptorMetadataPtrOutput values. You can construct a concrete instance of `MetricDescriptorMetadataPtrInput` via:

        MetricDescriptorMetadataArgs{...}

or:

        nil

type MetricDescriptorMetadataPtrOutput

type MetricDescriptorMetadataPtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMetadataPtrOutput) Elem

func (MetricDescriptorMetadataPtrOutput) ElementType

func (MetricDescriptorMetadataPtrOutput) IngestDelay

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.

func (MetricDescriptorMetadataPtrOutput) LaunchStage deprecated added in v0.20.0

Deprecated. Must use the MetricDescriptor.launch_stage instead.

Deprecated: Deprecated. Must use the MetricDescriptor.launch_stage instead.

func (MetricDescriptorMetadataPtrOutput) SamplePeriod

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.

func (MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutput

func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWithContext

func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput

type MetricDescriptorMetadataResponse

type MetricDescriptorMetadataResponse struct {
	// The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
	IngestDelay string `pulumi:"ingestDelay"`
	// Deprecated. Must use the MetricDescriptor.launch_stage instead.
	//
	// Deprecated: Deprecated. Must use the MetricDescriptor.launch_stage instead.
	LaunchStage string `pulumi:"launchStage"`
	// The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
	SamplePeriod string `pulumi:"samplePeriod"`
}

Additional annotations that can be used to guide the usage of a metric.

type MetricDescriptorMetadataResponseOutput

type MetricDescriptorMetadataResponseOutput struct{ *pulumi.OutputState }

Additional annotations that can be used to guide the usage of a metric.

func (MetricDescriptorMetadataResponseOutput) ElementType

func (MetricDescriptorMetadataResponseOutput) IngestDelay

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.

func (MetricDescriptorMetadataResponseOutput) LaunchStage deprecated added in v0.20.0

Deprecated. Must use the MetricDescriptor.launch_stage instead.

Deprecated: Deprecated. Must use the MetricDescriptor.launch_stage instead.

func (MetricDescriptorMetadataResponseOutput) SamplePeriod

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.

func (MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutput

func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutput() MetricDescriptorMetadataResponseOutput

func (MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutputWithContext

func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutputWithContext(ctx context.Context) MetricDescriptorMetadataResponseOutput

type MetricDescriptorMetricKind added in v0.20.0

type MetricDescriptorMetricKind string

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.

func (MetricDescriptorMetricKind) ElementType added in v0.20.0

func (MetricDescriptorMetricKind) ElementType() reflect.Type

func (MetricDescriptorMetricKind) ToMetricDescriptorMetricKindOutput added in v0.20.0

func (e MetricDescriptorMetricKind) ToMetricDescriptorMetricKindOutput() MetricDescriptorMetricKindOutput

func (MetricDescriptorMetricKind) ToMetricDescriptorMetricKindOutputWithContext added in v0.20.0

func (e MetricDescriptorMetricKind) ToMetricDescriptorMetricKindOutputWithContext(ctx context.Context) MetricDescriptorMetricKindOutput

func (MetricDescriptorMetricKind) ToMetricDescriptorMetricKindPtrOutput added in v0.20.0

func (e MetricDescriptorMetricKind) ToMetricDescriptorMetricKindPtrOutput() MetricDescriptorMetricKindPtrOutput

func (MetricDescriptorMetricKind) ToMetricDescriptorMetricKindPtrOutputWithContext added in v0.20.0

func (e MetricDescriptorMetricKind) ToMetricDescriptorMetricKindPtrOutputWithContext(ctx context.Context) MetricDescriptorMetricKindPtrOutput

func (MetricDescriptorMetricKind) ToStringOutput added in v0.20.0

func (e MetricDescriptorMetricKind) ToStringOutput() pulumi.StringOutput

func (MetricDescriptorMetricKind) ToStringOutputWithContext added in v0.20.0

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

func (MetricDescriptorMetricKind) ToStringPtrOutput added in v0.20.0

func (e MetricDescriptorMetricKind) ToStringPtrOutput() pulumi.StringPtrOutput

func (MetricDescriptorMetricKind) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorMetricKindInput added in v0.20.0

type MetricDescriptorMetricKindInput interface {
	pulumi.Input

	ToMetricDescriptorMetricKindOutput() MetricDescriptorMetricKindOutput
	ToMetricDescriptorMetricKindOutputWithContext(context.Context) MetricDescriptorMetricKindOutput
}

MetricDescriptorMetricKindInput is an input type that accepts MetricDescriptorMetricKindArgs and MetricDescriptorMetricKindOutput values. You can construct a concrete instance of `MetricDescriptorMetricKindInput` via:

MetricDescriptorMetricKindArgs{...}

type MetricDescriptorMetricKindOutput added in v0.20.0

type MetricDescriptorMetricKindOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMetricKindOutput) ElementType added in v0.20.0

func (MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindOutput added in v0.20.0

func (o MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindOutput() MetricDescriptorMetricKindOutput

func (MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindOutputWithContext added in v0.20.0

func (o MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindOutputWithContext(ctx context.Context) MetricDescriptorMetricKindOutput

func (MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindPtrOutput added in v0.20.0

func (o MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindPtrOutput() MetricDescriptorMetricKindPtrOutput

func (MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindPtrOutputWithContext added in v0.20.0

func (o MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindPtrOutputWithContext(ctx context.Context) MetricDescriptorMetricKindPtrOutput

func (MetricDescriptorMetricKindOutput) ToStringOutput added in v0.20.0

func (MetricDescriptorMetricKindOutput) ToStringOutputWithContext added in v0.20.0

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

func (MetricDescriptorMetricKindOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorMetricKindOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorMetricKindPtrInput added in v0.20.0

type MetricDescriptorMetricKindPtrInput interface {
	pulumi.Input

	ToMetricDescriptorMetricKindPtrOutput() MetricDescriptorMetricKindPtrOutput
	ToMetricDescriptorMetricKindPtrOutputWithContext(context.Context) MetricDescriptorMetricKindPtrOutput
}

func MetricDescriptorMetricKindPtr added in v0.20.0

func MetricDescriptorMetricKindPtr(v string) MetricDescriptorMetricKindPtrInput

type MetricDescriptorMetricKindPtrOutput added in v0.20.0

type MetricDescriptorMetricKindPtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMetricKindPtrOutput) Elem added in v0.20.0

func (MetricDescriptorMetricKindPtrOutput) ElementType added in v0.20.0

func (MetricDescriptorMetricKindPtrOutput) ToMetricDescriptorMetricKindPtrOutput added in v0.20.0

func (o MetricDescriptorMetricKindPtrOutput) ToMetricDescriptorMetricKindPtrOutput() MetricDescriptorMetricKindPtrOutput

func (MetricDescriptorMetricKindPtrOutput) ToMetricDescriptorMetricKindPtrOutputWithContext added in v0.20.0

func (o MetricDescriptorMetricKindPtrOutput) ToMetricDescriptorMetricKindPtrOutputWithContext(ctx context.Context) MetricDescriptorMetricKindPtrOutput

func (MetricDescriptorMetricKindPtrOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorMetricKindPtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorOutput

type MetricDescriptorOutput struct{ *pulumi.OutputState }

Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.

func (MetricDescriptorOutput) Description

A detailed description of the metric, which can be used in documentation.

func (MetricDescriptorOutput) DisplayName

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

func (MetricDescriptorOutput) ElementType

func (MetricDescriptorOutput) ElementType() reflect.Type

func (MetricDescriptorOutput) Labels

The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.

func (MetricDescriptorOutput) LaunchStage

Optional. The launch stage of the metric definition.

func (MetricDescriptorOutput) Metadata

Optional. Metadata which can be used to guide usage of the metric.

func (MetricDescriptorOutput) MetricKind

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.

func (MetricDescriptorOutput) MonitoredResourceTypes

func (o MetricDescriptorOutput) MonitoredResourceTypes() pulumi.StringArrayOutput

Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.

func (MetricDescriptorOutput) Name

The resource name of the metric descriptor.

func (MetricDescriptorOutput) ToMetricDescriptorOutput

func (o MetricDescriptorOutput) ToMetricDescriptorOutput() MetricDescriptorOutput

func (MetricDescriptorOutput) ToMetricDescriptorOutputWithContext

func (o MetricDescriptorOutput) ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput

func (MetricDescriptorOutput) ToMetricDescriptorPtrOutput

func (o MetricDescriptorOutput) ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput

func (MetricDescriptorOutput) ToMetricDescriptorPtrOutputWithContext

func (o MetricDescriptorOutput) ToMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricDescriptorPtrOutput

func (MetricDescriptorOutput) Type

The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"

func (MetricDescriptorOutput) Unit

The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean "5300 page views per day"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means "3 percent"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means "3 percent").

func (MetricDescriptorOutput) ValueType

Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.

type MetricDescriptorPtrInput

type MetricDescriptorPtrInput interface {
	pulumi.Input

	ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput
	ToMetricDescriptorPtrOutputWithContext(context.Context) MetricDescriptorPtrOutput
}

MetricDescriptorPtrInput is an input type that accepts MetricDescriptorArgs, MetricDescriptorPtr and MetricDescriptorPtrOutput values. You can construct a concrete instance of `MetricDescriptorPtrInput` via:

        MetricDescriptorArgs{...}

or:

        nil

type MetricDescriptorPtrOutput

type MetricDescriptorPtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorPtrOutput) Description

A detailed description of the metric, which can be used in documentation.

func (MetricDescriptorPtrOutput) DisplayName

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

func (MetricDescriptorPtrOutput) Elem

func (MetricDescriptorPtrOutput) ElementType

func (MetricDescriptorPtrOutput) ElementType() reflect.Type

func (MetricDescriptorPtrOutput) Labels

The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.

func (MetricDescriptorPtrOutput) LaunchStage

Optional. The launch stage of the metric definition.

func (MetricDescriptorPtrOutput) Metadata

Optional. Metadata which can be used to guide usage of the metric.

func (MetricDescriptorPtrOutput) MetricKind

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.

func (MetricDescriptorPtrOutput) MonitoredResourceTypes

func (o MetricDescriptorPtrOutput) MonitoredResourceTypes() pulumi.StringArrayOutput

Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.

func (MetricDescriptorPtrOutput) Name

The resource name of the metric descriptor.

func (MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutput

func (o MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput

func (MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutputWithContext

func (o MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricDescriptorPtrOutput

func (MetricDescriptorPtrOutput) Type

The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"

func (MetricDescriptorPtrOutput) Unit

The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean "5300 page views per day"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means "3 percent"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means "3 percent").

func (MetricDescriptorPtrOutput) ValueType

Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.

type MetricDescriptorResponse

type MetricDescriptorResponse struct {
	// A detailed description of the metric, which can be used in documentation.
	Description string `pulumi:"description"`
	// A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.
	DisplayName string `pulumi:"displayName"`
	// The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.
	Labels []LabelDescriptorResponse `pulumi:"labels"`
	// Optional. The launch stage of the metric definition.
	LaunchStage string `pulumi:"launchStage"`
	// Optional. Metadata which can be used to guide usage of the metric.
	Metadata MetricDescriptorMetadataResponse `pulumi:"metadata"`
	// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
	MetricKind string `pulumi:"metricKind"`
	// Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
	MonitoredResourceTypes []string `pulumi:"monitoredResourceTypes"`
	// The resource name of the metric descriptor.
	Name string `pulumi:"name"`
	// The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"
	Type string `pulumi:"type"`
	// The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean "5300 page views per day"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means "3 percent"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means "3 percent").
	Unit string `pulumi:"unit"`
	// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.
	ValueType string `pulumi:"valueType"`
}

Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.

type MetricDescriptorResponseOutput

type MetricDescriptorResponseOutput struct{ *pulumi.OutputState }

Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.

func (MetricDescriptorResponseOutput) Description

A detailed description of the metric, which can be used in documentation.

func (MetricDescriptorResponseOutput) DisplayName

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

func (MetricDescriptorResponseOutput) ElementType

func (MetricDescriptorResponseOutput) Labels

The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.

func (MetricDescriptorResponseOutput) LaunchStage

Optional. The launch stage of the metric definition.

func (MetricDescriptorResponseOutput) Metadata

Optional. Metadata which can be used to guide usage of the metric.

func (MetricDescriptorResponseOutput) MetricKind

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.

func (MetricDescriptorResponseOutput) MonitoredResourceTypes

func (o MetricDescriptorResponseOutput) MonitoredResourceTypes() pulumi.StringArrayOutput

Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.

func (MetricDescriptorResponseOutput) Name

The resource name of the metric descriptor.

func (MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutput

func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutput() MetricDescriptorResponseOutput

func (MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutputWithContext

func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutputWithContext(ctx context.Context) MetricDescriptorResponseOutput

func (MetricDescriptorResponseOutput) Type

The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"

func (MetricDescriptorResponseOutput) Unit

The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean "5300 page views per day"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means "3 percent"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means "3 percent").

func (MetricDescriptorResponseOutput) ValueType

Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.

type MetricDescriptorValueType added in v0.20.0

type MetricDescriptorValueType string

Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.

func (MetricDescriptorValueType) ElementType added in v0.20.0

func (MetricDescriptorValueType) ElementType() reflect.Type

func (MetricDescriptorValueType) ToMetricDescriptorValueTypeOutput added in v0.20.0

func (e MetricDescriptorValueType) ToMetricDescriptorValueTypeOutput() MetricDescriptorValueTypeOutput

func (MetricDescriptorValueType) ToMetricDescriptorValueTypeOutputWithContext added in v0.20.0

func (e MetricDescriptorValueType) ToMetricDescriptorValueTypeOutputWithContext(ctx context.Context) MetricDescriptorValueTypeOutput

func (MetricDescriptorValueType) ToMetricDescriptorValueTypePtrOutput added in v0.20.0

func (e MetricDescriptorValueType) ToMetricDescriptorValueTypePtrOutput() MetricDescriptorValueTypePtrOutput

func (MetricDescriptorValueType) ToMetricDescriptorValueTypePtrOutputWithContext added in v0.20.0

func (e MetricDescriptorValueType) ToMetricDescriptorValueTypePtrOutputWithContext(ctx context.Context) MetricDescriptorValueTypePtrOutput

func (MetricDescriptorValueType) ToStringOutput added in v0.20.0

func (e MetricDescriptorValueType) ToStringOutput() pulumi.StringOutput

func (MetricDescriptorValueType) ToStringOutputWithContext added in v0.20.0

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

func (MetricDescriptorValueType) ToStringPtrOutput added in v0.20.0

func (e MetricDescriptorValueType) ToStringPtrOutput() pulumi.StringPtrOutput

func (MetricDescriptorValueType) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorValueTypeInput added in v0.20.0

type MetricDescriptorValueTypeInput interface {
	pulumi.Input

	ToMetricDescriptorValueTypeOutput() MetricDescriptorValueTypeOutput
	ToMetricDescriptorValueTypeOutputWithContext(context.Context) MetricDescriptorValueTypeOutput
}

MetricDescriptorValueTypeInput is an input type that accepts MetricDescriptorValueTypeArgs and MetricDescriptorValueTypeOutput values. You can construct a concrete instance of `MetricDescriptorValueTypeInput` via:

MetricDescriptorValueTypeArgs{...}

type MetricDescriptorValueTypeOutput added in v0.20.0

type MetricDescriptorValueTypeOutput struct{ *pulumi.OutputState }

func (MetricDescriptorValueTypeOutput) ElementType added in v0.20.0

func (MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypeOutput added in v0.20.0

func (o MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypeOutput() MetricDescriptorValueTypeOutput

func (MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypeOutputWithContext added in v0.20.0

func (o MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypeOutputWithContext(ctx context.Context) MetricDescriptorValueTypeOutput

func (MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypePtrOutput added in v0.20.0

func (o MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypePtrOutput() MetricDescriptorValueTypePtrOutput

func (MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypePtrOutputWithContext added in v0.20.0

func (o MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypePtrOutputWithContext(ctx context.Context) MetricDescriptorValueTypePtrOutput

func (MetricDescriptorValueTypeOutput) ToStringOutput added in v0.20.0

func (MetricDescriptorValueTypeOutput) ToStringOutputWithContext added in v0.20.0

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

func (MetricDescriptorValueTypeOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorValueTypeOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricDescriptorValueTypePtrInput added in v0.20.0

type MetricDescriptorValueTypePtrInput interface {
	pulumi.Input

	ToMetricDescriptorValueTypePtrOutput() MetricDescriptorValueTypePtrOutput
	ToMetricDescriptorValueTypePtrOutputWithContext(context.Context) MetricDescriptorValueTypePtrOutput
}

func MetricDescriptorValueTypePtr added in v0.20.0

func MetricDescriptorValueTypePtr(v string) MetricDescriptorValueTypePtrInput

type MetricDescriptorValueTypePtrOutput added in v0.20.0

type MetricDescriptorValueTypePtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorValueTypePtrOutput) Elem added in v0.20.0

func (MetricDescriptorValueTypePtrOutput) ElementType added in v0.20.0

func (MetricDescriptorValueTypePtrOutput) ToMetricDescriptorValueTypePtrOutput added in v0.20.0

func (o MetricDescriptorValueTypePtrOutput) ToMetricDescriptorValueTypePtrOutput() MetricDescriptorValueTypePtrOutput

func (MetricDescriptorValueTypePtrOutput) ToMetricDescriptorValueTypePtrOutputWithContext added in v0.20.0

func (o MetricDescriptorValueTypePtrOutput) ToMetricDescriptorValueTypePtrOutputWithContext(ctx context.Context) MetricDescriptorValueTypePtrOutput

func (MetricDescriptorValueTypePtrOutput) ToStringPtrOutput added in v0.20.0

func (MetricDescriptorValueTypePtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricInput

type MetricInput interface {
	pulumi.Input

	ToMetricOutput() MetricOutput
	ToMetricOutputWithContext(ctx context.Context) MetricOutput
}

type MetricOutput

type MetricOutput struct{ *pulumi.OutputState }

func (MetricOutput) BucketName added in v0.23.0

func (o MetricOutput) BucketName() pulumi.StringOutput

Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric.

func (MetricOutput) BucketOptions added in v0.20.0

func (o MetricOutput) BucketOptions() BucketOptionsResponseOutput

Optional. The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values.

func (MetricOutput) CreateTime added in v0.20.0

func (o MetricOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the metric.This field may not be present for older metrics.

func (MetricOutput) Description added in v0.20.0

func (o MetricOutput) Description() pulumi.StringOutput

Optional. A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

func (MetricOutput) Disabled added in v0.20.0

func (o MetricOutput) Disabled() pulumi.BoolOutput

Optional. If set to True, then this metric is disabled and it does not generate any points.

func (MetricOutput) ElementType

func (MetricOutput) ElementType() reflect.Type

func (MetricOutput) Filter added in v0.20.0

func (o MetricOutput) Filter() pulumi.StringOutput

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries. Example: "resource.type=gae_app AND severity>=ERROR" The maximum length of the filter is 20000 characters.

func (MetricOutput) LabelExtractors added in v0.20.0

func (o MetricOutput) LabelExtractors() pulumi.StringMapOutput

Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If either the extraction or the type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in a project.

func (MetricOutput) MetricDescriptor added in v0.20.0

func (o MetricOutput) MetricDescriptor() MetricDescriptorResponseOutput

Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of "1". Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description.

func (MetricOutput) Name added in v0.20.0

func (o MetricOutput) Name() pulumi.StringOutput

The client-assigned metric identifier. Examples: "error_count", "nginx/requests".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format "projects/PROJECT_ID/metrics/METRIC_ID". Example: If the resource name of a metric is "projects/my-project/metrics/nginx%2Frequests", this field's value is "nginx/requests".

func (MetricOutput) Project added in v0.21.0

func (o MetricOutput) Project() pulumi.StringOutput

func (MetricOutput) ToMetricOutput

func (o MetricOutput) ToMetricOutput() MetricOutput

func (MetricOutput) ToMetricOutputWithContext

func (o MetricOutput) ToMetricOutputWithContext(ctx context.Context) MetricOutput

func (MetricOutput) UpdateTime added in v0.20.0

func (o MetricOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the metric.This field may not be present for older metrics.

func (MetricOutput) ValueExtractor added in v0.20.0

func (o MetricOutput) ValueExtractor() pulumi.StringOutput

Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")

func (MetricOutput) Version deprecated added in v0.20.0

func (o MetricOutput) Version() pulumi.StringOutput

Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.

Deprecated: Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.

type MetricState

type MetricState struct {
}

func (MetricState) ElementType

func (MetricState) ElementType() reflect.Type

type MetricVersion added in v0.20.0

type MetricVersion string

Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.

func (MetricVersion) ElementType added in v0.20.0

func (MetricVersion) ElementType() reflect.Type

func (MetricVersion) ToMetricVersionOutput added in v0.20.0

func (e MetricVersion) ToMetricVersionOutput() MetricVersionOutput

func (MetricVersion) ToMetricVersionOutputWithContext added in v0.20.0

func (e MetricVersion) ToMetricVersionOutputWithContext(ctx context.Context) MetricVersionOutput

func (MetricVersion) ToMetricVersionPtrOutput added in v0.20.0

func (e MetricVersion) ToMetricVersionPtrOutput() MetricVersionPtrOutput

func (MetricVersion) ToMetricVersionPtrOutputWithContext added in v0.20.0

func (e MetricVersion) ToMetricVersionPtrOutputWithContext(ctx context.Context) MetricVersionPtrOutput

func (MetricVersion) ToStringOutput added in v0.20.0

func (e MetricVersion) ToStringOutput() pulumi.StringOutput

func (MetricVersion) ToStringOutputWithContext added in v0.20.0

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

func (MetricVersion) ToStringPtrOutput added in v0.20.0

func (e MetricVersion) ToStringPtrOutput() pulumi.StringPtrOutput

func (MetricVersion) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricVersionInput added in v0.20.0

type MetricVersionInput interface {
	pulumi.Input

	ToMetricVersionOutput() MetricVersionOutput
	ToMetricVersionOutputWithContext(context.Context) MetricVersionOutput
}

MetricVersionInput is an input type that accepts MetricVersionArgs and MetricVersionOutput values. You can construct a concrete instance of `MetricVersionInput` via:

MetricVersionArgs{...}

type MetricVersionOutput added in v0.20.0

type MetricVersionOutput struct{ *pulumi.OutputState }

func (MetricVersionOutput) ElementType added in v0.20.0

func (MetricVersionOutput) ElementType() reflect.Type

func (MetricVersionOutput) ToMetricVersionOutput added in v0.20.0

func (o MetricVersionOutput) ToMetricVersionOutput() MetricVersionOutput

func (MetricVersionOutput) ToMetricVersionOutputWithContext added in v0.20.0

func (o MetricVersionOutput) ToMetricVersionOutputWithContext(ctx context.Context) MetricVersionOutput

func (MetricVersionOutput) ToMetricVersionPtrOutput added in v0.20.0

func (o MetricVersionOutput) ToMetricVersionPtrOutput() MetricVersionPtrOutput

func (MetricVersionOutput) ToMetricVersionPtrOutputWithContext added in v0.20.0

func (o MetricVersionOutput) ToMetricVersionPtrOutputWithContext(ctx context.Context) MetricVersionPtrOutput

func (MetricVersionOutput) ToStringOutput added in v0.20.0

func (o MetricVersionOutput) ToStringOutput() pulumi.StringOutput

func (MetricVersionOutput) ToStringOutputWithContext added in v0.20.0

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

func (MetricVersionOutput) ToStringPtrOutput added in v0.20.0

func (o MetricVersionOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MetricVersionOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type MetricVersionPtrInput added in v0.20.0

type MetricVersionPtrInput interface {
	pulumi.Input

	ToMetricVersionPtrOutput() MetricVersionPtrOutput
	ToMetricVersionPtrOutputWithContext(context.Context) MetricVersionPtrOutput
}

func MetricVersionPtr added in v0.20.0

func MetricVersionPtr(v string) MetricVersionPtrInput

type MetricVersionPtrOutput added in v0.20.0

type MetricVersionPtrOutput struct{ *pulumi.OutputState }

func (MetricVersionPtrOutput) Elem added in v0.20.0

func (MetricVersionPtrOutput) ElementType added in v0.20.0

func (MetricVersionPtrOutput) ElementType() reflect.Type

func (MetricVersionPtrOutput) ToMetricVersionPtrOutput added in v0.20.0

func (o MetricVersionPtrOutput) ToMetricVersionPtrOutput() MetricVersionPtrOutput

func (MetricVersionPtrOutput) ToMetricVersionPtrOutputWithContext added in v0.20.0

func (o MetricVersionPtrOutput) ToMetricVersionPtrOutputWithContext(ctx context.Context) MetricVersionPtrOutput

func (MetricVersionPtrOutput) ToStringPtrOutput added in v0.20.0

func (o MetricVersionPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MetricVersionPtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type OrganizationBucket

type OrganizationBucket struct {
	pulumi.CustomResourceState

	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolOutput `pulumi:"analyticsEnabled"`
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsResponseOutput `pulumi:"cmekSettings"`
	// The creation timestamp of the bucket. This is not set for any of the default buckets.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this bucket.
	Description pulumi.StringOutput `pulumi:"description"`
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigResponseArrayOutput `pulumi:"indexConfigs"`
	// The bucket lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	Location       pulumi.StringOutput `pulumi:"location"`
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked pulumi.BoolOutput `pulumi:"locked"`
	// The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
	Name           pulumi.StringOutput `pulumi:"name"`
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayOutput `pulumi:"restrictedFields"`
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntOutput `pulumi:"retentionDays"`
	// The last update timestamp of the bucket.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. Auto-naming is currently not supported for this resource.

func GetOrganizationBucket

func GetOrganizationBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationBucketState, opts ...pulumi.ResourceOption) (*OrganizationBucket, error)

GetOrganizationBucket gets an existing OrganizationBucket 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 NewOrganizationBucket

func NewOrganizationBucket(ctx *pulumi.Context,
	name string, args *OrganizationBucketArgs, opts ...pulumi.ResourceOption) (*OrganizationBucket, error)

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

func (*OrganizationBucket) ElementType

func (*OrganizationBucket) ElementType() reflect.Type

func (*OrganizationBucket) ToOrganizationBucketOutput

func (i *OrganizationBucket) ToOrganizationBucketOutput() OrganizationBucketOutput

func (*OrganizationBucket) ToOrganizationBucketOutputWithContext

func (i *OrganizationBucket) ToOrganizationBucketOutputWithContext(ctx context.Context) OrganizationBucketOutput

type OrganizationBucketArgs

type OrganizationBucketArgs struct {
	// Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
	AnalyticsEnabled pulumi.BoolPtrInput
	// Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	BucketId pulumi.StringInput
	// The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
	CmekSettings CmekSettingsPtrInput
	// Describes this bucket.
	Description pulumi.StringPtrInput
	// A list of indexed fields and related configuration data.
	IndexConfigs IndexConfigArrayInput
	Location     pulumi.StringPtrInput
	// Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
	Locked         pulumi.BoolPtrInput
	OrganizationId pulumi.StringInput
	// Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
	RestrictedFields pulumi.StringArrayInput
	// Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
	RetentionDays pulumi.IntPtrInput
}

The set of arguments for constructing a OrganizationBucket resource.

func (OrganizationBucketArgs) ElementType

func (OrganizationBucketArgs) ElementType() reflect.Type

type OrganizationBucketInput

type OrganizationBucketInput interface {
	pulumi.Input

	ToOrganizationBucketOutput() OrganizationBucketOutput
	ToOrganizationBucketOutputWithContext(ctx context.Context) OrganizationBucketOutput
}
type OrganizationBucketLink struct {
	pulumi.CustomResourceState

	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetResponseOutput `pulumi:"bigqueryDataset"`
	BucketId        pulumi.StringOutput           `pulumi:"bucketId"`
	// The creation timestamp of the link.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The resource lifecycle state.
	LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"`
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringOutput `pulumi:"linkId"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name           pulumi.StringOutput `pulumi:"name"`
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
}

Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. Auto-naming is currently not supported for this resource.

func GetOrganizationBucketLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationBucketLinkState, opts ...pulumi.ResourceOption) (*OrganizationBucketLink, error)

GetOrganizationBucketLink gets an existing OrganizationBucketLink 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 NewOrganizationBucketLink(ctx *pulumi.Context,
	name string, args *OrganizationBucketLinkArgs, opts ...pulumi.ResourceOption) (*OrganizationBucketLink, error)

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

func (*OrganizationBucketLink) ElementType added in v0.29.0

func (*OrganizationBucketLink) ElementType() reflect.Type

func (*OrganizationBucketLink) ToOrganizationBucketLinkOutput added in v0.29.0

func (i *OrganizationBucketLink) ToOrganizationBucketLinkOutput() OrganizationBucketLinkOutput

func (*OrganizationBucketLink) ToOrganizationBucketLinkOutputWithContext added in v0.29.0

func (i *OrganizationBucketLink) ToOrganizationBucketLinkOutputWithContext(ctx context.Context) OrganizationBucketLinkOutput

type OrganizationBucketLinkArgs added in v0.29.0

type OrganizationBucketLinkArgs struct {
	// The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.
	BigqueryDataset BigQueryDatasetPtrInput
	BucketId        pulumi.StringInput
	// Describes this link.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
	LinkId   pulumi.StringInput
	Location pulumi.StringPtrInput
	// The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
	Name           pulumi.StringPtrInput
	OrganizationId pulumi.StringInput
}

The set of arguments for constructing a OrganizationBucketLink resource.

func (OrganizationBucketLinkArgs) ElementType added in v0.29.0

func (OrganizationBucketLinkArgs) ElementType() reflect.Type

type OrganizationBucketLinkInput added in v0.29.0

type OrganizationBucketLinkInput interface {
	pulumi.Input

	ToOrganizationBucketLinkOutput() OrganizationBucketLinkOutput
	ToOrganizationBucketLinkOutputWithContext(ctx context.Context) OrganizationBucketLinkOutput
}

type OrganizationBucketLinkOutput added in v0.29.0

type OrganizationBucketLinkOutput struct{ *pulumi.OutputState }

func (OrganizationBucketLinkOutput) BigqueryDataset added in v0.29.0

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

func (OrganizationBucketLinkOutput) BucketId added in v0.29.0

func (OrganizationBucketLinkOutput) CreateTime added in v0.29.0

The creation timestamp of the link.

func (OrganizationBucketLinkOutput) Description added in v0.29.0

Describes this link.The maximum length of the description is 8000 characters.

func (OrganizationBucketLinkOutput) ElementType added in v0.29.0

func (OrganizationBucketLinkOutput) LifecycleState added in v0.29.0

The resource lifecycle state.

func (OrganizationBucketLinkOutput) LinkId added in v0.29.0

Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

func (OrganizationBucketLinkOutput) Location added in v0.29.0

func (OrganizationBucketLinkOutput) Name added in v0.29.0

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link

func (OrganizationBucketLinkOutput) OrganizationId added in v0.29.0

func (OrganizationBucketLinkOutput) ToOrganizationBucketLinkOutput added in v0.29.0

func (o OrganizationBucketLinkOutput) ToOrganizationBucketLinkOutput() OrganizationBucketLinkOutput

func (OrganizationBucketLinkOutput) ToOrganizationBucketLinkOutputWithContext added in v0.29.0

func (o OrganizationBucketLinkOutput) ToOrganizationBucketLinkOutputWithContext(ctx context.Context) OrganizationBucketLinkOutput

type OrganizationBucketLinkState added in v0.29.0

type OrganizationBucketLinkState struct {
}

func (OrganizationBucketLinkState) ElementType added in v0.29.0

type OrganizationBucketOutput

type OrganizationBucketOutput struct{ *pulumi.OutputState }

func (OrganizationBucketOutput) AnalyticsEnabled added in v0.29.0

func (o OrganizationBucketOutput) AnalyticsEnabled() pulumi.BoolOutput

Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.

func (OrganizationBucketOutput) BucketId added in v0.21.0

Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

func (OrganizationBucketOutput) CmekSettings added in v0.20.0

The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.

func (OrganizationBucketOutput) CreateTime added in v0.20.0

The creation timestamp of the bucket. This is not set for any of the default buckets.

func (OrganizationBucketOutput) Description added in v0.20.0

Describes this bucket.

func (OrganizationBucketOutput) ElementType

func (OrganizationBucketOutput) ElementType() reflect.Type

func (OrganizationBucketOutput) IndexConfigs added in v0.20.0

A list of indexed fields and related configuration data.

func (OrganizationBucketOutput) LifecycleState added in v0.20.0

func (o OrganizationBucketOutput) LifecycleState() pulumi.StringOutput

The bucket lifecycle state.

func (OrganizationBucketOutput) Location added in v0.21.0

func (OrganizationBucketOutput) Locked added in v0.20.0

Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.

func (OrganizationBucketOutput) Name added in v0.20.0

The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.

func (OrganizationBucketOutput) OrganizationId added in v0.21.0

func (o OrganizationBucketOutput) OrganizationId() pulumi.StringOutput

func (OrganizationBucketOutput) RestrictedFields added in v0.20.0

func (o OrganizationBucketOutput) RestrictedFields() pulumi.StringArrayOutput

Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)

func (OrganizationBucketOutput) RetentionDays added in v0.20.0

func (o OrganizationBucketOutput) RetentionDays() pulumi.IntOutput

Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.

func (OrganizationBucketOutput) ToOrganizationBucketOutput

func (o OrganizationBucketOutput) ToOrganizationBucketOutput() OrganizationBucketOutput

func (OrganizationBucketOutput) ToOrganizationBucketOutputWithContext

func (o OrganizationBucketOutput) ToOrganizationBucketOutputWithContext(ctx context.Context) OrganizationBucketOutput

func (OrganizationBucketOutput) UpdateTime added in v0.20.0

The last update timestamp of the bucket.

type OrganizationBucketState

type OrganizationBucketState struct {
}

func (OrganizationBucketState) ElementType

func (OrganizationBucketState) ElementType() reflect.Type

type OrganizationBucketView

type OrganizationBucketView struct {
	pulumi.CustomResourceState

	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// The creation timestamp of the view.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Describes this view.
	Description pulumi.StringOutput `pulumi:"description"`
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringOutput `pulumi:"filter"`
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name           pulumi.StringOutput `pulumi:"name"`
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The last update timestamp of the view.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringOutput `pulumi:"viewId"`
}

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. Auto-naming is currently not supported for this resource.

func GetOrganizationBucketView

func GetOrganizationBucketView(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationBucketViewState, opts ...pulumi.ResourceOption) (*OrganizationBucketView, error)

GetOrganizationBucketView gets an existing OrganizationBucketView 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 NewOrganizationBucketView

func NewOrganizationBucketView(ctx *pulumi.Context,
	name string, args *OrganizationBucketViewArgs, opts ...pulumi.ResourceOption) (*OrganizationBucketView, error)

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

func (*OrganizationBucketView) ElementType

func (*OrganizationBucketView) ElementType() reflect.Type

func (*OrganizationBucketView) ToOrganizationBucketViewOutput

func (i *OrganizationBucketView) ToOrganizationBucketViewOutput() OrganizationBucketViewOutput

func (*OrganizationBucketView) ToOrganizationBucketViewOutputWithContext

func (i *OrganizationBucketView) ToOrganizationBucketViewOutputWithContext(ctx context.Context) OrganizationBucketViewOutput

type OrganizationBucketViewArgs

type OrganizationBucketViewArgs struct {
	BucketId pulumi.StringInput
	// Describes this view.
	Description pulumi.StringPtrInput
	// Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter   pulumi.StringPtrInput
	Location pulumi.StringPtrInput
	// The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
	Name           pulumi.StringPtrInput
	OrganizationId pulumi.StringInput
	// Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
	ViewId pulumi.StringInput
}

The set of arguments for constructing a OrganizationBucketView resource.

func (OrganizationBucketViewArgs) ElementType

func (OrganizationBucketViewArgs) ElementType() reflect.Type

type OrganizationBucketViewInput

type OrganizationBucketViewInput interface {
	pulumi.Input

	ToOrganizationBucketViewOutput() OrganizationBucketViewOutput
	ToOrganizationBucketViewOutputWithContext(ctx context.Context) OrganizationBucketViewOutput
}

type OrganizationBucketViewOutput

type OrganizationBucketViewOutput struct{ *pulumi.OutputState }

func (OrganizationBucketViewOutput) BucketId added in v0.21.0

func (OrganizationBucketViewOutput) CreateTime added in v0.20.0

The creation timestamp of the view.

func (OrganizationBucketViewOutput) Description added in v0.20.0

Describes this view.

func (OrganizationBucketViewOutput) ElementType

func (OrganizationBucketViewOutput) Filter added in v0.20.0

Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

func (OrganizationBucketViewOutput) Location added in v0.21.0

func (OrganizationBucketViewOutput) Name added in v0.20.0

The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

func (OrganizationBucketViewOutput) OrganizationId added in v0.21.0

func (OrganizationBucketViewOutput) ToOrganizationBucketViewOutput

func (o OrganizationBucketViewOutput) ToOrganizationBucketViewOutput() OrganizationBucketViewOutput

func (OrganizationBucketViewOutput) ToOrganizationBucketViewOutputWithContext

func (o OrganizationBucketViewOutput) ToOrganizationBucketViewOutputWithContext(ctx context.Context) OrganizationBucketViewOutput

func (OrganizationBucketViewOutput) UpdateTime added in v0.20.0

The last update timestamp of the view.

func (OrganizationBucketViewOutput) ViewId added in v0.21.0

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

type OrganizationBucketViewState

type OrganizationBucketViewState struct {
}

func (OrganizationBucketViewState) ElementType

type OrganizationExclusion

type OrganizationExclusion struct {
	pulumi.CustomResourceState

	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description pulumi.StringOutput `pulumi:"description"`
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter pulumi.StringOutput `pulumi:"filter"`
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name           pulumi.StringOutput `pulumi:"name"`
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

func GetOrganizationExclusion

func GetOrganizationExclusion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationExclusionState, opts ...pulumi.ResourceOption) (*OrganizationExclusion, error)

GetOrganizationExclusion gets an existing OrganizationExclusion 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 NewOrganizationExclusion

func NewOrganizationExclusion(ctx *pulumi.Context,
	name string, args *OrganizationExclusionArgs, opts ...pulumi.ResourceOption) (*OrganizationExclusion, error)

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

func (*OrganizationExclusion) ElementType

func (*OrganizationExclusion) ElementType() reflect.Type

func (*OrganizationExclusion) ToOrganizationExclusionOutput

func (i *OrganizationExclusion) ToOrganizationExclusionOutput() OrganizationExclusionOutput

func (*OrganizationExclusion) ToOrganizationExclusionOutputWithContext

func (i *OrganizationExclusion) ToOrganizationExclusionOutputWithContext(ctx context.Context) OrganizationExclusionOutput

type OrganizationExclusionArgs

type OrganizationExclusionArgs struct {
	// Optional. A description of this exclusion.
	Description pulumi.StringPtrInput
	// Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
	Disabled pulumi.BoolPtrInput
	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
	Filter pulumi.StringInput
	// A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name           pulumi.StringPtrInput
	OrganizationId pulumi.StringInput
}

The set of arguments for constructing a OrganizationExclusion resource.

func (OrganizationExclusionArgs) ElementType

func (OrganizationExclusionArgs) ElementType() reflect.Type

type OrganizationExclusionInput

type OrganizationExclusionInput interface {
	pulumi.Input

	ToOrganizationExclusionOutput() OrganizationExclusionOutput
	ToOrganizationExclusionOutputWithContext(ctx context.Context) OrganizationExclusionOutput
}

type OrganizationExclusionOutput

type OrganizationExclusionOutput struct{ *pulumi.OutputState }

func (OrganizationExclusionOutput) CreateTime added in v0.20.0

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (OrganizationExclusionOutput) Description added in v0.20.0

Optional. A description of this exclusion.

func (OrganizationExclusionOutput) Disabled added in v0.20.0

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

func (OrganizationExclusionOutput) ElementType

func (OrganizationExclusionOutput) Filter added in v0.20.0

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)

func (OrganizationExclusionOutput) Name added in v0.20.0

A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.

func (OrganizationExclusionOutput) OrganizationId added in v0.21.0

func (o OrganizationExclusionOutput) OrganizationId() pulumi.StringOutput

func (OrganizationExclusionOutput) ToOrganizationExclusionOutput

func (o OrganizationExclusionOutput) ToOrganizationExclusionOutput() OrganizationExclusionOutput

func (OrganizationExclusionOutput) ToOrganizationExclusionOutputWithContext

func (o OrganizationExclusionOutput) ToOrganizationExclusionOutputWithContext(ctx context.Context) OrganizationExclusionOutput

func (OrganizationExclusionOutput) UpdateTime added in v0.20.0

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type OrganizationExclusionState

type OrganizationExclusionState struct {
}

func (OrganizationExclusionState) ElementType

func (OrganizationExclusionState) ElementType() reflect.Type

type OrganizationSink

type OrganizationSink struct {
	pulumi.CustomResourceState

	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponseOutput `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrOutput `pulumi:"customWriterIdentity"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringOutput `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionResponseArrayOutput `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringOutput `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolOutput `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name           pulumi.StringOutput `pulumi:"name"`
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat pulumi.StringOutput `pulumi:"outputVersionFormat"`
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrOutput `pulumi:"uniqueWriterIdentity"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"`
}

Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

func GetOrganizationSink

func GetOrganizationSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationSinkState, opts ...pulumi.ResourceOption) (*OrganizationSink, error)

GetOrganizationSink gets an existing OrganizationSink 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 NewOrganizationSink

func NewOrganizationSink(ctx *pulumi.Context,
	name string, args *OrganizationSinkArgs, opts ...pulumi.ResourceOption) (*OrganizationSink, error)

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

func (*OrganizationSink) ElementType

func (*OrganizationSink) ElementType() reflect.Type

func (*OrganizationSink) ToOrganizationSinkOutput

func (i *OrganizationSink) ToOrganizationSinkOutput() OrganizationSinkOutput

func (*OrganizationSink) ToOrganizationSinkOutputWithContext

func (i *OrganizationSink) ToOrganizationSinkOutputWithContext(ctx context.Context) OrganizationSinkOutput

type OrganizationSinkArgs

type OrganizationSinkArgs struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsPtrInput
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrInput
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringInput
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolPtrInput
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionArrayInput
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringPtrInput
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolPtrInput
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name           pulumi.StringPtrInput
	OrganizationId pulumi.StringInput
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat OrganizationSinkOutputVersionFormatPtrInput
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrInput
}

The set of arguments for constructing a OrganizationSink resource.

func (OrganizationSinkArgs) ElementType

func (OrganizationSinkArgs) ElementType() reflect.Type

type OrganizationSinkInput

type OrganizationSinkInput interface {
	pulumi.Input

	ToOrganizationSinkOutput() OrganizationSinkOutput
	ToOrganizationSinkOutputWithContext(ctx context.Context) OrganizationSinkOutput
}

type OrganizationSinkOutput

type OrganizationSinkOutput struct{ *pulumi.OutputState }

func (OrganizationSinkOutput) BigqueryOptions added in v0.20.0

Optional. Options that affect sinks exporting data to BigQuery.

func (OrganizationSinkOutput) CreateTime added in v0.20.0

The creation timestamp of the sink.This field may not be present for older sinks.

func (OrganizationSinkOutput) CustomWriterIdentity added in v0.32.0

func (o OrganizationSinkOutput) CustomWriterIdentity() pulumi.StringPtrOutput

Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.

func (OrganizationSinkOutput) Description added in v0.20.0

func (o OrganizationSinkOutput) Description() pulumi.StringOutput

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (OrganizationSinkOutput) Destination added in v0.20.0

func (o OrganizationSinkOutput) Destination() pulumi.StringOutput

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (OrganizationSinkOutput) Disabled added in v0.20.0

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (OrganizationSinkOutput) ElementType

func (OrganizationSinkOutput) ElementType() reflect.Type

func (OrganizationSinkOutput) Exclusions added in v0.20.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (OrganizationSinkOutput) Filter added in v0.20.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (OrganizationSinkOutput) IncludeChildren added in v0.20.0

func (o OrganizationSinkOutput) IncludeChildren() pulumi.BoolOutput

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (OrganizationSinkOutput) Name added in v0.20.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (OrganizationSinkOutput) OrganizationId added in v0.21.0

func (o OrganizationSinkOutput) OrganizationId() pulumi.StringOutput

func (OrganizationSinkOutput) OutputVersionFormat deprecated added in v0.20.0

func (o OrganizationSinkOutput) OutputVersionFormat() pulumi.StringOutput

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (OrganizationSinkOutput) ToOrganizationSinkOutput

func (o OrganizationSinkOutput) ToOrganizationSinkOutput() OrganizationSinkOutput

func (OrganizationSinkOutput) ToOrganizationSinkOutputWithContext

func (o OrganizationSinkOutput) ToOrganizationSinkOutputWithContext(ctx context.Context) OrganizationSinkOutput

func (OrganizationSinkOutput) UniqueWriterIdentity added in v0.21.0

func (o OrganizationSinkOutput) UniqueWriterIdentity() pulumi.BoolPtrOutput

Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.

func (OrganizationSinkOutput) UpdateTime added in v0.20.0

The last update timestamp of the sink.This field may not be present for older sinks.

func (OrganizationSinkOutput) WriterIdentity added in v0.20.0

func (o OrganizationSinkOutput) WriterIdentity() pulumi.StringOutput

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type OrganizationSinkOutputVersionFormat added in v0.20.0

type OrganizationSinkOutputVersionFormat string

Deprecated. This field is unused.

func (OrganizationSinkOutputVersionFormat) ElementType added in v0.20.0

func (OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatOutput added in v0.20.0

func (e OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatOutput() OrganizationSinkOutputVersionFormatOutput

func (OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatOutputWithContext added in v0.20.0

func (e OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatOutputWithContext(ctx context.Context) OrganizationSinkOutputVersionFormatOutput

func (OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatPtrOutput added in v0.20.0

func (e OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatPtrOutput() OrganizationSinkOutputVersionFormatPtrOutput

func (OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (e OrganizationSinkOutputVersionFormat) ToOrganizationSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) OrganizationSinkOutputVersionFormatPtrOutput

func (OrganizationSinkOutputVersionFormat) ToStringOutput added in v0.20.0

func (OrganizationSinkOutputVersionFormat) ToStringOutputWithContext added in v0.20.0

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

func (OrganizationSinkOutputVersionFormat) ToStringPtrOutput added in v0.20.0

func (OrganizationSinkOutputVersionFormat) ToStringPtrOutputWithContext added in v0.20.0

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

type OrganizationSinkOutputVersionFormatInput added in v0.20.0

type OrganizationSinkOutputVersionFormatInput interface {
	pulumi.Input

	ToOrganizationSinkOutputVersionFormatOutput() OrganizationSinkOutputVersionFormatOutput
	ToOrganizationSinkOutputVersionFormatOutputWithContext(context.Context) OrganizationSinkOutputVersionFormatOutput
}

OrganizationSinkOutputVersionFormatInput is an input type that accepts OrganizationSinkOutputVersionFormatArgs and OrganizationSinkOutputVersionFormatOutput values. You can construct a concrete instance of `OrganizationSinkOutputVersionFormatInput` via:

OrganizationSinkOutputVersionFormatArgs{...}

type OrganizationSinkOutputVersionFormatOutput added in v0.20.0

type OrganizationSinkOutputVersionFormatOutput struct{ *pulumi.OutputState }

func (OrganizationSinkOutputVersionFormatOutput) ElementType added in v0.20.0

func (OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatOutput added in v0.20.0

func (o OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatOutput() OrganizationSinkOutputVersionFormatOutput

func (OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatOutputWithContext added in v0.20.0

func (o OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatOutputWithContext(ctx context.Context) OrganizationSinkOutputVersionFormatOutput

func (OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatPtrOutput added in v0.20.0

func (o OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatPtrOutput() OrganizationSinkOutputVersionFormatPtrOutput

func (OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (o OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) OrganizationSinkOutputVersionFormatPtrOutput

func (OrganizationSinkOutputVersionFormatOutput) ToStringOutput added in v0.20.0

func (OrganizationSinkOutputVersionFormatOutput) ToStringOutputWithContext added in v0.20.0

func (OrganizationSinkOutputVersionFormatOutput) ToStringPtrOutput added in v0.20.0

func (OrganizationSinkOutputVersionFormatOutput) ToStringPtrOutputWithContext added in v0.20.0

type OrganizationSinkOutputVersionFormatPtrInput added in v0.20.0

type OrganizationSinkOutputVersionFormatPtrInput interface {
	pulumi.Input

	ToOrganizationSinkOutputVersionFormatPtrOutput() OrganizationSinkOutputVersionFormatPtrOutput
	ToOrganizationSinkOutputVersionFormatPtrOutputWithContext(context.Context) OrganizationSinkOutputVersionFormatPtrOutput
}

func OrganizationSinkOutputVersionFormatPtr added in v0.20.0

func OrganizationSinkOutputVersionFormatPtr(v string) OrganizationSinkOutputVersionFormatPtrInput

type OrganizationSinkOutputVersionFormatPtrOutput added in v0.20.0

type OrganizationSinkOutputVersionFormatPtrOutput struct{ *pulumi.OutputState }

func (OrganizationSinkOutputVersionFormatPtrOutput) Elem added in v0.20.0

func (OrganizationSinkOutputVersionFormatPtrOutput) ElementType added in v0.20.0

func (OrganizationSinkOutputVersionFormatPtrOutput) ToOrganizationSinkOutputVersionFormatPtrOutput added in v0.20.0

func (o OrganizationSinkOutputVersionFormatPtrOutput) ToOrganizationSinkOutputVersionFormatPtrOutput() OrganizationSinkOutputVersionFormatPtrOutput

func (OrganizationSinkOutputVersionFormatPtrOutput) ToOrganizationSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (o OrganizationSinkOutputVersionFormatPtrOutput) ToOrganizationSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) OrganizationSinkOutputVersionFormatPtrOutput

func (OrganizationSinkOutputVersionFormatPtrOutput) ToStringPtrOutput added in v0.20.0

func (OrganizationSinkOutputVersionFormatPtrOutput) ToStringPtrOutputWithContext added in v0.20.0

type OrganizationSinkState

type OrganizationSinkState struct {
}

func (OrganizationSinkState) ElementType

func (OrganizationSinkState) ElementType() reflect.Type

type Sink

type Sink struct {
	pulumi.CustomResourceState

	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponseOutput `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrOutput `pulumi:"customWriterIdentity"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringOutput `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionResponseArrayOutput `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringOutput `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolOutput `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat pulumi.StringOutput `pulumi:"outputVersionFormat"`
	Project             pulumi.StringOutput `pulumi:"project"`
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrOutput `pulumi:"uniqueWriterIdentity"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.
	WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"`
}

Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

func GetSink

func GetSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SinkState, opts ...pulumi.ResourceOption) (*Sink, error)

GetSink gets an existing Sink 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 NewSink

func NewSink(ctx *pulumi.Context,
	name string, args *SinkArgs, opts ...pulumi.ResourceOption) (*Sink, error)

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

func (*Sink) ElementType

func (*Sink) ElementType() reflect.Type

func (*Sink) ToSinkOutput

func (i *Sink) ToSinkOutput() SinkOutput

func (*Sink) ToSinkOutputWithContext

func (i *Sink) ToSinkOutputWithContext(ctx context.Context) SinkOutput

type SinkArgs

type SinkArgs struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsPtrInput
	// Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
	CustomWriterIdentity pulumi.StringPtrInput
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringInput
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolPtrInput
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionArrayInput
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringPtrInput
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolPtrInput
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringPtrInput
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat SinkOutputVersionFormatPtrInput
	Project             pulumi.StringPtrInput
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.BoolPtrInput
}

The set of arguments for constructing a Sink resource.

func (SinkArgs) ElementType

func (SinkArgs) ElementType() reflect.Type

type SinkInput

type SinkInput interface {
	pulumi.Input

	ToSinkOutput() SinkOutput
	ToSinkOutputWithContext(ctx context.Context) SinkOutput
}

type SinkOutput

type SinkOutput struct{ *pulumi.OutputState }

func (SinkOutput) BigqueryOptions added in v0.20.0

func (o SinkOutput) BigqueryOptions() BigQueryOptionsResponseOutput

Optional. Options that affect sinks exporting data to BigQuery.

func (SinkOutput) CreateTime added in v0.20.0

func (o SinkOutput) CreateTime() pulumi.StringOutput

The creation timestamp of the sink.This field may not be present for older sinks.

func (SinkOutput) CustomWriterIdentity added in v0.32.0

func (o SinkOutput) CustomWriterIdentity() pulumi.StringPtrOutput

Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.

func (SinkOutput) Description added in v0.20.0

func (o SinkOutput) Description() pulumi.StringOutput

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (SinkOutput) Destination added in v0.20.0

func (o SinkOutput) Destination() pulumi.StringOutput

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (SinkOutput) Disabled added in v0.20.0

func (o SinkOutput) Disabled() pulumi.BoolOutput

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (SinkOutput) ElementType

func (SinkOutput) ElementType() reflect.Type

func (SinkOutput) Exclusions added in v0.20.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (SinkOutput) Filter added in v0.20.0

func (o SinkOutput) Filter() pulumi.StringOutput

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (SinkOutput) IncludeChildren added in v0.20.0

func (o SinkOutput) IncludeChildren() pulumi.BoolOutput

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (SinkOutput) Name added in v0.20.0

func (o SinkOutput) Name() pulumi.StringOutput

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (SinkOutput) OutputVersionFormat deprecated added in v0.20.0

func (o SinkOutput) OutputVersionFormat() pulumi.StringOutput

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (SinkOutput) Project added in v0.21.0

func (o SinkOutput) Project() pulumi.StringOutput

func (SinkOutput) ToSinkOutput

func (o SinkOutput) ToSinkOutput() SinkOutput

func (SinkOutput) ToSinkOutputWithContext

func (o SinkOutput) ToSinkOutputWithContext(ctx context.Context) SinkOutput

func (SinkOutput) UniqueWriterIdentity added in v0.21.0

func (o SinkOutput) UniqueWriterIdentity() pulumi.BoolPtrOutput

Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.

func (SinkOutput) UpdateTime added in v0.20.0

func (o SinkOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the sink.This field may not be present for older sinks.

func (SinkOutput) WriterIdentity added in v0.20.0

func (o SinkOutput) WriterIdentity() pulumi.StringOutput

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.

type SinkOutputVersionFormat added in v0.20.0

type SinkOutputVersionFormat string

Deprecated. This field is unused.

func (SinkOutputVersionFormat) ElementType added in v0.20.0

func (SinkOutputVersionFormat) ElementType() reflect.Type

func (SinkOutputVersionFormat) ToSinkOutputVersionFormatOutput added in v0.20.0

func (e SinkOutputVersionFormat) ToSinkOutputVersionFormatOutput() SinkOutputVersionFormatOutput

func (SinkOutputVersionFormat) ToSinkOutputVersionFormatOutputWithContext added in v0.20.0

func (e SinkOutputVersionFormat) ToSinkOutputVersionFormatOutputWithContext(ctx context.Context) SinkOutputVersionFormatOutput

func (SinkOutputVersionFormat) ToSinkOutputVersionFormatPtrOutput added in v0.20.0

func (e SinkOutputVersionFormat) ToSinkOutputVersionFormatPtrOutput() SinkOutputVersionFormatPtrOutput

func (SinkOutputVersionFormat) ToSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (e SinkOutputVersionFormat) ToSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) SinkOutputVersionFormatPtrOutput

func (SinkOutputVersionFormat) ToStringOutput added in v0.20.0

func (e SinkOutputVersionFormat) ToStringOutput() pulumi.StringOutput

func (SinkOutputVersionFormat) ToStringOutputWithContext added in v0.20.0

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

func (SinkOutputVersionFormat) ToStringPtrOutput added in v0.20.0

func (e SinkOutputVersionFormat) ToStringPtrOutput() pulumi.StringPtrOutput

func (SinkOutputVersionFormat) ToStringPtrOutputWithContext added in v0.20.0

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

type SinkOutputVersionFormatInput added in v0.20.0

type SinkOutputVersionFormatInput interface {
	pulumi.Input

	ToSinkOutputVersionFormatOutput() SinkOutputVersionFormatOutput
	ToSinkOutputVersionFormatOutputWithContext(context.Context) SinkOutputVersionFormatOutput
}

SinkOutputVersionFormatInput is an input type that accepts SinkOutputVersionFormatArgs and SinkOutputVersionFormatOutput values. You can construct a concrete instance of `SinkOutputVersionFormatInput` via:

SinkOutputVersionFormatArgs{...}

type SinkOutputVersionFormatOutput added in v0.20.0

type SinkOutputVersionFormatOutput struct{ *pulumi.OutputState }

func (SinkOutputVersionFormatOutput) ElementType added in v0.20.0

func (SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatOutput added in v0.20.0

func (o SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatOutput() SinkOutputVersionFormatOutput

func (SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatOutputWithContext added in v0.20.0

func (o SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatOutputWithContext(ctx context.Context) SinkOutputVersionFormatOutput

func (SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatPtrOutput added in v0.20.0

func (o SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatPtrOutput() SinkOutputVersionFormatPtrOutput

func (SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (o SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) SinkOutputVersionFormatPtrOutput

func (SinkOutputVersionFormatOutput) ToStringOutput added in v0.20.0

func (SinkOutputVersionFormatOutput) ToStringOutputWithContext added in v0.20.0

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

func (SinkOutputVersionFormatOutput) ToStringPtrOutput added in v0.20.0

func (SinkOutputVersionFormatOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type SinkOutputVersionFormatPtrInput added in v0.20.0

type SinkOutputVersionFormatPtrInput interface {
	pulumi.Input

	ToSinkOutputVersionFormatPtrOutput() SinkOutputVersionFormatPtrOutput
	ToSinkOutputVersionFormatPtrOutputWithContext(context.Context) SinkOutputVersionFormatPtrOutput
}

func SinkOutputVersionFormatPtr added in v0.20.0

func SinkOutputVersionFormatPtr(v string) SinkOutputVersionFormatPtrInput

type SinkOutputVersionFormatPtrOutput added in v0.20.0

type SinkOutputVersionFormatPtrOutput struct{ *pulumi.OutputState }

func (SinkOutputVersionFormatPtrOutput) Elem added in v0.20.0

func (SinkOutputVersionFormatPtrOutput) ElementType added in v0.20.0

func (SinkOutputVersionFormatPtrOutput) ToSinkOutputVersionFormatPtrOutput added in v0.20.0

func (o SinkOutputVersionFormatPtrOutput) ToSinkOutputVersionFormatPtrOutput() SinkOutputVersionFormatPtrOutput

func (SinkOutputVersionFormatPtrOutput) ToSinkOutputVersionFormatPtrOutputWithContext added in v0.20.0

func (o SinkOutputVersionFormatPtrOutput) ToSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) SinkOutputVersionFormatPtrOutput

func (SinkOutputVersionFormatPtrOutput) ToStringPtrOutput added in v0.20.0

func (SinkOutputVersionFormatPtrOutput) ToStringPtrOutputWithContext added in v0.20.0

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

type SinkState

type SinkState struct {
}

func (SinkState) ElementType

func (SinkState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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