...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/managed-by-kcc: "true"
9 cnrm.cloud.google.com/stability-level: alpha
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: dialogflowcxintents.dialogflowcx.cnrm.cloud.google.com
13spec:
14 group: dialogflowcx.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: DialogflowCXIntent
19 plural: dialogflowcxintents
20 shortNames:
21 - gcpdialogflowcxintent
22 - gcpdialogflowcxintents
23 singular: dialogflowcxintent
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1alpha1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 properties:
61 description:
62 description: 'Human readable description for better understanding
63 an intent like its scope, content, result etc. Maximum character
64 limit: 140 characters.'
65 type: string
66 displayName:
67 description: The human-readable name of the intent, unique within
68 the agent.
69 type: string
70 isFallback:
71 description: |-
72 Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation.
73 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.
74 type: boolean
75 languageCode:
76 description: |-
77 Immutable. The language of the following fields in intent:
78 Intent.training_phrases.parts.text
79 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.
80 type: string
81 parameters:
82 description: The collection of parameters associated with the intent.
83 items:
84 properties:
85 entityType:
86 description: |-
87 The entity type of the parameter.
88 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.
89 type: string
90 id:
91 description: The unique identifier of the parameter. This field
92 is used by training phrases to annotate their parts.
93 type: string
94 isList:
95 description: Indicates whether the parameter represents a list
96 of values.
97 type: boolean
98 redact:
99 description: |-
100 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.
101 Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
102 type: boolean
103 required:
104 - entityType
105 - id
106 type: object
107 type: array
108 parent:
109 description: |-
110 Immutable. The agent to create an intent for.
111 Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
112 type: string
113 priority:
114 description: |-
115 The priority of this intent. Higher numbers represent higher priorities.
116 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.
117 If the supplied value is negative, the intent is ignored in runtime detect intent requests.
118 type: integer
119 resourceID:
120 description: Immutable. Optional. The service-generated name of the
121 resource. Used for acquisition only. Leave unset to create a new
122 resource.
123 type: string
124 trainingPhrases:
125 description: The collection of training phrases the agent is trained
126 on to identify the intent.
127 items:
128 properties:
129 id:
130 description: The unique identifier of the training phrase.
131 type: string
132 parts:
133 description: |-
134 The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase.
135 Note: The API does not automatically annotate training phrases like the Dialogflow Console does.
136 Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated.
137 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.
138 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:
139 Part.text is set to a part of the phrase that has no parameters.
140 Part.text is set to a part of the phrase that you want to annotate, and the parameterId field is set.
141 items:
142 properties:
143 parameterId:
144 description: The parameter used to annotate this part
145 of the training phrase. This field is required for annotated
146 parts of the training phrase.
147 type: string
148 text:
149 description: The text for this part.
150 type: string
151 required:
152 - text
153 type: object
154 type: array
155 repeatCount:
156 description: Indicates how many times this example was added
157 to the intent.
158 type: integer
159 required:
160 - parts
161 type: object
162 type: array
163 required:
164 - displayName
165 type: object
166 status:
167 properties:
168 conditions:
169 description: Conditions represent the latest available observation
170 of the resource's current state.
171 items:
172 properties:
173 lastTransitionTime:
174 description: Last time the condition transitioned from one status
175 to another.
176 type: string
177 message:
178 description: Human-readable message indicating details about
179 last transition.
180 type: string
181 reason:
182 description: Unique, one-word, CamelCase reason for the condition's
183 last transition.
184 type: string
185 status:
186 description: Status is the status of the condition. Can be True,
187 False, Unknown.
188 type: string
189 type:
190 description: Type is the type of the condition.
191 type: string
192 type: object
193 type: array
194 name:
195 description: |-
196 The unique identifier of the intent.
197 Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.
198 type: string
199 observedGeneration:
200 description: ObservedGeneration is the generation of the resource
201 that was most recently observed by the Config Connector controller.
202 If this is equal to metadata.generation, then that means that the
203 current reported status reflects the most recent desired state of
204 the resource.
205 type: integer
206 type: object
207 required:
208 - spec
209 type: object
210 served: true
211 storage: true
212 subresources:
213 status: {}
214status:
215 acceptedNames:
216 kind: ""
217 plural: ""
218 conditions: []
219 storedVersions: []
View as plain text