v1alpha1

package
v1.105.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for bigquerydatapolicy/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the bigquerydatapolicy v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/bigquerydatapolicy +k8s:defaulter-gen=TypeMeta +groupName=bigquerydatapolicy.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "bigquerydatapolicy.cnrm.cloud.google.com", Version: "v1beta1"}

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

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	BigQueryDataPolicyDataPolicyGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(BigQueryDataPolicyDataPolicy{}).Name(),
	}
)

Functions

This section is empty.

Types

type BigQueryDataPolicyDataPolicy

type BigQueryDataPolicyDataPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BigQueryDataPolicyDataPolicySpec   `json:"spec,omitempty"`
	Status BigQueryDataPolicyDataPolicyStatus `json:"status,omitempty"`
}

BigQueryDataPolicyDataPolicy is the Schema for the bigquerydatapolicy API +k8s:openapi-gen=true

func (*BigQueryDataPolicyDataPolicy) DeepCopy

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

func (*BigQueryDataPolicyDataPolicy) DeepCopyInto

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

func (*BigQueryDataPolicyDataPolicy) DeepCopyObject

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

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

type BigQueryDataPolicyDataPolicyList

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

BigQueryDataPolicyDataPolicyList contains a list of BigQueryDataPolicyDataPolicy

func (*BigQueryDataPolicyDataPolicyList) DeepCopy

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

func (*BigQueryDataPolicyDataPolicyList) DeepCopyInto

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

func (*BigQueryDataPolicyDataPolicyList) DeepCopyObject

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

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

type BigQueryDataPolicyDataPolicySpec

type BigQueryDataPolicyDataPolicySpec struct {
	/* The data masking policy that specifies the data masking rule to use. */
	// +optional
	DataMaskingPolicy *DatapolicyDataMaskingPolicy `json:"dataMaskingPolicy,omitempty"`

	/* The enrollment level of the service. Possible values: ["COLUMN_LEVEL_SECURITY_POLICY", "DATA_MASKING_POLICY"]. */
	DataPolicyType string `json:"dataPolicyType"`

	/* Immutable. The name of the location of the data policy. */
	Location string `json:"location"`

	/* Policy tag resource name, in the format of projects/{project_number}/locations/{locationId}/taxonomies/{taxonomyId}/policyTags/{policyTag_id}. */
	PolicyTag string `json:"policyTag"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The dataPolicyId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*BigQueryDataPolicyDataPolicySpec) DeepCopy

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

func (*BigQueryDataPolicyDataPolicySpec) DeepCopyInto

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

type BigQueryDataPolicyDataPolicyStatus

type BigQueryDataPolicyDataPolicyStatus struct {
	/* Conditions represent the latest available observations of the
	   BigQueryDataPolicyDataPolicy's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Resource name of this data policy, in the format of projects/{project_number}/locations/{locationId}/dataPolicies/{dataPolicyId}. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`
}

func (*BigQueryDataPolicyDataPolicyStatus) DeepCopy

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

func (*BigQueryDataPolicyDataPolicyStatus) DeepCopyInto

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

type DatapolicyDataMaskingPolicy

type DatapolicyDataMaskingPolicy struct {
	/* The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options. Possible values: ["SHA256", "ALWAYS_NULL", "DEFAULT_MASKING_VALUE", "LAST_FOUR_CHARACTERS", "FIRST_FOUR_CHARACTERS", "EMAIL_MASK", "DATE_YEAR_MASK"]. */
	PredefinedExpression string `json:"predefinedExpression"`
}

func (*DatapolicyDataMaskingPolicy) DeepCopy

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

func (*DatapolicyDataMaskingPolicy) DeepCopyInto

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