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