v1beta2

package
v1.8.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=storage.gcp.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "storage.gcp.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	Bucket_Kind             = "Bucket"
	Bucket_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Bucket_Kind}.String()
	Bucket_KindAPIVersion   = Bucket_Kind + "." + CRDGroupVersion.String()
	Bucket_GroupVersionKind = CRDGroupVersion.WithKind(Bucket_Kind)
)

Repository type metadata.

View Source
var (
	BucketIAMMember_Kind             = "BucketIAMMember"
	BucketIAMMember_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BucketIAMMember_Kind}.String()
	BucketIAMMember_KindAPIVersion   = BucketIAMMember_Kind + "." + CRDGroupVersion.String()
	BucketIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(BucketIAMMember_Kind)
)

Repository type metadata.

View Source
var (
	BucketObject_Kind             = "BucketObject"
	BucketObject_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BucketObject_Kind}.String()
	BucketObject_KindAPIVersion   = BucketObject_Kind + "." + CRDGroupVersion.String()
	BucketObject_GroupVersionKind = CRDGroupVersion.WithKind(BucketObject_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type ActionInitParameters

type ActionInitParameters struct {

	// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ActionInitParameters) DeepCopy

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

func (*ActionInitParameters) DeepCopyInto

func (in *ActionInitParameters) DeepCopyInto(out *ActionInitParameters)

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

type ActionObservation

type ActionObservation struct {

	// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ActionObservation) DeepCopy

func (in *ActionObservation) DeepCopy() *ActionObservation

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

func (*ActionObservation) DeepCopyInto

func (in *ActionObservation) DeepCopyInto(out *ActionObservation)

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

type ActionParameters

type ActionParameters struct {

	// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	// +kubebuilder:validation:Optional
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ActionParameters) DeepCopy

func (in *ActionParameters) DeepCopy() *ActionParameters

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

func (*ActionParameters) DeepCopyInto

func (in *ActionParameters) DeepCopyInto(out *ActionParameters)

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

type AutoclassInitParameters

type AutoclassInitParameters struct {

	// While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: NEARLINE, ARCHIVE.
	TerminalStorageClass *string `json:"terminalStorageClass,omitempty" tf:"terminal_storage_class,omitempty"`
}

func (*AutoclassInitParameters) DeepCopy

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

func (*AutoclassInitParameters) DeepCopyInto

func (in *AutoclassInitParameters) DeepCopyInto(out *AutoclassInitParameters)

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

type AutoclassObservation

type AutoclassObservation struct {

	// While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: NEARLINE, ARCHIVE.
	TerminalStorageClass *string `json:"terminalStorageClass,omitempty" tf:"terminal_storage_class,omitempty"`
}

func (*AutoclassObservation) DeepCopy

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

func (*AutoclassObservation) DeepCopyInto

func (in *AutoclassObservation) DeepCopyInto(out *AutoclassObservation)

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

type AutoclassParameters

type AutoclassParameters struct {

	// While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: NEARLINE, ARCHIVE.
	// +kubebuilder:validation:Optional
	TerminalStorageClass *string `json:"terminalStorageClass,omitempty" tf:"terminal_storage_class,omitempty"`
}

func (*AutoclassParameters) DeepCopy

func (in *AutoclassParameters) DeepCopy() *AutoclassParameters

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

func (*AutoclassParameters) DeepCopyInto

func (in *AutoclassParameters) DeepCopyInto(out *AutoclassParameters)

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

type Bucket

type Bucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	Spec   BucketSpec   `json:"spec"`
	Status BucketStatus `json:"status,omitempty"`
}

Bucket is the Schema for the Buckets API. Creates a new bucket in Google Cloud Storage. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

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

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

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

func (*Bucket) DeepCopyObject

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

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

func (*Bucket) GetCondition

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

GetCondition of this Bucket.

func (*Bucket) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Bucket

func (*Bucket) GetDeletionPolicy

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

GetDeletionPolicy of this Bucket.

func (*Bucket) GetID

func (tr *Bucket) GetID() string

GetID returns ID of underlying Terraform resource of this Bucket

func (*Bucket) GetInitParameters

func (tr *Bucket) GetInitParameters() (map[string]any, error)

GetInitParameters of this Bucket

func (*Bucket) GetManagementPolicies

func (mg *Bucket) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Bucket.

func (*Bucket) GetMergedParameters

func (tr *Bucket) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Bucket

func (*Bucket) GetObservation

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

GetObservation of this Bucket

func (*Bucket) GetParameters

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

GetParameters of this Bucket

func (*Bucket) GetProviderConfigReference

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

GetProviderConfigReference of this Bucket.

func (*Bucket) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Bucket.

func (*Bucket) GetTerraformResourceType

func (mg *Bucket) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Bucket

func (*Bucket) GetTerraformSchemaVersion

func (tr *Bucket) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Bucket) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Bucket.

func (*Bucket) Hub

func (tr *Bucket) Hub()

Hub marks this type as a conversion hub.

func (*Bucket) LateInitialize

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

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

func (*Bucket) SetConditions

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

SetConditions of this Bucket.

func (*Bucket) SetDeletionPolicy

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

SetDeletionPolicy of this Bucket.

func (*Bucket) SetManagementPolicies

func (mg *Bucket) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Bucket.

func (*Bucket) SetObservation

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

SetObservation for this Bucket

func (*Bucket) SetParameters

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

SetParameters for this Bucket

func (*Bucket) SetProviderConfigReference

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

SetProviderConfigReference of this Bucket.

func (*Bucket) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Bucket.

func (*Bucket) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Bucket.

type BucketIAMMember

type BucketIAMMember struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.member) || (has(self.initProvider) && has(self.initProvider.member))",message="spec.forProvider.member is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter"
	Spec   BucketIAMMemberSpec   `json:"spec"`
	Status BucketIAMMemberStatus `json:"status,omitempty"`
}

BucketIAMMember is the Schema for the BucketIAMMembers API. <no value> +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*BucketIAMMember) DeepCopy

func (in *BucketIAMMember) DeepCopy() *BucketIAMMember

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

func (*BucketIAMMember) DeepCopyInto

func (in *BucketIAMMember) DeepCopyInto(out *BucketIAMMember)

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

func (*BucketIAMMember) DeepCopyObject

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

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

func (*BucketIAMMember) GetCondition

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

GetCondition of this BucketIAMMember.

func (*BucketIAMMember) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BucketIAMMember

func (*BucketIAMMember) GetDeletionPolicy

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

GetDeletionPolicy of this BucketIAMMember.

func (*BucketIAMMember) GetID

func (tr *BucketIAMMember) GetID() string

GetID returns ID of underlying Terraform resource of this BucketIAMMember

func (*BucketIAMMember) GetInitParameters

func (tr *BucketIAMMember) GetInitParameters() (map[string]any, error)

GetInitParameters of this BucketIAMMember

func (*BucketIAMMember) GetManagementPolicies

func (mg *BucketIAMMember) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this BucketIAMMember.

func (*BucketIAMMember) GetMergedParameters

func (tr *BucketIAMMember) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this BucketIAMMember

func (*BucketIAMMember) GetObservation

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

GetObservation of this BucketIAMMember

func (*BucketIAMMember) GetParameters

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

GetParameters of this BucketIAMMember

func (*BucketIAMMember) GetProviderConfigReference

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

GetProviderConfigReference of this BucketIAMMember.

func (*BucketIAMMember) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BucketIAMMember.

func (*BucketIAMMember) GetTerraformResourceType

func (mg *BucketIAMMember) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BucketIAMMember

func (*BucketIAMMember) GetTerraformSchemaVersion

func (tr *BucketIAMMember) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BucketIAMMember) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BucketIAMMember.

func (*BucketIAMMember) Hub

func (tr *BucketIAMMember) Hub()

Hub marks this type as a conversion hub.

func (*BucketIAMMember) LateInitialize

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

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

func (*BucketIAMMember) ResolveReferences

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

func (*BucketIAMMember) SetConditions

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

SetConditions of this BucketIAMMember.

func (*BucketIAMMember) SetDeletionPolicy

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

SetDeletionPolicy of this BucketIAMMember.

func (*BucketIAMMember) SetManagementPolicies

func (mg *BucketIAMMember) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this BucketIAMMember.

func (*BucketIAMMember) SetObservation

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

SetObservation for this BucketIAMMember

func (*BucketIAMMember) SetParameters

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

SetParameters for this BucketIAMMember

func (*BucketIAMMember) SetProviderConfigReference

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

SetProviderConfigReference of this BucketIAMMember.

func (*BucketIAMMember) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BucketIAMMember.

func (*BucketIAMMember) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BucketIAMMember.

type BucketIAMMemberConditionInitParameters

type BucketIAMMemberConditionInitParameters struct {
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*BucketIAMMemberConditionInitParameters) DeepCopy

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

func (*BucketIAMMemberConditionInitParameters) DeepCopyInto

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

type BucketIAMMemberConditionObservation

type BucketIAMMemberConditionObservation struct {
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*BucketIAMMemberConditionObservation) DeepCopy

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

func (*BucketIAMMemberConditionObservation) DeepCopyInto

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

type BucketIAMMemberConditionParameters

type BucketIAMMemberConditionParameters struct {

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

	// +kubebuilder:validation:Optional
	Expression *string `json:"expression" tf:"expression,omitempty"`

	// +kubebuilder:validation:Optional
	Title *string `json:"title" tf:"title,omitempty"`
}

func (*BucketIAMMemberConditionParameters) DeepCopy

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

func (*BucketIAMMemberConditionParameters) DeepCopyInto

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

type BucketIAMMemberInitParameters

type BucketIAMMemberInitParameters struct {

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

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

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

	Condition *BucketIAMMemberConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"`

	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*BucketIAMMemberInitParameters) DeepCopy

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

func (*BucketIAMMemberInitParameters) DeepCopyInto

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

type BucketIAMMemberList

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

BucketIAMMemberList contains a list of BucketIAMMembers

func (*BucketIAMMemberList) DeepCopy

func (in *BucketIAMMemberList) DeepCopy() *BucketIAMMemberList

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

func (*BucketIAMMemberList) DeepCopyInto

func (in *BucketIAMMemberList) DeepCopyInto(out *BucketIAMMemberList)

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

func (*BucketIAMMemberList) DeepCopyObject

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

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

func (*BucketIAMMemberList) GetItems

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

GetItems of this BucketIAMMemberList.

type BucketIAMMemberObservation

type BucketIAMMemberObservation struct {
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	Condition *BucketIAMMemberConditionObservation `json:"condition,omitempty" tf:"condition,omitempty"`

	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*BucketIAMMemberObservation) DeepCopy

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

func (*BucketIAMMemberObservation) DeepCopyInto

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

type BucketIAMMemberParameters

type BucketIAMMemberParameters struct {

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

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

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

	// +kubebuilder:validation:Optional
	Condition *BucketIAMMemberConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"`

	// +kubebuilder:validation:Optional
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*BucketIAMMemberParameters) DeepCopy

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

func (*BucketIAMMemberParameters) DeepCopyInto

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

type BucketIAMMemberSpec

type BucketIAMMemberSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BucketIAMMemberParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider BucketIAMMemberInitParameters `json:"initProvider,omitempty"`
}

BucketIAMMemberSpec defines the desired state of BucketIAMMember

func (*BucketIAMMemberSpec) DeepCopy

func (in *BucketIAMMemberSpec) DeepCopy() *BucketIAMMemberSpec

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

func (*BucketIAMMemberSpec) DeepCopyInto

func (in *BucketIAMMemberSpec) DeepCopyInto(out *BucketIAMMemberSpec)

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

type BucketIAMMemberStatus

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

BucketIAMMemberStatus defines the observed state of BucketIAMMember.

func (*BucketIAMMemberStatus) DeepCopy

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

func (*BucketIAMMemberStatus) DeepCopyInto

func (in *BucketIAMMemberStatus) DeepCopyInto(out *BucketIAMMemberStatus)

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

type BucketInitParameters

type BucketInitParameters struct {

	// The bucket's Autoclass configuration.  Structure is documented below.
	Autoclass *AutoclassInitParameters `json:"autoclass,omitempty" tf:"autoclass,omitempty"`

	// The bucket's Cross-Origin Resource Sharing (CORS) configuration. Multiple blocks of this type are permitted. Structure is documented below.
	Cors []CorsInitParameters `json:"cors,omitempty" tf:"cors,omitempty"`

	// The bucket's custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. Structure is documented below.
	CustomPlacementConfig *CustomPlacementConfigInitParameters `json:"customPlacementConfig,omitempty" tf:"custom_placement_config,omitempty"`

	// Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.
	DefaultEventBasedHold *bool `json:"defaultEventBasedHold,omitempty" tf:"default_event_based_hold,omitempty"`

	// Enables object retention on a storage bucket.
	EnableObjectRetention *bool `json:"enableObjectRetention,omitempty" tf:"enable_object_retention,omitempty"`

	// The bucket's encryption configuration. Structure is documented below.
	Encryption *EncryptionInitParameters `json:"encryption,omitempty" tf:"encryption,omitempty"`

	// When deleting a bucket, this
	// boolean option will delete all contained objects.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// A map of key/value label pairs to assign to the bucket.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The bucket's Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.
	LifecycleRule []LifecycleRuleInitParameters `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The GCS location.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The bucket's Access & Storage Logs configuration. Structure is documented below.
	Logging *LoggingInitParameters `json:"logging,omitempty" tf:"logging,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"`

	// Prevents public access to a bucket. Acceptable values are "inherited" or "enforced". If "inherited", the bucket uses public access prevention. only if the bucket is subject to the public access prevention organization policy constraint. Defaults to "inherited".
	PublicAccessPrevention *string `json:"publicAccessPrevention,omitempty" tf:"public_access_prevention,omitempty"`

	// Enables Requester Pays on a storage bucket.
	RequesterPays *bool `json:"requesterPays,omitempty" tf:"requester_pays,omitempty"`

	// Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
	RetentionPolicy *RetentionPolicyInitParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"`

	// The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. "DEFAULT" sets default replication. "ASYNC_TURBO" value enables turbo replication, valid for dual-region buckets only. See Turbo Replication for more information. If rpo is not specified at bucket creation, it defaults to "DEFAULT" for dual and multi-region buckets. NOTE If used with single-region bucket, It will throw an error.
	Rpo *string `json:"rpo,omitempty" tf:"rpo,omitempty"`

	// The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted. Structure is documented below.
	SoftDeletePolicy *SoftDeletePolicyInitParameters `json:"softDeletePolicy,omitempty" tf:"soft_delete_policy,omitempty"`

	// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// Enables Uniform bucket-level access access to a bucket.
	UniformBucketLevelAccess *bool `json:"uniformBucketLevelAccess,omitempty" tf:"uniform_bucket_level_access,omitempty"`

	// The bucket's Versioning configuration.  Structure is documented below.
	Versioning *VersioningInitParameters `json:"versioning,omitempty" tf:"versioning,omitempty"`

	// Configuration if the bucket acts as a website. Structure is documented below.
	Website *WebsiteInitParameters `json:"website,omitempty" tf:"website,omitempty"`
}

func (*BucketInitParameters) DeepCopy

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

func (*BucketInitParameters) DeepCopyInto

func (in *BucketInitParameters) DeepCopyInto(out *BucketInitParameters)

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

type BucketList

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

BucketList contains a list of Buckets

func (*BucketList) DeepCopy

func (in *BucketList) DeepCopy() *BucketList

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

func (*BucketList) DeepCopyInto

func (in *BucketList) DeepCopyInto(out *BucketList)

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

func (*BucketList) DeepCopyObject

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

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

func (*BucketList) GetItems

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

GetItems of this BucketList.

type BucketObject

type BucketObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   BucketObjectSpec   `json:"spec"`
	Status BucketObjectStatus `json:"status,omitempty"`
}

BucketObject is the Schema for the BucketObjects API. Creates a new object inside a specified bucket +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*BucketObject) DeepCopy

func (in *BucketObject) DeepCopy() *BucketObject

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

func (*BucketObject) DeepCopyInto

func (in *BucketObject) DeepCopyInto(out *BucketObject)

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

func (*BucketObject) DeepCopyObject

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

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

func (*BucketObject) GetCondition

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

GetCondition of this BucketObject.

func (*BucketObject) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BucketObject

func (*BucketObject) GetDeletionPolicy

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

GetDeletionPolicy of this BucketObject.

func (*BucketObject) GetID

func (tr *BucketObject) GetID() string

GetID returns ID of underlying Terraform resource of this BucketObject

func (*BucketObject) GetInitParameters

func (tr *BucketObject) GetInitParameters() (map[string]any, error)

GetInitParameters of this BucketObject

func (*BucketObject) GetManagementPolicies

func (mg *BucketObject) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this BucketObject.

func (*BucketObject) GetMergedParameters

func (tr *BucketObject) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this BucketObject

func (*BucketObject) GetObservation

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

GetObservation of this BucketObject

func (*BucketObject) GetParameters

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

GetParameters of this BucketObject

func (*BucketObject) GetProviderConfigReference

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

GetProviderConfigReference of this BucketObject.

func (*BucketObject) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BucketObject.

func (*BucketObject) GetTerraformResourceType

func (mg *BucketObject) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BucketObject

func (*BucketObject) GetTerraformSchemaVersion

func (tr *BucketObject) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BucketObject) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BucketObject.

func (*BucketObject) Hub

func (tr *BucketObject) Hub()

Hub marks this type as a conversion hub.

func (*BucketObject) LateInitialize

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

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

func (*BucketObject) ResolveReferences

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

ResolveReferences of this BucketObject.

func (*BucketObject) SetConditions

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

SetConditions of this BucketObject.

func (*BucketObject) SetDeletionPolicy

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

SetDeletionPolicy of this BucketObject.

func (*BucketObject) SetManagementPolicies

func (mg *BucketObject) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this BucketObject.

func (*BucketObject) SetObservation

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

SetObservation for this BucketObject

func (*BucketObject) SetParameters

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

SetParameters for this BucketObject

func (*BucketObject) SetProviderConfigReference

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

SetProviderConfigReference of this BucketObject.

func (*BucketObject) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BucketObject.

func (*BucketObject) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BucketObject.

type BucketObjectInitParameters

type BucketObjectInitParameters struct {

	// The name of the containing bucket.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

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

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

	// Cache-Control
	// directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"`

	// Data as string to be uploaded. Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Content-Disposition of the object data.
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition,omitempty"`

	// Content-Encoding of the object data.
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding,omitempty"`

	// Content-Language of the object data.
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language,omitempty"`

	// Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// Enables object encryption with Customer-Supplied Encryption Key (CSEK). [Google documentation about CSEK.](https://cloud.google.com/storage/docs/encryption/customer-supplied-keys)
	// Structure is documented below.
	CustomerEncryption *CustomerEncryptionInitParameters `json:"customerEncryption,omitempty" tf:"customer_encryption,omitempty"`

	// MD5 hash of the data, encoded using base64. This field is not present for composite objects. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
	DetectMd5Hash *string `json:"detectMd5Hash,omitempty" tf:"detect_md5hash,omitempty"`

	// Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
	EventBasedHold *bool `json:"eventBasedHold,omitempty" tf:"event_based_hold,omitempty"`

	// The resource name of the Cloud KMS key that will be used to encrypt the object.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// User-provided metadata, in key/value pairs.
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the object. If you're interpolating the name of this object, see output_name instead.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The object retention settings for the object. The retention settings allow an object to be retained until a provided date. Structure is documented below.
	Retention *RetentionInitParameters `json:"retention,omitempty" tf:"retention,omitempty"`

	// A path to the data you want to upload. Must be defined
	// if content is not.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// The StorageClass of the new bucket object.
	// Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default
	// storage class or to a standard class.
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.
	TemporaryHold *bool `json:"temporaryHold,omitempty" tf:"temporary_hold,omitempty"`
}

func (*BucketObjectInitParameters) DeepCopy

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

func (*BucketObjectInitParameters) DeepCopyInto

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

type BucketObjectList

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

BucketObjectList contains a list of BucketObjects

func (*BucketObjectList) DeepCopy

func (in *BucketObjectList) DeepCopy() *BucketObjectList

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

func (*BucketObjectList) DeepCopyInto

func (in *BucketObjectList) DeepCopyInto(out *BucketObjectList)

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

func (*BucketObjectList) DeepCopyObject

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

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

func (*BucketObjectList) GetItems

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

GetItems of this BucketObjectList.

type BucketObjectObservation

type BucketObjectObservation struct {

	// The name of the containing bucket.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Cache-Control
	// directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"`

	// Data as string to be uploaded. Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Content-Disposition of the object data.
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition,omitempty"`

	// Content-Encoding of the object data.
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding,omitempty"`

	// Content-Language of the object data.
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language,omitempty"`

	// Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// (Computed) Base 64 CRC32 hash of the uploaded data.
	Crc32C *string `json:"crc32c,omitempty" tf:"crc32c,omitempty"`

	// Enables object encryption with Customer-Supplied Encryption Key (CSEK). [Google documentation about CSEK.](https://cloud.google.com/storage/docs/encryption/customer-supplied-keys)
	// Structure is documented below.
	CustomerEncryption *CustomerEncryptionObservation `json:"customerEncryption,omitempty" tf:"customer_encryption,omitempty"`

	// MD5 hash of the data, encoded using base64. This field is not present for composite objects. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
	DetectMd5Hash *string `json:"detectMd5Hash,omitempty" tf:"detect_md5hash,omitempty"`

	// Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
	EventBasedHold *bool `json:"eventBasedHold,omitempty" tf:"event_based_hold,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The resource name of the Cloud KMS key that will be used to encrypt the object.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// (Computed) Base 64 MD5 hash of the uploaded data.
	Md5Hash *string `json:"md5hash,omitempty" tf:"md5hash,omitempty"`

	// (Computed) A url reference to download this object.
	MediaLink *string `json:"mediaLink,omitempty" tf:"media_link,omitempty"`

	// User-provided metadata, in key/value pairs.
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the object. If you're interpolating the name of this object, see output_name instead.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Computed) The name of the object. Use this field in interpolations with google_storage_object_acl to recreate
	// google_storage_object_acl resources when your google_storage_bucket_object is recreated.
	OutputName *string `json:"outputName,omitempty" tf:"output_name,omitempty"`

	// The object retention settings for the object. The retention settings allow an object to be retained until a provided date. Structure is documented below.
	Retention *RetentionObservation `json:"retention,omitempty" tf:"retention,omitempty"`

	// (Computed) A url reference to this object.
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`

	// A path to the data you want to upload. Must be defined
	// if content is not.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// The StorageClass of the new bucket object.
	// Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default
	// storage class or to a standard class.
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.
	TemporaryHold *bool `json:"temporaryHold,omitempty" tf:"temporary_hold,omitempty"`
}

func (*BucketObjectObservation) DeepCopy

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

func (*BucketObjectObservation) DeepCopyInto

func (in *BucketObjectObservation) DeepCopyInto(out *BucketObjectObservation)

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

type BucketObjectParameters

type BucketObjectParameters struct {

	// The name of the containing bucket.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

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

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

	// Cache-Control
	// directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600
	// +kubebuilder:validation:Optional
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"`

	// Data as string to be uploaded. Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Content-Disposition of the object data.
	// +kubebuilder:validation:Optional
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition,omitempty"`

	// Content-Encoding of the object data.
	// +kubebuilder:validation:Optional
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding,omitempty"`

	// Content-Language of the object data.
	// +kubebuilder:validation:Optional
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language,omitempty"`

	// Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// Enables object encryption with Customer-Supplied Encryption Key (CSEK). [Google documentation about CSEK.](https://cloud.google.com/storage/docs/encryption/customer-supplied-keys)
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	CustomerEncryption *CustomerEncryptionParameters `json:"customerEncryption,omitempty" tf:"customer_encryption,omitempty"`

	// MD5 hash of the data, encoded using base64. This field is not present for composite objects. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
	// +kubebuilder:validation:Optional
	DetectMd5Hash *string `json:"detectMd5Hash,omitempty" tf:"detect_md5hash,omitempty"`

	// Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
	// +kubebuilder:validation:Optional
	EventBasedHold *bool `json:"eventBasedHold,omitempty" tf:"event_based_hold,omitempty"`

	// The resource name of the Cloud KMS key that will be used to encrypt the object.
	// +kubebuilder:validation:Optional
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// User-provided metadata, in key/value pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the object. If you're interpolating the name of this object, see output_name instead.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The object retention settings for the object. The retention settings allow an object to be retained until a provided date. Structure is documented below.
	// +kubebuilder:validation:Optional
	Retention *RetentionParameters `json:"retention,omitempty" tf:"retention,omitempty"`

	// A path to the data you want to upload. Must be defined
	// if content is not.
	// +kubebuilder:validation:Optional
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// The StorageClass of the new bucket object.
	// Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default
	// storage class or to a standard class.
	// +kubebuilder:validation:Optional
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.
	// +kubebuilder:validation:Optional
	TemporaryHold *bool `json:"temporaryHold,omitempty" tf:"temporary_hold,omitempty"`
}

func (*BucketObjectParameters) DeepCopy

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

func (*BucketObjectParameters) DeepCopyInto

func (in *BucketObjectParameters) DeepCopyInto(out *BucketObjectParameters)

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

type BucketObjectSpec

type BucketObjectSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BucketObjectParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider BucketObjectInitParameters `json:"initProvider,omitempty"`
}

BucketObjectSpec defines the desired state of BucketObject

func (*BucketObjectSpec) DeepCopy

func (in *BucketObjectSpec) DeepCopy() *BucketObjectSpec

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

func (*BucketObjectSpec) DeepCopyInto

func (in *BucketObjectSpec) DeepCopyInto(out *BucketObjectSpec)

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

type BucketObjectStatus

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

BucketObjectStatus defines the observed state of BucketObject.

func (*BucketObjectStatus) DeepCopy

func (in *BucketObjectStatus) DeepCopy() *BucketObjectStatus

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

func (*BucketObjectStatus) DeepCopyInto

func (in *BucketObjectStatus) DeepCopyInto(out *BucketObjectStatus)

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

type BucketObservation

type BucketObservation struct {

	// The bucket's Autoclass configuration.  Structure is documented below.
	Autoclass *AutoclassObservation `json:"autoclass,omitempty" tf:"autoclass,omitempty"`

	// The bucket's Cross-Origin Resource Sharing (CORS) configuration. Multiple blocks of this type are permitted. Structure is documented below.
	Cors []CorsObservation `json:"cors,omitempty" tf:"cors,omitempty"`

	// The bucket's custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. Structure is documented below.
	CustomPlacementConfig *CustomPlacementConfigObservation `json:"customPlacementConfig,omitempty" tf:"custom_placement_config,omitempty"`

	// Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.
	DefaultEventBasedHold *bool `json:"defaultEventBasedHold,omitempty" tf:"default_event_based_hold,omitempty"`

	// A map of key/value label pairs to assign to the bucket.
	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"`

	// Enables object retention on a storage bucket.
	EnableObjectRetention *bool `json:"enableObjectRetention,omitempty" tf:"enable_object_retention,omitempty"`

	// The bucket's encryption configuration. Structure is documented below.
	Encryption *EncryptionObservation `json:"encryption,omitempty" tf:"encryption,omitempty"`

	// When deleting a bucket, this
	// boolean option will delete all contained objects.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A map of key/value label pairs to assign to the bucket.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The bucket's Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.
	LifecycleRule []LifecycleRuleObservation `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The GCS location.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The bucket's Access & Storage Logs configuration. Structure is documented below.
	Logging *LoggingObservation `json:"logging,omitempty" tf:"logging,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"`

	ProjectNumber *float64 `json:"projectNumber,omitempty" tf:"project_number,omitempty"`

	// Prevents public access to a bucket. Acceptable values are "inherited" or "enforced". If "inherited", the bucket uses public access prevention. only if the bucket is subject to the public access prevention organization policy constraint. Defaults to "inherited".
	PublicAccessPrevention *string `json:"publicAccessPrevention,omitempty" tf:"public_access_prevention,omitempty"`

	// Enables Requester Pays on a storage bucket.
	RequesterPays *bool `json:"requesterPays,omitempty" tf:"requester_pays,omitempty"`

	// Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
	RetentionPolicy *RetentionPolicyObservation `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"`

	// The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. "DEFAULT" sets default replication. "ASYNC_TURBO" value enables turbo replication, valid for dual-region buckets only. See Turbo Replication for more information. If rpo is not specified at bucket creation, it defaults to "DEFAULT" for dual and multi-region buckets. NOTE If used with single-region bucket, It will throw an error.
	Rpo *string `json:"rpo,omitempty" tf:"rpo,omitempty"`

	// The URI of the created resource.
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`

	// The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted. Structure is documented below.
	SoftDeletePolicy *SoftDeletePolicyObservation `json:"softDeletePolicy,omitempty" tf:"soft_delete_policy,omitempty"`

	// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// A map of key/value label pairs to assign to the bucket.
	// +mapType=granular
	TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"`

	// The base URL of the bucket, in the format gs://<bucket-name>.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Enables Uniform bucket-level access access to a bucket.
	UniformBucketLevelAccess *bool `json:"uniformBucketLevelAccess,omitempty" tf:"uniform_bucket_level_access,omitempty"`

	// The bucket's Versioning configuration.  Structure is documented below.
	Versioning *VersioningObservation `json:"versioning,omitempty" tf:"versioning,omitempty"`

	// Configuration if the bucket acts as a website. Structure is documented below.
	Website *WebsiteObservation `json:"website,omitempty" tf:"website,omitempty"`
}

func (*BucketObservation) DeepCopy

func (in *BucketObservation) DeepCopy() *BucketObservation

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

func (*BucketObservation) DeepCopyInto

func (in *BucketObservation) DeepCopyInto(out *BucketObservation)

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

type BucketParameters

type BucketParameters struct {

	// The bucket's Autoclass configuration.  Structure is documented below.
	// +kubebuilder:validation:Optional
	Autoclass *AutoclassParameters `json:"autoclass,omitempty" tf:"autoclass,omitempty"`

	// The bucket's Cross-Origin Resource Sharing (CORS) configuration. Multiple blocks of this type are permitted. Structure is documented below.
	// +kubebuilder:validation:Optional
	Cors []CorsParameters `json:"cors,omitempty" tf:"cors,omitempty"`

	// The bucket's custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. Structure is documented below.
	// +kubebuilder:validation:Optional
	CustomPlacementConfig *CustomPlacementConfigParameters `json:"customPlacementConfig,omitempty" tf:"custom_placement_config,omitempty"`

	// Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.
	// +kubebuilder:validation:Optional
	DefaultEventBasedHold *bool `json:"defaultEventBasedHold,omitempty" tf:"default_event_based_hold,omitempty"`

	// Enables object retention on a storage bucket.
	// +kubebuilder:validation:Optional
	EnableObjectRetention *bool `json:"enableObjectRetention,omitempty" tf:"enable_object_retention,omitempty"`

	// The bucket's encryption configuration. Structure is documented below.
	// +kubebuilder:validation:Optional
	Encryption *EncryptionParameters `json:"encryption,omitempty" tf:"encryption,omitempty"`

	// When deleting a bucket, this
	// boolean option will delete all contained objects.
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// A map of key/value label pairs to assign to the bucket.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The bucket's Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.
	// +kubebuilder:validation:Optional
	LifecycleRule []LifecycleRuleParameters `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The GCS location.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The bucket's Access & Storage Logs configuration. Structure is documented below.
	// +kubebuilder:validation:Optional
	Logging *LoggingParameters `json:"logging,omitempty" tf:"logging,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"`

	// Prevents public access to a bucket. Acceptable values are "inherited" or "enforced". If "inherited", the bucket uses public access prevention. only if the bucket is subject to the public access prevention organization policy constraint. Defaults to "inherited".
	// +kubebuilder:validation:Optional
	PublicAccessPrevention *string `json:"publicAccessPrevention,omitempty" tf:"public_access_prevention,omitempty"`

	// Enables Requester Pays on a storage bucket.
	// +kubebuilder:validation:Optional
	RequesterPays *bool `json:"requesterPays,omitempty" tf:"requester_pays,omitempty"`

	// Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
	// +kubebuilder:validation:Optional
	RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"`

	// The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. "DEFAULT" sets default replication. "ASYNC_TURBO" value enables turbo replication, valid for dual-region buckets only. See Turbo Replication for more information. If rpo is not specified at bucket creation, it defaults to "DEFAULT" for dual and multi-region buckets. NOTE If used with single-region bucket, It will throw an error.
	// +kubebuilder:validation:Optional
	Rpo *string `json:"rpo,omitempty" tf:"rpo,omitempty"`

	// The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted. Structure is documented below.
	// +kubebuilder:validation:Optional
	SoftDeletePolicy *SoftDeletePolicyParameters `json:"softDeletePolicy,omitempty" tf:"soft_delete_policy,omitempty"`

	// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	// +kubebuilder:validation:Optional
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// Enables Uniform bucket-level access access to a bucket.
	// +kubebuilder:validation:Optional
	UniformBucketLevelAccess *bool `json:"uniformBucketLevelAccess,omitempty" tf:"uniform_bucket_level_access,omitempty"`

	// The bucket's Versioning configuration.  Structure is documented below.
	// +kubebuilder:validation:Optional
	Versioning *VersioningParameters `json:"versioning,omitempty" tf:"versioning,omitempty"`

	// Configuration if the bucket acts as a website. Structure is documented below.
	// +kubebuilder:validation:Optional
	Website *WebsiteParameters `json:"website,omitempty" tf:"website,omitempty"`
}

func (*BucketParameters) DeepCopy

func (in *BucketParameters) DeepCopy() *BucketParameters

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

func (*BucketParameters) DeepCopyInto

func (in *BucketParameters) DeepCopyInto(out *BucketParameters)

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

type BucketSpec

type BucketSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BucketParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider BucketInitParameters `json:"initProvider,omitempty"`
}

BucketSpec defines the desired state of Bucket

func (*BucketSpec) DeepCopy

func (in *BucketSpec) DeepCopy() *BucketSpec

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

func (*BucketSpec) DeepCopyInto

func (in *BucketSpec) DeepCopyInto(out *BucketSpec)

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

type BucketStatus

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

BucketStatus defines the observed state of Bucket.

func (*BucketStatus) DeepCopy

func (in *BucketStatus) DeepCopy() *BucketStatus

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

func (*BucketStatus) DeepCopyInto

func (in *BucketStatus) DeepCopyInto(out *BucketStatus)

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

type ConditionInitParameters

type ConditionInitParameters struct {

	// Minimum age of an object in days to satisfy this condition. If not supplied alongside another condition and without setting no_age to true, a default age of 0 will be set.
	Age *float64 `json:"age,omitempty" tf:"age,omitempty"`

	// A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when an object is created before midnight of the specified date in UTC.
	CreatedBefore *string `json:"createdBefore,omitempty" tf:"created_before,omitempty"`

	// A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when the customTime metadata for the object is set to an earlier date than the date used in this lifecycle condition.
	CustomTimeBefore *string `json:"customTimeBefore,omitempty" tf:"custom_time_before,omitempty"`

	// Days since the date set in the customTime metadata for the object. This condition is satisfied when the current date and time is at least the specified number of days after the customTime. When set to 0 it will be ignored, and your state will treat it as though you supplied no days_since_custom_time condition.
	DaysSinceCustomTime *float64 `json:"daysSinceCustomTime,omitempty" tf:"days_since_custom_time,omitempty"`

	// Relevant only for versioned objects. Number of days elapsed since the noncurrent timestamp of an object. When set to 0 it will be ignored, and your state will treat it as though you supplied no days_since_noncurrent_time condition.
	DaysSinceNoncurrentTime *float64 `json:"daysSinceNoncurrentTime,omitempty" tf:"days_since_noncurrent_time,omitempty"`

	// One or more matching name prefixes to satisfy this condition.
	MatchesPrefix []*string `json:"matchesPrefix,omitempty" tf:"matches_prefix,omitempty"`

	// Storage Class of objects to satisfy this condition. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, DURABLE_REDUCED_AVAILABILITY.
	MatchesStorageClass []*string `json:"matchesStorageClass,omitempty" tf:"matches_storage_class,omitempty"`

	// One or more matching name suffixes to satisfy this condition.
	MatchesSuffix []*string `json:"matchesSuffix,omitempty" tf:"matches_suffix,omitempty"`

	// While set true, age value will be omitted from requests. This prevents a default age of 0 from being applied, and if you do not have an age value set, setting this to true is strongly recommended. When unset and other conditions are set to zero values, this can result in a rule that applies your action to all files in the bucket.
	NoAge *bool `json:"noAge,omitempty" tf:"no_age,omitempty"`

	// Relevant only for versioned objects. The date in RFC 3339 (e.g. 2017-06-13) when the object became nonconcurrent. When set to 0 it will be ignored, and your state will treat it as though you supplied no noncurrent_time_before condition.
	NoncurrentTimeBefore *string `json:"noncurrentTimeBefore,omitempty" tf:"noncurrent_time_before,omitempty"`

	// Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition. When set to 0 it will be ignored and your state will treat it as though you supplied no num_newer_versions condition.
	NumNewerVersions *float64 `json:"numNewerVersions,omitempty" tf:"num_newer_versions,omitempty"`

	// While set true, days_since_custom_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
	SendDaysSinceCustomTimeIfZero *bool `json:"sendDaysSinceCustomTimeIfZero,omitempty" tf:"send_days_since_custom_time_if_zero,omitempty"`

	// While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
	SendDaysSinceNoncurrentTimeIfZero *bool `json:"sendDaysSinceNoncurrentTimeIfZero,omitempty" tf:"send_days_since_noncurrent_time_if_zero,omitempty"`

	// While set true, num_newer_versions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
	SendNumNewerVersionsIfZero *bool `json:"sendNumNewerVersionsIfZero,omitempty" tf:"send_num_newer_versions_if_zero,omitempty"`

	// Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
	WithState *string `json:"withState,omitempty" tf:"with_state,omitempty"`
}

func (*ConditionInitParameters) DeepCopy

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

func (*ConditionInitParameters) DeepCopyInto

func (in *ConditionInitParameters) DeepCopyInto(out *ConditionInitParameters)

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

type ConditionObservation

type ConditionObservation struct {

	// Minimum age of an object in days to satisfy this condition. If not supplied alongside another condition and without setting no_age to true, a default age of 0 will be set.
	Age *float64 `json:"age,omitempty" tf:"age,omitempty"`

	// A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when an object is created before midnight of the specified date in UTC.
	CreatedBefore *string `json:"createdBefore,omitempty" tf:"created_before,omitempty"`

	// A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when the customTime metadata for the object is set to an earlier date than the date used in this lifecycle condition.
	CustomTimeBefore *string `json:"customTimeBefore,omitempty" tf:"custom_time_before,omitempty"`

	// Days since the date set in the customTime metadata for the object. This condition is satisfied when the current date and time is at least the specified number of days after the customTime. When set to 0 it will be ignored, and your state will treat it as though you supplied no days_since_custom_time condition.
	DaysSinceCustomTime *float64 `json:"daysSinceCustomTime,omitempty" tf:"days_since_custom_time,omitempty"`

	// Relevant only for versioned objects. Number of days elapsed since the noncurrent timestamp of an object. When set to 0 it will be ignored, and your state will treat it as though you supplied no days_since_noncurrent_time condition.
	DaysSinceNoncurrentTime *float64 `json:"daysSinceNoncurrentTime,omitempty" tf:"days_since_noncurrent_time,omitempty"`

	// One or more matching name prefixes to satisfy this condition.
	MatchesPrefix []*string `json:"matchesPrefix,omitempty" tf:"matches_prefix,omitempty"`

	// Storage Class of objects to satisfy this condition. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, DURABLE_REDUCED_AVAILABILITY.
	MatchesStorageClass []*string `json:"matchesStorageClass,omitempty" tf:"matches_storage_class,omitempty"`

	// One or more matching name suffixes to satisfy this condition.
	MatchesSuffix []*string `json:"matchesSuffix,omitempty" tf:"matches_suffix,omitempty"`

	// While set true, age value will be omitted from requests. This prevents a default age of 0 from being applied, and if you do not have an age value set, setting this to true is strongly recommended. When unset and other conditions are set to zero values, this can result in a rule that applies your action to all files in the bucket.
	NoAge *bool `json:"noAge,omitempty" tf:"no_age,omitempty"`

	// Relevant only for versioned objects. The date in RFC 3339 (e.g. 2017-06-13) when the object became nonconcurrent. When set to 0 it will be ignored, and your state will treat it as though you supplied no noncurrent_time_before condition.
	NoncurrentTimeBefore *string `json:"noncurrentTimeBefore,omitempty" tf:"noncurrent_time_before,omitempty"`

	// Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition. When set to 0 it will be ignored and your state will treat it as though you supplied no num_newer_versions condition.
	NumNewerVersions *float64 `json:"numNewerVersions,omitempty" tf:"num_newer_versions,omitempty"`

	// While set true, days_since_custom_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
	SendDaysSinceCustomTimeIfZero *bool `json:"sendDaysSinceCustomTimeIfZero,omitempty" tf:"send_days_since_custom_time_if_zero,omitempty"`

	// While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
	SendDaysSinceNoncurrentTimeIfZero *bool `json:"sendDaysSinceNoncurrentTimeIfZero,omitempty" tf:"send_days_since_noncurrent_time_if_zero,omitempty"`

	// While set true, num_newer_versions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
	SendNumNewerVersionsIfZero *bool `json:"sendNumNewerVersionsIfZero,omitempty" tf:"send_num_newer_versions_if_zero,omitempty"`

	// Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
	WithState *string `json:"withState,omitempty" tf:"with_state,omitempty"`
}

func (*ConditionObservation) DeepCopy

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

func (*ConditionObservation) DeepCopyInto

func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation)

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

type ConditionParameters

type ConditionParameters struct {

	// Minimum age of an object in days to satisfy this condition. If not supplied alongside another condition and without setting no_age to true, a default age of 0 will be set.
	// +kubebuilder:validation:Optional
	Age *float64 `json:"age,omitempty" tf:"age,omitempty"`

	// A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when an object is created before midnight of the specified date in UTC.
	// +kubebuilder:validation:Optional
	CreatedBefore *string `json:"createdBefore,omitempty" tf:"created_before,omitempty"`

	// A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when the customTime metadata for the object is set to an earlier date than the date used in this lifecycle condition.
	// +kubebuilder:validation:Optional
	CustomTimeBefore *string `json:"customTimeBefore,omitempty" tf:"custom_time_before,omitempty"`

	// Days since the date set in the customTime metadata for the object. This condition is satisfied when the current date and time is at least the specified number of days after the customTime. When set to 0 it will be ignored, and your state will treat it as though you supplied no days_since_custom_time condition.
	// +kubebuilder:validation:Optional
	DaysSinceCustomTime *float64 `json:"daysSinceCustomTime,omitempty" tf:"days_since_custom_time,omitempty"`

	// Relevant only for versioned objects. Number of days elapsed since the noncurrent timestamp of an object. When set to 0 it will be ignored, and your state will treat it as though you supplied no days_since_noncurrent_time condition.
	// +kubebuilder:validation:Optional
	DaysSinceNoncurrentTime *float64 `json:"daysSinceNoncurrentTime,omitempty" tf:"days_since_noncurrent_time,omitempty"`

	// One or more matching name prefixes to satisfy this condition.
	// +kubebuilder:validation:Optional
	MatchesPrefix []*string `json:"matchesPrefix,omitempty" tf:"matches_prefix,omitempty"`

	// Storage Class of objects to satisfy this condition. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, DURABLE_REDUCED_AVAILABILITY.
	// +kubebuilder:validation:Optional
	MatchesStorageClass []*string `json:"matchesStorageClass,omitempty" tf:"matches_storage_class,omitempty"`

	// One or more matching name suffixes to satisfy this condition.
	// +kubebuilder:validation:Optional
	MatchesSuffix []*string `json:"matchesSuffix,omitempty" tf:"matches_suffix,omitempty"`

	// While set true, age value will be omitted from requests. This prevents a default age of 0 from being applied, and if you do not have an age value set, setting this to true is strongly recommended. When unset and other conditions are set to zero values, this can result in a rule that applies your action to all files in the bucket.
	// +kubebuilder:validation:Optional
	NoAge *bool `json:"noAge,omitempty" tf:"no_age,omitempty"`

	// Relevant only for versioned objects. The date in RFC 3339 (e.g. 2017-06-13) when the object became nonconcurrent. When set to 0 it will be ignored, and your state will treat it as though you supplied no noncurrent_time_before condition.
	// +kubebuilder:validation:Optional
	NoncurrentTimeBefore *string `json:"noncurrentTimeBefore,omitempty" tf:"noncurrent_time_before,omitempty"`

	// Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition. When set to 0 it will be ignored and your state will treat it as though you supplied no num_newer_versions condition.
	// +kubebuilder:validation:Optional
	NumNewerVersions *float64 `json:"numNewerVersions,omitempty" tf:"num_newer_versions,omitempty"`

	// While set true, days_since_custom_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
	// +kubebuilder:validation:Optional
	SendDaysSinceCustomTimeIfZero *bool `json:"sendDaysSinceCustomTimeIfZero,omitempty" tf:"send_days_since_custom_time_if_zero,omitempty"`

	// While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
	// +kubebuilder:validation:Optional
	SendDaysSinceNoncurrentTimeIfZero *bool `json:"sendDaysSinceNoncurrentTimeIfZero,omitempty" tf:"send_days_since_noncurrent_time_if_zero,omitempty"`

	// While set true, num_newer_versions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
	// +kubebuilder:validation:Optional
	SendNumNewerVersionsIfZero *bool `json:"sendNumNewerVersionsIfZero,omitempty" tf:"send_num_newer_versions_if_zero,omitempty"`

	// Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
	// +kubebuilder:validation:Optional
	WithState *string `json:"withState,omitempty" tf:"with_state,omitempty"`
}

func (*ConditionParameters) DeepCopy

func (in *ConditionParameters) DeepCopy() *ConditionParameters

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

func (*ConditionParameters) DeepCopyInto

func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters)

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

type CorsInitParameters

type CorsInitParameters struct {

	// The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`

	// The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
	Method []*string `json:"method,omitempty" tf:"method,omitempty"`

	// The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
	Origin []*string `json:"origin,omitempty" tf:"origin,omitempty"`

	// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
	ResponseHeader []*string `json:"responseHeader,omitempty" tf:"response_header,omitempty"`
}

func (*CorsInitParameters) DeepCopy

func (in *CorsInitParameters) DeepCopy() *CorsInitParameters

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

func (*CorsInitParameters) DeepCopyInto

func (in *CorsInitParameters) DeepCopyInto(out *CorsInitParameters)

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

type CorsObservation

type CorsObservation struct {

	// The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`

	// The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
	Method []*string `json:"method,omitempty" tf:"method,omitempty"`

	// The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
	Origin []*string `json:"origin,omitempty" tf:"origin,omitempty"`

	// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
	ResponseHeader []*string `json:"responseHeader,omitempty" tf:"response_header,omitempty"`
}

func (*CorsObservation) DeepCopy

func (in *CorsObservation) DeepCopy() *CorsObservation

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

func (*CorsObservation) DeepCopyInto

func (in *CorsObservation) DeepCopyInto(out *CorsObservation)

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

type CorsParameters

type CorsParameters struct {

	// The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
	// +kubebuilder:validation:Optional
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`

	// The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
	// +kubebuilder:validation:Optional
	Method []*string `json:"method,omitempty" tf:"method,omitempty"`

	// The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
	// +kubebuilder:validation:Optional
	Origin []*string `json:"origin,omitempty" tf:"origin,omitempty"`

	// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
	// +kubebuilder:validation:Optional
	ResponseHeader []*string `json:"responseHeader,omitempty" tf:"response_header,omitempty"`
}

func (*CorsParameters) DeepCopy

func (in *CorsParameters) DeepCopy() *CorsParameters

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

func (*CorsParameters) DeepCopyInto

func (in *CorsParameters) DeepCopyInto(out *CorsParameters)

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

type CustomPlacementConfigInitParameters

type CustomPlacementConfigInitParameters struct {

	// The list of individual regions that comprise a dual-region bucket. See Cloud Storage bucket locations for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
	// +listType=set
	DataLocations []*string `json:"dataLocations,omitempty" tf:"data_locations,omitempty"`
}

func (*CustomPlacementConfigInitParameters) DeepCopy

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

func (*CustomPlacementConfigInitParameters) DeepCopyInto

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

type CustomPlacementConfigObservation

type CustomPlacementConfigObservation struct {

	// The list of individual regions that comprise a dual-region bucket. See Cloud Storage bucket locations for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
	// +listType=set
	DataLocations []*string `json:"dataLocations,omitempty" tf:"data_locations,omitempty"`
}

func (*CustomPlacementConfigObservation) DeepCopy

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

func (*CustomPlacementConfigObservation) DeepCopyInto

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

type CustomPlacementConfigParameters

type CustomPlacementConfigParameters struct {

	// The list of individual regions that comprise a dual-region bucket. See Cloud Storage bucket locations for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
	// +kubebuilder:validation:Optional
	// +listType=set
	DataLocations []*string `json:"dataLocations" tf:"data_locations,omitempty"`
}

func (*CustomPlacementConfigParameters) DeepCopy

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

func (*CustomPlacementConfigParameters) DeepCopyInto

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

type CustomerEncryptionInitParameters

type CustomerEncryptionInitParameters struct {

	// Encryption algorithm. Default: AES256
	EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty" tf:"encryption_algorithm,omitempty"`

	// Base64 encoded Customer-Supplied Encryption Key.
	EncryptionKeySecretRef v1.SecretKeySelector `json:"encryptionKeySecretRef" tf:"-"`
}

func (*CustomerEncryptionInitParameters) DeepCopy

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

func (*CustomerEncryptionInitParameters) DeepCopyInto

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

type CustomerEncryptionObservation

type CustomerEncryptionObservation struct {

	// Encryption algorithm. Default: AES256
	EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty" tf:"encryption_algorithm,omitempty"`
}

func (*CustomerEncryptionObservation) DeepCopy

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

func (*CustomerEncryptionObservation) DeepCopyInto

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

type CustomerEncryptionParameters

type CustomerEncryptionParameters struct {

	// Encryption algorithm. Default: AES256
	// +kubebuilder:validation:Optional
	EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty" tf:"encryption_algorithm,omitempty"`

	// Base64 encoded Customer-Supplied Encryption Key.
	// +kubebuilder:validation:Optional
	EncryptionKeySecretRef v1.SecretKeySelector `json:"encryptionKeySecretRef" tf:"-"`
}

func (*CustomerEncryptionParameters) DeepCopy

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

func (*CustomerEncryptionParameters) DeepCopyInto

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

type EncryptionInitParameters

type EncryptionInitParameters struct {

	// : The id of a Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
	// You must pay attention to whether the crypto key is available in the location that this bucket is created in.
	// See the docs for more details.
	DefaultKMSKeyName *string `json:"defaultKmsKeyName,omitempty" tf:"default_kms_key_name,omitempty"`
}

func (*EncryptionInitParameters) DeepCopy

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

func (*EncryptionInitParameters) DeepCopyInto

func (in *EncryptionInitParameters) DeepCopyInto(out *EncryptionInitParameters)

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

type EncryptionObservation

type EncryptionObservation struct {

	// : The id of a Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
	// You must pay attention to whether the crypto key is available in the location that this bucket is created in.
	// See the docs for more details.
	DefaultKMSKeyName *string `json:"defaultKmsKeyName,omitempty" tf:"default_kms_key_name,omitempty"`
}

func (*EncryptionObservation) DeepCopy

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

func (*EncryptionObservation) DeepCopyInto

func (in *EncryptionObservation) DeepCopyInto(out *EncryptionObservation)

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

type EncryptionParameters

type EncryptionParameters struct {

	// : The id of a Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
	// You must pay attention to whether the crypto key is available in the location that this bucket is created in.
	// See the docs for more details.
	// +kubebuilder:validation:Optional
	DefaultKMSKeyName *string `json:"defaultKmsKeyName" tf:"default_kms_key_name,omitempty"`
}

func (*EncryptionParameters) DeepCopy

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

func (*EncryptionParameters) DeepCopyInto

func (in *EncryptionParameters) DeepCopyInto(out *EncryptionParameters)

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

type LifecycleRuleInitParameters

type LifecycleRuleInitParameters struct {

	// The Lifecycle Rule's action configuration. A single block of this type is supported. Structure is documented below.
	Action *ActionInitParameters `json:"action,omitempty" tf:"action,omitempty"`

	// The Lifecycle Rule's condition configuration. A single block of this type is supported. Structure is documented below.
	Condition *ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"`
}

func (*LifecycleRuleInitParameters) DeepCopy

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

func (*LifecycleRuleInitParameters) DeepCopyInto

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

type LifecycleRuleObservation

type LifecycleRuleObservation struct {

	// The Lifecycle Rule's action configuration. A single block of this type is supported. Structure is documented below.
	Action *ActionObservation `json:"action,omitempty" tf:"action,omitempty"`

	// The Lifecycle Rule's condition configuration. A single block of this type is supported. Structure is documented below.
	Condition *ConditionObservation `json:"condition,omitempty" tf:"condition,omitempty"`
}

func (*LifecycleRuleObservation) DeepCopy

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

func (*LifecycleRuleObservation) DeepCopyInto

func (in *LifecycleRuleObservation) DeepCopyInto(out *LifecycleRuleObservation)

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

type LifecycleRuleParameters

type LifecycleRuleParameters struct {

	// The Lifecycle Rule's action configuration. A single block of this type is supported. Structure is documented below.
	// +kubebuilder:validation:Optional
	Action *ActionParameters `json:"action" tf:"action,omitempty"`

	// The Lifecycle Rule's condition configuration. A single block of this type is supported. Structure is documented below.
	// +kubebuilder:validation:Optional
	Condition *ConditionParameters `json:"condition" tf:"condition,omitempty"`
}

func (*LifecycleRuleParameters) DeepCopy

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

func (*LifecycleRuleParameters) DeepCopyInto

func (in *LifecycleRuleParameters) DeepCopyInto(out *LifecycleRuleParameters)

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

type LoggingInitParameters

type LoggingInitParameters struct {

	// The bucket that will receive log objects.
	LogBucket *string `json:"logBucket,omitempty" tf:"log_bucket,omitempty"`

	// The object prefix for log objects. If it's not provided,
	// by default GCS sets this to this bucket's name.
	LogObjectPrefix *string `json:"logObjectPrefix,omitempty" tf:"log_object_prefix,omitempty"`
}

func (*LoggingInitParameters) DeepCopy

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

func (*LoggingInitParameters) DeepCopyInto

func (in *LoggingInitParameters) DeepCopyInto(out *LoggingInitParameters)

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

type LoggingObservation

type LoggingObservation struct {

	// The bucket that will receive log objects.
	LogBucket *string `json:"logBucket,omitempty" tf:"log_bucket,omitempty"`

	// The object prefix for log objects. If it's not provided,
	// by default GCS sets this to this bucket's name.
	LogObjectPrefix *string `json:"logObjectPrefix,omitempty" tf:"log_object_prefix,omitempty"`
}

func (*LoggingObservation) DeepCopy

func (in *LoggingObservation) DeepCopy() *LoggingObservation

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

func (*LoggingObservation) DeepCopyInto

func (in *LoggingObservation) DeepCopyInto(out *LoggingObservation)

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

type LoggingParameters

type LoggingParameters struct {

	// The bucket that will receive log objects.
	// +kubebuilder:validation:Optional
	LogBucket *string `json:"logBucket" tf:"log_bucket,omitempty"`

	// The object prefix for log objects. If it's not provided,
	// by default GCS sets this to this bucket's name.
	// +kubebuilder:validation:Optional
	LogObjectPrefix *string `json:"logObjectPrefix,omitempty" tf:"log_object_prefix,omitempty"`
}

func (*LoggingParameters) DeepCopy

func (in *LoggingParameters) DeepCopy() *LoggingParameters

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

func (*LoggingParameters) DeepCopyInto

func (in *LoggingParameters) DeepCopyInto(out *LoggingParameters)

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

type RetentionInitParameters

type RetentionInitParameters struct {

	// The retention policy mode. Either Locked or Unlocked.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// The time to retain the object until in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
	RetainUntilTime *string `json:"retainUntilTime,omitempty" tf:"retain_until_time,omitempty"`
}

func (*RetentionInitParameters) DeepCopy

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

func (*RetentionInitParameters) DeepCopyInto

func (in *RetentionInitParameters) DeepCopyInto(out *RetentionInitParameters)

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

type RetentionObservation

type RetentionObservation struct {

	// The retention policy mode. Either Locked or Unlocked.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// The time to retain the object until in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
	RetainUntilTime *string `json:"retainUntilTime,omitempty" tf:"retain_until_time,omitempty"`
}

func (*RetentionObservation) DeepCopy

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

func (*RetentionObservation) DeepCopyInto

func (in *RetentionObservation) DeepCopyInto(out *RetentionObservation)

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

type RetentionParameters

type RetentionParameters struct {

	// The retention policy mode. Either Locked or Unlocked.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// The time to retain the object until in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
	// +kubebuilder:validation:Optional
	RetainUntilTime *string `json:"retainUntilTime" tf:"retain_until_time,omitempty"`
}

func (*RetentionParameters) DeepCopy

func (in *RetentionParameters) DeepCopy() *RetentionParameters

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

func (*RetentionParameters) DeepCopyInto

func (in *RetentionParameters) DeepCopyInto(out *RetentionParameters)

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

type RetentionPolicyInitParameters

type RetentionPolicyInitParameters struct {

	// If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.  Caution: Locking a bucket is an irreversible action.
	IsLocked *bool `json:"isLocked,omitempty" tf:"is_locked,omitempty"`

	// The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 2,147,483,647 seconds.
	RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}

func (*RetentionPolicyInitParameters) DeepCopy

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

func (*RetentionPolicyInitParameters) DeepCopyInto

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

type RetentionPolicyObservation

type RetentionPolicyObservation struct {

	// If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.  Caution: Locking a bucket is an irreversible action.
	IsLocked *bool `json:"isLocked,omitempty" tf:"is_locked,omitempty"`

	// The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 2,147,483,647 seconds.
	RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}

func (*RetentionPolicyObservation) DeepCopy

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

func (*RetentionPolicyObservation) DeepCopyInto

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

type RetentionPolicyParameters

type RetentionPolicyParameters struct {

	// If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.  Caution: Locking a bucket is an irreversible action.
	// +kubebuilder:validation:Optional
	IsLocked *bool `json:"isLocked,omitempty" tf:"is_locked,omitempty"`

	// The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 2,147,483,647 seconds.
	// +kubebuilder:validation:Optional
	RetentionPeriod *float64 `json:"retentionPeriod" tf:"retention_period,omitempty"`
}

func (*RetentionPolicyParameters) DeepCopy

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

func (*RetentionPolicyParameters) DeepCopyInto

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

type SoftDeletePolicyInitParameters added in v1.5.0

type SoftDeletePolicyInitParameters struct {

	// The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). Note: To disable the soft delete policy on a bucket, This field must be set to 0.
	RetentionDurationSeconds *float64 `json:"retentionDurationSeconds,omitempty" tf:"retention_duration_seconds,omitempty"`
}

func (*SoftDeletePolicyInitParameters) DeepCopy added in v1.5.0

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

func (*SoftDeletePolicyInitParameters) DeepCopyInto added in v1.5.0

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

type SoftDeletePolicyObservation added in v1.5.0

type SoftDeletePolicyObservation struct {

	// (Computed) Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
	EffectiveTime *string `json:"effectiveTime,omitempty" tf:"effective_time,omitempty"`

	// The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). Note: To disable the soft delete policy on a bucket, This field must be set to 0.
	RetentionDurationSeconds *float64 `json:"retentionDurationSeconds,omitempty" tf:"retention_duration_seconds,omitempty"`
}

func (*SoftDeletePolicyObservation) DeepCopy added in v1.5.0

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

func (*SoftDeletePolicyObservation) DeepCopyInto added in v1.5.0

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

type SoftDeletePolicyParameters added in v1.5.0

type SoftDeletePolicyParameters struct {

	// The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). Note: To disable the soft delete policy on a bucket, This field must be set to 0.
	// +kubebuilder:validation:Optional
	RetentionDurationSeconds *float64 `json:"retentionDurationSeconds,omitempty" tf:"retention_duration_seconds,omitempty"`
}

func (*SoftDeletePolicyParameters) DeepCopy added in v1.5.0

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

func (*SoftDeletePolicyParameters) DeepCopyInto added in v1.5.0

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

type VersioningInitParameters

type VersioningInitParameters struct {

	// While set to true, versioning is fully enabled for this bucket.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*VersioningInitParameters) DeepCopy

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

func (*VersioningInitParameters) DeepCopyInto

func (in *VersioningInitParameters) DeepCopyInto(out *VersioningInitParameters)

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

type VersioningObservation

type VersioningObservation struct {

	// While set to true, versioning is fully enabled for this bucket.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*VersioningObservation) DeepCopy

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

func (*VersioningObservation) DeepCopyInto

func (in *VersioningObservation) DeepCopyInto(out *VersioningObservation)

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

type VersioningParameters

type VersioningParameters struct {

	// While set to true, versioning is fully enabled for this bucket.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
}

func (*VersioningParameters) DeepCopy

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

func (*VersioningParameters) DeepCopyInto

func (in *VersioningParameters) DeepCopyInto(out *VersioningParameters)

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

type WebsiteInitParameters

type WebsiteInitParameters struct {

	// Behaves as the bucket's directory index where
	// missing objects are treated as potential directories.
	MainPageSuffix *string `json:"mainPageSuffix,omitempty" tf:"main_page_suffix,omitempty"`

	// The custom object to return when a requested
	// resource is not found.
	NotFoundPage *string `json:"notFoundPage,omitempty" tf:"not_found_page,omitempty"`
}

func (*WebsiteInitParameters) DeepCopy

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

func (*WebsiteInitParameters) DeepCopyInto

func (in *WebsiteInitParameters) DeepCopyInto(out *WebsiteInitParameters)

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

type WebsiteObservation

type WebsiteObservation struct {

	// Behaves as the bucket's directory index where
	// missing objects are treated as potential directories.
	MainPageSuffix *string `json:"mainPageSuffix,omitempty" tf:"main_page_suffix,omitempty"`

	// The custom object to return when a requested
	// resource is not found.
	NotFoundPage *string `json:"notFoundPage,omitempty" tf:"not_found_page,omitempty"`
}

func (*WebsiteObservation) DeepCopy

func (in *WebsiteObservation) DeepCopy() *WebsiteObservation

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

func (*WebsiteObservation) DeepCopyInto

func (in *WebsiteObservation) DeepCopyInto(out *WebsiteObservation)

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

type WebsiteParameters

type WebsiteParameters struct {

	// Behaves as the bucket's directory index where
	// missing objects are treated as potential directories.
	// +kubebuilder:validation:Optional
	MainPageSuffix *string `json:"mainPageSuffix,omitempty" tf:"main_page_suffix,omitempty"`

	// The custom object to return when a requested
	// resource is not found.
	// +kubebuilder:validation:Optional
	NotFoundPage *string `json:"notFoundPage,omitempty" tf:"not_found_page,omitempty"`
}

func (*WebsiteParameters) DeepCopy

func (in *WebsiteParameters) DeepCopy() *WebsiteParameters

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

func (*WebsiteParameters) DeepCopyInto

func (in *WebsiteParameters) DeepCopyInto(out *WebsiteParameters)

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