/
pulumiEnums.go
1270 lines (993 loc) · 64.1 KB
/
pulumiEnums.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
// Code generated by the Pulumi SDK Generator DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package v1
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
// Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
type ConversationMedium string
const (
// Default value, if unspecified will default to PHONE_CALL.
ConversationMediumMediumUnspecified = ConversationMedium("MEDIUM_UNSPECIFIED")
// The format for conversations that took place over the phone.
ConversationMediumPhoneCall = ConversationMedium("PHONE_CALL")
// The format for conversations that took place over chat.
ConversationMediumChat = ConversationMedium("CHAT")
)
func (ConversationMedium) ElementType() reflect.Type {
return reflect.TypeOf((*ConversationMedium)(nil)).Elem()
}
func (e ConversationMedium) ToConversationMediumOutput() ConversationMediumOutput {
return pulumi.ToOutput(e).(ConversationMediumOutput)
}
func (e ConversationMedium) ToConversationMediumOutputWithContext(ctx context.Context) ConversationMediumOutput {
return pulumi.ToOutputWithContext(ctx, e).(ConversationMediumOutput)
}
func (e ConversationMedium) ToConversationMediumPtrOutput() ConversationMediumPtrOutput {
return e.ToConversationMediumPtrOutputWithContext(context.Background())
}
func (e ConversationMedium) ToConversationMediumPtrOutputWithContext(ctx context.Context) ConversationMediumPtrOutput {
return ConversationMedium(e).ToConversationMediumOutputWithContext(ctx).ToConversationMediumPtrOutputWithContext(ctx)
}
func (e ConversationMedium) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e ConversationMedium) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e ConversationMedium) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e ConversationMedium) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type ConversationMediumOutput struct{ *pulumi.OutputState }
func (ConversationMediumOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ConversationMedium)(nil)).Elem()
}
func (o ConversationMediumOutput) ToConversationMediumOutput() ConversationMediumOutput {
return o
}
func (o ConversationMediumOutput) ToConversationMediumOutputWithContext(ctx context.Context) ConversationMediumOutput {
return o
}
func (o ConversationMediumOutput) ToConversationMediumPtrOutput() ConversationMediumPtrOutput {
return o.ToConversationMediumPtrOutputWithContext(context.Background())
}
func (o ConversationMediumOutput) ToConversationMediumPtrOutputWithContext(ctx context.Context) ConversationMediumPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ConversationMedium) *ConversationMedium {
return &v
}).(ConversationMediumPtrOutput)
}
func (o ConversationMediumOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o ConversationMediumOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e ConversationMedium) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o ConversationMediumOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o ConversationMediumOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e ConversationMedium) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type ConversationMediumPtrOutput struct{ *pulumi.OutputState }
func (ConversationMediumPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ConversationMedium)(nil)).Elem()
}
func (o ConversationMediumPtrOutput) ToConversationMediumPtrOutput() ConversationMediumPtrOutput {
return o
}
func (o ConversationMediumPtrOutput) ToConversationMediumPtrOutputWithContext(ctx context.Context) ConversationMediumPtrOutput {
return o
}
func (o ConversationMediumPtrOutput) Elem() ConversationMediumOutput {
return o.ApplyT(func(v *ConversationMedium) ConversationMedium {
if v != nil {
return *v
}
var ret ConversationMedium
return ret
}).(ConversationMediumOutput)
}
func (o ConversationMediumPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o ConversationMediumPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *ConversationMedium) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// ConversationMediumInput is an input type that accepts ConversationMediumArgs and ConversationMediumOutput values.
// You can construct a concrete instance of `ConversationMediumInput` via:
//
// ConversationMediumArgs{...}
type ConversationMediumInput interface {
pulumi.Input
ToConversationMediumOutput() ConversationMediumOutput
ToConversationMediumOutputWithContext(context.Context) ConversationMediumOutput
}
var conversationMediumPtrType = reflect.TypeOf((**ConversationMedium)(nil)).Elem()
type ConversationMediumPtrInput interface {
pulumi.Input
ToConversationMediumPtrOutput() ConversationMediumPtrOutput
ToConversationMediumPtrOutputWithContext(context.Context) ConversationMediumPtrOutput
}
type conversationMediumPtr string
func ConversationMediumPtr(v string) ConversationMediumPtrInput {
return (*conversationMediumPtr)(&v)
}
func (*conversationMediumPtr) ElementType() reflect.Type {
return conversationMediumPtrType
}
func (in *conversationMediumPtr) ToConversationMediumPtrOutput() ConversationMediumPtrOutput {
return pulumi.ToOutput(in).(ConversationMediumPtrOutput)
}
func (in *conversationMediumPtr) ToConversationMediumPtrOutputWithContext(ctx context.Context) ConversationMediumPtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(ConversationMediumPtrOutput)
}
func (in *conversationMediumPtr) ToOutput(ctx context.Context) pulumix.Output[*ConversationMedium] {
return pulumix.Output[*ConversationMedium]{
OutputState: in.ToConversationMediumPtrOutputWithContext(ctx).OutputState,
}
}
// Default summarization model to be used.
type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel string
const (
// Unspecified summarization model.
GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelSummarizationModelUnspecified = GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel("SUMMARIZATION_MODEL_UNSPECIFIED")
// The CCAI baseline model.
GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelBaselineModel = GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel("BASELINE_MODEL")
)
func (GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel)(nil)).Elem()
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput {
return pulumi.ToOutput(e).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput)
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput {
return pulumi.ToOutputWithContext(ctx, e).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput)
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return e.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(context.Background())
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel(e).ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutputWithContext(ctx).ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(ctx)
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput struct{ *pulumi.OutputState }
func (GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel)(nil)).Elem()
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return o.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) *GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel {
return &v
}).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput)
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput struct{ *pulumi.OutputState }
func (GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel)(nil)).Elem()
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) Elem() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput {
return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel {
if v != nil {
return *v
}
var ret GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel
return ret
}).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput)
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelInput is an input type that accepts GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelArgs and GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput values.
// You can construct a concrete instance of `GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelInput` via:
//
// GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelArgs{...}
type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelInput interface {
pulumi.Input
ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput
ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutputWithContext(context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput
}
var googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrType = reflect.TypeOf((**GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel)(nil)).Elem()
type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrInput interface {
pulumi.Input
ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput
ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput
}
type googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr string
func GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr(v string) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrInput {
return (*googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr)(&v)
}
func (*googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr) ElementType() reflect.Type {
return googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrType
}
func (in *googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return pulumi.ToOutput(in).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput)
}
func (in *googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput)
}
func (in *googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel] {
return pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel]{
OutputState: in.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(ctx).OutputState,
}
}
// Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the `medium` field on `filter`.
type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium string
const (
// Default value, if unspecified will default to PHONE_CALL.
GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumMediumUnspecified = GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium("MEDIUM_UNSPECIFIED")
// The format for conversations that took place over the phone.
GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPhoneCall = GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium("PHONE_CALL")
// The format for conversations that took place over chat.
GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumChat = GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium("CHAT")
)
func (GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium)(nil)).Elem()
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput {
return pulumi.ToOutput(e).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput)
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput {
return pulumi.ToOutputWithContext(ctx, e).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput)
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return e.ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(context.Background())
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium(e).ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutputWithContext(ctx).ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(ctx)
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput struct{ *pulumi.OutputState }
func (GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium)(nil)).Elem()
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return o.ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) *GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium {
return &v
}).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput)
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput struct{ *pulumi.OutputState }
func (GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium)(nil)).Elem()
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) Elem() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput {
return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium {
if v != nil {
return *v
}
var ret GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium
return ret
}).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput)
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumInput is an input type that accepts GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumArgs and GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput values.
// You can construct a concrete instance of `GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumInput` via:
//
// GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumArgs{...}
type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumInput interface {
pulumi.Input
ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput
ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutputWithContext(context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput
}
var googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrType = reflect.TypeOf((**GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium)(nil)).Elem()
type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrInput interface {
pulumi.Input
ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput
ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput
}
type googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr string
func GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr(v string) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrInput {
return (*googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr)(&v)
}
func (*googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr) ElementType() reflect.Type {
return googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrType
}
func (in *googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return pulumi.ToOutput(in).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput)
}
func (in *googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput)
}
func (in *googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium] {
return pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium]{
OutputState: in.ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(ctx).OutputState,
}
}
// Required. The type of this phrase match rule group.
type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType string
const (
// Unspecified.
GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePhraseMatchRuleGroupTypeUnspecified = GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType("PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED")
// Must meet all phrase match rules or there is no match.
GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeAllOf = GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType("ALL_OF")
// If any of the phrase match rules are met, there is a match.
GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeAnyOf = GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType("ANY_OF")
)
func (GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType)(nil)).Elem()
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput {
return pulumi.ToOutput(e).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput)
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput {
return pulumi.ToOutputWithContext(ctx, e).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput)
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return e.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(context.Background())
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType(e).ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutputWithContext(ctx).ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(ctx)
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput struct{ *pulumi.OutputState }
func (GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType)(nil)).Elem()
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return o.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) *GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType {
return &v
}).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput)
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput struct{ *pulumi.OutputState }
func (GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType)(nil)).Elem()
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return o
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) Elem() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput {
return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType {
if v != nil {
return *v
}
var ret GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType
return ret
}).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput)
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeInput is an input type that accepts GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeArgs and GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput values.
// You can construct a concrete instance of `GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeInput` via:
//
// GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeArgs{...}
type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeInput interface {
pulumi.Input
ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput
ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutputWithContext(context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput
}
var googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrType = reflect.TypeOf((**GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType)(nil)).Elem()
type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrInput interface {
pulumi.Input
ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput
ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput
}
type googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr string
func GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr(v string) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrInput {
return (*googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr)(&v)
}
func (*googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr) ElementType() reflect.Type {
return googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrType
}
func (in *googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return pulumi.ToOutput(in).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput)
}
func (in *googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(ctx context.Context) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput)
}
func (in *googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType] {
return pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType]{
OutputState: in.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(ctx).OutputState,
}
}
// Type of the model.
type IssueModelModelType string
const (
// Unspecified model type.
IssueModelModelTypeModelTypeUnspecified = IssueModelModelType("MODEL_TYPE_UNSPECIFIED")
// Type V1.
IssueModelModelTypeTypeV1 = IssueModelModelType("TYPE_V1")
// Type V2.
IssueModelModelTypeTypeV2 = IssueModelModelType("TYPE_V2")
)
func (IssueModelModelType) ElementType() reflect.Type {
return reflect.TypeOf((*IssueModelModelType)(nil)).Elem()
}
func (e IssueModelModelType) ToIssueModelModelTypeOutput() IssueModelModelTypeOutput {
return pulumi.ToOutput(e).(IssueModelModelTypeOutput)
}
func (e IssueModelModelType) ToIssueModelModelTypeOutputWithContext(ctx context.Context) IssueModelModelTypeOutput {
return pulumi.ToOutputWithContext(ctx, e).(IssueModelModelTypeOutput)
}
func (e IssueModelModelType) ToIssueModelModelTypePtrOutput() IssueModelModelTypePtrOutput {
return e.ToIssueModelModelTypePtrOutputWithContext(context.Background())
}
func (e IssueModelModelType) ToIssueModelModelTypePtrOutputWithContext(ctx context.Context) IssueModelModelTypePtrOutput {
return IssueModelModelType(e).ToIssueModelModelTypeOutputWithContext(ctx).ToIssueModelModelTypePtrOutputWithContext(ctx)
}
func (e IssueModelModelType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e IssueModelModelType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e IssueModelModelType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e IssueModelModelType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type IssueModelModelTypeOutput struct{ *pulumi.OutputState }
func (IssueModelModelTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*IssueModelModelType)(nil)).Elem()
}
func (o IssueModelModelTypeOutput) ToIssueModelModelTypeOutput() IssueModelModelTypeOutput {
return o
}
func (o IssueModelModelTypeOutput) ToIssueModelModelTypeOutputWithContext(ctx context.Context) IssueModelModelTypeOutput {
return o
}
func (o IssueModelModelTypeOutput) ToIssueModelModelTypePtrOutput() IssueModelModelTypePtrOutput {
return o.ToIssueModelModelTypePtrOutputWithContext(context.Background())
}
func (o IssueModelModelTypeOutput) ToIssueModelModelTypePtrOutputWithContext(ctx context.Context) IssueModelModelTypePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v IssueModelModelType) *IssueModelModelType {
return &v
}).(IssueModelModelTypePtrOutput)
}
func (o IssueModelModelTypeOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o IssueModelModelTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e IssueModelModelType) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o IssueModelModelTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o IssueModelModelTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e IssueModelModelType) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type IssueModelModelTypePtrOutput struct{ *pulumi.OutputState }
func (IssueModelModelTypePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**IssueModelModelType)(nil)).Elem()
}
func (o IssueModelModelTypePtrOutput) ToIssueModelModelTypePtrOutput() IssueModelModelTypePtrOutput {
return o
}
func (o IssueModelModelTypePtrOutput) ToIssueModelModelTypePtrOutputWithContext(ctx context.Context) IssueModelModelTypePtrOutput {
return o
}
func (o IssueModelModelTypePtrOutput) Elem() IssueModelModelTypeOutput {
return o.ApplyT(func(v *IssueModelModelType) IssueModelModelType {
if v != nil {
return *v
}
var ret IssueModelModelType
return ret
}).(IssueModelModelTypeOutput)
}
func (o IssueModelModelTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o IssueModelModelTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *IssueModelModelType) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// IssueModelModelTypeInput is an input type that accepts IssueModelModelTypeArgs and IssueModelModelTypeOutput values.
// You can construct a concrete instance of `IssueModelModelTypeInput` via:
//
// IssueModelModelTypeArgs{...}
type IssueModelModelTypeInput interface {
pulumi.Input
ToIssueModelModelTypeOutput() IssueModelModelTypeOutput
ToIssueModelModelTypeOutputWithContext(context.Context) IssueModelModelTypeOutput
}
var issueModelModelTypePtrType = reflect.TypeOf((**IssueModelModelType)(nil)).Elem()
type IssueModelModelTypePtrInput interface {
pulumi.Input
ToIssueModelModelTypePtrOutput() IssueModelModelTypePtrOutput
ToIssueModelModelTypePtrOutputWithContext(context.Context) IssueModelModelTypePtrOutput
}
type issueModelModelTypePtr string
func IssueModelModelTypePtr(v string) IssueModelModelTypePtrInput {
return (*issueModelModelTypePtr)(&v)
}
func (*issueModelModelTypePtr) ElementType() reflect.Type {
return issueModelModelTypePtrType
}
func (in *issueModelModelTypePtr) ToIssueModelModelTypePtrOutput() IssueModelModelTypePtrOutput {
return pulumi.ToOutput(in).(IssueModelModelTypePtrOutput)
}
func (in *issueModelModelTypePtr) ToIssueModelModelTypePtrOutputWithContext(ctx context.Context) IssueModelModelTypePtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(IssueModelModelTypePtrOutput)
}
func (in *issueModelModelTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IssueModelModelType] {
return pulumix.Output[*IssueModelModelType]{
OutputState: in.ToIssueModelModelTypePtrOutputWithContext(ctx).OutputState,
}
}
// The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.
type PhraseMatcherRoleMatch string
const (
// Participant's role is not set.
PhraseMatcherRoleMatchRoleUnspecified = PhraseMatcherRoleMatch("ROLE_UNSPECIFIED")
// Participant is a human agent.
PhraseMatcherRoleMatchHumanAgent = PhraseMatcherRoleMatch("HUMAN_AGENT")
// Participant is an automated agent.
PhraseMatcherRoleMatchAutomatedAgent = PhraseMatcherRoleMatch("AUTOMATED_AGENT")
// Participant is an end user who conversed with the contact center.
PhraseMatcherRoleMatchEndUser = PhraseMatcherRoleMatch("END_USER")
// Participant is either a human or automated agent.
PhraseMatcherRoleMatchAnyAgent = PhraseMatcherRoleMatch("ANY_AGENT")
)
func (PhraseMatcherRoleMatch) ElementType() reflect.Type {
return reflect.TypeOf((*PhraseMatcherRoleMatch)(nil)).Elem()
}
func (e PhraseMatcherRoleMatch) ToPhraseMatcherRoleMatchOutput() PhraseMatcherRoleMatchOutput {
return pulumi.ToOutput(e).(PhraseMatcherRoleMatchOutput)
}
func (e PhraseMatcherRoleMatch) ToPhraseMatcherRoleMatchOutputWithContext(ctx context.Context) PhraseMatcherRoleMatchOutput {
return pulumi.ToOutputWithContext(ctx, e).(PhraseMatcherRoleMatchOutput)
}
func (e PhraseMatcherRoleMatch) ToPhraseMatcherRoleMatchPtrOutput() PhraseMatcherRoleMatchPtrOutput {
return e.ToPhraseMatcherRoleMatchPtrOutputWithContext(context.Background())
}
func (e PhraseMatcherRoleMatch) ToPhraseMatcherRoleMatchPtrOutputWithContext(ctx context.Context) PhraseMatcherRoleMatchPtrOutput {
return PhraseMatcherRoleMatch(e).ToPhraseMatcherRoleMatchOutputWithContext(ctx).ToPhraseMatcherRoleMatchPtrOutputWithContext(ctx)
}
func (e PhraseMatcherRoleMatch) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e PhraseMatcherRoleMatch) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e PhraseMatcherRoleMatch) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e PhraseMatcherRoleMatch) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type PhraseMatcherRoleMatchOutput struct{ *pulumi.OutputState }
func (PhraseMatcherRoleMatchOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PhraseMatcherRoleMatch)(nil)).Elem()
}
func (o PhraseMatcherRoleMatchOutput) ToPhraseMatcherRoleMatchOutput() PhraseMatcherRoleMatchOutput {
return o
}
func (o PhraseMatcherRoleMatchOutput) ToPhraseMatcherRoleMatchOutputWithContext(ctx context.Context) PhraseMatcherRoleMatchOutput {
return o
}
func (o PhraseMatcherRoleMatchOutput) ToPhraseMatcherRoleMatchPtrOutput() PhraseMatcherRoleMatchPtrOutput {
return o.ToPhraseMatcherRoleMatchPtrOutputWithContext(context.Background())
}
func (o PhraseMatcherRoleMatchOutput) ToPhraseMatcherRoleMatchPtrOutputWithContext(ctx context.Context) PhraseMatcherRoleMatchPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v PhraseMatcherRoleMatch) *PhraseMatcherRoleMatch {
return &v
}).(PhraseMatcherRoleMatchPtrOutput)
}
func (o PhraseMatcherRoleMatchOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o PhraseMatcherRoleMatchOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e PhraseMatcherRoleMatch) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o PhraseMatcherRoleMatchOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o PhraseMatcherRoleMatchOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e PhraseMatcherRoleMatch) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type PhraseMatcherRoleMatchPtrOutput struct{ *pulumi.OutputState }
func (PhraseMatcherRoleMatchPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**PhraseMatcherRoleMatch)(nil)).Elem()
}
func (o PhraseMatcherRoleMatchPtrOutput) ToPhraseMatcherRoleMatchPtrOutput() PhraseMatcherRoleMatchPtrOutput {
return o
}
func (o PhraseMatcherRoleMatchPtrOutput) ToPhraseMatcherRoleMatchPtrOutputWithContext(ctx context.Context) PhraseMatcherRoleMatchPtrOutput {
return o
}
func (o PhraseMatcherRoleMatchPtrOutput) Elem() PhraseMatcherRoleMatchOutput {
return o.ApplyT(func(v *PhraseMatcherRoleMatch) PhraseMatcherRoleMatch {
if v != nil {