v1beta1

package
v1.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Secret_Kind             = "Secret"
	Secret_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Secret_Kind}.String()
	Secret_KindAPIVersion   = Secret_Kind + "." + CRDGroupVersion.String()
	Secret_GroupVersionKind = CRDGroupVersion.WithKind(Secret_Kind)
)

Repository type metadata.

View Source
var (
	SecretIAMMember_Kind             = "SecretIAMMember"
	SecretIAMMember_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecretIAMMember_Kind}.String()
	SecretIAMMember_KindAPIVersion   = SecretIAMMember_Kind + "." + CRDGroupVersion.String()
	SecretIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(SecretIAMMember_Kind)
)

Repository type metadata.

View Source
var (
	SecretVersion_Kind             = "SecretVersion"
	SecretVersion_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecretVersion_Kind}.String()
	SecretVersion_KindAPIVersion   = SecretVersion_Kind + "." + CRDGroupVersion.String()
	SecretVersion_GroupVersionKind = CRDGroupVersion.WithKind(SecretVersion_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AutoInitParameters added in v1.0.0

type AutoInitParameters struct {

	// Customer Managed Encryption for the secret.
	// Structure is documented below.
	CustomerManagedEncryption []CustomerManagedEncryptionInitParameters `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"`
}

func (*AutoInitParameters) DeepCopy added in v1.0.0

func (in *AutoInitParameters) DeepCopy() *AutoInitParameters

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

func (*AutoInitParameters) DeepCopyInto added in v1.0.0

func (in *AutoInitParameters) DeepCopyInto(out *AutoInitParameters)

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

type AutoObservation added in v1.0.0

type AutoObservation struct {

	// Customer Managed Encryption for the secret.
	// Structure is documented below.
	CustomerManagedEncryption []CustomerManagedEncryptionObservation `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"`
}

func (*AutoObservation) DeepCopy added in v1.0.0

func (in *AutoObservation) DeepCopy() *AutoObservation

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

func (*AutoObservation) DeepCopyInto added in v1.0.0

func (in *AutoObservation) DeepCopyInto(out *AutoObservation)

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

type AutoParameters added in v1.0.0

type AutoParameters struct {

	// Customer Managed Encryption for the secret.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	CustomerManagedEncryption []CustomerManagedEncryptionParameters `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"`
}

func (*AutoParameters) DeepCopy added in v1.0.0

func (in *AutoParameters) DeepCopy() *AutoParameters

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

func (*AutoParameters) DeepCopyInto added in v1.0.0

func (in *AutoParameters) DeepCopyInto(out *AutoParameters)

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

type ConditionInitParameters added in v0.35.0

type ConditionInitParameters 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 (*ConditionInitParameters) DeepCopy added in v0.35.0

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

func (*ConditionInitParameters) DeepCopyInto added in v0.35.0

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 {
	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 (*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 {

	// +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 (*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 CustomerManagedEncryptionInitParameters added in v0.35.0

type CustomerManagedEncryptionInitParameters struct {

	// Describes the Cloud KMS encryption key that will be used to protect destination secret.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`
}

func (*CustomerManagedEncryptionInitParameters) DeepCopy added in v0.35.0

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

func (*CustomerManagedEncryptionInitParameters) DeepCopyInto added in v0.35.0

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

type CustomerManagedEncryptionObservation

type CustomerManagedEncryptionObservation struct {

	// Describes the Cloud KMS encryption key that will be used to protect destination secret.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`
}

func (*CustomerManagedEncryptionObservation) DeepCopy

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

func (*CustomerManagedEncryptionObservation) DeepCopyInto

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

type CustomerManagedEncryptionParameters

type CustomerManagedEncryptionParameters struct {

	// Describes the Cloud KMS encryption key that will be used to protect destination secret.
	// +kubebuilder:validation:Optional
	KMSKeyName *string `json:"kmsKeyName" tf:"kms_key_name,omitempty"`
}

func (*CustomerManagedEncryptionParameters) DeepCopy

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

func (*CustomerManagedEncryptionParameters) DeepCopyInto

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

type ReplicasCustomerManagedEncryptionInitParameters added in v1.0.0

type ReplicasCustomerManagedEncryptionInitParameters struct {

	// Describes the Cloud KMS encryption key that will be used to protect destination secret.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`
}

func (*ReplicasCustomerManagedEncryptionInitParameters) DeepCopy added in v1.0.0

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

func (*ReplicasCustomerManagedEncryptionInitParameters) DeepCopyInto added in v1.0.0

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

type ReplicasCustomerManagedEncryptionObservation added in v1.0.0

type ReplicasCustomerManagedEncryptionObservation struct {

	// Describes the Cloud KMS encryption key that will be used to protect destination secret.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`
}

func (*ReplicasCustomerManagedEncryptionObservation) DeepCopy added in v1.0.0

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

func (*ReplicasCustomerManagedEncryptionObservation) DeepCopyInto added in v1.0.0

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

type ReplicasCustomerManagedEncryptionParameters added in v1.0.0

type ReplicasCustomerManagedEncryptionParameters struct {

	// Describes the Cloud KMS encryption key that will be used to protect destination secret.
	// +kubebuilder:validation:Optional
	KMSKeyName *string `json:"kmsKeyName" tf:"kms_key_name,omitempty"`
}

func (*ReplicasCustomerManagedEncryptionParameters) DeepCopy added in v1.0.0

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

func (*ReplicasCustomerManagedEncryptionParameters) DeepCopyInto added in v1.0.0

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

type ReplicasInitParameters added in v0.35.0

type ReplicasInitParameters struct {

	// Customer Managed Encryption for the secret.
	// Structure is documented below.
	CustomerManagedEncryption []ReplicasCustomerManagedEncryptionInitParameters `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"`

	// The canonical IDs of the location to replicate data. For example: "us-east1".
	Location *string `json:"location,omitempty" tf:"location,omitempty"`
}

func (*ReplicasInitParameters) DeepCopy added in v0.35.0

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

func (*ReplicasInitParameters) DeepCopyInto added in v0.35.0

func (in *ReplicasInitParameters) DeepCopyInto(out *ReplicasInitParameters)

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

type ReplicasObservation

type ReplicasObservation struct {

	// Customer Managed Encryption for the secret.
	// Structure is documented below.
	CustomerManagedEncryption []ReplicasCustomerManagedEncryptionObservation `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"`

	// The canonical IDs of the location to replicate data. For example: "us-east1".
	Location *string `json:"location,omitempty" tf:"location,omitempty"`
}

func (*ReplicasObservation) DeepCopy

func (in *ReplicasObservation) DeepCopy() *ReplicasObservation

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

func (*ReplicasObservation) DeepCopyInto

func (in *ReplicasObservation) DeepCopyInto(out *ReplicasObservation)

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

type ReplicasParameters

type ReplicasParameters struct {

	// Customer Managed Encryption for the secret.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	CustomerManagedEncryption []ReplicasCustomerManagedEncryptionParameters `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"`

	// The canonical IDs of the location to replicate data. For example: "us-east1".
	// +kubebuilder:validation:Optional
	Location *string `json:"location" tf:"location,omitempty"`
}

func (*ReplicasParameters) DeepCopy

func (in *ReplicasParameters) DeepCopy() *ReplicasParameters

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

func (*ReplicasParameters) DeepCopyInto

func (in *ReplicasParameters) DeepCopyInto(out *ReplicasParameters)

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

type ReplicationInitParameters added in v0.35.0

type ReplicationInitParameters struct {

	// The Secret will automatically be replicated without any restrictions.
	// Structure is documented below.
	Auto []AutoInitParameters `json:"auto,omitempty" tf:"auto,omitempty"`

	// The Secret will be replicated to the regions specified by the user.
	// Structure is documented below.
	UserManaged []UserManagedInitParameters `json:"userManaged,omitempty" tf:"user_managed,omitempty"`
}

func (*ReplicationInitParameters) DeepCopy added in v0.35.0

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

func (*ReplicationInitParameters) DeepCopyInto added in v0.35.0

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

type ReplicationObservation

type ReplicationObservation struct {

	// The Secret will automatically be replicated without any restrictions.
	// Structure is documented below.
	Auto []AutoObservation `json:"auto,omitempty" tf:"auto,omitempty"`

	// The Secret will be replicated to the regions specified by the user.
	// Structure is documented below.
	UserManaged []UserManagedObservation `json:"userManaged,omitempty" tf:"user_managed,omitempty"`
}

func (*ReplicationObservation) DeepCopy

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

func (*ReplicationObservation) DeepCopyInto

func (in *ReplicationObservation) DeepCopyInto(out *ReplicationObservation)

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

type ReplicationParameters

type ReplicationParameters struct {

	// The Secret will automatically be replicated without any restrictions.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Auto []AutoParameters `json:"auto,omitempty" tf:"auto,omitempty"`

	// The Secret will be replicated to the regions specified by the user.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	UserManaged []UserManagedParameters `json:"userManaged,omitempty" tf:"user_managed,omitempty"`
}

func (*ReplicationParameters) DeepCopy

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

func (*ReplicationParameters) DeepCopyInto

func (in *ReplicationParameters) DeepCopyInto(out *ReplicationParameters)

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

type RotationInitParameters added in v0.35.0

type RotationInitParameters struct {

	// Timestamp in UTC at which the Secret is scheduled to rotate.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	NextRotationTime *string `json:"nextRotationTime,omitempty" tf:"next_rotation_time,omitempty"`

	// The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).
	// If rotationPeriod is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications.
	RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"`
}

func (*RotationInitParameters) DeepCopy added in v0.35.0

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

func (*RotationInitParameters) DeepCopyInto added in v0.35.0

func (in *RotationInitParameters) DeepCopyInto(out *RotationInitParameters)

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

type RotationObservation

type RotationObservation struct {

	// Timestamp in UTC at which the Secret is scheduled to rotate.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	NextRotationTime *string `json:"nextRotationTime,omitempty" tf:"next_rotation_time,omitempty"`

	// The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).
	// If rotationPeriod is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications.
	RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"`
}

func (*RotationObservation) DeepCopy

func (in *RotationObservation) DeepCopy() *RotationObservation

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

func (*RotationObservation) DeepCopyInto

func (in *RotationObservation) DeepCopyInto(out *RotationObservation)

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

type RotationParameters

type RotationParameters struct {

	// Timestamp in UTC at which the Secret is scheduled to rotate.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	// +kubebuilder:validation:Optional
	NextRotationTime *string `json:"nextRotationTime,omitempty" tf:"next_rotation_time,omitempty"`

	// The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).
	// If rotationPeriod is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications.
	// +kubebuilder:validation:Optional
	RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"`
}

func (*RotationParameters) DeepCopy

func (in *RotationParameters) DeepCopy() *RotationParameters

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

func (*RotationParameters) DeepCopyInto

func (in *RotationParameters) DeepCopyInto(out *RotationParameters)

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

type Secret

type Secret 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.replication) || (has(self.initProvider) && has(self.initProvider.replication))",message="spec.forProvider.replication is a required parameter"
	Spec   SecretSpec   `json:"spec"`
	Status SecretStatus `json:"status,omitempty"`
}

Secret is the Schema for the Secrets API. A Secret is a logical secret whose value and versions can be accessed. +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 (*Secret) ConvertFrom added in v1.2.0

func (tr *Secret) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the Secret type.

func (*Secret) ConvertTo added in v1.2.0

func (tr *Secret) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this Secret to the hub type.

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

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

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

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

func (*Secret) DeepCopyObject

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

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

func (*Secret) GetCondition

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

GetCondition of this Secret.

func (*Secret) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Secret

func (*Secret) GetDeletionPolicy

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

GetDeletionPolicy of this Secret.

func (*Secret) GetID

func (tr *Secret) GetID() string

GetID returns ID of underlying Terraform resource of this Secret

func (*Secret) GetInitParameters added in v0.35.0

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

GetInitParameters of this Secret

func (*Secret) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Secret.

func (*Secret) GetMergedParameters added in v0.40.0

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

GetInitParameters of this Secret

func (*Secret) GetObservation

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

GetObservation of this Secret

func (*Secret) GetParameters

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

GetParameters of this Secret

func (*Secret) GetProviderConfigReference

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

GetProviderConfigReference of this Secret.

func (*Secret) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Secret.

func (*Secret) GetTerraformResourceType

func (mg *Secret) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Secret

func (*Secret) GetTerraformSchemaVersion

func (tr *Secret) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Secret) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Secret.

func (*Secret) LateInitialize

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

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

func (*Secret) SetConditions

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

SetConditions of this Secret.

func (*Secret) SetDeletionPolicy

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

SetDeletionPolicy of this Secret.

func (*Secret) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Secret.

func (*Secret) SetObservation

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

SetObservation for this Secret

func (*Secret) SetParameters

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

SetParameters for this Secret

func (*Secret) SetProviderConfigReference

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

SetProviderConfigReference of this Secret.

func (*Secret) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Secret.

func (*Secret) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Secret.

type SecretIAMMember

type SecretIAMMember 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   SecretIAMMemberSpec   `json:"spec"`
	Status SecretIAMMemberStatus `json:"status,omitempty"`
}

SecretIAMMember is the Schema for the SecretIAMMembers 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 (*SecretIAMMember) ConvertFrom added in v1.2.0

func (tr *SecretIAMMember) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the SecretIAMMember type.

func (*SecretIAMMember) ConvertTo added in v1.2.0

func (tr *SecretIAMMember) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this SecretIAMMember to the hub type.

func (*SecretIAMMember) DeepCopy

func (in *SecretIAMMember) DeepCopy() *SecretIAMMember

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

func (*SecretIAMMember) DeepCopyInto

func (in *SecretIAMMember) DeepCopyInto(out *SecretIAMMember)

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

func (*SecretIAMMember) DeepCopyObject

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

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

func (*SecretIAMMember) GetCondition

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

GetCondition of this SecretIAMMember.

func (*SecretIAMMember) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SecretIAMMember

func (*SecretIAMMember) GetDeletionPolicy

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

GetDeletionPolicy of this SecretIAMMember.

func (*SecretIAMMember) GetID

func (tr *SecretIAMMember) GetID() string

GetID returns ID of underlying Terraform resource of this SecretIAMMember

func (*SecretIAMMember) GetInitParameters added in v0.35.0

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

GetInitParameters of this SecretIAMMember

func (*SecretIAMMember) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this SecretIAMMember.

func (*SecretIAMMember) GetMergedParameters added in v0.40.0

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

GetInitParameters of this SecretIAMMember

func (*SecretIAMMember) GetObservation

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

GetObservation of this SecretIAMMember

func (*SecretIAMMember) GetParameters

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

GetParameters of this SecretIAMMember

func (*SecretIAMMember) GetProviderConfigReference

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

GetProviderConfigReference of this SecretIAMMember.

func (*SecretIAMMember) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecretIAMMember.

func (*SecretIAMMember) GetTerraformResourceType

func (mg *SecretIAMMember) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecretIAMMember

func (*SecretIAMMember) GetTerraformSchemaVersion

func (tr *SecretIAMMember) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecretIAMMember) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SecretIAMMember.

func (*SecretIAMMember) LateInitialize

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

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

func (*SecretIAMMember) ResolveReferences

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

func (*SecretIAMMember) SetConditions

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

SetConditions of this SecretIAMMember.

func (*SecretIAMMember) SetDeletionPolicy

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

SetDeletionPolicy of this SecretIAMMember.

func (*SecretIAMMember) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this SecretIAMMember.

func (*SecretIAMMember) SetObservation

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

SetObservation for this SecretIAMMember

func (*SecretIAMMember) SetParameters

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

SetParameters for this SecretIAMMember

func (*SecretIAMMember) SetProviderConfigReference

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

SetProviderConfigReference of this SecretIAMMember.

func (*SecretIAMMember) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecretIAMMember.

func (*SecretIAMMember) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecretIAMMember.

type SecretIAMMemberInitParameters added in v0.35.0

type SecretIAMMemberInitParameters struct {
	Condition []ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"`

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

	Project *string `json:"project,omitempty" tf:"project,omitempty"`

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

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta1.Secret
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"`

	// Reference to a Secret in secretmanager to populate secretId.
	// +kubebuilder:validation:Optional
	SecretIDRef *v1.Reference `json:"secretIdRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secretId.
	// +kubebuilder:validation:Optional
	SecretIDSelector *v1.Selector `json:"secretIdSelector,omitempty" tf:"-"`
}

func (*SecretIAMMemberInitParameters) DeepCopy added in v0.35.0

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

func (*SecretIAMMemberInitParameters) DeepCopyInto added in v0.35.0

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

type SecretIAMMemberList

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

SecretIAMMemberList contains a list of SecretIAMMembers

func (*SecretIAMMemberList) DeepCopy

func (in *SecretIAMMemberList) DeepCopy() *SecretIAMMemberList

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

func (*SecretIAMMemberList) DeepCopyInto

func (in *SecretIAMMemberList) DeepCopyInto(out *SecretIAMMemberList)

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

func (*SecretIAMMemberList) DeepCopyObject

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

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

func (*SecretIAMMemberList) GetItems

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

GetItems of this SecretIAMMemberList.

type SecretIAMMemberObservation

type SecretIAMMemberObservation struct {
	Condition []ConditionObservation `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"`

	Project *string `json:"project,omitempty" tf:"project,omitempty"`

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

	SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"`
}

func (*SecretIAMMemberObservation) DeepCopy

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

func (*SecretIAMMemberObservation) DeepCopyInto

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

type SecretIAMMemberParameters

type SecretIAMMemberParameters struct {

	// +kubebuilder:validation:Optional
	Condition []ConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"`

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

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

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

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta1.Secret
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"`

	// Reference to a Secret in secretmanager to populate secretId.
	// +kubebuilder:validation:Optional
	SecretIDRef *v1.Reference `json:"secretIdRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secretId.
	// +kubebuilder:validation:Optional
	SecretIDSelector *v1.Selector `json:"secretIdSelector,omitempty" tf:"-"`
}

func (*SecretIAMMemberParameters) DeepCopy

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

func (*SecretIAMMemberParameters) DeepCopyInto

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

type SecretIAMMemberSpec

type SecretIAMMemberSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecretIAMMemberParameters `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 SecretIAMMemberInitParameters `json:"initProvider,omitempty"`
}

SecretIAMMemberSpec defines the desired state of SecretIAMMember

func (*SecretIAMMemberSpec) DeepCopy

func (in *SecretIAMMemberSpec) DeepCopy() *SecretIAMMemberSpec

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

func (*SecretIAMMemberSpec) DeepCopyInto

func (in *SecretIAMMemberSpec) DeepCopyInto(out *SecretIAMMemberSpec)

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

type SecretIAMMemberStatus

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

SecretIAMMemberStatus defines the observed state of SecretIAMMember.

func (*SecretIAMMemberStatus) DeepCopy

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

func (*SecretIAMMemberStatus) DeepCopyInto

func (in *SecretIAMMemberStatus) DeepCopyInto(out *SecretIAMMemberStatus)

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

type SecretInitParameters added in v0.35.0

type SecretInitParameters struct {

	// Custom metadata about the secret.
	// Annotations are distinct from various forms of labels. Annotations exist to allow
	// client tools to store their own state information without requiring a database.
	// Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of
	// maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and
	// may have dashes (-), underscores (_), dots (.), and alphanumerics in between these
	// symbols.
	// The total size of annotation keys and values must be less than 16KiB.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +mapType=granular
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	// Only one of expire_time or ttl can be provided.
	ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"`

	// The labels assigned to this Secret.
	// Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62}
	// Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63}
	// No more than 64 labels can be assigned to a given resource.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,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"`

	// The replication policy of the secret data attached to the Secret. It cannot be changed
	// after the Secret has been created.
	// Structure is documented below.
	Replication []ReplicationInitParameters `json:"replication,omitempty" tf:"replication,omitempty"`

	// The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation.
	// Structure is documented below.
	Rotation []RotationInitParameters `json:"rotation,omitempty" tf:"rotation,omitempty"`

	// The TTL for the Secret.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	// Only one of ttl or expire_time can be provided.
	TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions.
	// Structure is documented below.
	Topics []TopicsInitParameters `json:"topics,omitempty" tf:"topics,omitempty"`

	// Mapping from version alias to version name.
	// A version alias is a string with a maximum length of 63 characters and can contain
	// uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_')
	// characters. An alias string must start with a letter and cannot be the string
	// 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +mapType=granular
	VersionAliases map[string]*string `json:"versionAliases,omitempty" tf:"version_aliases,omitempty"`

	// Secret Version TTL after destruction request.
	// This is a part of the delayed delete feature on Secret Version.
	// For secret with versionDestroyTtl>0, version destruction doesn't happen immediately
	// on calling destroy instead the version goes to a disabled state and
	// the actual destruction happens after this TTL expires.
	VersionDestroyTTL *string `json:"versionDestroyTtl,omitempty" tf:"version_destroy_ttl,omitempty"`
}

func (*SecretInitParameters) DeepCopy added in v0.35.0

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

func (*SecretInitParameters) DeepCopyInto added in v0.35.0

func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters)

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

type SecretList

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

SecretList contains a list of Secrets

func (*SecretList) DeepCopy

func (in *SecretList) DeepCopy() *SecretList

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

func (*SecretList) DeepCopyInto

func (in *SecretList) DeepCopyInto(out *SecretList)

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

func (*SecretList) DeepCopyObject

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

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

func (*SecretList) GetItems

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

GetItems of this SecretList.

type SecretObservation

type SecretObservation struct {

	// Custom metadata about the secret.
	// Annotations are distinct from various forms of labels. Annotations exist to allow
	// client tools to store their own state information without requiring a database.
	// Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of
	// maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and
	// may have dashes (-), underscores (_), dots (.), and alphanumerics in between these
	// symbols.
	// The total size of annotation keys and values must be less than 16KiB.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +mapType=granular
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// The time at which the Secret was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// +mapType=granular
	EffectiveAnnotations map[string]*string `json:"effectiveAnnotations,omitempty" tf:"effective_annotations,omitempty"`

	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"`

	// Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	// Only one of expire_time or ttl can be provided.
	ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"`

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

	// The labels assigned to this Secret.
	// Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62}
	// Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63}
	// No more than 64 labels can be assigned to a given resource.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The resource name of the Secret. Format:
	// projects/{{project}}/secrets/{{secret_id}}
	Name *string `json:"name,omitempty" tf:"name,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"`

	// The replication policy of the secret data attached to the Secret. It cannot be changed
	// after the Secret has been created.
	// Structure is documented below.
	Replication []ReplicationObservation `json:"replication,omitempty" tf:"replication,omitempty"`

	// The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation.
	// Structure is documented below.
	Rotation []RotationObservation `json:"rotation,omitempty" tf:"rotation,omitempty"`

	// The TTL for the Secret.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	// Only one of ttl or expire_time can be provided.
	TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	// +mapType=granular
	TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"`

	// A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions.
	// Structure is documented below.
	Topics []TopicsObservation `json:"topics,omitempty" tf:"topics,omitempty"`

	// Mapping from version alias to version name.
	// A version alias is a string with a maximum length of 63 characters and can contain
	// uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_')
	// characters. An alias string must start with a letter and cannot be the string
	// 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +mapType=granular
	VersionAliases map[string]*string `json:"versionAliases,omitempty" tf:"version_aliases,omitempty"`

	// Secret Version TTL after destruction request.
	// This is a part of the delayed delete feature on Secret Version.
	// For secret with versionDestroyTtl>0, version destruction doesn't happen immediately
	// on calling destroy instead the version goes to a disabled state and
	// the actual destruction happens after this TTL expires.
	VersionDestroyTTL *string `json:"versionDestroyTtl,omitempty" tf:"version_destroy_ttl,omitempty"`
}

func (*SecretObservation) DeepCopy

func (in *SecretObservation) DeepCopy() *SecretObservation

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

func (*SecretObservation) DeepCopyInto

func (in *SecretObservation) DeepCopyInto(out *SecretObservation)

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

type SecretParameters

type SecretParameters struct {

	// Custom metadata about the secret.
	// Annotations are distinct from various forms of labels. Annotations exist to allow
	// client tools to store their own state information without requiring a database.
	// Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of
	// maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and
	// may have dashes (-), underscores (_), dots (.), and alphanumerics in between these
	// symbols.
	// The total size of annotation keys and values must be less than 16KiB.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	// Only one of expire_time or ttl can be provided.
	// +kubebuilder:validation:Optional
	ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"`

	// The labels assigned to this Secret.
	// Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62}
	// Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63}
	// No more than 64 labels can be assigned to a given resource.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,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"`

	// The replication policy of the secret data attached to the Secret. It cannot be changed
	// after the Secret has been created.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Replication []ReplicationParameters `json:"replication,omitempty" tf:"replication,omitempty"`

	// The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Rotation []RotationParameters `json:"rotation,omitempty" tf:"rotation,omitempty"`

	// The TTL for the Secret.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	// Only one of ttl or expire_time can be provided.
	// +kubebuilder:validation:Optional
	TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Topics []TopicsParameters `json:"topics,omitempty" tf:"topics,omitempty"`

	// Mapping from version alias to version name.
	// A version alias is a string with a maximum length of 63 characters and can contain
	// uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_')
	// characters. An alias string must start with a letter and cannot be the string
	// 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret.
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	VersionAliases map[string]*string `json:"versionAliases,omitempty" tf:"version_aliases,omitempty"`

	// Secret Version TTL after destruction request.
	// This is a part of the delayed delete feature on Secret Version.
	// For secret with versionDestroyTtl>0, version destruction doesn't happen immediately
	// on calling destroy instead the version goes to a disabled state and
	// the actual destruction happens after this TTL expires.
	// +kubebuilder:validation:Optional
	VersionDestroyTTL *string `json:"versionDestroyTtl,omitempty" tf:"version_destroy_ttl,omitempty"`
}

func (*SecretParameters) DeepCopy

func (in *SecretParameters) DeepCopy() *SecretParameters

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

func (*SecretParameters) DeepCopyInto

func (in *SecretParameters) DeepCopyInto(out *SecretParameters)

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

type SecretSpec

type SecretSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecretParameters `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 SecretInitParameters `json:"initProvider,omitempty"`
}

SecretSpec defines the desired state of Secret

func (*SecretSpec) DeepCopy

func (in *SecretSpec) DeepCopy() *SecretSpec

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

func (*SecretSpec) DeepCopyInto

func (in *SecretSpec) DeepCopyInto(out *SecretSpec)

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

type SecretStatus

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

SecretStatus defines the observed state of Secret.

func (*SecretStatus) DeepCopy

func (in *SecretStatus) DeepCopy() *SecretStatus

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

func (*SecretStatus) DeepCopyInto

func (in *SecretStatus) DeepCopyInto(out *SecretStatus)

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

type SecretVersion

type SecretVersion 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.secretDataSecretRef)",message="spec.forProvider.secretDataSecretRef is a required parameter"
	Spec   SecretVersionSpec   `json:"spec"`
	Status SecretVersionStatus `json:"status,omitempty"`
}

SecretVersion is the Schema for the SecretVersions API. A secret version resource. +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 (*SecretVersion) DeepCopy

func (in *SecretVersion) DeepCopy() *SecretVersion

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

func (*SecretVersion) DeepCopyInto

func (in *SecretVersion) DeepCopyInto(out *SecretVersion)

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

func (*SecretVersion) DeepCopyObject

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

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

func (*SecretVersion) GetCondition

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

GetCondition of this SecretVersion.

func (*SecretVersion) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SecretVersion

func (*SecretVersion) GetDeletionPolicy

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

GetDeletionPolicy of this SecretVersion.

func (*SecretVersion) GetID

func (tr *SecretVersion) GetID() string

GetID returns ID of underlying Terraform resource of this SecretVersion

func (*SecretVersion) GetInitParameters added in v0.35.0

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

GetInitParameters of this SecretVersion

func (*SecretVersion) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this SecretVersion.

func (*SecretVersion) GetMergedParameters added in v0.40.0

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

GetInitParameters of this SecretVersion

func (*SecretVersion) GetObservation

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

GetObservation of this SecretVersion

func (*SecretVersion) GetParameters

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

GetParameters of this SecretVersion

func (*SecretVersion) GetProviderConfigReference

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

GetProviderConfigReference of this SecretVersion.

func (*SecretVersion) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecretVersion.

func (*SecretVersion) GetTerraformResourceType

func (mg *SecretVersion) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecretVersion

func (*SecretVersion) GetTerraformSchemaVersion

func (tr *SecretVersion) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecretVersion) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SecretVersion.

func (*SecretVersion) Hub added in v0.41.2

func (tr *SecretVersion) Hub()

Hub marks this type as a conversion hub.

func (*SecretVersion) LateInitialize

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

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

func (*SecretVersion) ResolveReferences

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

ResolveReferences of this SecretVersion.

func (*SecretVersion) SetConditions

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

SetConditions of this SecretVersion.

func (*SecretVersion) SetDeletionPolicy

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

SetDeletionPolicy of this SecretVersion.

func (*SecretVersion) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this SecretVersion.

func (*SecretVersion) SetObservation

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

SetObservation for this SecretVersion

func (*SecretVersion) SetParameters

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

SetParameters for this SecretVersion

func (*SecretVersion) SetProviderConfigReference

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

SetProviderConfigReference of this SecretVersion.

func (*SecretVersion) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecretVersion.

func (*SecretVersion) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecretVersion.

type SecretVersionInitParameters added in v0.35.0

type SecretVersionInitParameters struct {

	// The deletion policy for the secret version. Setting ABANDON allows the resource
	// to be abandoned rather than deleted. Setting DISABLE allows the resource to be
	// disabled rather than deleted. Default is DELETE. Possible values are:
	DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"`

	// The current state of the SecretVersion.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is.
	IsSecretDataBase64 *bool `json:"isSecretDataBase64,omitempty" tf:"is_secret_data_base64,omitempty"`

	// Secret Manager secret resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta2.Secret
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// The secret data. Must be no larger than 64KiB.
	SecretDataSecretRef v1.SecretKeySelector `json:"secretDataSecretRef" tf:"-"`

	// Reference to a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`
}

func (*SecretVersionInitParameters) DeepCopy added in v0.35.0

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

func (*SecretVersionInitParameters) DeepCopyInto added in v0.35.0

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

type SecretVersionList

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

SecretVersionList contains a list of SecretVersions

func (*SecretVersionList) DeepCopy

func (in *SecretVersionList) DeepCopy() *SecretVersionList

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

func (*SecretVersionList) DeepCopyInto

func (in *SecretVersionList) DeepCopyInto(out *SecretVersionList)

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

func (*SecretVersionList) DeepCopyObject

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

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

func (*SecretVersionList) GetItems

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

GetItems of this SecretVersionList.

type SecretVersionObservation

type SecretVersionObservation struct {

	// The time at which the Secret was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// The deletion policy for the secret version. Setting ABANDON allows the resource
	// to be abandoned rather than deleted. Setting DISABLE allows the resource to be
	// disabled rather than deleted. Default is DELETE. Possible values are:
	DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"`

	// The time at which the Secret was destroyed. Only present if state is DESTROYED.
	DestroyTime *string `json:"destroyTime,omitempty" tf:"destroy_time,omitempty"`

	// The current state of the SecretVersion.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is.
	IsSecretDataBase64 *bool `json:"isSecretDataBase64,omitempty" tf:"is_secret_data_base64,omitempty"`

	// The resource name of the SecretVersion. Format:
	// projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Secret Manager secret resource
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// The version of the Secret.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*SecretVersionObservation) DeepCopy

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

func (*SecretVersionObservation) DeepCopyInto

func (in *SecretVersionObservation) DeepCopyInto(out *SecretVersionObservation)

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

type SecretVersionParameters

type SecretVersionParameters struct {

	// The deletion policy for the secret version. Setting ABANDON allows the resource
	// to be abandoned rather than deleted. Setting DISABLE allows the resource to be
	// disabled rather than deleted. Default is DELETE. Possible values are:
	// +kubebuilder:validation:Optional
	DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"`

	// The current state of the SecretVersion.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is.
	// +kubebuilder:validation:Optional
	IsSecretDataBase64 *bool `json:"isSecretDataBase64,omitempty" tf:"is_secret_data_base64,omitempty"`

	// Secret Manager secret resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta2.Secret
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// The secret data. Must be no larger than 64KiB.
	// +kubebuilder:validation:Optional
	SecretDataSecretRef v1.SecretKeySelector `json:"secretDataSecretRef" tf:"-"`

	// Reference to a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`
}

func (*SecretVersionParameters) DeepCopy

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

func (*SecretVersionParameters) DeepCopyInto

func (in *SecretVersionParameters) DeepCopyInto(out *SecretVersionParameters)

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

type SecretVersionSpec

type SecretVersionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecretVersionParameters `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 SecretVersionInitParameters `json:"initProvider,omitempty"`
}

SecretVersionSpec defines the desired state of SecretVersion

func (*SecretVersionSpec) DeepCopy

func (in *SecretVersionSpec) DeepCopy() *SecretVersionSpec

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

func (*SecretVersionSpec) DeepCopyInto

func (in *SecretVersionSpec) DeepCopyInto(out *SecretVersionSpec)

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

type SecretVersionStatus

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

SecretVersionStatus defines the observed state of SecretVersion.

func (*SecretVersionStatus) DeepCopy

func (in *SecretVersionStatus) DeepCopy() *SecretVersionStatus

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

func (*SecretVersionStatus) DeepCopyInto

func (in *SecretVersionStatus) DeepCopyInto(out *SecretVersionStatus)

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

type TopicsInitParameters added in v0.35.0

type TopicsInitParameters struct {

	// The resource name of the Pub/Sub topic that will be published to, in the following format: projects//topics/.
	// For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*TopicsInitParameters) DeepCopy added in v0.35.0

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

func (*TopicsInitParameters) DeepCopyInto added in v0.35.0

func (in *TopicsInitParameters) DeepCopyInto(out *TopicsInitParameters)

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

type TopicsObservation

type TopicsObservation struct {

	// The resource name of the Pub/Sub topic that will be published to, in the following format: projects//topics/.
	// For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*TopicsObservation) DeepCopy

func (in *TopicsObservation) DeepCopy() *TopicsObservation

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

func (*TopicsObservation) DeepCopyInto

func (in *TopicsObservation) DeepCopyInto(out *TopicsObservation)

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

type TopicsParameters

type TopicsParameters struct {

	// The resource name of the Pub/Sub topic that will be published to, in the following format: projects//topics/.
	// For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*TopicsParameters) DeepCopy

func (in *TopicsParameters) DeepCopy() *TopicsParameters

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

func (*TopicsParameters) DeepCopyInto

func (in *TopicsParameters) DeepCopyInto(out *TopicsParameters)

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

type UserManagedInitParameters added in v0.35.0

type UserManagedInitParameters struct {

	// The list of Replicas for this Secret. Cannot be empty.
	// Structure is documented below.
	Replicas []ReplicasInitParameters `json:"replicas,omitempty" tf:"replicas,omitempty"`
}

func (*UserManagedInitParameters) DeepCopy added in v0.35.0

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

func (*UserManagedInitParameters) DeepCopyInto added in v0.35.0

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

type UserManagedObservation

type UserManagedObservation struct {

	// The list of Replicas for this Secret. Cannot be empty.
	// Structure is documented below.
	Replicas []ReplicasObservation `json:"replicas,omitempty" tf:"replicas,omitempty"`
}

func (*UserManagedObservation) DeepCopy

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

func (*UserManagedObservation) DeepCopyInto

func (in *UserManagedObservation) DeepCopyInto(out *UserManagedObservation)

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

type UserManagedParameters

type UserManagedParameters struct {

	// The list of Replicas for this Secret. Cannot be empty.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Replicas []ReplicasParameters `json:"replicas" tf:"replicas,omitempty"`
}

func (*UserManagedParameters) DeepCopy

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

func (*UserManagedParameters) DeepCopyInto

func (in *UserManagedParameters) DeepCopyInto(out *UserManagedParameters)

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