v1beta1

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Asset_Kind             = "Asset"
	Asset_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Asset_Kind}.String()
	Asset_KindAPIVersion   = Asset_Kind + "." + CRDGroupVersion.String()
	Asset_GroupVersionKind = CRDGroupVersion.WithKind(Asset_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
)
View Source
var (
	Lake_Kind             = "Lake"
	Lake_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Lake_Kind}.String()
	Lake_KindAPIVersion   = Lake_Kind + "." + CRDGroupVersion.String()
	Lake_GroupVersionKind = CRDGroupVersion.WithKind(Lake_Kind)
)

Repository type metadata.

View Source
var (
	Zone_Kind             = "Zone"
	Zone_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Zone_Kind}.String()
	Zone_KindAPIVersion   = Zone_Kind + "." + CRDGroupVersion.String()
	Zone_GroupVersionKind = CRDGroupVersion.WithKind(Zone_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Asset

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

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

func (*Asset) DeepCopy

func (in *Asset) DeepCopy() *Asset

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

func (*Asset) DeepCopyInto

func (in *Asset) DeepCopyInto(out *Asset)

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

func (*Asset) DeepCopyObject

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

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

func (*Asset) GetCondition

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

GetCondition of this Asset.

func (*Asset) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Asset

func (*Asset) GetDeletionPolicy

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

GetDeletionPolicy of this Asset.

func (*Asset) GetID

func (tr *Asset) GetID() string

GetID returns ID of underlying Terraform resource of this Asset

func (*Asset) GetManagementPolicy added in v0.31.0

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

GetManagementPolicy of this Asset.

func (*Asset) GetObservation

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

GetObservation of this Asset

func (*Asset) GetParameters

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

GetParameters of this Asset

func (*Asset) GetProviderConfigReference

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

GetProviderConfigReference of this Asset.

func (*Asset) GetProviderReference

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

GetProviderReference of this Asset. Deprecated: Use GetProviderConfigReference.

func (*Asset) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Asset.

func (*Asset) GetTerraformResourceType

func (mg *Asset) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Asset

func (*Asset) GetTerraformSchemaVersion

func (tr *Asset) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Asset) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Asset.

func (*Asset) LateInitialize

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

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

func (*Asset) ResolveReferences

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

ResolveReferences of this Asset.

func (*Asset) SetConditions

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

SetConditions of this Asset.

func (*Asset) SetDeletionPolicy

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

SetDeletionPolicy of this Asset.

func (*Asset) SetManagementPolicy added in v0.31.0

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

SetManagementPolicy of this Asset.

func (*Asset) SetObservation

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

SetObservation for this Asset

func (*Asset) SetParameters

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

SetParameters for this Asset

func (*Asset) SetProviderConfigReference

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

SetProviderConfigReference of this Asset.

func (*Asset) SetProviderReference

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

SetProviderReference of this Asset. Deprecated: Use SetProviderConfigReference.

func (*Asset) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Asset.

func (*Asset) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Asset.

type AssetList

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

AssetList contains a list of Assets

func (*AssetList) DeepCopy

func (in *AssetList) DeepCopy() *AssetList

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

func (*AssetList) DeepCopyInto

func (in *AssetList) DeepCopyInto(out *AssetList)

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

func (*AssetList) DeepCopyObject

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

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

func (*AssetList) GetItems

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

GetItems of this AssetList.

type AssetObservation

type AssetObservation struct {

	// Output only. The time when the asset was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// The zone for the resource
	DataplexZone *string `json:"dataplexZone,omitempty" tf:"dataplex_zone,omitempty"`

	// Optional. Description of the asset.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Required. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
	DiscoverySpec []DiscoverySpecObservation `json:"discoverySpec,omitempty" tf:"discovery_spec,omitempty"`

	// Output only. Status of the discovery feature applied to data referenced by this asset.
	DiscoveryStatus []DiscoveryStatusObservation `json:"discoveryStatus,omitempty" tf:"discovery_status,omitempty"`

	// Optional. User friendly display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{dataplex_zone}}/assets/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Optional. User defined labels for the asset.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The lake for the resource
	Lake *string `json:"lake,omitempty" tf:"lake,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Required. Immutable. Specification of the resource that is referenced by this asset.
	ResourceSpec []ResourceSpecObservation `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"`

	// Output only. Status of the resource referenced by this asset.
	ResourceStatus []ResourceStatusObservation `json:"resourceStatus,omitempty" tf:"resource_status,omitempty"`

	// Output only. Status of the security policy applied to resource referenced by this asset.
	SecurityStatus []SecurityStatusObservation `json:"securityStatus,omitempty" tf:"security_status,omitempty"`

	// Output only. Current state of the asset. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Output only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// Output only. The time when the asset was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*AssetObservation) DeepCopy

func (in *AssetObservation) DeepCopy() *AssetObservation

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

func (*AssetObservation) DeepCopyInto

func (in *AssetObservation) DeepCopyInto(out *AssetObservation)

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

type AssetParameters

type AssetParameters struct {

	// The zone for the resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/dataplex/v1beta1.Zone
	// +kubebuilder:validation:Optional
	DataplexZone *string `json:"dataplexZone,omitempty" tf:"dataplex_zone,omitempty"`

	// Reference to a Zone in dataplex to populate dataplexZone.
	// +kubebuilder:validation:Optional
	DataplexZoneRef *v1.Reference `json:"dataplexZoneRef,omitempty" tf:"-"`

	// Selector for a Zone in dataplex to populate dataplexZone.
	// +kubebuilder:validation:Optional
	DataplexZoneSelector *v1.Selector `json:"dataplexZoneSelector,omitempty" tf:"-"`

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

	// Required. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
	// +kubebuilder:validation:Optional
	DiscoverySpec []DiscoverySpecParameters `json:"discoverySpec,omitempty" tf:"discovery_spec,omitempty"`

	// Optional. User friendly display name.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Optional. User defined labels for the asset.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The lake for the resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/dataplex/v1beta1.Lake
	// +kubebuilder:validation:Optional
	Lake *string `json:"lake,omitempty" tf:"lake,omitempty"`

	// Reference to a Lake in dataplex to populate lake.
	// +kubebuilder:validation:Optional
	LakeRef *v1.Reference `json:"lakeRef,omitempty" tf:"-"`

	// Selector for a Lake in dataplex to populate lake.
	// +kubebuilder:validation:Optional
	LakeSelector *v1.Selector `json:"lakeSelector,omitempty" tf:"-"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

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

	// Required. Immutable. Specification of the resource that is referenced by this asset.
	// +kubebuilder:validation:Optional
	ResourceSpec []ResourceSpecParameters `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"`
}

func (*AssetParameters) DeepCopy

func (in *AssetParameters) DeepCopy() *AssetParameters

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

func (*AssetParameters) DeepCopyInto

func (in *AssetParameters) DeepCopyInto(out *AssetParameters)

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

type AssetSpec

type AssetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AssetParameters `json:"forProvider"`
}

AssetSpec defines the desired state of Asset

func (*AssetSpec) DeepCopy

func (in *AssetSpec) DeepCopy() *AssetSpec

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

func (*AssetSpec) DeepCopyInto

func (in *AssetSpec) DeepCopyInto(out *AssetSpec)

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

type AssetStatus

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

AssetStatus defines the observed state of Asset.

func (*AssetStatus) DeepCopy

func (in *AssetStatus) DeepCopy() *AssetStatus

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

func (*AssetStatus) DeepCopyInto

func (in *AssetStatus) DeepCopyInto(out *AssetStatus)

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

type AssetStatusObservation

type AssetStatusObservation struct {
	ActiveAssets *float64 `json:"activeAssets,omitempty" tf:"active_assets,omitempty"`

	SecurityPolicyApplyingAssets *float64 `json:"securityPolicyApplyingAssets,omitempty" tf:"security_policy_applying_assets,omitempty"`

	// Output only. The time when the lake was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*AssetStatusObservation) DeepCopy

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

func (*AssetStatusObservation) DeepCopyInto

func (in *AssetStatusObservation) DeepCopyInto(out *AssetStatusObservation)

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

type AssetStatusParameters

type AssetStatusParameters struct {
}

func (*AssetStatusParameters) DeepCopy

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

func (*AssetStatusParameters) DeepCopyInto

func (in *AssetStatusParameters) DeepCopyInto(out *AssetStatusParameters)

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

type CsvOptionsObservation

type CsvOptionsObservation struct {

	// Optional. The delimiter being used to separate values. This defaults to ','.
	Delimiter *string `json:"delimiter,omitempty" tf:"delimiter,omitempty"`

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`

	// Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
	HeaderRows *float64 `json:"headerRows,omitempty" tf:"header_rows,omitempty"`
}

func (*CsvOptionsObservation) DeepCopy

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

func (*CsvOptionsObservation) DeepCopyInto

func (in *CsvOptionsObservation) DeepCopyInto(out *CsvOptionsObservation)

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

type CsvOptionsParameters

type CsvOptionsParameters struct {

	// Optional. The delimiter being used to separate values. This defaults to ','.
	// +kubebuilder:validation:Optional
	Delimiter *string `json:"delimiter,omitempty" tf:"delimiter,omitempty"`

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	// +kubebuilder:validation:Optional
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	// +kubebuilder:validation:Optional
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`

	// Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
	// +kubebuilder:validation:Optional
	HeaderRows *float64 `json:"headerRows,omitempty" tf:"header_rows,omitempty"`
}

func (*CsvOptionsParameters) DeepCopy

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

func (*CsvOptionsParameters) DeepCopyInto

func (in *CsvOptionsParameters) DeepCopyInto(out *CsvOptionsParameters)

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

type DiscoverySpecCsvOptionsObservation

type DiscoverySpecCsvOptionsObservation struct {

	// Optional. The delimiter being used to separate values. This defaults to ','.
	Delimiter *string `json:"delimiter,omitempty" tf:"delimiter,omitempty"`

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`

	// Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
	HeaderRows *float64 `json:"headerRows,omitempty" tf:"header_rows,omitempty"`
}

func (*DiscoverySpecCsvOptionsObservation) DeepCopy

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

func (*DiscoverySpecCsvOptionsObservation) DeepCopyInto

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

type DiscoverySpecCsvOptionsParameters

type DiscoverySpecCsvOptionsParameters struct {

	// Optional. The delimiter being used to separate values. This defaults to ','.
	// +kubebuilder:validation:Optional
	Delimiter *string `json:"delimiter,omitempty" tf:"delimiter,omitempty"`

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	// +kubebuilder:validation:Optional
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	// +kubebuilder:validation:Optional
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`

	// Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
	// +kubebuilder:validation:Optional
	HeaderRows *float64 `json:"headerRows,omitempty" tf:"header_rows,omitempty"`
}

func (*DiscoverySpecCsvOptionsParameters) DeepCopy

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

func (*DiscoverySpecCsvOptionsParameters) DeepCopyInto

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

type DiscoverySpecJSONOptionsObservation

type DiscoverySpecJSONOptionsObservation struct {

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`
}

func (*DiscoverySpecJSONOptionsObservation) DeepCopy

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

func (*DiscoverySpecJSONOptionsObservation) DeepCopyInto

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

type DiscoverySpecJSONOptionsParameters

type DiscoverySpecJSONOptionsParameters struct {

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	// +kubebuilder:validation:Optional
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	// +kubebuilder:validation:Optional
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`
}

func (*DiscoverySpecJSONOptionsParameters) DeepCopy

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

func (*DiscoverySpecJSONOptionsParameters) DeepCopyInto

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

type DiscoverySpecObservation

type DiscoverySpecObservation struct {

	// Optional. Configuration for CSV data.
	CsvOptions []CsvOptionsObservation `json:"csvOptions,omitempty" tf:"csv_options,omitempty"`

	// Required. Whether discovery is enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	ExcludePatterns []*string `json:"excludePatterns,omitempty" tf:"exclude_patterns,omitempty"`

	// Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	IncludePatterns []*string `json:"includePatterns,omitempty" tf:"include_patterns,omitempty"`

	// Optional. Configuration for Json data.
	JSONOptions []JSONOptionsObservation `json:"jsonOptions,omitempty" tf:"json_options,omitempty"`

	// Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
	Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"`
}

func (*DiscoverySpecObservation) DeepCopy

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

func (*DiscoverySpecObservation) DeepCopyInto

func (in *DiscoverySpecObservation) DeepCopyInto(out *DiscoverySpecObservation)

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

type DiscoverySpecParameters

type DiscoverySpecParameters struct {

	// Optional. Configuration for CSV data.
	// +kubebuilder:validation:Optional
	CsvOptions []CsvOptionsParameters `json:"csvOptions,omitempty" tf:"csv_options,omitempty"`

	// Required. Whether discovery is enabled.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	// +kubebuilder:validation:Optional
	ExcludePatterns []*string `json:"excludePatterns,omitempty" tf:"exclude_patterns,omitempty"`

	// Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	// +kubebuilder:validation:Optional
	IncludePatterns []*string `json:"includePatterns,omitempty" tf:"include_patterns,omitempty"`

	// Optional. Configuration for Json data.
	// +kubebuilder:validation:Optional
	JSONOptions []JSONOptionsParameters `json:"jsonOptions,omitempty" tf:"json_options,omitempty"`

	// Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
	// +kubebuilder:validation:Optional
	Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"`
}

func (*DiscoverySpecParameters) DeepCopy

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

func (*DiscoverySpecParameters) DeepCopyInto

func (in *DiscoverySpecParameters) DeepCopyInto(out *DiscoverySpecParameters)

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

type DiscoveryStatusObservation

type DiscoveryStatusObservation struct {
	LastRunDuration *string `json:"lastRunDuration,omitempty" tf:"last_run_duration,omitempty"`

	LastRunTime *string `json:"lastRunTime,omitempty" tf:"last_run_time,omitempty"`

	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Output only. Current state of the asset. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	Stats []StatsObservation `json:"stats,omitempty" tf:"stats,omitempty"`

	// Output only. The time when the asset was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*DiscoveryStatusObservation) DeepCopy

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

func (*DiscoveryStatusObservation) DeepCopyInto

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

type DiscoveryStatusParameters

type DiscoveryStatusParameters struct {
}

func (*DiscoveryStatusParameters) DeepCopy

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

func (*DiscoveryStatusParameters) DeepCopyInto

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

type JSONOptionsObservation

type JSONOptionsObservation struct {

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`
}

func (*JSONOptionsObservation) DeepCopy

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

func (*JSONOptionsObservation) DeepCopyInto

func (in *JSONOptionsObservation) DeepCopyInto(out *JSONOptionsObservation)

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

type JSONOptionsParameters

type JSONOptionsParameters struct {

	// Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
	// +kubebuilder:validation:Optional
	DisableTypeInference *bool `json:"disableTypeInference,omitempty" tf:"disable_type_inference,omitempty"`

	// Optional. The character encoding of the data. The default is UTF-8.
	// +kubebuilder:validation:Optional
	Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"`
}

func (*JSONOptionsParameters) DeepCopy

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

func (*JSONOptionsParameters) DeepCopyInto

func (in *JSONOptionsParameters) DeepCopyInto(out *JSONOptionsParameters)

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

type Lake

type Lake struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LakeSpec   `json:"spec"`
	Status            LakeStatus `json:"status,omitempty"`
}

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

func (*Lake) DeepCopy

func (in *Lake) DeepCopy() *Lake

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

func (*Lake) DeepCopyInto

func (in *Lake) DeepCopyInto(out *Lake)

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

func (*Lake) DeepCopyObject

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

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

func (*Lake) GetCondition

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

GetCondition of this Lake.

func (*Lake) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Lake

func (*Lake) GetDeletionPolicy

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

GetDeletionPolicy of this Lake.

func (*Lake) GetID

func (tr *Lake) GetID() string

GetID returns ID of underlying Terraform resource of this Lake

func (*Lake) GetManagementPolicy added in v0.31.0

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

GetManagementPolicy of this Lake.

func (*Lake) GetObservation

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

GetObservation of this Lake

func (*Lake) GetParameters

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

GetParameters of this Lake

func (*Lake) GetProviderConfigReference

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

GetProviderConfigReference of this Lake.

func (*Lake) GetProviderReference

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

GetProviderReference of this Lake. Deprecated: Use GetProviderConfigReference.

func (*Lake) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Lake.

func (*Lake) GetTerraformResourceType

func (mg *Lake) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Lake

func (*Lake) GetTerraformSchemaVersion

func (tr *Lake) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Lake) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Lake.

func (*Lake) LateInitialize

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

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

func (*Lake) SetConditions

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

SetConditions of this Lake.

func (*Lake) SetDeletionPolicy

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

SetDeletionPolicy of this Lake.

func (*Lake) SetManagementPolicy added in v0.31.0

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

SetManagementPolicy of this Lake.

func (*Lake) SetObservation

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

SetObservation for this Lake

func (*Lake) SetParameters

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

SetParameters for this Lake

func (*Lake) SetProviderConfigReference

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

SetProviderConfigReference of this Lake.

func (*Lake) SetProviderReference

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

SetProviderReference of this Lake. Deprecated: Use SetProviderConfigReference.

func (*Lake) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Lake.

func (*Lake) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Lake.

type LakeList

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

LakeList contains a list of Lakes

func (*LakeList) DeepCopy

func (in *LakeList) DeepCopy() *LakeList

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

func (*LakeList) DeepCopyInto

func (in *LakeList) DeepCopyInto(out *LakeList)

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

func (*LakeList) DeepCopyObject

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

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

func (*LakeList) GetItems

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

GetItems of this LakeList.

type LakeObservation

type LakeObservation struct {

	// Output only. Aggregated status of the underlying assets of the lake.
	AssetStatus []AssetStatusObservation `json:"assetStatus,omitempty" tf:"asset_status,omitempty"`

	// Output only. The time when the lake was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Optional. Description of the lake.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Optional. User friendly display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// Optional. User-defined labels for the lake.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Optional. Settings to manage lake and Dataproc Metastore service instance association.
	Metastore []MetastoreObservation `json:"metastore,omitempty" tf:"metastore,omitempty"`

	// Output only. Metastore status of the lake.
	MetastoreStatus []MetastoreStatusObservation `json:"metastoreStatus,omitempty" tf:"metastore_status,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// Output only. The time when the lake was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*LakeObservation) DeepCopy

func (in *LakeObservation) DeepCopy() *LakeObservation

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

func (*LakeObservation) DeepCopyInto

func (in *LakeObservation) DeepCopyInto(out *LakeObservation)

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

type LakeParameters

type LakeParameters struct {

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

	// Optional. User friendly display name.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Optional. User-defined labels for the lake.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// Optional. Settings to manage lake and Dataproc Metastore service instance association.
	// +kubebuilder:validation:Optional
	Metastore []MetastoreParameters `json:"metastore,omitempty" tf:"metastore,omitempty"`

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*LakeParameters) DeepCopy

func (in *LakeParameters) DeepCopy() *LakeParameters

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

func (*LakeParameters) DeepCopyInto

func (in *LakeParameters) DeepCopyInto(out *LakeParameters)

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

type LakeSpec

type LakeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LakeParameters `json:"forProvider"`
}

LakeSpec defines the desired state of Lake

func (*LakeSpec) DeepCopy

func (in *LakeSpec) DeepCopy() *LakeSpec

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

func (*LakeSpec) DeepCopyInto

func (in *LakeSpec) DeepCopyInto(out *LakeSpec)

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

type LakeStatus

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

LakeStatus defines the observed state of Lake.

func (*LakeStatus) DeepCopy

func (in *LakeStatus) DeepCopy() *LakeStatus

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

func (*LakeStatus) DeepCopyInto

func (in *LakeStatus) DeepCopyInto(out *LakeStatus)

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

type MetastoreObservation

type MetastoreObservation struct {

	// Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*MetastoreObservation) DeepCopy

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

func (*MetastoreObservation) DeepCopyInto

func (in *MetastoreObservation) DeepCopyInto(out *MetastoreObservation)

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

type MetastoreParameters

type MetastoreParameters struct {

	// Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*MetastoreParameters) DeepCopy

func (in *MetastoreParameters) DeepCopy() *MetastoreParameters

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

func (*MetastoreParameters) DeepCopyInto

func (in *MetastoreParameters) DeepCopyInto(out *MetastoreParameters)

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

type MetastoreStatusObservation

type MetastoreStatusObservation struct {
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Output only. The time when the lake was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*MetastoreStatusObservation) DeepCopy

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

func (*MetastoreStatusObservation) DeepCopyInto

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

type MetastoreStatusParameters

type MetastoreStatusParameters struct {
}

func (*MetastoreStatusParameters) DeepCopy

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

func (*MetastoreStatusParameters) DeepCopyInto

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

type ResourceSpecObservation

type ResourceSpecObservation struct {

	// Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Required. Immutable. Type of resource. Possible values: STORAGE_BUCKET, BIGQUERY_DATASET
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ResourceSpecObservation) DeepCopy

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

func (*ResourceSpecObservation) DeepCopyInto

func (in *ResourceSpecObservation) DeepCopyInto(out *ResourceSpecObservation)

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

type ResourceSpecParameters

type ResourceSpecParameters struct {

	// Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Required. Immutable. Type of resource. Possible values: STORAGE_BUCKET, BIGQUERY_DATASET
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ResourceSpecParameters) DeepCopy

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

func (*ResourceSpecParameters) DeepCopyInto

func (in *ResourceSpecParameters) DeepCopyInto(out *ResourceSpecParameters)

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

type ResourceStatusObservation

type ResourceStatusObservation struct {
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Output only. Current state of the asset. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Output only. The time when the asset was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*ResourceStatusObservation) DeepCopy

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

func (*ResourceStatusObservation) DeepCopyInto

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

type ResourceStatusParameters

type ResourceStatusParameters struct {
}

func (*ResourceStatusParameters) DeepCopy

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

func (*ResourceStatusParameters) DeepCopyInto

func (in *ResourceStatusParameters) DeepCopyInto(out *ResourceStatusParameters)

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

type SecurityStatusObservation

type SecurityStatusObservation struct {
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Output only. Current state of the asset. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Output only. The time when the asset was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*SecurityStatusObservation) DeepCopy

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

func (*SecurityStatusObservation) DeepCopyInto

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

type SecurityStatusParameters

type SecurityStatusParameters struct {
}

func (*SecurityStatusParameters) DeepCopy

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

func (*SecurityStatusParameters) DeepCopyInto

func (in *SecurityStatusParameters) DeepCopyInto(out *SecurityStatusParameters)

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

type StatsObservation

type StatsObservation struct {
	DataItems *float64 `json:"dataItems,omitempty" tf:"data_items,omitempty"`

	DataSize *float64 `json:"dataSize,omitempty" tf:"data_size,omitempty"`

	Filesets *float64 `json:"filesets,omitempty" tf:"filesets,omitempty"`

	Tables *float64 `json:"tables,omitempty" tf:"tables,omitempty"`
}

func (*StatsObservation) DeepCopy

func (in *StatsObservation) DeepCopy() *StatsObservation

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

func (*StatsObservation) DeepCopyInto

func (in *StatsObservation) DeepCopyInto(out *StatsObservation)

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

type StatsParameters

type StatsParameters struct {
}

func (*StatsParameters) DeepCopy

func (in *StatsParameters) DeepCopy() *StatsParameters

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

func (*StatsParameters) DeepCopyInto

func (in *StatsParameters) DeepCopyInto(out *StatsParameters)

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

type Zone

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

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

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

func (*Zone) GetCondition

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

GetCondition of this Zone.

func (*Zone) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Zone

func (*Zone) GetDeletionPolicy

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

GetDeletionPolicy of this Zone.

func (*Zone) GetID

func (tr *Zone) GetID() string

GetID returns ID of underlying Terraform resource of this Zone

func (*Zone) GetManagementPolicy added in v0.31.0

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

GetManagementPolicy of this Zone.

func (*Zone) GetObservation

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

GetObservation of this Zone

func (*Zone) GetParameters

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

GetParameters of this Zone

func (*Zone) GetProviderConfigReference

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

GetProviderConfigReference of this Zone.

func (*Zone) GetProviderReference

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

GetProviderReference of this Zone. Deprecated: Use GetProviderConfigReference.

func (*Zone) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Zone.

func (*Zone) GetTerraformResourceType

func (mg *Zone) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Zone

func (*Zone) GetTerraformSchemaVersion

func (tr *Zone) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Zone) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Zone.

func (*Zone) LateInitialize

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

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

func (*Zone) ResolveReferences

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

ResolveReferences of this Zone.

func (*Zone) SetConditions

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

SetConditions of this Zone.

func (*Zone) SetDeletionPolicy

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

SetDeletionPolicy of this Zone.

func (*Zone) SetManagementPolicy added in v0.31.0

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

SetManagementPolicy of this Zone.

func (*Zone) SetObservation

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

SetObservation for this Zone

func (*Zone) SetParameters

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

SetParameters for this Zone

func (*Zone) SetProviderConfigReference

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

SetProviderConfigReference of this Zone.

func (*Zone) SetProviderReference

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

SetProviderReference of this Zone. Deprecated: Use SetProviderConfigReference.

func (*Zone) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Zone.

func (*Zone) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Zone.

type ZoneAssetStatusObservation

type ZoneAssetStatusObservation struct {
	ActiveAssets *float64 `json:"activeAssets,omitempty" tf:"active_assets,omitempty"`

	SecurityPolicyApplyingAssets *float64 `json:"securityPolicyApplyingAssets,omitempty" tf:"security_policy_applying_assets,omitempty"`

	// Output only. The time when the zone was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*ZoneAssetStatusObservation) DeepCopy

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

func (*ZoneAssetStatusObservation) DeepCopyInto

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

type ZoneAssetStatusParameters

type ZoneAssetStatusParameters struct {
}

func (*ZoneAssetStatusParameters) DeepCopy

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

func (*ZoneAssetStatusParameters) DeepCopyInto

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

type ZoneDiscoverySpecObservation

type ZoneDiscoverySpecObservation struct {

	// Optional. Configuration for CSV data.
	CsvOptions []DiscoverySpecCsvOptionsObservation `json:"csvOptions,omitempty" tf:"csv_options,omitempty"`

	// Required. Whether discovery is enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	ExcludePatterns []*string `json:"excludePatterns,omitempty" tf:"exclude_patterns,omitempty"`

	// Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	IncludePatterns []*string `json:"includePatterns,omitempty" tf:"include_patterns,omitempty"`

	// Optional. Configuration for Json data.
	JSONOptions []DiscoverySpecJSONOptionsObservation `json:"jsonOptions,omitempty" tf:"json_options,omitempty"`

	// Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
	Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"`
}

func (*ZoneDiscoverySpecObservation) DeepCopy

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

func (*ZoneDiscoverySpecObservation) DeepCopyInto

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

type ZoneDiscoverySpecParameters

type ZoneDiscoverySpecParameters struct {

	// Optional. Configuration for CSV data.
	// +kubebuilder:validation:Optional
	CsvOptions []DiscoverySpecCsvOptionsParameters `json:"csvOptions,omitempty" tf:"csv_options,omitempty"`

	// Required. Whether discovery is enabled.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	// +kubebuilder:validation:Optional
	ExcludePatterns []*string `json:"excludePatterns,omitempty" tf:"exclude_patterns,omitempty"`

	// Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
	// +kubebuilder:validation:Optional
	IncludePatterns []*string `json:"includePatterns,omitempty" tf:"include_patterns,omitempty"`

	// Optional. Configuration for Json data.
	// +kubebuilder:validation:Optional
	JSONOptions []DiscoverySpecJSONOptionsParameters `json:"jsonOptions,omitempty" tf:"json_options,omitempty"`

	// Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
	// +kubebuilder:validation:Optional
	Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"`
}

func (*ZoneDiscoverySpecParameters) DeepCopy

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

func (*ZoneDiscoverySpecParameters) DeepCopyInto

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

type ZoneList

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

ZoneList contains a list of Zones

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

func (*ZoneList) GetItems

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

GetItems of this ZoneList.

type ZoneObservation

type ZoneObservation struct {

	// Output only. Aggregated status of the underlying assets of the zone.
	AssetStatus []ZoneAssetStatusObservation `json:"assetStatus,omitempty" tf:"asset_status,omitempty"`

	// Output only. The time when the zone was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Optional. Description of the zone.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Required. Specification of the discovery feature applied to data in this zone.
	DiscoverySpec []ZoneDiscoverySpecObservation `json:"discoverySpec,omitempty" tf:"discovery_spec,omitempty"`

	// Optional. User friendly display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// Optional. User defined labels for the zone.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The lake for the resource
	Lake *string `json:"lake,omitempty" tf:"lake,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
	ResourceSpec []ZoneResourceSpecObservation `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"`

	// Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// Output only. The time when the zone was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*ZoneObservation) DeepCopy

func (in *ZoneObservation) DeepCopy() *ZoneObservation

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

func (*ZoneObservation) DeepCopyInto

func (in *ZoneObservation) DeepCopyInto(out *ZoneObservation)

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

type ZoneParameters

type ZoneParameters struct {

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

	// Required. Specification of the discovery feature applied to data in this zone.
	// +kubebuilder:validation:Optional
	DiscoverySpec []ZoneDiscoverySpecParameters `json:"discoverySpec,omitempty" tf:"discovery_spec,omitempty"`

	// Optional. User friendly display name.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Optional. User defined labels for the zone.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The lake for the resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/dataplex/v1beta1.Lake
	// +kubebuilder:validation:Optional
	Lake *string `json:"lake,omitempty" tf:"lake,omitempty"`

	// Reference to a Lake in dataplex to populate lake.
	// +kubebuilder:validation:Optional
	LakeRef *v1.Reference `json:"lakeRef,omitempty" tf:"-"`

	// Selector for a Lake in dataplex to populate lake.
	// +kubebuilder:validation:Optional
	LakeSelector *v1.Selector `json:"lakeSelector,omitempty" tf:"-"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

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

	// Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
	// +kubebuilder:validation:Optional
	ResourceSpec []ZoneResourceSpecParameters `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"`

	// Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ZoneParameters) DeepCopy

func (in *ZoneParameters) DeepCopy() *ZoneParameters

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

func (*ZoneParameters) DeepCopyInto

func (in *ZoneParameters) DeepCopyInto(out *ZoneParameters)

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

type ZoneResourceSpecObservation

type ZoneResourceSpecObservation struct {

	// Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION
	LocationType *string `json:"locationType,omitempty" tf:"location_type,omitempty"`
}

func (*ZoneResourceSpecObservation) DeepCopy

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

func (*ZoneResourceSpecObservation) DeepCopyInto

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

type ZoneResourceSpecParameters

type ZoneResourceSpecParameters struct {

	// Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION
	// +kubebuilder:validation:Required
	LocationType *string `json:"locationType" tf:"location_type,omitempty"`
}

func (*ZoneResourceSpecParameters) DeepCopy

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

func (*ZoneResourceSpecParameters) DeepCopyInto

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

type ZoneSpec

type ZoneSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ZoneParameters `json:"forProvider"`
}

ZoneSpec defines the desired state of Zone

func (*ZoneSpec) DeepCopy

func (in *ZoneSpec) DeepCopy() *ZoneSpec

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

func (*ZoneSpec) DeepCopyInto

func (in *ZoneSpec) DeepCopyInto(out *ZoneSpec)

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

type ZoneStatus

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

ZoneStatus defines the observed state of Zone.

func (*ZoneStatus) DeepCopy

func (in *ZoneStatus) DeepCopy() *ZoneStatus

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

func (*ZoneStatus) DeepCopyInto

func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)

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