v1alpha1

package
v1.126.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: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the discoveryengine 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/discoveryengine +k8s:defaulter-gen=TypeMeta +groupName=discoveryengine.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: "discoveryengine.cnrm.cloud.google.com", Version: "v1alpha1"}

	// 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

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

Functions

This section is empty.

Types

type DatastoreBillingEstimationStatus

type DatastoreBillingEstimationStatus struct {
	/* Data size for structured data in terms of bytes. */
	// +optional
	StructuredDataSize *int64 `json:"structuredDataSize,omitempty"`

	/* Last updated timestamp for structured data. */
	// +optional
	StructuredDataUpdateTime *string `json:"structuredDataUpdateTime,omitempty"`

	/* Data size for unstructured data in terms of bytes. */
	// +optional
	UnstructuredDataSize *int64 `json:"unstructuredDataSize,omitempty"`

	/* Last updated timestamp for unstructured data. */
	// +optional
	UnstructuredDataUpdateTime *string `json:"unstructuredDataUpdateTime,omitempty"`

	/* Data size for websites in terms of bytes. */
	// +optional
	WebsiteDataSize *int64 `json:"websiteDataSize,omitempty"`

	/* Last updated timestamp for websites. */
	// +optional
	WebsiteDataUpdateTime *string `json:"websiteDataUpdateTime,omitempty"`
}

func (*DatastoreBillingEstimationStatus) DeepCopy

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

func (*DatastoreBillingEstimationStatus) DeepCopyInto

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

type DatastoreObservedStateStatus

type DatastoreObservedStateStatus struct {
	/* Output only. Data size estimation for billing. */
	// +optional
	BillingEstimation *DatastoreBillingEstimationStatus `json:"billingEstimation,omitempty"`

	/* Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1.DataStore] was created at. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Output only. The id of the default [Schema][google.cloud.discoveryengine.v1.Schema] associated to this data store. */
	// +optional
	DefaultSchemaID *string `json:"defaultSchemaID,omitempty"`
}

func (*DatastoreObservedStateStatus) DeepCopy

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

func (*DatastoreObservedStateStatus) DeepCopyInto

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

type DatastoreWorkspaceConfig

type DatastoreWorkspaceConfig struct {
	/* Obfuscated Dasher customer ID. */
	// +optional
	DasherCustomerID *string `json:"dasherCustomerID,omitempty"`

	/* Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
	// +optional
	SuperAdminEmailAddress *string `json:"superAdminEmailAddress,omitempty"`

	/* Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
	// +optional
	SuperAdminServiceAccount *string `json:"superAdminServiceAccount,omitempty"`

	/* The Google Workspace data source. */
	// +optional
	Type *string `json:"type,omitempty"`
}

func (*DatastoreWorkspaceConfig) DeepCopy

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

func (*DatastoreWorkspaceConfig) DeepCopyInto

func (in *DatastoreWorkspaceConfig) DeepCopyInto(out *DatastoreWorkspaceConfig)

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

type DiscoveryEngineDataStore

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

	Spec   DiscoveryEngineDataStoreSpec   `json:"spec,omitempty"`
	Status DiscoveryEngineDataStoreStatus `json:"status,omitempty"`
}

DiscoveryEngineDataStore is the Schema for the discoveryengine API +k8s:openapi-gen=true

func (*DiscoveryEngineDataStore) DeepCopy

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

func (*DiscoveryEngineDataStore) DeepCopyInto

func (in *DiscoveryEngineDataStore) DeepCopyInto(out *DiscoveryEngineDataStore)

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

func (*DiscoveryEngineDataStore) DeepCopyObject

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

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

type DiscoveryEngineDataStoreList

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

DiscoveryEngineDataStoreList contains a list of DiscoveryEngineDataStore

func (*DiscoveryEngineDataStoreList) DeepCopy

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

func (*DiscoveryEngineDataStoreList) DeepCopyInto

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

func (*DiscoveryEngineDataStoreList) DeepCopyObject

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

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

type DiscoveryEngineDataStoreSpec

type DiscoveryEngineDataStoreSpec struct {
	/* Immutable. The collection for the DataStore. */
	Collection string `json:"collection"`

	/* Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1.DataStore.ContentConfig.NO_CONTENT]. */
	// +optional
	ContentConfig *string `json:"contentConfig,omitempty"`

	/* Required. The data store display name.

	This field must be a UTF-8 encoded string with a length limit of 128
	characters. Otherwise, an INVALID_ARGUMENT error is returned. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Immutable. The industry vertical that the data store registers. */
	// +optional
	IndustryVertical *string `json:"industryVertical,omitempty"`

	/* Immutable. The location for the resource. */
	Location string `json:"location"`

	/* The ID of the project in which the resource belongs. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. The DiscoveryEngineDataStore name. If not given, the metadata.name will be used. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* The solutions that the data store enrolls. Available solutions for each
	[industry_vertical][google.cloud.discoveryengine.v1.DataStore.industry_vertical]:

	* `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`.
	* `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other
	solutions cannot be enrolled. */
	// +optional
	SolutionTypes []string `json:"solutionTypes,omitempty"`

	/* Config to store data store type configuration for workspace data. This must be set when [DataStore.content_config][google.cloud.discoveryengine.v1.DataStore.content_config] is set as [DataStore.ContentConfig.GOOGLE_WORKSPACE][google.cloud.discoveryengine.v1.DataStore.ContentConfig.GOOGLE_WORKSPACE]. */
	// +optional
	WorkspaceConfig *DatastoreWorkspaceConfig `json:"workspaceConfig,omitempty"`
}

func (*DiscoveryEngineDataStoreSpec) DeepCopy

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

func (*DiscoveryEngineDataStoreSpec) DeepCopyInto

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

type DiscoveryEngineDataStoreStatus

type DiscoveryEngineDataStoreStatus struct {
	/* Conditions represent the latest available observations of the
	   DiscoveryEngineDataStore's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* A unique specifier for the DiscoveryEngineDataStore resource in GCP. */
	// +optional
	ExternalRef *string `json:"externalRef,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 *int64 `json:"observedGeneration,omitempty"`

	/* ObservedState is the state of the resource as most recently observed in GCP. */
	// +optional
	ObservedState *DatastoreObservedStateStatus `json:"observedState,omitempty"`
}

func (*DiscoveryEngineDataStoreStatus) DeepCopy

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

func (*DiscoveryEngineDataStoreStatus) 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