-
Notifications
You must be signed in to change notification settings - Fork 64
/
zz_page_types.go
executable file
·2720 lines (2002 loc) · 146 KB
/
zz_page_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type EntryFulfillmentConditionalCasesInitParameters struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type EntryFulfillmentConditionalCasesObservation struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type EntryFulfillmentConditionalCasesParameters struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
// +kubebuilder:validation:Optional
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type EntryFulfillmentInitParameters struct {
// Conditional cases for this fulfillment.
// Structure is documented below.
ConditionalCases []EntryFulfillmentConditionalCasesInitParameters `json:"conditionalCases,omitempty" tf:"conditional_cases,omitempty"`
// The list of rich message responses to present to the user.
// Structure is documented below.
Messages []EntryFulfillmentMessagesInitParameters `json:"messages,omitempty" tf:"messages,omitempty"`
// 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.
ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses,omitempty"`
// Set parameter values before executing the webhook.
// Structure is documented below.
SetParameterActions []EntryFulfillmentSetParameterActionsInitParameters `json:"setParameterActions,omitempty" tf:"set_parameter_actions,omitempty"`
// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// The webhook to call. Format: projects//locations//agents//webhooks/.
Webhook *string `json:"webhook,omitempty" tf:"webhook,omitempty"`
}
type EntryFulfillmentMessagesConversationSuccessInitParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type EntryFulfillmentMessagesConversationSuccessObservation struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type EntryFulfillmentMessagesConversationSuccessParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
// +kubebuilder:validation:Optional
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type EntryFulfillmentMessagesInitParameters struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
ConversationSuccess []EntryFulfillmentMessagesConversationSuccessInitParameters `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
LiveAgentHandoff []EntryFulfillmentMessagesLiveAgentHandoffInitParameters `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
OutputAudioText []EntryFulfillmentMessagesOutputAudioTextInitParameters `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
PlayAudio []EntryFulfillmentMessagesPlayAudioInitParameters `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
TelephonyTransferCall []EntryFulfillmentMessagesTelephonyTransferCallInitParameters `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
Text []EntryFulfillmentMessagesTextInitParameters `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesLiveAgentHandoffInitParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type EntryFulfillmentMessagesLiveAgentHandoffObservation struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type EntryFulfillmentMessagesLiveAgentHandoffParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
// +kubebuilder:validation:Optional
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type EntryFulfillmentMessagesObservation struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
ConversationSuccess []EntryFulfillmentMessagesConversationSuccessObservation `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
LiveAgentHandoff []EntryFulfillmentMessagesLiveAgentHandoffObservation `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
OutputAudioText []EntryFulfillmentMessagesOutputAudioTextObservation `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
PlayAudio []EntryFulfillmentMessagesPlayAudioObservation `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
TelephonyTransferCall []EntryFulfillmentMessagesTelephonyTransferCallObservation `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
Text []EntryFulfillmentMessagesTextObservation `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesOutputAudioTextInitParameters struct {
// The SSML text to be synthesized. For more information, see SSML.
Ssml *string `json:"ssml,omitempty" tf:"ssml,omitempty"`
// A collection of text responses.
Text *string `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesOutputAudioTextObservation struct {
// (Output)
// 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.
AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption,omitempty"`
// The SSML text to be synthesized. For more information, see SSML.
Ssml *string `json:"ssml,omitempty" tf:"ssml,omitempty"`
// A collection of text responses.
Text *string `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesOutputAudioTextParameters struct {
// The SSML text to be synthesized. For more information, see SSML.
// +kubebuilder:validation:Optional
Ssml *string `json:"ssml,omitempty" tf:"ssml,omitempty"`
// A collection of text responses.
// +kubebuilder:validation:Optional
Text *string `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesParameters struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
// +kubebuilder:validation:Optional
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
// +kubebuilder:validation:Optional
ConversationSuccess []EntryFulfillmentMessagesConversationSuccessParameters `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
// +kubebuilder:validation:Optional
LiveAgentHandoff []EntryFulfillmentMessagesLiveAgentHandoffParameters `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
// +kubebuilder:validation:Optional
OutputAudioText []EntryFulfillmentMessagesOutputAudioTextParameters `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
// +kubebuilder:validation:Optional
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
// +kubebuilder:validation:Optional
PlayAudio []EntryFulfillmentMessagesPlayAudioParameters `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
// +kubebuilder:validation:Optional
TelephonyTransferCall []EntryFulfillmentMessagesTelephonyTransferCallParameters `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
// +kubebuilder:validation:Optional
Text []EntryFulfillmentMessagesTextParameters `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesPlayAudioInitParameters struct {
// URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
AudioURI *string `json:"audioUri,omitempty" tf:"audio_uri,omitempty"`
}
type EntryFulfillmentMessagesPlayAudioObservation struct {
// (Output)
// 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.
AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption,omitempty"`
// URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
AudioURI *string `json:"audioUri,omitempty" tf:"audio_uri,omitempty"`
}
type EntryFulfillmentMessagesPlayAudioParameters struct {
// URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
// +kubebuilder:validation:Optional
AudioURI *string `json:"audioUri" tf:"audio_uri,omitempty"`
}
type EntryFulfillmentMessagesTelephonyTransferCallInitParameters struct {
// Transfer the call to a phone number in E.164 format.
PhoneNumber *string `json:"phoneNumber,omitempty" tf:"phone_number,omitempty"`
}
type EntryFulfillmentMessagesTelephonyTransferCallObservation struct {
// Transfer the call to a phone number in E.164 format.
PhoneNumber *string `json:"phoneNumber,omitempty" tf:"phone_number,omitempty"`
}
type EntryFulfillmentMessagesTelephonyTransferCallParameters struct {
// Transfer the call to a phone number in E.164 format.
// +kubebuilder:validation:Optional
PhoneNumber *string `json:"phoneNumber" tf:"phone_number,omitempty"`
}
type EntryFulfillmentMessagesTextInitParameters struct {
// A collection of text responses.
Text []*string `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesTextObservation struct {
// (Output)
// 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.
AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption,omitempty"`
// A collection of text responses.
Text []*string `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentMessagesTextParameters struct {
// A collection of text responses.
// +kubebuilder:validation:Optional
Text []*string `json:"text,omitempty" tf:"text,omitempty"`
}
type EntryFulfillmentObservation struct {
// Conditional cases for this fulfillment.
// Structure is documented below.
ConditionalCases []EntryFulfillmentConditionalCasesObservation `json:"conditionalCases,omitempty" tf:"conditional_cases,omitempty"`
// The list of rich message responses to present to the user.
// Structure is documented below.
Messages []EntryFulfillmentMessagesObservation `json:"messages,omitempty" tf:"messages,omitempty"`
// 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.
ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses,omitempty"`
// Set parameter values before executing the webhook.
// Structure is documented below.
SetParameterActions []EntryFulfillmentSetParameterActionsObservation `json:"setParameterActions,omitempty" tf:"set_parameter_actions,omitempty"`
// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// The webhook to call. Format: projects//locations//agents//webhooks/.
Webhook *string `json:"webhook,omitempty" tf:"webhook,omitempty"`
}
type EntryFulfillmentParameters struct {
// Conditional cases for this fulfillment.
// Structure is documented below.
// +kubebuilder:validation:Optional
ConditionalCases []EntryFulfillmentConditionalCasesParameters `json:"conditionalCases,omitempty" tf:"conditional_cases,omitempty"`
// The list of rich message responses to present to the user.
// Structure is documented below.
// +kubebuilder:validation:Optional
Messages []EntryFulfillmentMessagesParameters `json:"messages,omitempty" tf:"messages,omitempty"`
// 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.
// +kubebuilder:validation:Optional
ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses,omitempty"`
// Set parameter values before executing the webhook.
// Structure is documented below.
// +kubebuilder:validation:Optional
SetParameterActions []EntryFulfillmentSetParameterActionsParameters `json:"setParameterActions,omitempty" tf:"set_parameter_actions,omitempty"`
// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
// +kubebuilder:validation:Optional
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// The webhook to call. Format: projects//locations//agents//webhooks/.
// +kubebuilder:validation:Optional
Webhook *string `json:"webhook,omitempty" tf:"webhook,omitempty"`
}
type EntryFulfillmentSetParameterActionsInitParameters struct {
// Display name of the parameter.
Parameter *string `json:"parameter,omitempty" tf:"parameter,omitempty"`
// The new JSON-encoded value of the parameter. A null value clears the parameter.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type EntryFulfillmentSetParameterActionsObservation struct {
// Display name of the parameter.
Parameter *string `json:"parameter,omitempty" tf:"parameter,omitempty"`
// The new JSON-encoded value of the parameter. A null value clears the parameter.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type EntryFulfillmentSetParameterActionsParameters struct {
// Display name of the parameter.
// +kubebuilder:validation:Optional
Parameter *string `json:"parameter,omitempty" tf:"parameter,omitempty"`
// The new JSON-encoded value of the parameter. A null value clears the parameter.
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type EventHandlersTriggerFulfillmentConditionalCasesInitParameters struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type EventHandlersTriggerFulfillmentConditionalCasesObservation struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type EventHandlersTriggerFulfillmentConditionalCasesParameters struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
// +kubebuilder:validation:Optional
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type EventHandlersTriggerFulfillmentInitParameters struct {
// Conditional cases for this fulfillment.
// Structure is documented below.
ConditionalCases []EventHandlersTriggerFulfillmentConditionalCasesInitParameters `json:"conditionalCases,omitempty" tf:"conditional_cases,omitempty"`
// The list of rich message responses to present to the user.
// Structure is documented below.
Messages []EventHandlersTriggerFulfillmentMessagesInitParameters `json:"messages,omitempty" tf:"messages,omitempty"`
// 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.
ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses,omitempty"`
// Set parameter values before executing the webhook.
// Structure is documented below.
SetParameterActions []EventHandlersTriggerFulfillmentSetParameterActionsInitParameters `json:"setParameterActions,omitempty" tf:"set_parameter_actions,omitempty"`
// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// The webhook to call. Format: projects//locations//agents//webhooks/.
Webhook *string `json:"webhook,omitempty" tf:"webhook,omitempty"`
}
type EventHandlersTriggerFulfillmentMessagesInitParameters struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
ConversationSuccess []TriggerFulfillmentMessagesConversationSuccessInitParameters `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
LiveAgentHandoff []TriggerFulfillmentMessagesLiveAgentHandoffInitParameters `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
OutputAudioText []TriggerFulfillmentMessagesOutputAudioTextInitParameters `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
PlayAudio []TriggerFulfillmentMessagesPlayAudioInitParameters `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
TelephonyTransferCall []TriggerFulfillmentMessagesTelephonyTransferCallInitParameters `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
Text []TriggerFulfillmentMessagesTextInitParameters `json:"text,omitempty" tf:"text,omitempty"`
}
type EventHandlersTriggerFulfillmentMessagesObservation struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
ConversationSuccess []TriggerFulfillmentMessagesConversationSuccessObservation `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
LiveAgentHandoff []TriggerFulfillmentMessagesLiveAgentHandoffObservation `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
OutputAudioText []TriggerFulfillmentMessagesOutputAudioTextObservation `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
PlayAudio []TriggerFulfillmentMessagesPlayAudioObservation `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
TelephonyTransferCall []TriggerFulfillmentMessagesTelephonyTransferCallObservation `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
Text []TriggerFulfillmentMessagesTextObservation `json:"text,omitempty" tf:"text,omitempty"`
}
type EventHandlersTriggerFulfillmentMessagesParameters struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
// +kubebuilder:validation:Optional
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
// +kubebuilder:validation:Optional
ConversationSuccess []TriggerFulfillmentMessagesConversationSuccessParameters `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
// +kubebuilder:validation:Optional
LiveAgentHandoff []TriggerFulfillmentMessagesLiveAgentHandoffParameters `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
// +kubebuilder:validation:Optional
OutputAudioText []TriggerFulfillmentMessagesOutputAudioTextParameters `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
// +kubebuilder:validation:Optional
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
// +kubebuilder:validation:Optional
PlayAudio []TriggerFulfillmentMessagesPlayAudioParameters `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
// +kubebuilder:validation:Optional
TelephonyTransferCall []TriggerFulfillmentMessagesTelephonyTransferCallParameters `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
// +kubebuilder:validation:Optional
Text []TriggerFulfillmentMessagesTextParameters `json:"text,omitempty" tf:"text,omitempty"`
}
type EventHandlersTriggerFulfillmentObservation struct {
// Conditional cases for this fulfillment.
// Structure is documented below.
ConditionalCases []EventHandlersTriggerFulfillmentConditionalCasesObservation `json:"conditionalCases,omitempty" tf:"conditional_cases,omitempty"`
// The list of rich message responses to present to the user.
// Structure is documented below.
Messages []EventHandlersTriggerFulfillmentMessagesObservation `json:"messages,omitempty" tf:"messages,omitempty"`
// 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.
ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses,omitempty"`
// Set parameter values before executing the webhook.
// Structure is documented below.
SetParameterActions []EventHandlersTriggerFulfillmentSetParameterActionsObservation `json:"setParameterActions,omitempty" tf:"set_parameter_actions,omitempty"`
// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// The webhook to call. Format: projects//locations//agents//webhooks/.
Webhook *string `json:"webhook,omitempty" tf:"webhook,omitempty"`
}
type EventHandlersTriggerFulfillmentParameters struct {
// Conditional cases for this fulfillment.
// Structure is documented below.
// +kubebuilder:validation:Optional
ConditionalCases []EventHandlersTriggerFulfillmentConditionalCasesParameters `json:"conditionalCases,omitempty" tf:"conditional_cases,omitempty"`
// The list of rich message responses to present to the user.
// Structure is documented below.
// +kubebuilder:validation:Optional
Messages []EventHandlersTriggerFulfillmentMessagesParameters `json:"messages,omitempty" tf:"messages,omitempty"`
// 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.
// +kubebuilder:validation:Optional
ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses,omitempty"`
// Set parameter values before executing the webhook.
// Structure is documented below.
// +kubebuilder:validation:Optional
SetParameterActions []EventHandlersTriggerFulfillmentSetParameterActionsParameters `json:"setParameterActions,omitempty" tf:"set_parameter_actions,omitempty"`
// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
// +kubebuilder:validation:Optional
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// The webhook to call. Format: projects//locations//agents//webhooks/.
// +kubebuilder:validation:Optional
Webhook *string `json:"webhook,omitempty" tf:"webhook,omitempty"`
}
type EventHandlersTriggerFulfillmentSetParameterActionsInitParameters struct {
// Display name of the parameter.
Parameter *string `json:"parameter,omitempty" tf:"parameter,omitempty"`
// The new JSON-encoded value of the parameter. A null value clears the parameter.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type EventHandlersTriggerFulfillmentSetParameterActionsObservation struct {
// Display name of the parameter.
Parameter *string `json:"parameter,omitempty" tf:"parameter,omitempty"`
// The new JSON-encoded value of the parameter. A null value clears the parameter.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type EventHandlersTriggerFulfillmentSetParameterActionsParameters struct {
// Display name of the parameter.
// +kubebuilder:validation:Optional
Parameter *string `json:"parameter,omitempty" tf:"parameter,omitempty"`
// The new JSON-encoded value of the parameter. A null value clears the parameter.
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type FillBehaviorInitParameters struct {
// The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter.
// Structure is documented below.
InitialPromptFulfillment []InitialPromptFulfillmentInitParameters `json:"initialPromptFulfillment,omitempty" tf:"initial_prompt_fulfillment,omitempty"`
// The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are:
RepromptEventHandlers []RepromptEventHandlersInitParameters `json:"repromptEventHandlers,omitempty" tf:"reprompt_event_handlers,omitempty"`
}
type FillBehaviorObservation struct {
// The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter.
// Structure is documented below.
InitialPromptFulfillment []InitialPromptFulfillmentObservation `json:"initialPromptFulfillment,omitempty" tf:"initial_prompt_fulfillment,omitempty"`
// The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are:
RepromptEventHandlers []RepromptEventHandlersObservation `json:"repromptEventHandlers,omitempty" tf:"reprompt_event_handlers,omitempty"`
}
type FillBehaviorParameters struct {
// The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter.
// Structure is documented below.
// +kubebuilder:validation:Optional
InitialPromptFulfillment []InitialPromptFulfillmentParameters `json:"initialPromptFulfillment,omitempty" tf:"initial_prompt_fulfillment,omitempty"`
// The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are:
// +kubebuilder:validation:Optional
RepromptEventHandlers []RepromptEventHandlersParameters `json:"repromptEventHandlers,omitempty" tf:"reprompt_event_handlers,omitempty"`
}
type FormInitParameters struct {
// Parameters to collect from the user.
// Structure is documented below.
Parameters []FormParametersInitParameters `json:"parameters,omitempty" tf:"parameters,omitempty"`
}
type FormObservation struct {
// Parameters to collect from the user.
// Structure is documented below.
Parameters []FormParametersObservation `json:"parameters,omitempty" tf:"parameters,omitempty"`
}
type FormParameters struct {
// Parameters to collect from the user.
// Structure is documented below.
// +kubebuilder:validation:Optional
Parameters []FormParametersParameters `json:"parameters,omitempty" tf:"parameters,omitempty"`
}
type FormParametersInitParameters struct {
// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level.
// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
// Structure is documented below.
AdvancedSettings []ParametersAdvancedSettingsInitParameters `json:"advancedSettings,omitempty" tf:"advanced_settings,omitempty"`
// The default value of an optional parameter. If the parameter is required, the default value will be ignored.
DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`
// The human-readable name of the parameter, unique within the form.
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// The entity type of the parameter.
// Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
EntityType *string `json:"entityType,omitempty" tf:"entity_type,omitempty"`
// Defines fill behavior for the parameter.
// Structure is documented below.
FillBehavior []FillBehaviorInitParameters `json:"fillBehavior,omitempty" tf:"fill_behavior,omitempty"`
// Indicates whether the parameter represents a list of values.
IsList *bool `json:"isList,omitempty" tf:"is_list,omitempty"`
// 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.
Redact *bool `json:"redact,omitempty" tf:"redact,omitempty"`
// 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.
Required *bool `json:"required,omitempty" tf:"required,omitempty"`
}
type FormParametersObservation struct {
// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level.
// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
// Structure is documented below.
AdvancedSettings []ParametersAdvancedSettingsObservation `json:"advancedSettings,omitempty" tf:"advanced_settings,omitempty"`
// The default value of an optional parameter. If the parameter is required, the default value will be ignored.
DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`
// The human-readable name of the parameter, unique within the form.
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// The entity type of the parameter.
// Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
EntityType *string `json:"entityType,omitempty" tf:"entity_type,omitempty"`
// Defines fill behavior for the parameter.
// Structure is documented below.
FillBehavior []FillBehaviorObservation `json:"fillBehavior,omitempty" tf:"fill_behavior,omitempty"`
// Indicates whether the parameter represents a list of values.
IsList *bool `json:"isList,omitempty" tf:"is_list,omitempty"`
// 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.
Redact *bool `json:"redact,omitempty" tf:"redact,omitempty"`
// 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.
Required *bool `json:"required,omitempty" tf:"required,omitempty"`
}
type FormParametersParameters struct {
// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level.
// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
// Structure is documented below.
// +kubebuilder:validation:Optional
AdvancedSettings []ParametersAdvancedSettingsParameters `json:"advancedSettings,omitempty" tf:"advanced_settings,omitempty"`
// The default value of an optional parameter. If the parameter is required, the default value will be ignored.
// +kubebuilder:validation:Optional
DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`
// The human-readable name of the parameter, unique within the form.
// +kubebuilder:validation:Optional
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// The entity type of the parameter.
// Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
// +kubebuilder:validation:Optional
EntityType *string `json:"entityType,omitempty" tf:"entity_type,omitempty"`
// Defines fill behavior for the parameter.
// Structure is documented below.
// +kubebuilder:validation:Optional
FillBehavior []FillBehaviorParameters `json:"fillBehavior,omitempty" tf:"fill_behavior,omitempty"`
// Indicates whether the parameter represents a list of values.
// +kubebuilder:validation:Optional
IsList *bool `json:"isList,omitempty" tf:"is_list,omitempty"`
// 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.
// +kubebuilder:validation:Optional
Redact *bool `json:"redact,omitempty" tf:"redact,omitempty"`
// 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.
// +kubebuilder:validation:Optional
Required *bool `json:"required,omitempty" tf:"required,omitempty"`
}
type InitialPromptFulfillmentConditionalCasesInitParameters struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type InitialPromptFulfillmentConditionalCasesObservation struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type InitialPromptFulfillmentConditionalCasesParameters struct {
// A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
// See Case for the schema.
// +kubebuilder:validation:Optional
Cases *string `json:"cases,omitempty" tf:"cases,omitempty"`
}
type InitialPromptFulfillmentInitParameters struct {
// Conditional cases for this fulfillment.
// Structure is documented below.
ConditionalCases []InitialPromptFulfillmentConditionalCasesInitParameters `json:"conditionalCases,omitempty" tf:"conditional_cases,omitempty"`
// The list of rich message responses to present to the user.
// Structure is documented below.
Messages []InitialPromptFulfillmentMessagesInitParameters `json:"messages,omitempty" tf:"messages,omitempty"`
// 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.
ReturnPartialResponses *bool `json:"returnPartialResponses,omitempty" tf:"return_partial_responses,omitempty"`
// Set parameter values before executing the webhook.
// Structure is documented below.
SetParameterActions []InitialPromptFulfillmentSetParameterActionsInitParameters `json:"setParameterActions,omitempty" tf:"set_parameter_actions,omitempty"`
// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// The webhook to call. Format: projects//locations//agents//webhooks/.
Webhook *string `json:"webhook,omitempty" tf:"webhook,omitempty"`
}
type InitialPromptFulfillmentMessagesConversationSuccessInitParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type InitialPromptFulfillmentMessagesConversationSuccessObservation struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type InitialPromptFulfillmentMessagesConversationSuccessParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
// +kubebuilder:validation:Optional
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type InitialPromptFulfillmentMessagesInitParameters struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
ConversationSuccess []InitialPromptFulfillmentMessagesConversationSuccessInitParameters `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
LiveAgentHandoff []InitialPromptFulfillmentMessagesLiveAgentHandoffInitParameters `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
OutputAudioText []InitialPromptFulfillmentMessagesOutputAudioTextInitParameters `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
PlayAudio []InitialPromptFulfillmentMessagesPlayAudioInitParameters `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
TelephonyTransferCall []InitialPromptFulfillmentMessagesTelephonyTransferCallInitParameters `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
Text []InitialPromptFulfillmentMessagesTextInitParameters `json:"text,omitempty" tf:"text,omitempty"`
}
type InitialPromptFulfillmentMessagesLiveAgentHandoffInitParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type InitialPromptFulfillmentMessagesLiveAgentHandoffObservation struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type InitialPromptFulfillmentMessagesLiveAgentHandoffParameters struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
// +kubebuilder:validation:Optional
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
}
type InitialPromptFulfillmentMessagesObservation struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
ConversationSuccess []InitialPromptFulfillmentMessagesConversationSuccessObservation `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
LiveAgentHandoff []InitialPromptFulfillmentMessagesLiveAgentHandoffObservation `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
OutputAudioText []InitialPromptFulfillmentMessagesOutputAudioTextObservation `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
Payload *string `json:"payload,omitempty" tf:"payload,omitempty"`
// Specifies an audio clip to be played by the client as part of the response.
// Structure is documented below.
PlayAudio []InitialPromptFulfillmentMessagesPlayAudioObservation `json:"playAudio,omitempty" tf:"play_audio,omitempty"`
// Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
// Structure is documented below.
TelephonyTransferCall []InitialPromptFulfillmentMessagesTelephonyTransferCallObservation `json:"telephonyTransferCall,omitempty" tf:"telephony_transfer_call,omitempty"`
// A collection of text responses.
Text []InitialPromptFulfillmentMessagesTextObservation `json:"text,omitempty" tf:"text,omitempty"`
}
type InitialPromptFulfillmentMessagesOutputAudioTextInitParameters struct {
// The SSML text to be synthesized. For more information, see SSML.
Ssml *string `json:"ssml,omitempty" tf:"ssml,omitempty"`
// A collection of text responses.
Text *string `json:"text,omitempty" tf:"text,omitempty"`
}
type InitialPromptFulfillmentMessagesOutputAudioTextObservation struct {
// (Output)
// 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.
AllowPlaybackInterruption *bool `json:"allowPlaybackInterruption,omitempty" tf:"allow_playback_interruption,omitempty"`
// The SSML text to be synthesized. For more information, see SSML.
Ssml *string `json:"ssml,omitempty" tf:"ssml,omitempty"`
// A collection of text responses.
Text *string `json:"text,omitempty" tf:"text,omitempty"`
}
type InitialPromptFulfillmentMessagesOutputAudioTextParameters struct {
// The SSML text to be synthesized. For more information, see SSML.
// +kubebuilder:validation:Optional
Ssml *string `json:"ssml,omitempty" tf:"ssml,omitempty"`
// A collection of text responses.
// +kubebuilder:validation:Optional
Text *string `json:"text,omitempty" tf:"text,omitempty"`
}
type InitialPromptFulfillmentMessagesParameters struct {
// The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
// +kubebuilder:validation:Optional
Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`
// Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
// Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
// You may set this, for example:
// +kubebuilder:validation:Optional
ConversationSuccess []InitialPromptFulfillmentMessagesConversationSuccessParameters `json:"conversationSuccess,omitempty" tf:"conversation_success,omitempty"`
// Indicates that the conversation should be handed off to a live agent.
// Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
// You may set this, for example:
// +kubebuilder:validation:Optional
LiveAgentHandoff []InitialPromptFulfillmentMessagesLiveAgentHandoffParameters `json:"liveAgentHandoff,omitempty" tf:"live_agent_handoff,omitempty"`
// A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
// Structure is documented below.
// +kubebuilder:validation:Optional
OutputAudioText []InitialPromptFulfillmentMessagesOutputAudioTextParameters `json:"outputAudioText,omitempty" tf:"output_audio_text,omitempty"`
// A custom, platform-specific payload.
// +kubebuilder:validation:Optional