v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=dialogflow.google.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: dialogflow.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Agent

type Agent struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AgentSpec   `json:"spec,omitempty"`
	Status            AgentStatus `json:"status,omitempty"`
}

func (*Agent) DeepCopy

func (in *Agent) DeepCopy() *Agent

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

func (*Agent) DeepCopyInto

func (in *Agent) DeepCopyInto(out *Agent)

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

func (*Agent) DeepCopyObject

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

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

func (*Agent) SetupWebhookWithManager

func (r *Agent) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Agent) ValidateCreate

func (r *Agent) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Agent) ValidateDelete

func (r *Agent) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Agent) ValidateUpdate

func (r *Agent) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AgentList

type AgentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Agent CRD objects
	Items []Agent `json:"items,omitempty"`
}

AgentList is a list of Agents

func (*AgentList) DeepCopy

func (in *AgentList) DeepCopy() *AgentList

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

func (*AgentList) DeepCopyInto

func (in *AgentList) DeepCopyInto(out *AgentList)

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

func (*AgentList) DeepCopyObject

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

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

type AgentSpec

type AgentSpec struct {
	State *AgentSpecResource `json:"state,omitempty" tf:"-"`

	Resource AgentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AgentSpec) DeepCopy

func (in *AgentSpec) DeepCopy() *AgentSpec

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

func (*AgentSpec) DeepCopyInto

func (in *AgentSpec) DeepCopyInto(out *AgentSpec)

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

type AgentSpecResource

type AgentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query
	// different service endpoints for different API versions. However, bots connectors and webhook calls will follow
	// the specified API version.
	// * API_VERSION_V1: Legacy V1 API.
	// * API_VERSION_V2: V2 API.
	// * API_VERSION_V2_BETA_1: V2beta1 API. Possible values: ["API_VERSION_V1", "API_VERSION_V2", "API_VERSION_V2_BETA_1"]
	// +optional
	ApiVersion *string `json:"apiVersion,omitempty" tf:"api_version"`
	// The URI of the agent's avatar, which are used throughout the Dialogflow console. When an image URL is entered
	// into this field, the Dialogflow will save the image in the backend. The address of the backend image returned
	// from the API will be shown in the [avatarUriBackend] field.
	// +optional
	AvatarURI *string `json:"avatarURI,omitempty" tf:"avatar_uri"`
	// The URI of the agent's avatar as returned from the API. Output only. To provide an image URL for the agent avatar,
	// the [avatarUri] field can be used.
	// +optional
	AvatarURIBackend *string `json:"avatarURIBackend,omitempty" tf:"avatar_uri_backend"`
	// To filter out false positive results and still get variety in matched natural language inputs for your agent,
	// you can tune the machine learning classification threshold. If the returned score value is less than the threshold
	// value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be
	// triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the
	// default of 0.3 is used.
	// +optional
	ClassificationThreshold *float64 `json:"classificationThreshold,omitempty" tf:"classification_threshold"`
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode *string `json:"defaultLanguageCode" tf:"default_language_code"`
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The name of this agent.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// Determines whether this agent should log conversation queries.
	// +optional
	EnableLogging *bool `json:"enableLogging,omitempty" tf:"enable_logging"`
	// Determines how intents are detected from user queries.
	// * MATCH_MODE_HYBRID: Best for agents with a small number of examples in intents and/or wide use of templates
	// syntax and composite entities.
	// * MATCH_MODE_ML_ONLY: Can be used for agents with a large number of examples in intents, especially the ones
	// using @sys.any or very large developer entities. Possible values: ["MATCH_MODE_HYBRID", "MATCH_MODE_ML_ONLY"]
	// +optional
	MatchMode *string `json:"matchMode,omitempty" tf:"match_mode"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// The list of all languages supported by this agent (except for the defaultLanguageCode).
	// +optional
	SupportedLanguageCodes []string `json:"supportedLanguageCodes,omitempty" tf:"supported_language_codes"`
	// The agent tier. If not specified, TIER_STANDARD is assumed.
	// * TIER_STANDARD: Standard tier.
	// * TIER_ENTERPRISE: Enterprise tier (Essentials).
	// * TIER_ENTERPRISE_PLUS: Enterprise tier (Plus).
	// NOTE: Due to consistency issues, the provider will not read this field from the API. Drift is possible between
	// the Terraform state and Dialogflow if the agent tier is changed outside of Terraform. Possible values: ["TIER_STANDARD", "TIER_ENTERPRISE", "TIER_ENTERPRISE_PLUS"]
	// +optional
	Tier *string `json:"tier,omitempty" tf:"tier"`
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone *string `json:"timeZone" tf:"time_zone"`
}

func (*AgentSpecResource) DeepCopy

func (in *AgentSpecResource) DeepCopy() *AgentSpecResource

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

func (*AgentSpecResource) DeepCopyInto

func (in *AgentSpecResource) DeepCopyInto(out *AgentSpecResource)

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

type AgentStatus

type AgentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AgentStatus) DeepCopy

func (in *AgentStatus) DeepCopy() *AgentStatus

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

func (*AgentStatus) DeepCopyInto

func (in *AgentStatus) DeepCopyInto(out *AgentStatus)

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

type CxAgent

type CxAgent struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CxAgentSpec   `json:"spec,omitempty"`
	Status            CxAgentStatus `json:"status,omitempty"`
}

func (*CxAgent) DeepCopy

func (in *CxAgent) DeepCopy() *CxAgent

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

func (*CxAgent) DeepCopyInto

func (in *CxAgent) DeepCopyInto(out *CxAgent)

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

func (*CxAgent) DeepCopyObject

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

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

func (*CxAgent) SetupWebhookWithManager

func (r *CxAgent) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CxAgent) ValidateCreate

func (r *CxAgent) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CxAgent) ValidateDelete

func (r *CxAgent) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CxAgent) ValidateUpdate

func (r *CxAgent) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CxAgentList

type CxAgentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CxAgent CRD objects
	Items []CxAgent `json:"items,omitempty"`
}

CxAgentList is a list of CxAgents

func (*CxAgentList) DeepCopy

func (in *CxAgentList) DeepCopy() *CxAgentList

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

func (*CxAgentList) DeepCopyInto

func (in *CxAgentList) DeepCopyInto(out *CxAgentList)

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

func (*CxAgentList) DeepCopyObject

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

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

type CxAgentSpec

type CxAgentSpec struct {
	State *CxAgentSpecResource `json:"state,omitempty" tf:"-"`

	Resource CxAgentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CxAgentSpec) DeepCopy

func (in *CxAgentSpec) DeepCopy() *CxAgentSpec

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

func (*CxAgentSpec) DeepCopyInto

func (in *CxAgentSpec) DeepCopyInto(out *CxAgentSpec)

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

type CxAgentSpecResource

type CxAgentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
	// +optional
	AvatarURI *string `json:"avatarURI,omitempty" tf:"avatar_uri"`
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode *string `json:"defaultLanguageCode" tf:"default_language_code"`
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The human-readable name of the agent, unique within the location.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// Indicates if automatic spell correction is enabled in detect intent requests.
	// +optional
	EnableSpellCorrection *bool `json:"enableSpellCorrection,omitempty" tf:"enable_spell_correction"`
	// Determines whether this agent should log conversation queries.
	// +optional
	EnableStackdriverLogging *bool `json:"enableStackdriverLogging,omitempty" tf:"enable_stackdriver_logging"`
	// The name of the location this agent is located in.
	//
	// ~> **Note:** The first time you are deploying an Agent in your project you must configure location settings.
	//  This is a one time step but at the moment you can only [configure location settings](https://cloud.google.com/dialogflow/cx/docs/concept/region#location-settings) via the Dialogflow CX console.
	//  Another options is to use global location so you don't need to manually configure location settings.
	Location *string `json:"location" tf:"location"`
	// The unique identifier of the agent.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.
	// +optional
	SecuritySettings *string `json:"securitySettings,omitempty" tf:"security_settings"`
	// Settings related to speech recognition.
	// +optional
	SpeechToTextSettings *CxAgentSpecSpeechToTextSettings `json:"speechToTextSettings,omitempty" tf:"speech_to_text_settings"`
	// Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	StartFlow *string `json:"startFlow,omitempty" tf:"start_flow"`
	// The list of all languages supported by this agent (except for the default_language_code).
	// +optional
	SupportedLanguageCodes []string `json:"supportedLanguageCodes,omitempty" tf:"supported_language_codes"`
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone *string `json:"timeZone" tf:"time_zone"`
}

func (*CxAgentSpecResource) DeepCopy

func (in *CxAgentSpecResource) DeepCopy() *CxAgentSpecResource

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

func (*CxAgentSpecResource) DeepCopyInto

func (in *CxAgentSpecResource) DeepCopyInto(out *CxAgentSpecResource)

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

type CxAgentSpecSpeechToTextSettings

type CxAgentSpecSpeechToTextSettings struct {
	// Whether to use speech adaptation for speech recognition.
	// +optional
	EnableSpeechAdaptation *bool `json:"enableSpeechAdaptation,omitempty" tf:"enable_speech_adaptation"`
}

func (*CxAgentSpecSpeechToTextSettings) DeepCopy

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

func (*CxAgentSpecSpeechToTextSettings) DeepCopyInto

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

type CxAgentSpecSpeechToTextSettingsCodec

type CxAgentSpecSpeechToTextSettingsCodec struct {
}

+k8s:deepcopy-gen=false

func (CxAgentSpecSpeechToTextSettingsCodec) Decode

func (CxAgentSpecSpeechToTextSettingsCodec) Encode

func (CxAgentSpecSpeechToTextSettingsCodec) IsEmpty

type CxAgentStatus

type CxAgentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CxAgentStatus) DeepCopy

func (in *CxAgentStatus) DeepCopy() *CxAgentStatus

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

func (*CxAgentStatus) DeepCopyInto

func (in *CxAgentStatus) DeepCopyInto(out *CxAgentStatus)

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

type CxEntityType added in v0.4.0

type CxEntityType struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CxEntityTypeSpec   `json:"spec,omitempty"`
	Status            CxEntityTypeStatus `json:"status,omitempty"`
}

func (*CxEntityType) DeepCopy added in v0.4.0

func (in *CxEntityType) DeepCopy() *CxEntityType

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

func (*CxEntityType) DeepCopyInto added in v0.4.0

func (in *CxEntityType) DeepCopyInto(out *CxEntityType)

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

func (*CxEntityType) DeepCopyObject added in v0.4.0

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

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

func (*CxEntityType) SetupWebhookWithManager added in v0.4.0

func (r *CxEntityType) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CxEntityType) ValidateCreate added in v0.4.0

func (r *CxEntityType) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CxEntityType) ValidateDelete added in v0.4.0

func (r *CxEntityType) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CxEntityType) ValidateUpdate added in v0.4.0

func (r *CxEntityType) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CxEntityTypeList added in v0.4.0

type CxEntityTypeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CxEntityType CRD objects
	Items []CxEntityType `json:"items,omitempty"`
}

CxEntityTypeList is a list of CxEntityTypes

func (*CxEntityTypeList) DeepCopy added in v0.4.0

func (in *CxEntityTypeList) DeepCopy() *CxEntityTypeList

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

func (*CxEntityTypeList) DeepCopyInto added in v0.4.0

func (in *CxEntityTypeList) DeepCopyInto(out *CxEntityTypeList)

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

func (*CxEntityTypeList) DeepCopyObject added in v0.4.0

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

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

type CxEntityTypeSpec added in v0.4.0

type CxEntityTypeSpec struct {
	State *CxEntityTypeSpecResource `json:"state,omitempty" tf:"-"`

	Resource CxEntityTypeSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CxEntityTypeSpec) DeepCopy added in v0.4.0

func (in *CxEntityTypeSpec) DeepCopy() *CxEntityTypeSpec

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

func (*CxEntityTypeSpec) DeepCopyInto added in v0.4.0

func (in *CxEntityTypeSpec) DeepCopyInto(out *CxEntityTypeSpec)

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

type CxEntityTypeSpecEntities added in v0.4.0

type CxEntityTypeSpecEntities struct {
	// A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions.
	// For KIND_LIST entity types: This collection must contain exactly one synonym equal to value.
	// +optional
	Synonyms []string `json:"synonyms,omitempty" tf:"synonyms"`
	// The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions.
	// For KIND_MAP entity types: A canonical value to be used in place of synonyms.
	// For KIND_LIST entity types: A string that can contain references to other entity types (with or without aliases).
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*CxEntityTypeSpecEntities) DeepCopy added in v0.4.0

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

func (*CxEntityTypeSpecEntities) DeepCopyInto added in v0.4.0

func (in *CxEntityTypeSpecEntities) DeepCopyInto(out *CxEntityTypeSpecEntities)

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

type CxEntityTypeSpecExcludedPhrases added in v0.4.0

type CxEntityTypeSpecExcludedPhrases struct {
	// The word or phrase to be excluded.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*CxEntityTypeSpecExcludedPhrases) DeepCopy added in v0.4.0

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

func (*CxEntityTypeSpecExcludedPhrases) DeepCopyInto added in v0.4.0

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

type CxEntityTypeSpecResource added in v0.4.0

type CxEntityTypeSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// Represents kinds of entities.
	// * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity.
	// * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity. Possible values: ["AUTO_EXPANSION_MODE_DEFAULT", "AUTO_EXPANSION_MODE_UNSPECIFIED"]
	// +optional
	AutoExpansionMode *string `json:"autoExpansionMode,omitempty" tf:"auto_expansion_mode"`
	// The human-readable name of the entity type, unique within the agent.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// Enables fuzzy entity extraction during classification.
	// +optional
	EnableFuzzyExtraction *bool `json:"enableFuzzyExtraction,omitempty" tf:"enable_fuzzy_extraction"`
	// The collection of entity entries associated with the entity type.
	Entities []CxEntityTypeSpecEntities `json:"entities" tf:"entities"`
	// Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion.
	// If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive.
	// +optional
	ExcludedPhrases []CxEntityTypeSpecExcludedPhrases `json:"excludedPhrases,omitempty" tf:"excluded_phrases"`
	// Indicates whether the entity type can be automatically expanded.
	// * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value.
	// * KIND_LIST: List entity types contain a set of entries that do not map to canonical values. However, list entity types can contain references to other entity types (with or without aliases).
	// * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. Possible values: ["KIND_MAP", "KIND_LIST", "KIND_REGEXP"]
	Kind *string `json:"kind" tf:"kind"`
	// The language of the following fields in entityType:
	// EntityType.entities.value
	// EntityType.entities.synonyms
	// EntityType.excluded_phrases.value
	// If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
	// +optional
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code"`
	// The unique identifier of the entity type.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The agent to create a entity type for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	// +optional
	Parent *string `json:"parent,omitempty" tf:"parent"`
	// Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
	// +optional
	Redact *bool `json:"redact,omitempty" tf:"redact"`
}

func (*CxEntityTypeSpecResource) DeepCopy added in v0.4.0

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

func (*CxEntityTypeSpecResource) DeepCopyInto added in v0.4.0

func (in *CxEntityTypeSpecResource) DeepCopyInto(out *CxEntityTypeSpecResource)

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

type CxEntityTypeStatus added in v0.4.0

type CxEntityTypeStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CxEntityTypeStatus) DeepCopy added in v0.4.0

func (in *CxEntityTypeStatus) DeepCopy() *CxEntityTypeStatus

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

func (*CxEntityTypeStatus) DeepCopyInto added in v0.4.0

func (in *CxEntityTypeStatus) DeepCopyInto(out *CxEntityTypeStatus)

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

type CxEnvironment added in v0.4.0

type CxEnvironment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CxEnvironmentSpec   `json:"spec,omitempty"`
	Status            CxEnvironmentStatus `json:"status,omitempty"`
}

func (*CxEnvironment) DeepCopy added in v0.4.0

func (in *CxEnvironment) DeepCopy() *CxEnvironment

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

func (*CxEnvironment) DeepCopyInto added in v0.4.0

func (in *CxEnvironment) DeepCopyInto(out *CxEnvironment)

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

func (*CxEnvironment) DeepCopyObject added in v0.4.0

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

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

func (*CxEnvironment) SetupWebhookWithManager added in v0.4.0

func (r *CxEnvironment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CxEnvironment) ValidateCreate added in v0.4.0

func (r *CxEnvironment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CxEnvironment) ValidateDelete added in v0.4.0

func (r *CxEnvironment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CxEnvironment) ValidateUpdate added in v0.4.0

func (r *CxEnvironment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CxEnvironmentList added in v0.4.0

type CxEnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CxEnvironment CRD objects
	Items []CxEnvironment `json:"items,omitempty"`
}

CxEnvironmentList is a list of CxEnvironments

func (*CxEnvironmentList) DeepCopy added in v0.4.0

func (in *CxEnvironmentList) DeepCopy() *CxEnvironmentList

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

func (*CxEnvironmentList) DeepCopyInto added in v0.4.0

func (in *CxEnvironmentList) DeepCopyInto(out *CxEnvironmentList)

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

func (*CxEnvironmentList) DeepCopyObject added in v0.4.0

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

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

type CxEnvironmentSpec added in v0.4.0

type CxEnvironmentSpec struct {
	State *CxEnvironmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource CxEnvironmentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CxEnvironmentSpec) DeepCopy added in v0.4.0

func (in *CxEnvironmentSpec) DeepCopy() *CxEnvironmentSpec

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

func (*CxEnvironmentSpec) DeepCopyInto added in v0.4.0

func (in *CxEnvironmentSpec) DeepCopyInto(out *CxEnvironmentSpec)

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

type CxEnvironmentSpecResource added in v0.4.0

type CxEnvironmentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The human-readable name of the environment (unique in an agent). Limit of 64 characters.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// The name of the environment.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The Agent to create an Environment for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	// +optional
	Parent *string `json:"parent,omitempty" tf:"parent"`
	// Update time of this environment. 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".
	// +optional
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time"`
	// A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned.
	VersionConfigs []CxEnvironmentSpecVersionConfigs `json:"versionConfigs" tf:"version_configs"`
}

func (*CxEnvironmentSpecResource) DeepCopy added in v0.4.0

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

func (*CxEnvironmentSpecResource) DeepCopyInto added in v0.4.0

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

type CxEnvironmentSpecVersionConfigs added in v0.4.0

type CxEnvironmentSpecVersionConfigs struct {
	// Format: projects/{{project}}/locations/{{location}}/agents/{{agent}}/flows/{{flow}}/versions/{{version}}.
	Version *string `json:"version" tf:"version"`
}

func (*CxEnvironmentSpecVersionConfigs) DeepCopy added in v0.4.0

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

func (*CxEnvironmentSpecVersionConfigs) DeepCopyInto added in v0.4.0

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

type CxEnvironmentStatus added in v0.4.0

type CxEnvironmentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CxEnvironmentStatus) DeepCopy added in v0.4.0

func (in *CxEnvironmentStatus) DeepCopy() *CxEnvironmentStatus

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

func (*CxEnvironmentStatus) DeepCopyInto added in v0.4.0

func (in *CxEnvironmentStatus) DeepCopyInto(out *CxEnvironmentStatus)

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

type CxFlow added in v0.4.0

type CxFlow struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CxFlowSpec   `json:"spec,omitempty"`
	Status            CxFlowStatus `json:"status,omitempty"`
}

func (*CxFlow) DeepCopy added in v0.4.0

func (in *CxFlow) DeepCopy() *CxFlow

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

func (*CxFlow) DeepCopyInto added in v0.4.0

func (in *CxFlow) DeepCopyInto(out *CxFlow)

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

func (*CxFlow) DeepCopyObject added in v0.4.0

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

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

func (*CxFlow) SetupWebhookWithManager added in v0.4.0

func (r *CxFlow) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CxFlow) ValidateCreate added in v0.4.0

func (r *CxFlow) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CxFlow) ValidateDelete added in v0.4.0

func (r *CxFlow) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CxFlow) ValidateUpdate added in v0.4.0

func (r *CxFlow) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CxFlowList added in v0.4.0

type CxFlowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CxFlow CRD objects
	Items []CxFlow `json:"items,omitempty"`
}

CxFlowList is a list of CxFlows

func (*CxFlowList) DeepCopy added in v0.4.0

func (in *CxFlowList) DeepCopy() *CxFlowList

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

func (*CxFlowList) DeepCopyInto added in v0.4.0

func (in *CxFlowList) DeepCopyInto(out *CxFlowList)

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

func (*CxFlowList) DeepCopyObject added in v0.4.0

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

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

type CxFlowSpec added in v0.4.0

type CxFlowSpec struct {
	State *CxFlowSpecResource `json:"state,omitempty" tf:"-"`

	Resource CxFlowSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CxFlowSpec) DeepCopy added in v0.4.0

func (in *CxFlowSpec) DeepCopy() *CxFlowSpec

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

func (*CxFlowSpec) DeepCopyInto added in v0.4.0

func (in *CxFlowSpec) DeepCopyInto(out *CxFlowSpec)

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

type CxFlowSpecEventHandlers added in v0.4.0

type CxFlowSpecEventHandlers struct {
	// The name of the event to handle.
	// +optional
	Event *string `json:"event,omitempty" tf:"event"`
	// The unique identifier of this event handler.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	TargetFlow *string `json:"targetFlow,omitempty" tf:"target_flow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	// +optional
	TargetPage *string `json:"targetPage,omitempty" tf:"target_page"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// +optional
	TriggerFulfillment *CxFlowSpecEventHandlersTriggerFulfillment `json:"triggerFulfillment,omitempty" tf:"trigger_fulfillment"`
}

func (*CxFlowSpecEventHandlers) DeepCopy added in v0.4.0

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

func (*CxFlowSpecEventHandlers) DeepCopyInto added in v0.4.0

func (in *CxFlowSpecEventHandlers) DeepCopyInto(out *CxFlowSpecEventHandlers)

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

type CxFlowSpecEventHandlersTriggerFulfillment added in v0.4.0

type CxFlowSpecEventHandlersTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// +optional
	Messages []CxFlowSpecEventHandlersTriggerFulfillmentMessages `json:"messages,omitempty" tf:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	// +optional
	ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	// +optional
	Webhook *string `json:"webhook,omitempty" tf:"webhook"`
}

func (*CxFlowSpecEventHandlersTriggerFulfillment) DeepCopy added in v0.4.0

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

func (*CxFlowSpecEventHandlersTriggerFulfillment) DeepCopyInto added in v0.4.0

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

type CxFlowSpecEventHandlersTriggerFulfillmentCodec added in v0.4.0

type CxFlowSpecEventHandlersTriggerFulfillmentCodec struct {
}

+k8s:deepcopy-gen=false

func (CxFlowSpecEventHandlersTriggerFulfillmentCodec) Decode added in v0.4.0

func (CxFlowSpecEventHandlersTriggerFulfillmentCodec) Encode added in v0.4.0

func (CxFlowSpecEventHandlersTriggerFulfillmentCodec) IsEmpty added in v0.4.0

type CxFlowSpecEventHandlersTriggerFulfillmentMessages added in v0.4.0

type CxFlowSpecEventHandlersTriggerFulfillmentMessages struct {
	// The text response message.
	// +optional
	Text *CxFlowSpecEventHandlersTriggerFulfillmentMessagesText `json:"text,omitempty" tf:"text"`
}

func (*CxFlowSpecEventHandlersTriggerFulfillmentMessages) DeepCopy added in v0.4.0

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

func (*CxFlowSpecEventHandlersTriggerFulfillmentMessages) DeepCopyInto added in v0.4.0

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

type CxFlowSpecEventHandlersTriggerFulfillmentMessagesText added in v0.4.0

type CxFlowSpecEventHandlersTriggerFulfillmentMessagesText struct {
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	// +optional
	AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption"`
	// A collection of text responses.
	// +optional
	Text []string `json:"text,omitempty" tf:"text"`
}

func (*CxFlowSpecEventHandlersTriggerFulfillmentMessagesText) DeepCopy added in v0.4.0

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

func (*CxFlowSpecEventHandlersTriggerFulfillmentMessagesText) DeepCopyInto added in v0.4.0

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

type CxFlowSpecEventHandlersTriggerFulfillmentMessagesTextCodec added in v0.4.0

type CxFlowSpecEventHandlersTriggerFulfillmentMessagesTextCodec struct {
}

+k8s:deepcopy-gen=false

func (CxFlowSpecEventHandlersTriggerFulfillmentMessagesTextCodec) Decode added in v0.4.0

func (CxFlowSpecEventHandlersTriggerFulfillmentMessagesTextCodec) Encode added in v0.4.0

func (CxFlowSpecEventHandlersTriggerFulfillmentMessagesTextCodec) IsEmpty added in v0.4.0

type CxFlowSpecNluSettings added in v0.4.0

type CxFlowSpecNluSettings struct {
	// To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold.
	// If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
	// +optional
	ClassificationThreshold *float64 `json:"classificationThreshold,omitempty" tf:"classification_threshold"`
	// Indicates NLU model training mode.
	// * MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
	// * MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values: ["MODEL_TRAINING_MODE_AUTOMATIC", "MODEL_TRAINING_MODE_MANUAL"]
	// +optional
	ModelTrainingMode *string `json:"modelTrainingMode,omitempty" tf:"model_training_mode"`
	// Indicates the type of NLU model.
	// * MODEL_TYPE_STANDARD: Use standard NLU model.
	// * MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values: ["MODEL_TYPE_STANDARD", "MODEL_TYPE_ADVANCED"]
	// +optional
	ModelType *string `json:"modelType,omitempty" tf:"model_type"`
}

func (*CxFlowSpecNluSettings) DeepCopy added in v0.4.0

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

func (*CxFlowSpecNluSettings) DeepCopyInto added in v0.4.0

func (in *CxFlowSpecNluSettings) DeepCopyInto(out *CxFlowSpecNluSettings)

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

type CxFlowSpecNluSettingsCodec added in v0.4.0

type CxFlowSpecNluSettingsCodec struct {
}

+k8s:deepcopy-gen=false

func (CxFlowSpecNluSettingsCodec) Decode added in v0.4.0

func (CxFlowSpecNluSettingsCodec) Encode added in v0.4.0

func (CxFlowSpecNluSettingsCodec) IsEmpty added in v0.4.0

type CxFlowSpecResource added in v0.4.0

type CxFlowSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The human-readable name of the flow.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// A flow's event handlers serve two purposes:
	// They are responsible for handling events (e.g. no match, webhook errors) in the flow.
	// They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
	// Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
	// +optional
	EventHandlers []CxFlowSpecEventHandlers `json:"eventHandlers,omitempty" tf:"event_handlers"`
	// The language of the following fields in flow:
	// Flow.event_handlers.trigger_fulfillment.messages
	// Flow.event_handlers.trigger_fulfillment.conditional_cases
	// Flow.transition_routes.trigger_fulfillment.messages
	// Flow.transition_routes.trigger_fulfillment.conditional_cases
	// If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
	// +optional
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code"`
	// The unique identifier of the flow.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// NLU related settings of the flow.
	// +optional
	NluSettings *CxFlowSpecNluSettings `json:"nluSettings,omitempty" tf:"nlu_settings"`
	// The agent to create a flow for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	// +optional
	Parent *string `json:"parent,omitempty" tf:"parent"`
	// A flow's transition route group serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	// +optional
	TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty" tf:"transition_route_groups"`
	// A flow's transition routes serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow.
	//
	// TransitionRoutes are evalauted in the following order:
	//   TransitionRoutes with intent specified.
	//   TransitionRoutes with only condition specified.
	//   TransitionRoutes with intent specified are inherited by pages in the flow.
	// +optional
	TransitionRoutes []CxFlowSpecTransitionRoutes `json:"transitionRoutes,omitempty" tf:"transition_routes"`
}

func (*CxFlowSpecResource) DeepCopy added in v0.4.0

func (in *CxFlowSpecResource) DeepCopy() *CxFlowSpecResource

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

func (*CxFlowSpecResource) DeepCopyInto added in v0.4.0

func (in *CxFlowSpecResource) DeepCopyInto(out *CxFlowSpecResource)

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

type CxFlowSpecTransitionRoutes added in v0.4.0

type CxFlowSpecTransitionRoutes struct {
	// The condition to evaluate against form parameters or session parameters.
	// At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	// +optional
	Condition *string `json:"condition,omitempty" tf:"condition"`
	// The unique identifier of an Intent.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	// +optional
	Intent *string `json:"intent,omitempty" tf:"intent"`
	// The unique identifier of this transition route.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	TargetFlow *string `json:"targetFlow,omitempty" tf:"target_flow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	// +optional
	TargetPage *string `json:"targetPage,omitempty" tf:"target_page"`
	// The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first.
	// +optional
	TriggerFulfillment *CxFlowSpecTransitionRoutesTriggerFulfillment `json:"triggerFulfillment,omitempty" tf:"trigger_fulfillment"`
}

func (*CxFlowSpecTransitionRoutes) DeepCopy added in v0.4.0

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

func (*CxFlowSpecTransitionRoutes) DeepCopyInto added in v0.4.0

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

type CxFlowSpecTransitionRoutesTriggerFulfillment added in v0.4.0

type CxFlowSpecTransitionRoutesTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// +optional
	Messages []CxFlowSpecTransitionRoutesTriggerFulfillmentMessages `json:"messages,omitempty" tf:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	// +optional
	ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	// +optional
	Webhook *string `json:"webhook,omitempty" tf:"webhook"`
}

func (*CxFlowSpecTransitionRoutesTriggerFulfillment) DeepCopy added in v0.4.0

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

func (*CxFlowSpecTransitionRoutesTriggerFulfillment) DeepCopyInto added in v0.4.0

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

type CxFlowSpecTransitionRoutesTriggerFulfillmentCodec added in v0.4.0

type CxFlowSpecTransitionRoutesTriggerFulfillmentCodec struct {
}

+k8s:deepcopy-gen=false

func (CxFlowSpecTransitionRoutesTriggerFulfillmentCodec) Decode added in v0.4.0

func (CxFlowSpecTransitionRoutesTriggerFulfillmentCodec) Encode added in v0.4.0

func (CxFlowSpecTransitionRoutesTriggerFulfillmentCodec) IsEmpty added in v0.4.0

type CxFlowSpecTransitionRoutesTriggerFulfillmentMessages added in v0.4.0

type CxFlowSpecTransitionRoutesTriggerFulfillmentMessages struct {
	// The text response message.
	// +optional
	Text *CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesText `json:"text,omitempty" tf:"text"`
}

func (*CxFlowSpecTransitionRoutesTriggerFulfillmentMessages) DeepCopy added in v0.4.0

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

func (*CxFlowSpecTransitionRoutesTriggerFulfillmentMessages) DeepCopyInto added in v0.4.0

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

type CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesText added in v0.4.0

type CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesText struct {
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	// +optional
	AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption"`
	// A collection of text responses.
	// +optional
	Text []string `json:"text,omitempty" tf:"text"`
}

func (*CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesText) DeepCopy added in v0.4.0

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

func (*CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesText) DeepCopyInto added in v0.4.0

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

type CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec added in v0.4.0

type CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec struct {
}

+k8s:deepcopy-gen=false

func (CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec) Decode added in v0.4.0

func (CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec) Encode added in v0.4.0

func (CxFlowSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec) IsEmpty added in v0.4.0

type CxFlowStatus added in v0.4.0

type CxFlowStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CxFlowStatus) DeepCopy added in v0.4.0

func (in *CxFlowStatus) DeepCopy() *CxFlowStatus

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

func (*CxFlowStatus) DeepCopyInto added in v0.4.0

func (in *CxFlowStatus) DeepCopyInto(out *CxFlowStatus)

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

type CxIntent added in v0.4.0

type CxIntent struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CxIntentSpec   `json:"spec,omitempty"`
	Status            CxIntentStatus `json:"status,omitempty"`
}

func (*CxIntent) DeepCopy added in v0.4.0

func (in *CxIntent) DeepCopy() *CxIntent

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

func (*CxIntent) DeepCopyInto added in v0.4.0

func (in *CxIntent) DeepCopyInto(out *CxIntent)

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

func (*CxIntent) DeepCopyObject added in v0.4.0

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

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

func (*CxIntent) SetupWebhookWithManager added in v0.4.0

func (r *CxIntent) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CxIntent) ValidateCreate added in v0.4.0

func (r *CxIntent) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CxIntent) ValidateDelete added in v0.4.0

func (r *CxIntent) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CxIntent) ValidateUpdate added in v0.4.0

func (r *CxIntent) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CxIntentList added in v0.4.0

type CxIntentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CxIntent CRD objects
	Items []CxIntent `json:"items,omitempty"`
}

CxIntentList is a list of CxIntents

func (*CxIntentList) DeepCopy added in v0.4.0

func (in *CxIntentList) DeepCopy() *CxIntentList

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

func (*CxIntentList) DeepCopyInto added in v0.4.0

func (in *CxIntentList) DeepCopyInto(out *CxIntentList)

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

func (*CxIntentList) DeepCopyObject added in v0.4.0

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

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

type CxIntentSpec added in v0.4.0

type CxIntentSpec struct {
	State *CxIntentSpecResource `json:"state,omitempty" tf:"-"`

	Resource CxIntentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CxIntentSpec) DeepCopy added in v0.4.0

func (in *CxIntentSpec) DeepCopy() *CxIntentSpec

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

func (*CxIntentSpec) DeepCopyInto added in v0.4.0

func (in *CxIntentSpec) DeepCopyInto(out *CxIntentSpec)

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

type CxIntentSpecParameters added in v0.4.0

type CxIntentSpecParameters struct {
	// The entity type of the parameter.
	// Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
	EntityType *string `json:"entityType" tf:"entity_type"`
	// The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
	ID *string `json:"ID" tf:"id"`
	// Indicates whether the parameter represents a list of values.
	// +optional
	IsList *bool `json:"isList,omitempty" tf:"is_list"`
	// Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging.
	// Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
	// +optional
	Redact *bool `json:"redact,omitempty" tf:"redact"`
}

func (*CxIntentSpecParameters) DeepCopy added in v0.4.0

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

func (*CxIntentSpecParameters) DeepCopyInto added in v0.4.0

func (in *CxIntentSpecParameters) DeepCopyInto(out *CxIntentSpecParameters)

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

type CxIntentSpecResource added in v0.4.0

type CxIntentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The human-readable name of the intent, unique within the agent.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation.
	// Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
	// +optional
	IsFallback *bool `json:"isFallback,omitempty" tf:"is_fallback"`
	// The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes.
	// Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent.
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// The language of the following fields in intent:
	// Intent.training_phrases.parts.text
	// If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
	// +optional
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code"`
	// The unique identifier of the intent.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The collection of parameters associated with the intent.
	// +optional
	Parameters []CxIntentSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// The agent to create an intent for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	// +optional
	Parent *string `json:"parent,omitempty" tf:"parent"`
	// The priority of this intent. Higher numbers represent higher priorities.
	// If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the Normal priority in the console.
	// If the supplied value is negative, the intent is ignored in runtime detect intent requests.
	// +optional
	Priority *int64 `json:"priority,omitempty" tf:"priority"`
	// The collection of training phrases the agent is trained on to identify the intent.
	// +optional
	TrainingPhrases []CxIntentSpecTrainingPhrases `json:"trainingPhrases,omitempty" tf:"training_phrases"`
}

func (*CxIntentSpecResource) DeepCopy added in v0.4.0

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

func (*CxIntentSpecResource) DeepCopyInto added in v0.4.0

func (in *CxIntentSpecResource) DeepCopyInto(out *CxIntentSpecResource)

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

type CxIntentSpecTrainingPhrases added in v0.4.0

type CxIntentSpecTrainingPhrases struct {
	// The unique identifier of the training phrase.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase.
	// Note: The API does not automatically annotate training phrases like the Dialogflow Console does.
	// Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated.
	// If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set.
	// If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways:
	// Part.text is set to a part of the phrase that has no parameters.
	// Part.text is set to a part of the phrase that you want to annotate, and the parameterId field is set.
	Parts []CxIntentSpecTrainingPhrasesParts `json:"parts" tf:"parts"`
	// Indicates how many times this example was added to the intent.
	// +optional
	RepeatCount *int64 `json:"repeatCount,omitempty" tf:"repeat_count"`
}

func (*CxIntentSpecTrainingPhrases) DeepCopy added in v0.4.0

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

func (*CxIntentSpecTrainingPhrases) DeepCopyInto added in v0.4.0

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

type CxIntentSpecTrainingPhrasesParts added in v0.4.0

type CxIntentSpecTrainingPhrasesParts struct {
	// The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
	// +optional
	ParameterID *string `json:"parameterID,omitempty" tf:"parameter_id"`
	// The text for this part.
	Text *string `json:"text" tf:"text"`
}

func (*CxIntentSpecTrainingPhrasesParts) DeepCopy added in v0.4.0

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

func (*CxIntentSpecTrainingPhrasesParts) DeepCopyInto added in v0.4.0

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

type CxIntentStatus added in v0.4.0

type CxIntentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CxIntentStatus) DeepCopy added in v0.4.0

func (in *CxIntentStatus) DeepCopy() *CxIntentStatus

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

func (*CxIntentStatus) DeepCopyInto added in v0.4.0

func (in *CxIntentStatus) DeepCopyInto(out *CxIntentStatus)

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

type CxPage added in v0.4.0

type CxPage struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CxPageSpec   `json:"spec,omitempty"`
	Status            CxPageStatus `json:"status,omitempty"`
}

func (*CxPage) DeepCopy added in v0.4.0

func (in *CxPage) DeepCopy() *CxPage

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

func (*CxPage) DeepCopyInto added in v0.4.0

func (in *CxPage) DeepCopyInto(out *CxPage)

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

func (*CxPage) DeepCopyObject added in v0.4.0

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

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

func (*CxPage) SetupWebhookWithManager added in v0.4.0

func (r *CxPage) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CxPage) ValidateCreate added in v0.4.0

func (r *CxPage) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CxPage) ValidateDelete added in v0.4.0

func (r *CxPage) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CxPage) ValidateUpdate added in v0.4.0

func (r *CxPage) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CxPageList added in v0.4.0

type CxPageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CxPage CRD objects
	Items []CxPage `json:"items,omitempty"`
}

CxPageList is a list of CxPages

func (*CxPageList) DeepCopy added in v0.4.0

func (in *CxPageList) DeepCopy() *CxPageList

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

func (*CxPageList) DeepCopyInto added in v0.4.0

func (in *CxPageList) DeepCopyInto(out *CxPageList)

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

func (*CxPageList) DeepCopyObject added in v0.4.0

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

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

type CxPageSpec added in v0.4.0

type CxPageSpec struct {
	State *CxPageSpecResource `json:"state,omitempty" tf:"-"`

	Resource CxPageSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CxPageSpec) DeepCopy added in v0.4.0

func (in *CxPageSpec) DeepCopy() *CxPageSpec

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

func (*CxPageSpec) DeepCopyInto added in v0.4.0

func (in *CxPageSpec) DeepCopyInto(out *CxPageSpec)

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

type CxPageSpecEntryFulfillment added in v0.4.0

type CxPageSpecEntryFulfillment struct {
	// The list of rich message responses to present to the user.
	// +optional
	Messages []CxPageSpecEntryFulfillmentMessages `json:"messages,omitempty" tf:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	// +optional
	ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	// +optional
	Webhook *string `json:"webhook,omitempty" tf:"webhook"`
}

func (*CxPageSpecEntryFulfillment) DeepCopy added in v0.4.0

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

func (*CxPageSpecEntryFulfillment) DeepCopyInto added in v0.4.0

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

type CxPageSpecEntryFulfillmentCodec added in v0.4.0

type CxPageSpecEntryFulfillmentCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecEntryFulfillmentCodec) Decode added in v0.4.0

func (CxPageSpecEntryFulfillmentCodec) Encode added in v0.4.0

func (CxPageSpecEntryFulfillmentCodec) IsEmpty added in v0.4.0

type CxPageSpecEntryFulfillmentMessages added in v0.4.0

type CxPageSpecEntryFulfillmentMessages struct {
	// The text response message.
	// +optional
	Text *CxPageSpecEntryFulfillmentMessagesText `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecEntryFulfillmentMessages) DeepCopy added in v0.4.0

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

func (*CxPageSpecEntryFulfillmentMessages) DeepCopyInto added in v0.4.0

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

type CxPageSpecEntryFulfillmentMessagesText added in v0.4.0

type CxPageSpecEntryFulfillmentMessagesText struct {
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	// +optional
	AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption"`
	// A collection of text responses.
	// +optional
	Text []string `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecEntryFulfillmentMessagesText) DeepCopy added in v0.4.0

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

func (*CxPageSpecEntryFulfillmentMessagesText) DeepCopyInto added in v0.4.0

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

type CxPageSpecEntryFulfillmentMessagesTextCodec added in v0.4.0

type CxPageSpecEntryFulfillmentMessagesTextCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecEntryFulfillmentMessagesTextCodec) Decode added in v0.4.0

func (CxPageSpecEntryFulfillmentMessagesTextCodec) Encode added in v0.4.0

func (CxPageSpecEntryFulfillmentMessagesTextCodec) IsEmpty added in v0.4.0

type CxPageSpecEventHandlers added in v0.4.0

type CxPageSpecEventHandlers struct {
	// The name of the event to handle.
	// +optional
	Event *string `json:"event,omitempty" tf:"event"`
	// The unique identifier of this event handler.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	TargetFlow *string `json:"targetFlow,omitempty" tf:"target_flow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	// +optional
	TargetPage *string `json:"targetPage,omitempty" tf:"target_page"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// +optional
	TriggerFulfillment *CxPageSpecEventHandlersTriggerFulfillment `json:"triggerFulfillment,omitempty" tf:"trigger_fulfillment"`
}

func (*CxPageSpecEventHandlers) DeepCopy added in v0.4.0

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

func (*CxPageSpecEventHandlers) DeepCopyInto added in v0.4.0

func (in *CxPageSpecEventHandlers) DeepCopyInto(out *CxPageSpecEventHandlers)

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

type CxPageSpecEventHandlersTriggerFulfillment added in v0.4.0

type CxPageSpecEventHandlersTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// +optional
	Messages []CxPageSpecEventHandlersTriggerFulfillmentMessages `json:"messages,omitempty" tf:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	// +optional
	ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	// +optional
	Webhook *string `json:"webhook,omitempty" tf:"webhook"`
}

func (*CxPageSpecEventHandlersTriggerFulfillment) DeepCopy added in v0.4.0

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

func (*CxPageSpecEventHandlersTriggerFulfillment) DeepCopyInto added in v0.4.0

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

type CxPageSpecEventHandlersTriggerFulfillmentCodec added in v0.4.0

type CxPageSpecEventHandlersTriggerFulfillmentCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecEventHandlersTriggerFulfillmentCodec) Decode added in v0.4.0

func (CxPageSpecEventHandlersTriggerFulfillmentCodec) Encode added in v0.4.0

func (CxPageSpecEventHandlersTriggerFulfillmentCodec) IsEmpty added in v0.4.0

type CxPageSpecEventHandlersTriggerFulfillmentMessages added in v0.4.0

type CxPageSpecEventHandlersTriggerFulfillmentMessages struct {
	// The text response message.
	// +optional
	Text *CxPageSpecEventHandlersTriggerFulfillmentMessagesText `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecEventHandlersTriggerFulfillmentMessages) DeepCopy added in v0.4.0

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

func (*CxPageSpecEventHandlersTriggerFulfillmentMessages) DeepCopyInto added in v0.4.0

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

type CxPageSpecEventHandlersTriggerFulfillmentMessagesText added in v0.4.0

type CxPageSpecEventHandlersTriggerFulfillmentMessagesText struct {
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	// +optional
	AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption"`
	// A collection of text responses.
	// +optional
	Text []string `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecEventHandlersTriggerFulfillmentMessagesText) DeepCopy added in v0.4.0

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

func (*CxPageSpecEventHandlersTriggerFulfillmentMessagesText) DeepCopyInto added in v0.4.0

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

type CxPageSpecEventHandlersTriggerFulfillmentMessagesTextCodec added in v0.4.0

type CxPageSpecEventHandlersTriggerFulfillmentMessagesTextCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecEventHandlersTriggerFulfillmentMessagesTextCodec) Decode added in v0.4.0

func (CxPageSpecEventHandlersTriggerFulfillmentMessagesTextCodec) Encode added in v0.4.0

func (CxPageSpecEventHandlersTriggerFulfillmentMessagesTextCodec) IsEmpty added in v0.4.0

type CxPageSpecForm added in v0.4.0

type CxPageSpecForm struct {
	// Parameters to collect from the user.
	// +optional
	Parameters []CxPageSpecFormParameters `json:"parameters,omitempty" tf:"parameters"`
}

func (*CxPageSpecForm) DeepCopy added in v0.4.0

func (in *CxPageSpecForm) DeepCopy() *CxPageSpecForm

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

func (*CxPageSpecForm) DeepCopyInto added in v0.4.0

func (in *CxPageSpecForm) DeepCopyInto(out *CxPageSpecForm)

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

type CxPageSpecFormCodec added in v0.4.0

type CxPageSpecFormCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecFormCodec) Decode added in v0.4.0

func (CxPageSpecFormCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)

func (CxPageSpecFormCodec) Encode added in v0.4.0

func (CxPageSpecFormCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (CxPageSpecFormCodec) IsEmpty added in v0.4.0

func (CxPageSpecFormCodec) IsEmpty(ptr unsafe.Pointer) bool

type CxPageSpecFormParameters added in v0.4.0

type CxPageSpecFormParameters struct {
	// The human-readable name of the parameter, unique within the form.
	// +optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name"`
	// The entity type of the parameter.
	// Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
	// +optional
	EntityType *string `json:"entityType,omitempty" tf:"entity_type"`
	// Defines fill behavior for the parameter.
	// +optional
	FillBehavior *CxPageSpecFormParametersFillBehavior `json:"fillBehavior,omitempty" tf:"fill_behavior"`
	// Indicates whether the parameter represents a list of values.
	// +optional
	IsList *bool `json:"isList,omitempty" tf:"is_list"`
	// Indicates whether the parameter content should be redacted in log.
	// If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
	// +optional
	Redact *bool `json:"redact,omitempty" tf:"redact"`
	// Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them.
	// Required parameters must be filled before form filling concludes.
	// +optional
	Required *bool `json:"required,omitempty" tf:"required"`
}

func (*CxPageSpecFormParameters) DeepCopy added in v0.4.0

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

func (*CxPageSpecFormParameters) DeepCopyInto added in v0.4.0

func (in *CxPageSpecFormParameters) DeepCopyInto(out *CxPageSpecFormParameters)

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

type CxPageSpecFormParametersFillBehavior added in v0.4.0

type CxPageSpecFormParametersFillBehavior struct {
	// The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter.
	// +optional
	InitialPromptFulfillment *CxPageSpecFormParametersFillBehaviorInitialPromptFulfillment `json:"initialPromptFulfillment,omitempty" tf:"initial_prompt_fulfillment"`
}

func (*CxPageSpecFormParametersFillBehavior) DeepCopy added in v0.4.0

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

func (*CxPageSpecFormParametersFillBehavior) DeepCopyInto added in v0.4.0

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

type CxPageSpecFormParametersFillBehaviorCodec added in v0.4.0

type CxPageSpecFormParametersFillBehaviorCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecFormParametersFillBehaviorCodec) Decode added in v0.4.0

func (CxPageSpecFormParametersFillBehaviorCodec) Encode added in v0.4.0

func (CxPageSpecFormParametersFillBehaviorCodec) IsEmpty added in v0.4.0

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillment added in v0.4.0

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillment struct {
	// The list of rich message responses to present to the user.
	// +optional
	Messages []CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessages `json:"messages,omitempty" tf:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	// +optional
	ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	// +optional
	Webhook *string `json:"webhook,omitempty" tf:"webhook"`
}

func (*CxPageSpecFormParametersFillBehaviorInitialPromptFulfillment) DeepCopy added in v0.4.0

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

func (*CxPageSpecFormParametersFillBehaviorInitialPromptFulfillment) DeepCopyInto added in v0.4.0

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

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentCodec added in v0.4.0

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentCodec) Decode added in v0.4.0

func (CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentCodec) Encode added in v0.4.0

func (CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentCodec) IsEmpty added in v0.4.0

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessages added in v0.4.0

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessages struct {
	// The text response message.
	// +optional
	Text *CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesText `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessages) DeepCopy added in v0.4.0

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

func (*CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessages) DeepCopyInto added in v0.4.0

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

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesText added in v0.4.0

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesText struct {
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	// +optional
	AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption"`
	// A collection of text responses.
	// +optional
	Text []string `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesText) DeepCopy added in v0.4.0

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

func (*CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesText) DeepCopyInto added in v0.4.0

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

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesTextCodec added in v0.4.0

type CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesTextCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesTextCodec) Decode added in v0.4.0

func (CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesTextCodec) Encode added in v0.4.0

func (CxPageSpecFormParametersFillBehaviorInitialPromptFulfillmentMessagesTextCodec) IsEmpty added in v0.4.0

type CxPageSpecResource added in v0.4.0

type CxPageSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// The human-readable name of the page, unique within the agent.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// The fulfillment to call when the session is entering the page.
	// +optional
	EntryFulfillment *CxPageSpecEntryFulfillment `json:"entryFulfillment,omitempty" tf:"entry_fulfillment"`
	// Handlers associated with the page to handle events such as webhook errors, no match or no input.
	// +optional
	EventHandlers []CxPageSpecEventHandlers `json:"eventHandlers,omitempty" tf:"event_handlers"`
	// The form associated with the page, used for collecting parameters relevant to the page.
	// +optional
	Form *CxPageSpecForm `json:"form,omitempty" tf:"form"`
	// The language of the following fields in page:
	//
	// Page.entry_fulfillment.messages
	// Page.entry_fulfillment.conditional_cases
	// Page.event_handlers.trigger_fulfillment.messages
	// Page.event_handlers.trigger_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.messages
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
	// Page.transition_routes.trigger_fulfillment.messages
	// Page.transition_routes.trigger_fulfillment.conditional_cases
	// If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
	// +optional
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code"`
	// The unique identifier of the page.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The flow to create a page for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	Parent *string `json:"parent,omitempty" tf:"parent"`
	// Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page.
	// If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
	// If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	// +optional
	TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty" tf:"transition_route_groups"`
	// A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow.
	// When we are in a certain page, the TransitionRoutes are evalauted in the following order:
	// TransitionRoutes defined in the page with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in flow with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in the page with only condition specified.
	// TransitionRoutes defined in the transition route groups with only condition specified.
	// +optional
	TransitionRoutes []CxPageSpecTransitionRoutes `json:"transitionRoutes,omitempty" tf:"transition_routes"`
}

func (*CxPageSpecResource) DeepCopy added in v0.4.0

func (in *CxPageSpecResource) DeepCopy() *CxPageSpecResource

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

func (*CxPageSpecResource) DeepCopyInto added in v0.4.0

func (in *CxPageSpecResource) DeepCopyInto(out *CxPageSpecResource)

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

type CxPageSpecTransitionRoutes added in v0.4.0

type CxPageSpecTransitionRoutes struct {
	// The condition to evaluate against form parameters or session parameters.
	// At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	// +optional
	Condition *string `json:"condition,omitempty" tf:"condition"`
	// The unique identifier of an Intent.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	// +optional
	Intent *string `json:"intent,omitempty" tf:"intent"`
	// The unique identifier of this transition route.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	TargetFlow *string `json:"targetFlow,omitempty" tf:"target_flow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	// +optional
	TargetPage *string `json:"targetPage,omitempty" tf:"target_page"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// +optional
	TriggerFulfillment *CxPageSpecTransitionRoutesTriggerFulfillment `json:"triggerFulfillment,omitempty" tf:"trigger_fulfillment"`
}

func (*CxPageSpecTransitionRoutes) DeepCopy added in v0.4.0

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

func (*CxPageSpecTransitionRoutes) DeepCopyInto added in v0.4.0

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

type CxPageSpecTransitionRoutesTriggerFulfillment added in v0.4.0

type CxPageSpecTransitionRoutesTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// +optional
	Messages []CxPageSpecTransitionRoutesTriggerFulfillmentMessages `json:"messages,omitempty" tf:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	// +optional
	ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	// +optional
	Webhook *string `json:"webhook,omitempty" tf:"webhook"`
}

func (*CxPageSpecTransitionRoutesTriggerFulfillment) DeepCopy added in v0.4.0

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

func (*CxPageSpecTransitionRoutesTriggerFulfillment) DeepCopyInto added in v0.4.0

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

type CxPageSpecTransitionRoutesTriggerFulfillmentCodec added in v0.4.0

type CxPageSpecTransitionRoutesTriggerFulfillmentCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecTransitionRoutesTriggerFulfillmentCodec) Decode added in v0.4.0

func (CxPageSpecTransitionRoutesTriggerFulfillmentCodec) Encode added in v0.4.0

func (CxPageSpecTransitionRoutesTriggerFulfillmentCodec) IsEmpty added in v0.4.0

type CxPageSpecTransitionRoutesTriggerFulfillmentMessages added in v0.4.0

type CxPageSpecTransitionRoutesTriggerFulfillmentMessages struct {
	// The text response message.
	// +optional
	Text *CxPageSpecTransitionRoutesTriggerFulfillmentMessagesText `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecTransitionRoutesTriggerFulfillmentMessages) DeepCopy added in v0.4.0

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

func (*CxPageSpecTransitionRoutesTriggerFulfillmentMessages) DeepCopyInto added in v0.4.0

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

type CxPageSpecTransitionRoutesTriggerFulfillmentMessagesText added in v0.4.0

type CxPageSpecTransitionRoutesTriggerFulfillmentMessagesText struct {
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	// +optional
	AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption"`
	// A collection of text responses.
	// +optional
	Text []string `json:"text,omitempty" tf:"text"`
}

func (*CxPageSpecTransitionRoutesTriggerFulfillmentMessagesText) DeepCopy added in v0.4.0

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

func (*CxPageSpecTransitionRoutesTriggerFulfillmentMessagesText) DeepCopyInto added in v0.4.0

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

type CxPageSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec added in v0.4.0

type CxPageSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec struct {
}

+k8s:deepcopy-gen=false

func (CxPageSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec) Decode added in v0.4.0

func (CxPageSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec) Encode added in v0.4.0

func (CxPageSpecTransitionRoutesTriggerFulfillmentMessagesTextCodec) IsEmpty added in v0.4.0

type CxPageStatus added in v0.4.0

type CxPageStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CxPageStatus) DeepCopy added in v0.4.0

func (in *CxPageStatus) DeepCopy() *CxPageStatus

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

func (*CxPageStatus) DeepCopyInto added in v0.4.0

func (in *CxPageStatus) DeepCopyInto(out *CxPageStatus)

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

type CxVersion added in v0.4.0

type CxVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CxVersionSpec   `json:"spec,omitempty"`
	Status            CxVersionStatus `json:"status,omitempty"`
}

func (*CxVersion) DeepCopy added in v0.4.0

func (in *CxVersion) DeepCopy() *CxVersion

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

func (*CxVersion) DeepCopyInto added in v0.4.0

func (in *CxVersion) DeepCopyInto(out *CxVersion)

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

func (*CxVersion) DeepCopyObject added in v0.4.0

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

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

func (*CxVersion) SetupWebhookWithManager added in v0.4.0

func (r *CxVersion) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CxVersion) ValidateCreate added in v0.4.0

func (r *CxVersion) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CxVersion) ValidateDelete added in v0.4.0

func (r *CxVersion) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CxVersion) ValidateUpdate added in v0.4.0

func (r *CxVersion) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CxVersionList added in v0.4.0

type CxVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CxVersion CRD objects
	Items []CxVersion `json:"items,omitempty"`
}

CxVersionList is a list of CxVersions

func (*CxVersionList) DeepCopy added in v0.4.0

func (in *CxVersionList) DeepCopy() *CxVersionList

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

func (*CxVersionList) DeepCopyInto added in v0.4.0

func (in *CxVersionList) DeepCopyInto(out *CxVersionList)

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

func (*CxVersionList) DeepCopyObject added in v0.4.0

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

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

type CxVersionSpec added in v0.4.0

type CxVersionSpec struct {
	State *CxVersionSpecResource `json:"state,omitempty" tf:"-"`

	Resource CxVersionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CxVersionSpec) DeepCopy added in v0.4.0

func (in *CxVersionSpec) DeepCopy() *CxVersionSpec

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

func (*CxVersionSpec) DeepCopyInto added in v0.4.0

func (in *CxVersionSpec) DeepCopyInto(out *CxVersionSpec)

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

type CxVersionSpecNluSettings added in v0.4.0

type CxVersionSpecNluSettings struct {
	// To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered.
	// The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
	// +optional
	ClassificationThreshold *float64 `json:"classificationThreshold,omitempty" tf:"classification_threshold"`
	// Indicates NLU model training mode.
	// * MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
	// * MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values: ["MODEL_TRAINING_MODE_AUTOMATIC", "MODEL_TRAINING_MODE_MANUAL"]
	// +optional
	ModelTrainingMode *string `json:"modelTrainingMode,omitempty" tf:"model_training_mode"`
	// Indicates the type of NLU model.
	// * MODEL_TYPE_STANDARD: Use standard NLU model.
	// * MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values: ["MODEL_TYPE_STANDARD", "MODEL_TYPE_ADVANCED"]
	// +optional
	ModelType *string `json:"modelType,omitempty" tf:"model_type"`
}

func (*CxVersionSpecNluSettings) DeepCopy added in v0.4.0

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

func (*CxVersionSpecNluSettings) DeepCopyInto added in v0.4.0

func (in *CxVersionSpecNluSettings) DeepCopyInto(out *CxVersionSpecNluSettings)

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

type CxVersionSpecResource added in v0.4.0

type CxVersionSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// 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".
	// +optional
	CreateTime *string `json:"createTime,omitempty" tf:"create_time"`
	// The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The human-readable name of the version. Limit of 64 characters.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The NLU settings of the flow at version creation.
	// +optional
	NluSettings []CxVersionSpecNluSettings `json:"nluSettings,omitempty" tf:"nlu_settings"`
	// The Flow to create an Version for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	// +optional
	Parent *string `json:"parent,omitempty" tf:"parent"`
	// The state of this version.
	// * RUNNING: Version is not ready to serve (e.g. training is running).
	// * SUCCEEDED: Training has succeeded and this version is ready to serve.
	// * FAILED: Version training failed.
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*CxVersionSpecResource) DeepCopy added in v0.4.0

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

func (*CxVersionSpecResource) DeepCopyInto added in v0.4.0

func (in *CxVersionSpecResource) DeepCopyInto(out *CxVersionSpecResource)

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

type CxVersionStatus added in v0.4.0

type CxVersionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CxVersionStatus) DeepCopy added in v0.4.0

func (in *CxVersionStatus) DeepCopy() *CxVersionStatus

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

func (*CxVersionStatus) DeepCopyInto added in v0.4.0

func (in *CxVersionStatus) DeepCopyInto(out *CxVersionStatus)

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

type EntityType

type EntityType struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EntityTypeSpec   `json:"spec,omitempty"`
	Status            EntityTypeStatus `json:"status,omitempty"`
}

func (*EntityType) DeepCopy

func (in *EntityType) DeepCopy() *EntityType

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

func (*EntityType) DeepCopyInto

func (in *EntityType) DeepCopyInto(out *EntityType)

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

func (*EntityType) DeepCopyObject

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

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

func (*EntityType) SetupWebhookWithManager

func (r *EntityType) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*EntityType) ValidateCreate

func (r *EntityType) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*EntityType) ValidateDelete

func (r *EntityType) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*EntityType) ValidateUpdate

func (r *EntityType) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EntityTypeList

type EntityTypeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EntityType CRD objects
	Items []EntityType `json:"items,omitempty"`
}

EntityTypeList is a list of EntityTypes

func (*EntityTypeList) DeepCopy

func (in *EntityTypeList) DeepCopy() *EntityTypeList

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

func (*EntityTypeList) DeepCopyInto

func (in *EntityTypeList) DeepCopyInto(out *EntityTypeList)

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

func (*EntityTypeList) DeepCopyObject

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

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

type EntityTypeSpec

type EntityTypeSpec struct {
	State *EntityTypeSpecResource `json:"state,omitempty" tf:"-"`

	Resource EntityTypeSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EntityTypeSpec) DeepCopy

func (in *EntityTypeSpec) DeepCopy() *EntityTypeSpec

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

func (*EntityTypeSpec) DeepCopyInto

func (in *EntityTypeSpec) DeepCopyInto(out *EntityTypeSpec)

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

type EntityTypeSpecEntities

type EntityTypeSpecEntities struct {
	// A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym
	// could be green onions.
	// For KIND_LIST entity types:
	// * This collection must contain exactly one synonym equal to value.
	Synonyms []string `json:"synonyms" tf:"synonyms"`
	// The primary value associated with this entity entry. For example, if the entity type is vegetable, the value
	// could be scallions.
	// For KIND_MAP entity types:
	// * A reference value to be used in place of synonyms.
	// For KIND_LIST entity types:
	// * A string that can contain references to other entity types (with or without aliases).
	Value *string `json:"value" tf:"value"`
}

func (*EntityTypeSpecEntities) DeepCopy

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

func (*EntityTypeSpecEntities) DeepCopyInto

func (in *EntityTypeSpecEntities) DeepCopyInto(out *EntityTypeSpecEntities)

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

type EntityTypeSpecResource

type EntityTypeSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// The name of this entity type to be displayed on the console.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// Enables fuzzy entity extraction during classification.
	// +optional
	EnableFuzzyExtraction *bool `json:"enableFuzzyExtraction,omitempty" tf:"enable_fuzzy_extraction"`
	// The collection of entity entries associated with the entity type.
	// +optional
	Entities []EntityTypeSpecEntities `json:"entities,omitempty" tf:"entities"`
	// Indicates the kind of entity type.
	// * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value.
	// * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity
	// types can contain references to other entity types (with or without aliases).
	// * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. Possible values: ["KIND_MAP", "KIND_LIST", "KIND_REGEXP"]
	Kind *string `json:"kind" tf:"kind"`
	// The unique identifier of the entity type.
	// Format: projects/<Project ID>/agent/entityTypes/<Entity type ID>.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
}

func (*EntityTypeSpecResource) DeepCopy

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

func (*EntityTypeSpecResource) DeepCopyInto

func (in *EntityTypeSpecResource) DeepCopyInto(out *EntityTypeSpecResource)

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

type EntityTypeStatus

type EntityTypeStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EntityTypeStatus) DeepCopy

func (in *EntityTypeStatus) DeepCopy() *EntityTypeStatus

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

func (*EntityTypeStatus) DeepCopyInto

func (in *EntityTypeStatus) DeepCopyInto(out *EntityTypeStatus)

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

type Fulfillment

type Fulfillment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FulfillmentSpec   `json:"spec,omitempty"`
	Status            FulfillmentStatus `json:"status,omitempty"`
}

func (*Fulfillment) DeepCopy

func (in *Fulfillment) DeepCopy() *Fulfillment

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

func (*Fulfillment) DeepCopyInto

func (in *Fulfillment) DeepCopyInto(out *Fulfillment)

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

func (*Fulfillment) DeepCopyObject

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

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

func (*Fulfillment) SetupWebhookWithManager

func (r *Fulfillment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Fulfillment) ValidateCreate

func (r *Fulfillment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Fulfillment) ValidateDelete

func (r *Fulfillment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Fulfillment) ValidateUpdate

func (r *Fulfillment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FulfillmentList

type FulfillmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Fulfillment CRD objects
	Items []Fulfillment `json:"items,omitempty"`
}

FulfillmentList is a list of Fulfillments

func (*FulfillmentList) DeepCopy

func (in *FulfillmentList) DeepCopy() *FulfillmentList

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

func (*FulfillmentList) DeepCopyInto

func (in *FulfillmentList) DeepCopyInto(out *FulfillmentList)

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

func (*FulfillmentList) DeepCopyObject

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

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

type FulfillmentSpec

type FulfillmentSpec struct {
	State *FulfillmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource FulfillmentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*FulfillmentSpec) DeepCopy

func (in *FulfillmentSpec) DeepCopy() *FulfillmentSpec

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

func (*FulfillmentSpec) DeepCopyInto

func (in *FulfillmentSpec) DeepCopyInto(out *FulfillmentSpec)

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

type FulfillmentSpecFeatures

type FulfillmentSpecFeatures struct {
	// The type of the feature that enabled for fulfillment.
	// * SMALLTALK: Fulfillment is enabled for SmallTalk. Possible values: ["SMALLTALK"]
	Type *string `json:"type" tf:"type"`
}

func (*FulfillmentSpecFeatures) DeepCopy

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

func (*FulfillmentSpecFeatures) DeepCopyInto

func (in *FulfillmentSpecFeatures) DeepCopyInto(out *FulfillmentSpecFeatures)

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

type FulfillmentSpecGenericWebService

type FulfillmentSpecGenericWebService struct {
	// The password for HTTP Basic authentication.
	// +optional
	Password *string `json:"password,omitempty" tf:"password"`
	// The HTTP request headers to send together with fulfillment requests.
	// +optional
	RequestHeaders *map[string]string `json:"requestHeaders,omitempty" tf:"request_headers"`
	// The fulfillment URI for receiving POST requests. It must use https protocol.
	Uri *string `json:"uri" tf:"uri"`
	// The user name for HTTP Basic authentication.
	// +optional
	Username *string `json:"username,omitempty" tf:"username"`
}

func (*FulfillmentSpecGenericWebService) DeepCopy

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

func (*FulfillmentSpecGenericWebService) DeepCopyInto

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

type FulfillmentSpecGenericWebServiceCodec

type FulfillmentSpecGenericWebServiceCodec struct {
}

+k8s:deepcopy-gen=false

func (FulfillmentSpecGenericWebServiceCodec) Decode

func (FulfillmentSpecGenericWebServiceCodec) Encode

func (FulfillmentSpecGenericWebServiceCodec) IsEmpty

type FulfillmentSpecResource

type FulfillmentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// The human-readable name of the fulfillment, unique within the agent.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// Whether fulfillment is enabled.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// The field defines whether the fulfillment is enabled for certain features.
	// +optional
	Features []FulfillmentSpecFeatures `json:"features,omitempty" tf:"features"`
	// Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers.
	// +optional
	GenericWebService *FulfillmentSpecGenericWebService `json:"genericWebService,omitempty" tf:"generic_web_service"`
	// The unique identifier of the fulfillment.
	// Format: projects/<Project ID>/agent/fulfillment - projects/<Project ID>/locations/<Location ID>/agent/fulfillment
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
}

func (*FulfillmentSpecResource) DeepCopy

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

func (*FulfillmentSpecResource) DeepCopyInto

func (in *FulfillmentSpecResource) DeepCopyInto(out *FulfillmentSpecResource)

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

type FulfillmentStatus

type FulfillmentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*FulfillmentStatus) DeepCopy

func (in *FulfillmentStatus) DeepCopy() *FulfillmentStatus

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

func (*FulfillmentStatus) DeepCopyInto

func (in *FulfillmentStatus) DeepCopyInto(out *FulfillmentStatus)

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

type Intent

type Intent struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IntentSpec   `json:"spec,omitempty"`
	Status            IntentStatus `json:"status,omitempty"`
}

func (*Intent) DeepCopy

func (in *Intent) DeepCopy() *Intent

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

func (*Intent) DeepCopyInto

func (in *Intent) DeepCopyInto(out *Intent)

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

func (*Intent) DeepCopyObject

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

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

func (*Intent) SetupWebhookWithManager

func (r *Intent) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Intent) ValidateCreate

func (r *Intent) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Intent) ValidateDelete

func (r *Intent) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Intent) ValidateUpdate

func (r *Intent) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type IntentList

type IntentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Intent CRD objects
	Items []Intent `json:"items,omitempty"`
}

IntentList is a list of Intents

func (*IntentList) DeepCopy

func (in *IntentList) DeepCopy() *IntentList

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

func (*IntentList) DeepCopyInto

func (in *IntentList) DeepCopyInto(out *IntentList)

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

func (*IntentList) DeepCopyObject

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

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

type IntentSpec

type IntentSpec struct {
	State *IntentSpecResource `json:"state,omitempty" tf:"-"`

	Resource IntentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*IntentSpec) DeepCopy

func (in *IntentSpec) DeepCopy() *IntentSpec

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

func (*IntentSpec) DeepCopyInto

func (in *IntentSpec) DeepCopyInto(out *IntentSpec)

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

type IntentSpecFollowupIntentInfo

type IntentSpecFollowupIntentInfo struct {
	// The unique identifier of the followup intent.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	// +optional
	FollowupIntentName *string `json:"followupIntentName,omitempty" tf:"followup_intent_name"`
	// The unique identifier of the followup intent's parent.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	// +optional
	ParentFollowupIntentName *string `json:"parentFollowupIntentName,omitempty" tf:"parent_followup_intent_name"`
}

func (*IntentSpecFollowupIntentInfo) DeepCopy

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

func (*IntentSpecFollowupIntentInfo) DeepCopyInto

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

type IntentSpecResource

type IntentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// The name of the action associated with the intent.
	// Note: The action name must not contain whitespaces.
	// +optional
	Action *string `json:"action,omitempty" tf:"action"`
	// The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED
	// (i.e. default platform). Possible values: ["FACEBOOK", "SLACK", "TELEGRAM", "KIK", "SKYPE", "LINE", "VIBER", "ACTIONS_ON_GOOGLE", "GOOGLE_HANGOUTS"]
	// +optional
	DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty" tf:"default_response_platforms"`
	// The name of this intent to be displayed on the console.
	DisplayName *string `json:"displayName" tf:"display_name"`
	// The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of
	// the contexts must be present in the active user session for an event to trigger this intent. See the
	// [events reference](https://cloud.google.com/dialogflow/docs/events-overview) for more details.
	// +optional
	Events []string `json:"events,omitempty" tf:"events"`
	// Information about all followup intents that have this intent as a direct or indirect parent. We populate this field
	// only in the output.
	// +optional
	FollowupIntentInfo []IntentSpecFollowupIntentInfo `json:"followupIntentInfo,omitempty" tf:"followup_intent_info"`
	// The list of context names required for this intent to be triggered.
	// Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>.
	// +optional
	InputContextNames []string `json:"inputContextNames,omitempty" tf:"input_context_names"`
	// Indicates whether this is a fallback intent.
	// +optional
	IsFallback *bool `json:"isFallback,omitempty" tf:"is_fallback"`
	// Indicates whether Machine Learning is disabled for the intent.
	// Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML
	// ONLY match mode. Also, auto-markup in the UI is turned off.
	// +optional
	MlDisabled *bool `json:"mlDisabled,omitempty" tf:"ml_disabled"`
	// The unique identifier of this intent.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The unique identifier of the parent intent in the chain of followup intents.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	// +optional
	ParentFollowupIntentName *string `json:"parentFollowupIntentName,omitempty" tf:"parent_followup_intent_name"`
	// The priority of this intent. Higher numbers represent higher priorities.
	//   - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds
	//   to the Normal priority in the console.
	//   - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
	// +optional
	Priority *int64 `json:"priority,omitempty" tf:"priority"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// Indicates whether to delete all contexts in the current session when this intent is matched.
	// +optional
	ResetContexts *bool `json:"resetContexts,omitempty" tf:"reset_contexts"`
	// The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup
	// intents chain for this intent.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	// +optional
	RootFollowupIntentName *string `json:"rootFollowupIntentName,omitempty" tf:"root_followup_intent_name"`
	// Indicates whether webhooks are enabled for the intent.
	// * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent.
	// * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot
	// filling prompt is forwarded to the webhook. Possible values: ["WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING"]
	// +optional
	WebhookState *string `json:"webhookState,omitempty" tf:"webhook_state"`
}

func (*IntentSpecResource) DeepCopy

func (in *IntentSpecResource) DeepCopy() *IntentSpecResource

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

func (*IntentSpecResource) DeepCopyInto

func (in *IntentSpecResource) DeepCopyInto(out *IntentSpecResource)

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

type IntentStatus

type IntentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*IntentStatus) DeepCopy

func (in *IntentStatus) DeepCopy() *IntentStatus

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

func (*IntentStatus) DeepCopyInto

func (in *IntentStatus) DeepCopyInto(out *IntentStatus)

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