v1beta1

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=logging.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "logging.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	LogView_Kind             = "LogView"
	LogView_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogView_Kind}.String()
	LogView_KindAPIVersion   = LogView_Kind + "." + CRDGroupVersion.String()
	LogView_GroupVersionKind = CRDGroupVersion.WithKind(LogView_Kind)
)

Repository type metadata.

View Source
var (
	Metric_Kind             = "Metric"
	Metric_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Metric_Kind}.String()
	Metric_KindAPIVersion   = Metric_Kind + "." + CRDGroupVersion.String()
	Metric_GroupVersionKind = CRDGroupVersion.WithKind(Metric_Kind)
)

Repository type metadata.

View Source
var (
	ProjectBucketConfig_Kind             = "ProjectBucketConfig"
	ProjectBucketConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectBucketConfig_Kind}.String()
	ProjectBucketConfig_KindAPIVersion   = ProjectBucketConfig_Kind + "." + CRDGroupVersion.String()
	ProjectBucketConfig_GroupVersionKind = CRDGroupVersion.WithKind(ProjectBucketConfig_Kind)
)

Repository type metadata.

View Source
var (
	ProjectExclusion_Kind             = "ProjectExclusion"
	ProjectExclusion_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectExclusion_Kind}.String()
	ProjectExclusion_KindAPIVersion   = ProjectExclusion_Kind + "." + CRDGroupVersion.String()
	ProjectExclusion_GroupVersionKind = CRDGroupVersion.WithKind(ProjectExclusion_Kind)
)

Repository type metadata.

View Source
var (
	ProjectSink_Kind             = "ProjectSink"
	ProjectSink_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectSink_Kind}.String()
	ProjectSink_KindAPIVersion   = ProjectSink_Kind + "." + CRDGroupVersion.String()
	ProjectSink_GroupVersionKind = CRDGroupVersion.WithKind(ProjectSink_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BigqueryOptionsObservation

type BigqueryOptionsObservation struct {

	// Whether to use BigQuery's partition tables.
	// By default, 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
	// has to be used instead. In both cases, tables are sharded based on UTC timezone.
	UsePartitionedTables *bool `json:"usePartitionedTables,omitempty" tf:"use_partitioned_tables,omitempty"`
}

func (*BigqueryOptionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigqueryOptionsObservation.

func (*BigqueryOptionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigqueryOptionsParameters

type BigqueryOptionsParameters struct {

	// Whether to use BigQuery's partition tables.
	// By default, 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
	// has to be used instead. In both cases, tables are sharded based on UTC timezone.
	// +kubebuilder:validation:Required
	UsePartitionedTables *bool `json:"usePartitionedTables" tf:"use_partitioned_tables,omitempty"`
}

func (*BigqueryOptionsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigqueryOptionsParameters.

func (*BigqueryOptionsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketOptionsObservation

type BucketOptionsObservation struct {

	// Specifies a set of buckets with arbitrary widths.
	// Structure is documented below.
	ExplicitBuckets []ExplicitBucketsObservation `json:"explicitBuckets,omitempty" tf:"explicit_buckets,omitempty"`

	// 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.
	// Structure is documented below.
	ExponentialBuckets []ExponentialBucketsObservation `json:"exponentialBuckets,omitempty" tf:"exponential_buckets,omitempty"`

	// 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.
	// Structure is documented below.
	LinearBuckets []LinearBucketsObservation `json:"linearBuckets,omitempty" tf:"linear_buckets,omitempty"`
}

func (*BucketOptionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketOptionsObservation.

func (*BucketOptionsObservation) DeepCopyInto

func (in *BucketOptionsObservation) DeepCopyInto(out *BucketOptionsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketOptionsParameters

type BucketOptionsParameters struct {

	// Specifies a set of buckets with arbitrary widths.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ExplicitBuckets []ExplicitBucketsParameters `json:"explicitBuckets,omitempty" tf:"explicit_buckets,omitempty"`

	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ExponentialBuckets []ExponentialBucketsParameters `json:"exponentialBuckets,omitempty" tf:"exponential_buckets,omitempty"`

	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	LinearBuckets []LinearBucketsParameters `json:"linearBuckets,omitempty" tf:"linear_buckets,omitempty"`
}

func (*BucketOptionsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketOptionsParameters.

func (*BucketOptionsParameters) DeepCopyInto

func (in *BucketOptionsParameters) DeepCopyInto(out *BucketOptionsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CmekSettingsObservation

type CmekSettingsObservation struct {

	// The resource name for the configured Cloud KMS key.
	// KMS key name format:
	// 'projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]'
	// To enable CMEK for the bucket, set this field to a valid kmsKeyName for which the associated service account has the required cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
	// The Cloud KMS key used by the bucket can be updated by changing the kmsKeyName to a new valid key name. 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.
	// See Enabling CMEK for Logging Buckets for more information.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// 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.
	KMSKeyVersionName *string `json:"kmsKeyVersionName,omitempty" tf:"kms_key_version_name,omitempty"`

	// The resource name of the CMEK settings.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The service account associated with a project for which CMEK will apply.
	// Before enabling CMEK for a logging bucket, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account associated with the project for which CMEK will apply. Use v2.getCmekSettings to obtain the service account ID.
	// See Enabling CMEK for Logging Buckets for more information.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*CmekSettingsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmekSettingsObservation.

func (*CmekSettingsObservation) DeepCopyInto

func (in *CmekSettingsObservation) DeepCopyInto(out *CmekSettingsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CmekSettingsParameters

type CmekSettingsParameters struct {

	// The resource name for the configured Cloud KMS key.
	// KMS key name format:
	// 'projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]'
	// To enable CMEK for the bucket, set this field to a valid kmsKeyName for which the associated service account has the required cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
	// The Cloud KMS key used by the bucket can be updated by changing the kmsKeyName to a new valid key name. 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.
	// See Enabling CMEK for Logging Buckets for more information.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/kms/v1beta1.CryptoKey
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// Reference to a CryptoKey in kms to populate kmsKeyName.
	// +kubebuilder:validation:Optional
	KMSKeyNameRef *v1.Reference `json:"kmsKeyNameRef,omitempty" tf:"-"`

	// Selector for a CryptoKey in kms to populate kmsKeyName.
	// +kubebuilder:validation:Optional
	KMSKeyNameSelector *v1.Selector `json:"kmsKeyNameSelector,omitempty" tf:"-"`
}

func (*CmekSettingsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmekSettingsParameters.

func (*CmekSettingsParameters) DeepCopyInto

func (in *CmekSettingsParameters) DeepCopyInto(out *CmekSettingsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExclusionsObservation

type ExclusionsObservation struct {

	// A description of this exclusion.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// If set to True, then this exclusion is disabled and it does not exclude any log entries.
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See Advanced Log Filters for information on how to
	// write a filter.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// 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 `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ExclusionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionsObservation.

func (*ExclusionsObservation) DeepCopyInto

func (in *ExclusionsObservation) DeepCopyInto(out *ExclusionsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExclusionsParameters

type ExclusionsParameters struct {

	// A description of this exclusion.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// If set to True, then this exclusion is disabled and it does not exclude any log entries.
	// +kubebuilder:validation:Optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See Advanced Log Filters for information on how to
	// write a filter.
	// +kubebuilder:validation:Required
	Filter *string `json:"filter" tf:"filter,omitempty"`

	// 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.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*ExclusionsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionsParameters.

func (*ExclusionsParameters) DeepCopyInto

func (in *ExclusionsParameters) DeepCopyInto(out *ExclusionsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExplicitBucketsObservation

type ExplicitBucketsObservation struct {

	// The values must be monotonically increasing.
	Bounds []*float64 `json:"bounds,omitempty" tf:"bounds,omitempty"`
}

func (*ExplicitBucketsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExplicitBucketsObservation.

func (*ExplicitBucketsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExplicitBucketsParameters

type ExplicitBucketsParameters struct {

	// The values must be monotonically increasing.
	// +kubebuilder:validation:Required
	Bounds []*float64 `json:"bounds" tf:"bounds,omitempty"`
}

func (*ExplicitBucketsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExplicitBucketsParameters.

func (*ExplicitBucketsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExponentialBucketsObservation

type ExponentialBucketsObservation struct {

	// Must be greater than 1.
	GrowthFactor *float64 `json:"growthFactor,omitempty" tf:"growth_factor,omitempty"`

	// Must be greater than 0.
	NumFiniteBuckets *float64 `json:"numFiniteBuckets,omitempty" tf:"num_finite_buckets,omitempty"`

	// Must be greater than 0.
	Scale *float64 `json:"scale,omitempty" tf:"scale,omitempty"`
}

func (*ExponentialBucketsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExponentialBucketsObservation.

func (*ExponentialBucketsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExponentialBucketsParameters

type ExponentialBucketsParameters struct {

	// Must be greater than 1.
	// +kubebuilder:validation:Optional
	GrowthFactor *float64 `json:"growthFactor,omitempty" tf:"growth_factor,omitempty"`

	// Must be greater than 0.
	// +kubebuilder:validation:Optional
	NumFiniteBuckets *float64 `json:"numFiniteBuckets,omitempty" tf:"num_finite_buckets,omitempty"`

	// Must be greater than 0.
	// +kubebuilder:validation:Optional
	Scale *float64 `json:"scale,omitempty" tf:"scale,omitempty"`
}

func (*ExponentialBucketsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExponentialBucketsParameters.

func (*ExponentialBucketsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LabelsObservation

type LabelsObservation struct {

	// A human-readable description for the label.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The label key.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Whether the measurement is an integer, a floating-point number, etc.
	// Some combinations of metricKind and valueType might not be supported.
	// For counter metrics, set this to INT64.
	// Possible values are: BOOL, INT64, DOUBLE, STRING, DISTRIBUTION, MONEY.
	ValueType *string `json:"valueType,omitempty" tf:"value_type,omitempty"`
}

func (*LabelsObservation) DeepCopy

func (in *LabelsObservation) DeepCopy() *LabelsObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsObservation.

func (*LabelsObservation) DeepCopyInto

func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LabelsParameters

type LabelsParameters struct {

	// A human-readable description for the label.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The label key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Whether the measurement is an integer, a floating-point number, etc.
	// Some combinations of metricKind and valueType might not be supported.
	// For counter metrics, set this to INT64.
	// Possible values are: BOOL, INT64, DOUBLE, STRING, DISTRIBUTION, MONEY.
	// +kubebuilder:validation:Optional
	ValueType *string `json:"valueType,omitempty" tf:"value_type,omitempty"`
}

func (*LabelsParameters) DeepCopy

func (in *LabelsParameters) DeepCopy() *LabelsParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsParameters.

func (*LabelsParameters) DeepCopyInto

func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinearBucketsObservation

type LinearBucketsObservation struct {

	// Must be greater than 0.
	NumFiniteBuckets *float64 `json:"numFiniteBuckets,omitempty" tf:"num_finite_buckets,omitempty"`

	// Lower bound of the first bucket.
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Must be greater than 0.
	Width *float64 `json:"width,omitempty" tf:"width,omitempty"`
}

func (*LinearBucketsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinearBucketsObservation.

func (*LinearBucketsObservation) DeepCopyInto

func (in *LinearBucketsObservation) DeepCopyInto(out *LinearBucketsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinearBucketsParameters

type LinearBucketsParameters struct {

	// Must be greater than 0.
	// +kubebuilder:validation:Optional
	NumFiniteBuckets *float64 `json:"numFiniteBuckets,omitempty" tf:"num_finite_buckets,omitempty"`

	// Lower bound of the first bucket.
	// +kubebuilder:validation:Optional
	Offset *float64 `json:"offset,omitempty" tf:"offset,omitempty"`

	// Must be greater than 0.
	// +kubebuilder:validation:Optional
	Width *float64 `json:"width,omitempty" tf:"width,omitempty"`
}

func (*LinearBucketsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinearBucketsParameters.

func (*LinearBucketsParameters) DeepCopyInto

func (in *LinearBucketsParameters) DeepCopyInto(out *LinearBucketsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogView

type LogView struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogViewSpec   `json:"spec"`
	Status            LogViewStatus `json:"status,omitempty"`
}

LogView is the Schema for the LogViews API. Describes a view over log entries in a bucket. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*LogView) DeepCopy

func (in *LogView) DeepCopy() *LogView

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogView.

func (*LogView) DeepCopyInto

func (in *LogView) DeepCopyInto(out *LogView)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogView) DeepCopyObject

func (in *LogView) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LogView) GetCondition

func (mg *LogView) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this LogView.

func (*LogView) GetConnectionDetailsMapping

func (tr *LogView) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LogView

func (*LogView) GetDeletionPolicy

func (mg *LogView) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this LogView.

func (*LogView) GetID

func (tr *LogView) GetID() string

GetID returns ID of underlying Terraform resource of this LogView

func (*LogView) GetManagementPolicy added in v0.31.0

func (mg *LogView) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this LogView.

func (*LogView) GetObservation

func (tr *LogView) GetObservation() (map[string]any, error)

GetObservation of this LogView

func (*LogView) GetParameters

func (tr *LogView) GetParameters() (map[string]any, error)

GetParameters of this LogView

func (*LogView) GetProviderConfigReference

func (mg *LogView) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this LogView.

func (*LogView) GetProviderReference

func (mg *LogView) GetProviderReference() *xpv1.Reference

GetProviderReference of this LogView. Deprecated: Use GetProviderConfigReference.

func (*LogView) GetPublishConnectionDetailsTo

func (mg *LogView) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this LogView.

func (*LogView) GetTerraformResourceType

func (mg *LogView) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LogView

func (*LogView) GetTerraformSchemaVersion

func (tr *LogView) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LogView) GetWriteConnectionSecretToReference

func (mg *LogView) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this LogView.

func (*LogView) LateInitialize

func (tr *LogView) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LogView using its observed tfState. returns True if there are any spec changes for the resource.

func (*LogView) ResolveReferences

func (mg *LogView) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this LogView.

func (*LogView) SetConditions

func (mg *LogView) SetConditions(c ...xpv1.Condition)

SetConditions of this LogView.

func (*LogView) SetDeletionPolicy

func (mg *LogView) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this LogView.

func (*LogView) SetManagementPolicy added in v0.31.0

func (mg *LogView) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this LogView.

func (*LogView) SetObservation

func (tr *LogView) SetObservation(obs map[string]any) error

SetObservation for this LogView

func (*LogView) SetParameters

func (tr *LogView) SetParameters(params map[string]any) error

SetParameters for this LogView

func (*LogView) SetProviderConfigReference

func (mg *LogView) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this LogView.

func (*LogView) SetProviderReference

func (mg *LogView) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this LogView. Deprecated: Use SetProviderConfigReference.

func (*LogView) SetPublishConnectionDetailsTo

func (mg *LogView) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this LogView.

func (*LogView) SetWriteConnectionSecretToReference

func (mg *LogView) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this LogView.

type LogViewList

type LogViewList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LogView `json:"items"`
}

LogViewList contains a list of LogViews

func (*LogViewList) DeepCopy

func (in *LogViewList) DeepCopy() *LogViewList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogViewList.

func (*LogViewList) DeepCopyInto

func (in *LogViewList) DeepCopyInto(out *LogViewList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogViewList) DeepCopyObject

func (in *LogViewList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LogViewList) GetItems

func (l *LogViewList) GetItems() []resource.Managed

GetItems of this LogViewList.

type LogViewObservation

type LogViewObservation struct {

	// The bucket of the resource
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Output only. The creation timestamp of the view.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Describes this view.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// 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 id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// an identifier for the resource with format {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The parent of the resource.
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// Output only. The last update timestamp of the view.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*LogViewObservation) DeepCopy

func (in *LogViewObservation) DeepCopy() *LogViewObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogViewObservation.

func (*LogViewObservation) DeepCopyInto

func (in *LogViewObservation) DeepCopyInto(out *LogViewObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogViewParameters

type LogViewParameters struct {

	// The bucket of the resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/logging/v1beta1.ProjectBucketConfig
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Reference to a ProjectBucketConfig in logging to populate bucket.
	// +kubebuilder:validation:Optional
	BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"`

	// Selector for a ProjectBucketConfig in logging to populate bucket.
	// +kubebuilder:validation:Optional
	BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"`

	// Describes this view.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// 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 id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
	// +kubebuilder:validation:Optional
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The parent of the resource.
	// +kubebuilder:validation:Optional
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`
}

func (*LogViewParameters) DeepCopy

func (in *LogViewParameters) DeepCopy() *LogViewParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogViewParameters.

func (*LogViewParameters) DeepCopyInto

func (in *LogViewParameters) DeepCopyInto(out *LogViewParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogViewSpec

type LogViewSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogViewParameters `json:"forProvider"`
}

LogViewSpec defines the desired state of LogView

func (*LogViewSpec) DeepCopy

func (in *LogViewSpec) DeepCopy() *LogViewSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogViewSpec.

func (*LogViewSpec) DeepCopyInto

func (in *LogViewSpec) DeepCopyInto(out *LogViewSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogViewStatus

type LogViewStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LogViewObservation `json:"atProvider,omitempty"`
}

LogViewStatus defines the observed state of LogView.

func (*LogViewStatus) DeepCopy

func (in *LogViewStatus) DeepCopy() *LogViewStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogViewStatus.

func (*LogViewStatus) DeepCopyInto

func (in *LogViewStatus) DeepCopyInto(out *LogViewStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Metric

type Metric struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.filter)",message="filter is a required parameter"
	Spec   MetricSpec   `json:"spec"`
	Status MetricStatus `json:"status,omitempty"`
}

Metric is the Schema for the Metrics API. Logs-based metric can also be used to extract values from logs and create a a distribution of the values. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Metric) DeepCopy

func (in *Metric) DeepCopy() *Metric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric.

func (*Metric) DeepCopyInto

func (in *Metric) DeepCopyInto(out *Metric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Metric) DeepCopyObject

func (in *Metric) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Metric) GetCondition

func (mg *Metric) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Metric.

func (*Metric) GetConnectionDetailsMapping

func (tr *Metric) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Metric

func (*Metric) GetDeletionPolicy

func (mg *Metric) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Metric.

func (*Metric) GetID

func (tr *Metric) GetID() string

GetID returns ID of underlying Terraform resource of this Metric

func (*Metric) GetManagementPolicy added in v0.31.0

func (mg *Metric) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Metric.

func (*Metric) GetObservation

func (tr *Metric) GetObservation() (map[string]any, error)

GetObservation of this Metric

func (*Metric) GetParameters

func (tr *Metric) GetParameters() (map[string]any, error)

GetParameters of this Metric

func (*Metric) GetProviderConfigReference

func (mg *Metric) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Metric.

func (*Metric) GetProviderReference

func (mg *Metric) GetProviderReference() *xpv1.Reference

GetProviderReference of this Metric. Deprecated: Use GetProviderConfigReference.

func (*Metric) GetPublishConnectionDetailsTo

func (mg *Metric) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Metric.

func (*Metric) GetTerraformResourceType

func (mg *Metric) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Metric

func (*Metric) GetTerraformSchemaVersion

func (tr *Metric) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Metric) GetWriteConnectionSecretToReference

func (mg *Metric) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Metric.

func (*Metric) LateInitialize

func (tr *Metric) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Metric using its observed tfState. returns True if there are any spec changes for the resource.

func (*Metric) ResolveReferences

func (mg *Metric) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Metric.

func (*Metric) SetConditions

func (mg *Metric) SetConditions(c ...xpv1.Condition)

SetConditions of this Metric.

func (*Metric) SetDeletionPolicy

func (mg *Metric) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Metric.

func (*Metric) SetManagementPolicy added in v0.31.0

func (mg *Metric) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Metric.

func (*Metric) SetObservation

func (tr *Metric) SetObservation(obs map[string]any) error

SetObservation for this Metric

func (*Metric) SetParameters

func (tr *Metric) SetParameters(params map[string]any) error

SetParameters for this Metric

func (*Metric) SetProviderConfigReference

func (mg *Metric) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Metric.

func (*Metric) SetProviderReference

func (mg *Metric) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Metric. Deprecated: Use SetProviderConfigReference.

func (*Metric) SetPublishConnectionDetailsTo

func (mg *Metric) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Metric.

func (*Metric) SetWriteConnectionSecretToReference

func (mg *Metric) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Metric.

type MetricDescriptorObservation

type MetricDescriptorObservation struct {

	// 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 `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// 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.
	// Structure is documented below.
	Labels []LabelsObservation `json:"labels,omitempty" tf:"labels,omitempty"`

	// Whether the metric records instantaneous values, changes to a value, etc.
	// Some combinations of metricKind and valueType might not be supported.
	// For counter metrics, set this to DELTA.
	// Possible values are: DELTA, GAUGE, CUMULATIVE.
	MetricKind *string `json:"metricKind,omitempty" tf:"metric_kind,omitempty"`

	// The unit in which the metric value is reported. It is only applicable if the valueType is
	// INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of
	// The Unified Code for Units of Measure standard
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// Whether the measurement is an integer, a floating-point number, etc.
	// Some combinations of metricKind and valueType might not be supported.
	// For counter metrics, set this to INT64.
	// Possible values are: BOOL, INT64, DOUBLE, STRING, DISTRIBUTION, MONEY.
	ValueType *string `json:"valueType,omitempty" tf:"value_type,omitempty"`
}

func (*MetricDescriptorObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDescriptorObservation.

func (*MetricDescriptorObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricDescriptorParameters

type MetricDescriptorParameters struct {

	// 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.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Labels []LabelsParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// Whether the metric records instantaneous values, changes to a value, etc.
	// Some combinations of metricKind and valueType might not be supported.
	// For counter metrics, set this to DELTA.
	// Possible values are: DELTA, GAUGE, CUMULATIVE.
	// +kubebuilder:validation:Required
	MetricKind *string `json:"metricKind" tf:"metric_kind,omitempty"`

	// The unit in which the metric value is reported. It is only applicable if the valueType is
	// INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of
	// The Unified Code for Units of Measure standard
	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// Whether the measurement is an integer, a floating-point number, etc.
	// Some combinations of metricKind and valueType might not be supported.
	// For counter metrics, set this to INT64.
	// Possible values are: BOOL, INT64, DOUBLE, STRING, DISTRIBUTION, MONEY.
	// +kubebuilder:validation:Required
	ValueType *string `json:"valueType" tf:"value_type,omitempty"`
}

func (*MetricDescriptorParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDescriptorParameters.

func (*MetricDescriptorParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricList

type MetricList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Metric `json:"items"`
}

MetricList contains a list of Metrics

func (*MetricList) DeepCopy

func (in *MetricList) DeepCopy() *MetricList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricList.

func (*MetricList) DeepCopyInto

func (in *MetricList) DeepCopyInto(out *MetricList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MetricList) DeepCopyObject

func (in *MetricList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MetricList) GetItems

func (l *MetricList) GetItems() []resource.Managed

GetItems of this MetricList.

type MetricObservation

type MetricObservation struct {

	// 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.
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`

	// The bucketOptions 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.
	// Structure is documented below.
	BucketOptions []BucketOptionsObservation `json:"bucketOptions,omitempty" tf:"bucket_options,omitempty"`

	// A description of this metric, which is used in documentation. The maximum length of the
	// description is 8000 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// If set to True, then this metric is disabled and it does not generate any points.
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which
	// is used to match log entries.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// an identifier for the resource with format {{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// 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 valueExtractor field.
	LabelExtractors map[string]*string `json:"labelExtractors,omitempty" tf:"label_extractors,omitempty"`

	// The optional 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.
	// Structure is documented below.
	MetricDescriptor []MetricDescriptorObservation `json:"metricDescriptor,omitempty" tf:"metric_descriptor,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// A valueExtractor 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 argument are 1. field - The name of the log entry field from which
	// the value is to be extracted. 2. 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.
	ValueExtractor *string `json:"valueExtractor,omitempty" tf:"value_extractor,omitempty"`
}

func (*MetricObservation) DeepCopy

func (in *MetricObservation) DeepCopy() *MetricObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricObservation.

func (*MetricObservation) DeepCopyInto

func (in *MetricObservation) DeepCopyInto(out *MetricObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricParameters

type MetricParameters struct {

	// 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.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/logging/v1beta1.ProjectBucketConfig
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`

	// Reference to a ProjectBucketConfig in logging to populate bucketName.
	// +kubebuilder:validation:Optional
	BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"`

	// Selector for a ProjectBucketConfig in logging to populate bucketName.
	// +kubebuilder:validation:Optional
	BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"`

	// The bucketOptions 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	BucketOptions []BucketOptionsParameters `json:"bucketOptions,omitempty" tf:"bucket_options,omitempty"`

	// A description of this metric, which is used in documentation. The maximum length of the
	// description is 8000 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// If set to True, then this metric is disabled and it does not generate any points.
	// +kubebuilder:validation:Optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which
	// is used to match log entries.
	// +kubebuilder:validation:Optional
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// 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 valueExtractor field.
	// +kubebuilder:validation:Optional
	LabelExtractors map[string]*string `json:"labelExtractors,omitempty" tf:"label_extractors,omitempty"`

	// The optional 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	MetricDescriptor []MetricDescriptorParameters `json:"metricDescriptor,omitempty" tf:"metric_descriptor,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// A valueExtractor 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 argument are 1. field - The name of the log entry field from which
	// the value is to be extracted. 2. 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.
	// +kubebuilder:validation:Optional
	ValueExtractor *string `json:"valueExtractor,omitempty" tf:"value_extractor,omitempty"`
}

func (*MetricParameters) DeepCopy

func (in *MetricParameters) DeepCopy() *MetricParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricParameters.

func (*MetricParameters) DeepCopyInto

func (in *MetricParameters) DeepCopyInto(out *MetricParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricSpec

type MetricSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetricParameters `json:"forProvider"`
}

MetricSpec defines the desired state of Metric

func (*MetricSpec) DeepCopy

func (in *MetricSpec) DeepCopy() *MetricSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.

func (*MetricSpec) DeepCopyInto

func (in *MetricSpec) DeepCopyInto(out *MetricSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricStatus

type MetricStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MetricObservation `json:"atProvider,omitempty"`
}

MetricStatus defines the observed state of Metric.

func (*MetricStatus) DeepCopy

func (in *MetricStatus) DeepCopy() *MetricStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.

func (*MetricStatus) DeepCopyInto

func (in *MetricStatus) DeepCopyInto(out *MetricStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectBucketConfig

type ProjectBucketConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProjectBucketConfigSpec   `json:"spec"`
	Status            ProjectBucketConfigStatus `json:"status,omitempty"`
}

ProjectBucketConfig is the Schema for the ProjectBucketConfigs API. Manages a project-level logging bucket config. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*ProjectBucketConfig) DeepCopy

func (in *ProjectBucketConfig) DeepCopy() *ProjectBucketConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectBucketConfig.

func (*ProjectBucketConfig) DeepCopyInto

func (in *ProjectBucketConfig) DeepCopyInto(out *ProjectBucketConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectBucketConfig) DeepCopyObject

func (in *ProjectBucketConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectBucketConfig) GetCondition

func (mg *ProjectBucketConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ProjectBucketConfig.

func (*ProjectBucketConfig) GetConnectionDetailsMapping

func (tr *ProjectBucketConfig) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ProjectBucketConfig

func (*ProjectBucketConfig) GetDeletionPolicy

func (mg *ProjectBucketConfig) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ProjectBucketConfig.

func (*ProjectBucketConfig) GetID

func (tr *ProjectBucketConfig) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectBucketConfig

func (*ProjectBucketConfig) GetManagementPolicy added in v0.31.0

func (mg *ProjectBucketConfig) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ProjectBucketConfig.

func (*ProjectBucketConfig) GetObservation

func (tr *ProjectBucketConfig) GetObservation() (map[string]any, error)

GetObservation of this ProjectBucketConfig

func (*ProjectBucketConfig) GetParameters

func (tr *ProjectBucketConfig) GetParameters() (map[string]any, error)

GetParameters of this ProjectBucketConfig

func (*ProjectBucketConfig) GetProviderConfigReference

func (mg *ProjectBucketConfig) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ProjectBucketConfig.

func (*ProjectBucketConfig) GetProviderReference

func (mg *ProjectBucketConfig) GetProviderReference() *xpv1.Reference

GetProviderReference of this ProjectBucketConfig. Deprecated: Use GetProviderConfigReference.

func (*ProjectBucketConfig) GetPublishConnectionDetailsTo

func (mg *ProjectBucketConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ProjectBucketConfig.

func (*ProjectBucketConfig) GetTerraformResourceType

func (mg *ProjectBucketConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectBucketConfig

func (*ProjectBucketConfig) GetTerraformSchemaVersion

func (tr *ProjectBucketConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectBucketConfig) GetWriteConnectionSecretToReference

func (mg *ProjectBucketConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ProjectBucketConfig.

func (*ProjectBucketConfig) LateInitialize

func (tr *ProjectBucketConfig) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ProjectBucketConfig using its observed tfState. returns True if there are any spec changes for the resource.

func (*ProjectBucketConfig) ResolveReferences

func (mg *ProjectBucketConfig) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ProjectBucketConfig.

func (*ProjectBucketConfig) SetConditions

func (mg *ProjectBucketConfig) SetConditions(c ...xpv1.Condition)

SetConditions of this ProjectBucketConfig.

func (*ProjectBucketConfig) SetDeletionPolicy

func (mg *ProjectBucketConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ProjectBucketConfig.

func (*ProjectBucketConfig) SetManagementPolicy added in v0.31.0

func (mg *ProjectBucketConfig) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ProjectBucketConfig.

func (*ProjectBucketConfig) SetObservation

func (tr *ProjectBucketConfig) SetObservation(obs map[string]any) error

SetObservation for this ProjectBucketConfig

func (*ProjectBucketConfig) SetParameters

func (tr *ProjectBucketConfig) SetParameters(params map[string]any) error

SetParameters for this ProjectBucketConfig

func (*ProjectBucketConfig) SetProviderConfigReference

func (mg *ProjectBucketConfig) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ProjectBucketConfig.

func (*ProjectBucketConfig) SetProviderReference

func (mg *ProjectBucketConfig) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ProjectBucketConfig. Deprecated: Use SetProviderConfigReference.

func (*ProjectBucketConfig) SetPublishConnectionDetailsTo

func (mg *ProjectBucketConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ProjectBucketConfig.

func (*ProjectBucketConfig) SetWriteConnectionSecretToReference

func (mg *ProjectBucketConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ProjectBucketConfig.

type ProjectBucketConfigList

type ProjectBucketConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectBucketConfig `json:"items"`
}

ProjectBucketConfigList contains a list of ProjectBucketConfigs

func (*ProjectBucketConfigList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectBucketConfigList.

func (*ProjectBucketConfigList) DeepCopyInto

func (in *ProjectBucketConfigList) DeepCopyInto(out *ProjectBucketConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectBucketConfigList) DeepCopyObject

func (in *ProjectBucketConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectBucketConfigList) GetItems

func (l *ProjectBucketConfigList) GetItems() []resource.Managed

GetItems of this ProjectBucketConfigList.

type ProjectBucketConfigObservation

type ProjectBucketConfigObservation struct {

	// The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default.
	BucketID *string `json:"bucketId,omitempty" tf:"bucket_id,omitempty"`

	// 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. Structure is documented below.
	CmekSettings []CmekSettingsObservation `json:"cmekSettings,omitempty" tf:"cmek_settings,omitempty"`

	// Describes this bucket.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the Log Analytics page using SQL queries. Cannot be disabled once enabled.
	EnableAnalytics *bool `json:"enableAnalytics,omitempty" tf:"enable_analytics,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/buckets/{{bucket_id}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The bucket's lifecycle such as active or deleted. See LifecycleState.
	LifecycleState *string `json:"lifecycleState,omitempty" tf:"lifecycle_state,omitempty"`

	// The location of the bucket.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id"
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The parent resource that contains the logging bucket.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// 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 *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`
}

func (*ProjectBucketConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectBucketConfigObservation.

func (*ProjectBucketConfigObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectBucketConfigParameters

type ProjectBucketConfigParameters struct {

	// The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default.
	// +kubebuilder:validation:Required
	BucketID *string `json:"bucketId" tf:"bucket_id,omitempty"`

	// 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. Structure is documented below.
	// +kubebuilder:validation:Optional
	CmekSettings []CmekSettingsParameters `json:"cmekSettings,omitempty" tf:"cmek_settings,omitempty"`

	// Describes this bucket.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the Log Analytics page using SQL queries. Cannot be disabled once enabled.
	// +kubebuilder:validation:Optional
	EnableAnalytics *bool `json:"enableAnalytics,omitempty" tf:"enable_analytics,omitempty"`

	// The location of the bucket.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The parent resource that contains the logging bucket.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.Project
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Reference to a Project in cloudplatform to populate project.
	// +kubebuilder:validation:Optional
	ProjectRef *v1.Reference `json:"projectRef,omitempty" tf:"-"`

	// Selector for a Project in cloudplatform to populate project.
	// +kubebuilder:validation:Optional
	ProjectSelector *v1.Selector `json:"projectSelector,omitempty" tf:"-"`

	// 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.
	// +kubebuilder:validation:Optional
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`
}

func (*ProjectBucketConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectBucketConfigParameters.

func (*ProjectBucketConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectBucketConfigSpec

type ProjectBucketConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectBucketConfigParameters `json:"forProvider"`
}

ProjectBucketConfigSpec defines the desired state of ProjectBucketConfig

func (*ProjectBucketConfigSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectBucketConfigSpec.

func (*ProjectBucketConfigSpec) DeepCopyInto

func (in *ProjectBucketConfigSpec) DeepCopyInto(out *ProjectBucketConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectBucketConfigStatus

type ProjectBucketConfigStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ProjectBucketConfigObservation `json:"atProvider,omitempty"`
}

ProjectBucketConfigStatus defines the observed state of ProjectBucketConfig.

func (*ProjectBucketConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectBucketConfigStatus.

func (*ProjectBucketConfigStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectExclusion

type ProjectExclusion struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.filter)",message="filter is a required parameter"
	Spec   ProjectExclusionSpec   `json:"spec"`
	Status ProjectExclusionStatus `json:"status,omitempty"`
}

ProjectExclusion is the Schema for the ProjectExclusions API. Manages a project-level logging exclusion. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*ProjectExclusion) DeepCopy

func (in *ProjectExclusion) DeepCopy() *ProjectExclusion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectExclusion.

func (*ProjectExclusion) DeepCopyInto

func (in *ProjectExclusion) DeepCopyInto(out *ProjectExclusion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectExclusion) DeepCopyObject

func (in *ProjectExclusion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectExclusion) GetCondition

func (mg *ProjectExclusion) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ProjectExclusion.

func (*ProjectExclusion) GetConnectionDetailsMapping

func (tr *ProjectExclusion) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ProjectExclusion

func (*ProjectExclusion) GetDeletionPolicy

func (mg *ProjectExclusion) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ProjectExclusion.

func (*ProjectExclusion) GetID

func (tr *ProjectExclusion) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectExclusion

func (*ProjectExclusion) GetManagementPolicy added in v0.31.0

func (mg *ProjectExclusion) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ProjectExclusion.

func (*ProjectExclusion) GetObservation

func (tr *ProjectExclusion) GetObservation() (map[string]any, error)

GetObservation of this ProjectExclusion

func (*ProjectExclusion) GetParameters

func (tr *ProjectExclusion) GetParameters() (map[string]any, error)

GetParameters of this ProjectExclusion

func (*ProjectExclusion) GetProviderConfigReference

func (mg *ProjectExclusion) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ProjectExclusion.

func (*ProjectExclusion) GetProviderReference

func (mg *ProjectExclusion) GetProviderReference() *xpv1.Reference

GetProviderReference of this ProjectExclusion. Deprecated: Use GetProviderConfigReference.

func (*ProjectExclusion) GetPublishConnectionDetailsTo

func (mg *ProjectExclusion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ProjectExclusion.

func (*ProjectExclusion) GetTerraformResourceType

func (mg *ProjectExclusion) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectExclusion

func (*ProjectExclusion) GetTerraformSchemaVersion

func (tr *ProjectExclusion) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectExclusion) GetWriteConnectionSecretToReference

func (mg *ProjectExclusion) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ProjectExclusion.

func (*ProjectExclusion) LateInitialize

func (tr *ProjectExclusion) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ProjectExclusion using its observed tfState. returns True if there are any spec changes for the resource.

func (*ProjectExclusion) SetConditions

func (mg *ProjectExclusion) SetConditions(c ...xpv1.Condition)

SetConditions of this ProjectExclusion.

func (*ProjectExclusion) SetDeletionPolicy

func (mg *ProjectExclusion) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ProjectExclusion.

func (*ProjectExclusion) SetManagementPolicy added in v0.31.0

func (mg *ProjectExclusion) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ProjectExclusion.

func (*ProjectExclusion) SetObservation

func (tr *ProjectExclusion) SetObservation(obs map[string]any) error

SetObservation for this ProjectExclusion

func (*ProjectExclusion) SetParameters

func (tr *ProjectExclusion) SetParameters(params map[string]any) error

SetParameters for this ProjectExclusion

func (*ProjectExclusion) SetProviderConfigReference

func (mg *ProjectExclusion) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ProjectExclusion.

func (*ProjectExclusion) SetProviderReference

func (mg *ProjectExclusion) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ProjectExclusion. Deprecated: Use SetProviderConfigReference.

func (*ProjectExclusion) SetPublishConnectionDetailsTo

func (mg *ProjectExclusion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ProjectExclusion.

func (*ProjectExclusion) SetWriteConnectionSecretToReference

func (mg *ProjectExclusion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ProjectExclusion.

type ProjectExclusionList

type ProjectExclusionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectExclusion `json:"items"`
}

ProjectExclusionList contains a list of ProjectExclusions

func (*ProjectExclusionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectExclusionList.

func (*ProjectExclusionList) DeepCopyInto

func (in *ProjectExclusionList) DeepCopyInto(out *ProjectExclusionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectExclusionList) DeepCopyObject

func (in *ProjectExclusionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectExclusionList) GetItems

func (l *ProjectExclusionList) GetItems() []resource.Managed

GetItems of this ProjectExclusionList.

type ProjectExclusionObservation

type ProjectExclusionObservation struct {

	// A human-readable description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether this exclusion rule should be disabled or not. This defaults to
	// false.
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// The filter to apply when excluding logs. Only log entries that match the filter are excluded.
	// See Advanced Log Filters for information on how to
	// write a filter.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// an identifier for the resource with format projects/{{project}}/exclusions/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The project to create the exclusion in. If omitted, the project associated with the provider is
	// used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*ProjectExclusionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectExclusionObservation.

func (*ProjectExclusionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectExclusionParameters

type ProjectExclusionParameters struct {

	// A human-readable description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether this exclusion rule should be disabled or not. This defaults to
	// false.
	// +kubebuilder:validation:Optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// The filter to apply when excluding logs. Only log entries that match the filter are excluded.
	// See Advanced Log Filters for information on how to
	// write a filter.
	// +kubebuilder:validation:Optional
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The project to create the exclusion in. If omitted, the project associated with the provider is
	// used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*ProjectExclusionParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectExclusionParameters.

func (*ProjectExclusionParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectExclusionSpec

type ProjectExclusionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectExclusionParameters `json:"forProvider"`
}

ProjectExclusionSpec defines the desired state of ProjectExclusion

func (*ProjectExclusionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectExclusionSpec.

func (*ProjectExclusionSpec) DeepCopyInto

func (in *ProjectExclusionSpec) DeepCopyInto(out *ProjectExclusionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectExclusionStatus

type ProjectExclusionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ProjectExclusionObservation `json:"atProvider,omitempty"`
}

ProjectExclusionStatus defines the observed state of ProjectExclusion.

func (*ProjectExclusionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectExclusionStatus.

func (*ProjectExclusionStatus) DeepCopyInto

func (in *ProjectExclusionStatus) DeepCopyInto(out *ProjectExclusionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectSink

type ProjectSink struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.destination)",message="destination is a required parameter"
	Spec   ProjectSinkSpec   `json:"spec"`
	Status ProjectSinkStatus `json:"status,omitempty"`
}

ProjectSink is the Schema for the ProjectSinks API. Manages a project-level logging sink. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*ProjectSink) DeepCopy

func (in *ProjectSink) DeepCopy() *ProjectSink

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSink.

func (*ProjectSink) DeepCopyInto

func (in *ProjectSink) DeepCopyInto(out *ProjectSink)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectSink) DeepCopyObject

func (in *ProjectSink) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectSink) GetCondition

func (mg *ProjectSink) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ProjectSink.

func (*ProjectSink) GetConnectionDetailsMapping

func (tr *ProjectSink) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ProjectSink

func (*ProjectSink) GetDeletionPolicy

func (mg *ProjectSink) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ProjectSink.

func (*ProjectSink) GetID

func (tr *ProjectSink) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectSink

func (*ProjectSink) GetManagementPolicy added in v0.31.0

func (mg *ProjectSink) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ProjectSink.

func (*ProjectSink) GetObservation

func (tr *ProjectSink) GetObservation() (map[string]any, error)

GetObservation of this ProjectSink

func (*ProjectSink) GetParameters

func (tr *ProjectSink) GetParameters() (map[string]any, error)

GetParameters of this ProjectSink

func (*ProjectSink) GetProviderConfigReference

func (mg *ProjectSink) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ProjectSink.

func (*ProjectSink) GetProviderReference

func (mg *ProjectSink) GetProviderReference() *xpv1.Reference

GetProviderReference of this ProjectSink. Deprecated: Use GetProviderConfigReference.

func (*ProjectSink) GetPublishConnectionDetailsTo

func (mg *ProjectSink) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ProjectSink.

func (*ProjectSink) GetTerraformResourceType

func (mg *ProjectSink) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectSink

func (*ProjectSink) GetTerraformSchemaVersion

func (tr *ProjectSink) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectSink) GetWriteConnectionSecretToReference

func (mg *ProjectSink) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ProjectSink.

func (*ProjectSink) LateInitialize

func (tr *ProjectSink) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ProjectSink using its observed tfState. returns True if there are any spec changes for the resource.

func (*ProjectSink) SetConditions

func (mg *ProjectSink) SetConditions(c ...xpv1.Condition)

SetConditions of this ProjectSink.

func (*ProjectSink) SetDeletionPolicy

func (mg *ProjectSink) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ProjectSink.

func (*ProjectSink) SetManagementPolicy added in v0.31.0

func (mg *ProjectSink) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ProjectSink.

func (*ProjectSink) SetObservation

func (tr *ProjectSink) SetObservation(obs map[string]any) error

SetObservation for this ProjectSink

func (*ProjectSink) SetParameters

func (tr *ProjectSink) SetParameters(params map[string]any) error

SetParameters for this ProjectSink

func (*ProjectSink) SetProviderConfigReference

func (mg *ProjectSink) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ProjectSink.

func (*ProjectSink) SetProviderReference

func (mg *ProjectSink) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ProjectSink. Deprecated: Use SetProviderConfigReference.

func (*ProjectSink) SetPublishConnectionDetailsTo

func (mg *ProjectSink) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ProjectSink.

func (*ProjectSink) SetWriteConnectionSecretToReference

func (mg *ProjectSink) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ProjectSink.

type ProjectSinkList

type ProjectSinkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectSink `json:"items"`
}

ProjectSinkList contains a list of ProjectSinks

func (*ProjectSinkList) DeepCopy

func (in *ProjectSinkList) DeepCopy() *ProjectSinkList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSinkList.

func (*ProjectSinkList) DeepCopyInto

func (in *ProjectSinkList) DeepCopyInto(out *ProjectSinkList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectSinkList) DeepCopyObject

func (in *ProjectSinkList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectSinkList) GetItems

func (l *ProjectSinkList) GetItems() []resource.Managed

GetItems of this ProjectSinkList.

type ProjectSinkObservation

type ProjectSinkObservation struct {

	// Options that affect sinks exporting data to BigQuery. Structure documented below.
	BigqueryOptions []BigqueryOptionsObservation `json:"bigqueryOptions,omitempty" tf:"bigquery_options,omitempty"`

	// A description of this sink. The maximum length of the description is 8000 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The destination of the sink (or, in other words, where logs are written to). Can be a
	// Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket . Examples:
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// If set to True, then this sink is disabled and it does not export any log entries.
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both filter and one of exclusions.filter, it will not be exported.  Can be repeated multiple times for multiple exclusions. Structure is documented below.
	Exclusions []ExclusionsObservation `json:"exclusions,omitempty" tf:"exclusions,omitempty"`

	// The filter to apply when exporting logs. Only log entries that match the filter are exported.
	// See Advanced Log Filters for information on how to
	// write a filter.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// an identifier for the resource with format projects/{{project}}/sinks/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of the project to create the sink in. If omitted, the project associated with the provider is
	// used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Whether or not to create a unique identity associated with this sink. If false
	// (the default), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true,
	// then a unique service account is created and used for this sink. If you wish to publish logs across projects or utilize
	// bigquery_options, you must set unique_writer_identity to true.
	UniqueWriterIdentity *bool `json:"uniqueWriterIdentity,omitempty" tf:"unique_writer_identity,omitempty"`

	// The identity associated with this sink. This identity must be granted write access to the
	// configured destination.
	WriterIdentity *string `json:"writerIdentity,omitempty" tf:"writer_identity,omitempty"`
}

func (*ProjectSinkObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSinkObservation.

func (*ProjectSinkObservation) DeepCopyInto

func (in *ProjectSinkObservation) DeepCopyInto(out *ProjectSinkObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectSinkParameters

type ProjectSinkParameters struct {

	// Options that affect sinks exporting data to BigQuery. Structure documented below.
	// +kubebuilder:validation:Optional
	BigqueryOptions []BigqueryOptionsParameters `json:"bigqueryOptions,omitempty" tf:"bigquery_options,omitempty"`

	// A description of this sink. The maximum length of the description is 8000 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The destination of the sink (or, in other words, where logs are written to). Can be a
	// Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket . Examples:
	// +kubebuilder:validation:Optional
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// If set to True, then this sink is disabled and it does not export any log entries.
	// +kubebuilder:validation:Optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both filter and one of exclusions.filter, it will not be exported.  Can be repeated multiple times for multiple exclusions. Structure is documented below.
	// +kubebuilder:validation:Optional
	Exclusions []ExclusionsParameters `json:"exclusions,omitempty" tf:"exclusions,omitempty"`

	// The filter to apply when exporting logs. Only log entries that match the filter are exported.
	// See Advanced Log Filters for information on how to
	// write a filter.
	// +kubebuilder:validation:Optional
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The ID of the project to create the sink in. If omitted, the project associated with the provider is
	// used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Whether or not to create a unique identity associated with this sink. If false
	// (the default), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true,
	// then a unique service account is created and used for this sink. If you wish to publish logs across projects or utilize
	// bigquery_options, you must set unique_writer_identity to true.
	// +kubebuilder:validation:Optional
	UniqueWriterIdentity *bool `json:"uniqueWriterIdentity,omitempty" tf:"unique_writer_identity,omitempty"`
}

func (*ProjectSinkParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSinkParameters.

func (*ProjectSinkParameters) DeepCopyInto

func (in *ProjectSinkParameters) DeepCopyInto(out *ProjectSinkParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectSinkSpec

type ProjectSinkSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectSinkParameters `json:"forProvider"`
}

ProjectSinkSpec defines the desired state of ProjectSink

func (*ProjectSinkSpec) DeepCopy

func (in *ProjectSinkSpec) DeepCopy() *ProjectSinkSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSinkSpec.

func (*ProjectSinkSpec) DeepCopyInto

func (in *ProjectSinkSpec) DeepCopyInto(out *ProjectSinkSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectSinkStatus

type ProjectSinkStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ProjectSinkObservation `json:"atProvider,omitempty"`
}

ProjectSinkStatus defines the observed state of ProjectSink.

func (*ProjectSinkStatus) DeepCopy

func (in *ProjectSinkStatus) DeepCopy() *ProjectSinkStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSinkStatus.

func (*ProjectSinkStatus) DeepCopyInto

func (in *ProjectSinkStatus) DeepCopyInto(out *ProjectSinkStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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