-
Notifications
You must be signed in to change notification settings - Fork 64
/
zz_inspecttemplate_types.go
executable file
·1520 lines (1140 loc) · 70.7 KB
/
zz_inspecttemplate_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 CloudStoragePathInitParameters struct {
// A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
Path *string `json:"path,omitempty" tf:"path,omitempty"`
}
type CloudStoragePathObservation struct {
// A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
Path *string `json:"path,omitempty" tf:"path,omitempty"`
}
type CloudStoragePathParameters struct {
// A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
// +kubebuilder:validation:Optional
Path *string `json:"path" tf:"path,omitempty"`
}
type CustomInfoTypesInitParameters struct {
// Dictionary which defines the rule.
// Structure is documented below.
Dictionary []DictionaryInitParameters `json:"dictionary,omitempty" tf:"dictionary,omitempty"`
// If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
// Possible values are: EXCLUSION_TYPE_EXCLUDE.
ExclusionType *string `json:"exclusionType,omitempty" tf:"exclusion_type,omitempty"`
// Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does
// not have an infoType, the DLP API applies the limit against all infoTypes that are found but not
// specified in another InfoTypeLimit.
// Structure is documented below.
InfoType []InfoTypeInitParameters `json:"infoType,omitempty" tf:"info_type,omitempty"`
// Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
// specified by the rule.
// Default value is VERY_LIKELY.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
Likelihood *string `json:"likelihood,omitempty" tf:"likelihood,omitempty"`
// Regular expression which defines the rule.
// Structure is documented below.
Regex []RegexInitParameters `json:"regex,omitempty" tf:"regex,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []CustomInfoTypesSensitivityScoreInitParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// A reference to a StoredInfoType to use with scanning.
// Structure is documented below.
StoredType []StoredTypeInitParameters `json:"storedType,omitempty" tf:"stored_type,omitempty"`
// Message for detecting output from deidentification transformations that support reversing.
SurrogateType []SurrogateTypeInitParameters `json:"surrogateType,omitempty" tf:"surrogate_type,omitempty"`
}
type CustomInfoTypesObservation struct {
// Dictionary which defines the rule.
// Structure is documented below.
Dictionary []DictionaryObservation `json:"dictionary,omitempty" tf:"dictionary,omitempty"`
// If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
// Possible values are: EXCLUSION_TYPE_EXCLUDE.
ExclusionType *string `json:"exclusionType,omitempty" tf:"exclusion_type,omitempty"`
// Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does
// not have an infoType, the DLP API applies the limit against all infoTypes that are found but not
// specified in another InfoTypeLimit.
// Structure is documented below.
InfoType []InfoTypeObservation `json:"infoType,omitempty" tf:"info_type,omitempty"`
// Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
// specified by the rule.
// Default value is VERY_LIKELY.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
Likelihood *string `json:"likelihood,omitempty" tf:"likelihood,omitempty"`
// Regular expression which defines the rule.
// Structure is documented below.
Regex []RegexObservation `json:"regex,omitempty" tf:"regex,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []CustomInfoTypesSensitivityScoreObservation `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// A reference to a StoredInfoType to use with scanning.
// Structure is documented below.
StoredType []StoredTypeObservation `json:"storedType,omitempty" tf:"stored_type,omitempty"`
// Message for detecting output from deidentification transformations that support reversing.
SurrogateType []SurrogateTypeParameters `json:"surrogateType,omitempty" tf:"surrogate_type,omitempty"`
}
type CustomInfoTypesParameters struct {
// Dictionary which defines the rule.
// Structure is documented below.
// +kubebuilder:validation:Optional
Dictionary []DictionaryParameters `json:"dictionary,omitempty" tf:"dictionary,omitempty"`
// If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
// Possible values are: EXCLUSION_TYPE_EXCLUDE.
// +kubebuilder:validation:Optional
ExclusionType *string `json:"exclusionType,omitempty" tf:"exclusion_type,omitempty"`
// Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does
// not have an infoType, the DLP API applies the limit against all infoTypes that are found but not
// specified in another InfoTypeLimit.
// Structure is documented below.
// +kubebuilder:validation:Optional
InfoType []InfoTypeParameters `json:"infoType" tf:"info_type,omitempty"`
// Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
// specified by the rule.
// Default value is VERY_LIKELY.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
// +kubebuilder:validation:Optional
Likelihood *string `json:"likelihood,omitempty" tf:"likelihood,omitempty"`
// Regular expression which defines the rule.
// Structure is documented below.
// +kubebuilder:validation:Optional
Regex []RegexParameters `json:"regex,omitempty" tf:"regex,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
// +kubebuilder:validation:Optional
SensitivityScore []CustomInfoTypesSensitivityScoreParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// A reference to a StoredInfoType to use with scanning.
// Structure is documented below.
// +kubebuilder:validation:Optional
StoredType []StoredTypeParameters `json:"storedType,omitempty" tf:"stored_type,omitempty"`
// Message for detecting output from deidentification transformations that support reversing.
// +kubebuilder:validation:Optional
SurrogateType []SurrogateTypeParameters `json:"surrogateType,omitempty" tf:"surrogate_type,omitempty"`
}
type CustomInfoTypesSensitivityScoreInitParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type CustomInfoTypesSensitivityScoreObservation struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type CustomInfoTypesSensitivityScoreParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
// +kubebuilder:validation:Optional
Score *string `json:"score" tf:"score,omitempty"`
}
type DictionaryCloudStoragePathInitParameters struct {
// A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
Path *string `json:"path,omitempty" tf:"path,omitempty"`
}
type DictionaryCloudStoragePathObservation struct {
// A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
Path *string `json:"path,omitempty" tf:"path,omitempty"`
}
type DictionaryCloudStoragePathParameters struct {
// A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
// +kubebuilder:validation:Optional
Path *string `json:"path" tf:"path,omitempty"`
}
type DictionaryInitParameters struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
CloudStoragePath []CloudStoragePathInitParameters `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
WordList []DictionaryWordListInitParameters `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type DictionaryObservation struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
CloudStoragePath []CloudStoragePathObservation `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
WordList []DictionaryWordListObservation `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type DictionaryParameters struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
// +kubebuilder:validation:Optional
CloudStoragePath []CloudStoragePathParameters `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
// +kubebuilder:validation:Optional
WordList []DictionaryWordListParameters `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type DictionaryWordListInitParameters struct {
// Words or phrases defining the dictionary. The dictionary must contain at least one
// phrase and every phrase must contain at least 2 characters that are letters or digits.
Words []*string `json:"words,omitempty" tf:"words,omitempty"`
}
type DictionaryWordListObservation struct {
// Words or phrases defining the dictionary. The dictionary must contain at least one
// phrase and every phrase must contain at least 2 characters that are letters or digits.
Words []*string `json:"words,omitempty" tf:"words,omitempty"`
}
type DictionaryWordListParameters struct {
// Words or phrases defining the dictionary. The dictionary must contain at least one
// phrase and every phrase must contain at least 2 characters that are letters or digits.
// +kubebuilder:validation:Optional
Words []*string `json:"words" tf:"words,omitempty"`
}
type ExcludeByHotwordInitParameters struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
HotwordRegex []HotwordRegexInitParameters `json:"hotwordRegex,omitempty" tf:"hotword_regex,omitempty"`
// Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
// exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
// used to match substrings of the finding itself. For example, the certainty of a phone number regex
// (\d{3}) \d{3}-\d{4} could be adjusted upwards if the area code is known to be the local area code of a company
// office using the hotword regex (xxx), where xxx is the area code in question.
// Structure is documented below.
Proximity []ProximityInitParameters `json:"proximity,omitempty" tf:"proximity,omitempty"`
}
type ExcludeByHotwordObservation struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
HotwordRegex []HotwordRegexObservation `json:"hotwordRegex,omitempty" tf:"hotword_regex,omitempty"`
// Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
// exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
// used to match substrings of the finding itself. For example, the certainty of a phone number regex
// (\d{3}) \d{3}-\d{4} could be adjusted upwards if the area code is known to be the local area code of a company
// office using the hotword regex (xxx), where xxx is the area code in question.
// Structure is documented below.
Proximity []ProximityObservation `json:"proximity,omitempty" tf:"proximity,omitempty"`
}
type ExcludeByHotwordParameters struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
// +kubebuilder:validation:Optional
HotwordRegex []HotwordRegexParameters `json:"hotwordRegex" tf:"hotword_regex,omitempty"`
// Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
// exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
// used to match substrings of the finding itself. For example, the certainty of a phone number regex
// (\d{3}) \d{3}-\d{4} could be adjusted upwards if the area code is known to be the local area code of a company
// office using the hotword regex (xxx), where xxx is the area code in question.
// Structure is documented below.
// +kubebuilder:validation:Optional
Proximity []ProximityParameters `json:"proximity" tf:"proximity,omitempty"`
}
type ExcludeInfoTypesInfoTypesInitParameters struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []ExcludeInfoTypesInfoTypesSensitivityScoreInitParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type ExcludeInfoTypesInfoTypesObservation struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []ExcludeInfoTypesInfoTypesSensitivityScoreObservation `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type ExcludeInfoTypesInfoTypesParameters struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
// +kubebuilder:validation:Optional
SensitivityScore []ExcludeInfoTypesInfoTypesSensitivityScoreParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
// +kubebuilder:validation:Optional
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type ExcludeInfoTypesInfoTypesSensitivityScoreInitParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type ExcludeInfoTypesInfoTypesSensitivityScoreObservation struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type ExcludeInfoTypesInfoTypesSensitivityScoreParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
// +kubebuilder:validation:Optional
Score *string `json:"score" tf:"score,omitempty"`
}
type ExcludeInfoTypesInitParameters struct {
// List of infoTypes this rule set is applied to.
// Structure is documented below.
InfoTypes []ExcludeInfoTypesInfoTypesInitParameters `json:"infoTypes,omitempty" tf:"info_types,omitempty"`
}
type ExcludeInfoTypesObservation struct {
// List of infoTypes this rule set is applied to.
// Structure is documented below.
InfoTypes []ExcludeInfoTypesInfoTypesObservation `json:"infoTypes,omitempty" tf:"info_types,omitempty"`
}
type ExcludeInfoTypesParameters struct {
// List of infoTypes this rule set is applied to.
// Structure is documented below.
// +kubebuilder:validation:Optional
InfoTypes []ExcludeInfoTypesInfoTypesParameters `json:"infoTypes" tf:"info_types,omitempty"`
}
type ExclusionRuleDictionaryInitParameters struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
CloudStoragePath []DictionaryCloudStoragePathInitParameters `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
WordList []ExclusionRuleDictionaryWordListInitParameters `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type ExclusionRuleDictionaryObservation struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
CloudStoragePath []DictionaryCloudStoragePathObservation `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
WordList []ExclusionRuleDictionaryWordListObservation `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type ExclusionRuleDictionaryParameters struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
// +kubebuilder:validation:Optional
CloudStoragePath []DictionaryCloudStoragePathParameters `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
// +kubebuilder:validation:Optional
WordList []ExclusionRuleDictionaryWordListParameters `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type ExclusionRuleDictionaryWordListInitParameters struct {
// Words or phrases defining the dictionary. The dictionary must contain at least one
// phrase and every phrase must contain at least 2 characters that are letters or digits.
Words []*string `json:"words,omitempty" tf:"words,omitempty"`
}
type ExclusionRuleDictionaryWordListObservation struct {
// Words or phrases defining the dictionary. The dictionary must contain at least one
// phrase and every phrase must contain at least 2 characters that are letters or digits.
Words []*string `json:"words,omitempty" tf:"words,omitempty"`
}
type ExclusionRuleDictionaryWordListParameters struct {
// Words or phrases defining the dictionary. The dictionary must contain at least one
// phrase and every phrase must contain at least 2 characters that are letters or digits.
// +kubebuilder:validation:Optional
Words []*string `json:"words" tf:"words,omitempty"`
}
type ExclusionRuleInitParameters struct {
// Dictionary which defines the rule.
// Structure is documented below.
Dictionary []ExclusionRuleDictionaryInitParameters `json:"dictionary,omitempty" tf:"dictionary,omitempty"`
// Drop if the hotword rule is contained in the proximate context.
// For tabular data, the context includes the column name.
// Structure is documented below.
ExcludeByHotword []ExcludeByHotwordInitParameters `json:"excludeByHotword,omitempty" tf:"exclude_by_hotword,omitempty"`
// When true, excludes type information of the findings.
ExcludeInfoTypes []ExcludeInfoTypesInitParameters `json:"excludeInfoTypes,omitempty" tf:"exclude_info_types,omitempty"`
// How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
// Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
MatchingType *string `json:"matchingType,omitempty" tf:"matching_type,omitempty"`
// Regular expression which defines the rule.
// Structure is documented below.
Regex []ExclusionRuleRegexInitParameters `json:"regex,omitempty" tf:"regex,omitempty"`
}
type ExclusionRuleObservation struct {
// Dictionary which defines the rule.
// Structure is documented below.
Dictionary []ExclusionRuleDictionaryObservation `json:"dictionary,omitempty" tf:"dictionary,omitempty"`
// Drop if the hotword rule is contained in the proximate context.
// For tabular data, the context includes the column name.
// Structure is documented below.
ExcludeByHotword []ExcludeByHotwordObservation `json:"excludeByHotword,omitempty" tf:"exclude_by_hotword,omitempty"`
// When true, excludes type information of the findings.
ExcludeInfoTypes []ExcludeInfoTypesObservation `json:"excludeInfoTypes,omitempty" tf:"exclude_info_types,omitempty"`
// How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
// Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
MatchingType *string `json:"matchingType,omitempty" tf:"matching_type,omitempty"`
// Regular expression which defines the rule.
// Structure is documented below.
Regex []ExclusionRuleRegexObservation `json:"regex,omitempty" tf:"regex,omitempty"`
}
type ExclusionRuleParameters struct {
// Dictionary which defines the rule.
// Structure is documented below.
// +kubebuilder:validation:Optional
Dictionary []ExclusionRuleDictionaryParameters `json:"dictionary,omitempty" tf:"dictionary,omitempty"`
// Drop if the hotword rule is contained in the proximate context.
// For tabular data, the context includes the column name.
// Structure is documented below.
// +kubebuilder:validation:Optional
ExcludeByHotword []ExcludeByHotwordParameters `json:"excludeByHotword,omitempty" tf:"exclude_by_hotword,omitempty"`
// When true, excludes type information of the findings.
// +kubebuilder:validation:Optional
ExcludeInfoTypes []ExcludeInfoTypesParameters `json:"excludeInfoTypes,omitempty" tf:"exclude_info_types,omitempty"`
// How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
// Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
// +kubebuilder:validation:Optional
MatchingType *string `json:"matchingType" tf:"matching_type,omitempty"`
// Regular expression which defines the rule.
// Structure is documented below.
// +kubebuilder:validation:Optional
Regex []ExclusionRuleRegexParameters `json:"regex,omitempty" tf:"regex,omitempty"`
}
type ExclusionRuleRegexInitParameters struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}
type ExclusionRuleRegexObservation struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}
type ExclusionRuleRegexParameters struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
// +kubebuilder:validation:Optional
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
// +kubebuilder:validation:Optional
Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}
type HotwordRegexInitParameters struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}
type HotwordRegexObservation struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}
type HotwordRegexParameters struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
// +kubebuilder:validation:Optional
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
// +kubebuilder:validation:Optional
Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}
type HotwordRuleHotwordRegexInitParameters struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}
type HotwordRuleHotwordRegexObservation struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}
type HotwordRuleHotwordRegexParameters struct {
// The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
// +kubebuilder:validation:Optional
GroupIndexes []*float64 `json:"groupIndexes,omitempty" tf:"group_indexes,omitempty"`
// Pattern defining the regular expression.
// Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
// +kubebuilder:validation:Optional
Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}
type HotwordRuleInitParameters struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
HotwordRegex []HotwordRuleHotwordRegexInitParameters `json:"hotwordRegex,omitempty" tf:"hotword_regex,omitempty"`
// Likelihood adjustment to apply to all matching findings.
// Structure is documented below.
LikelihoodAdjustment []LikelihoodAdjustmentInitParameters `json:"likelihoodAdjustment,omitempty" tf:"likelihood_adjustment,omitempty"`
// Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
// exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
// used to match substrings of the finding itself. For example, the certainty of a phone number regex
// (\d{3}) \d{3}-\d{4} could be adjusted upwards if the area code is known to be the local area code of a company
// office using the hotword regex (xxx), where xxx is the area code in question.
// Structure is documented below.
Proximity []HotwordRuleProximityInitParameters `json:"proximity,omitempty" tf:"proximity,omitempty"`
}
type HotwordRuleObservation struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
HotwordRegex []HotwordRuleHotwordRegexObservation `json:"hotwordRegex,omitempty" tf:"hotword_regex,omitempty"`
// Likelihood adjustment to apply to all matching findings.
// Structure is documented below.
LikelihoodAdjustment []LikelihoodAdjustmentObservation `json:"likelihoodAdjustment,omitempty" tf:"likelihood_adjustment,omitempty"`
// Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
// exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
// used to match substrings of the finding itself. For example, the certainty of a phone number regex
// (\d{3}) \d{3}-\d{4} could be adjusted upwards if the area code is known to be the local area code of a company
// office using the hotword regex (xxx), where xxx is the area code in question.
// Structure is documented below.
Proximity []HotwordRuleProximityObservation `json:"proximity,omitempty" tf:"proximity,omitempty"`
}
type HotwordRuleParameters struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
// +kubebuilder:validation:Optional
HotwordRegex []HotwordRuleHotwordRegexParameters `json:"hotwordRegex" tf:"hotword_regex,omitempty"`
// Likelihood adjustment to apply to all matching findings.
// Structure is documented below.
// +kubebuilder:validation:Optional
LikelihoodAdjustment []LikelihoodAdjustmentParameters `json:"likelihoodAdjustment" tf:"likelihood_adjustment,omitempty"`
// Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
// exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
// used to match substrings of the finding itself. For example, the certainty of a phone number regex
// (\d{3}) \d{3}-\d{4} could be adjusted upwards if the area code is known to be the local area code of a company
// office using the hotword regex (xxx), where xxx is the area code in question.
// Structure is documented below.
// +kubebuilder:validation:Optional
Proximity []HotwordRuleProximityParameters `json:"proximity" tf:"proximity,omitempty"`
}
type HotwordRuleProximityInitParameters struct {
// Number of characters after the finding to consider. Either this or window_before must be specified
WindowAfter *float64 `json:"windowAfter,omitempty" tf:"window_after,omitempty"`
// Number of characters before the finding to consider. Either this or window_after must be specified
WindowBefore *float64 `json:"windowBefore,omitempty" tf:"window_before,omitempty"`
}
type HotwordRuleProximityObservation struct {
// Number of characters after the finding to consider. Either this or window_before must be specified
WindowAfter *float64 `json:"windowAfter,omitempty" tf:"window_after,omitempty"`
// Number of characters before the finding to consider. Either this or window_after must be specified
WindowBefore *float64 `json:"windowBefore,omitempty" tf:"window_before,omitempty"`
}
type HotwordRuleProximityParameters struct {
// Number of characters after the finding to consider. Either this or window_before must be specified
// +kubebuilder:validation:Optional
WindowAfter *float64 `json:"windowAfter,omitempty" tf:"window_after,omitempty"`
// Number of characters before the finding to consider. Either this or window_after must be specified
// +kubebuilder:validation:Optional
WindowBefore *float64 `json:"windowBefore,omitempty" tf:"window_before,omitempty"`
}
type InfoTypeInitParameters struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []InfoTypeSensitivityScoreInitParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type InfoTypeObservation struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []InfoTypeSensitivityScoreObservation `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type InfoTypeParameters struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
// +kubebuilder:validation:Optional
SensitivityScore []InfoTypeSensitivityScoreParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
// +kubebuilder:validation:Optional
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type InfoTypeSensitivityScoreInitParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type InfoTypeSensitivityScoreObservation struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type InfoTypeSensitivityScoreParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
// +kubebuilder:validation:Optional
Score *string `json:"score" tf:"score,omitempty"`
}
type InspectConfigInfoTypesInitParameters struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []InspectConfigInfoTypesSensitivityScoreInitParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type InspectConfigInfoTypesObservation struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
SensitivityScore []InspectConfigInfoTypesSensitivityScoreObservation `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type InspectConfigInfoTypesParameters struct {
// Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342
// or projects/project-id/storedInfoTypes/432452342.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// Optional custom sensitivity for this InfoType. This only applies to data profiling.
// Structure is documented below.
// +kubebuilder:validation:Optional
SensitivityScore []InspectConfigInfoTypesSensitivityScoreParameters `json:"sensitivityScore,omitempty" tf:"sensitivity_score,omitempty"`
// Version of the information type to use. By default, the version is set to stable
// +kubebuilder:validation:Optional
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type InspectConfigInfoTypesSensitivityScoreInitParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type InspectConfigInfoTypesSensitivityScoreObservation struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
Score *string `json:"score,omitempty" tf:"score,omitempty"`
}
type InspectConfigInfoTypesSensitivityScoreParameters struct {
// The sensitivity score applied to the resource.
// Possible values are: SENSITIVITY_LOW, SENSITIVITY_MODERATE, SENSITIVITY_HIGH.
// +kubebuilder:validation:Optional
Score *string `json:"score" tf:"score,omitempty"`
}
type InspectConfigInitParameters struct {
// List of options defining data content to scan. If empty, text, images, and other content will be included.
// Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
ContentOptions []*string `json:"contentOptions,omitempty" tf:"content_options,omitempty"`
// Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
// Structure is documented below.
CustomInfoTypes []CustomInfoTypesInitParameters `json:"customInfoTypes,omitempty" tf:"custom_info_types,omitempty"`
// When true, excludes type information of the findings.
ExcludeInfoTypes *bool `json:"excludeInfoTypes,omitempty" tf:"exclude_info_types,omitempty"`
// When true, a contextual quote from the data that triggered a finding is included in the response.
IncludeQuote *bool `json:"includeQuote,omitempty" tf:"include_quote,omitempty"`
// Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
// or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
// When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
// By default this may be all types, but may change over time as detectors are updated.
// Structure is documented below.
InfoTypes []InspectConfigInfoTypesInitParameters `json:"infoTypes,omitempty" tf:"info_types,omitempty"`
// Configuration to control the number of findings returned.
// Structure is documented below.
Limits []LimitsInitParameters `json:"limits,omitempty" tf:"limits,omitempty"`
// Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
// Default value is POSSIBLE.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
MinLikelihood *string `json:"minLikelihood,omitempty" tf:"min_likelihood,omitempty"`
// Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
// other rules are executed in the order they are specified for each info type.
// Structure is documented below.
RuleSet []RuleSetInitParameters `json:"ruleSet,omitempty" tf:"rule_set,omitempty"`
}
type InspectConfigObservation struct {
// List of options defining data content to scan. If empty, text, images, and other content will be included.
// Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
ContentOptions []*string `json:"contentOptions,omitempty" tf:"content_options,omitempty"`
// Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
// Structure is documented below.
CustomInfoTypes []CustomInfoTypesObservation `json:"customInfoTypes,omitempty" tf:"custom_info_types,omitempty"`
// When true, excludes type information of the findings.
ExcludeInfoTypes *bool `json:"excludeInfoTypes,omitempty" tf:"exclude_info_types,omitempty"`
// When true, a contextual quote from the data that triggered a finding is included in the response.
IncludeQuote *bool `json:"includeQuote,omitempty" tf:"include_quote,omitempty"`
// Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
// or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
// When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
// By default this may be all types, but may change over time as detectors are updated.
// Structure is documented below.
InfoTypes []InspectConfigInfoTypesObservation `json:"infoTypes,omitempty" tf:"info_types,omitempty"`
// Configuration to control the number of findings returned.
// Structure is documented below.
Limits []LimitsObservation `json:"limits,omitempty" tf:"limits,omitempty"`
// Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
// Default value is POSSIBLE.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
MinLikelihood *string `json:"minLikelihood,omitempty" tf:"min_likelihood,omitempty"`
// Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
// other rules are executed in the order they are specified for each info type.
// Structure is documented below.
RuleSet []RuleSetObservation `json:"ruleSet,omitempty" tf:"rule_set,omitempty"`
}
type InspectConfigParameters struct {
// List of options defining data content to scan. If empty, text, images, and other content will be included.
// Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
// +kubebuilder:validation:Optional
ContentOptions []*string `json:"contentOptions,omitempty" tf:"content_options,omitempty"`
// Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
// Structure is documented below.
// +kubebuilder:validation:Optional
CustomInfoTypes []CustomInfoTypesParameters `json:"customInfoTypes,omitempty" tf:"custom_info_types,omitempty"`
// When true, excludes type information of the findings.
// +kubebuilder:validation:Optional
ExcludeInfoTypes *bool `json:"excludeInfoTypes,omitempty" tf:"exclude_info_types,omitempty"`
// When true, a contextual quote from the data that triggered a finding is included in the response.
// +kubebuilder:validation:Optional
IncludeQuote *bool `json:"includeQuote,omitempty" tf:"include_quote,omitempty"`
// Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
// or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
// When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
// By default this may be all types, but may change over time as detectors are updated.
// Structure is documented below.
// +kubebuilder:validation:Optional
InfoTypes []InspectConfigInfoTypesParameters `json:"infoTypes,omitempty" tf:"info_types,omitempty"`
// Configuration to control the number of findings returned.
// Structure is documented below.
// +kubebuilder:validation:Optional
Limits []LimitsParameters `json:"limits,omitempty" tf:"limits,omitempty"`
// Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
// Default value is POSSIBLE.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
// +kubebuilder:validation:Optional
MinLikelihood *string `json:"minLikelihood,omitempty" tf:"min_likelihood,omitempty"`
// Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
// other rules are executed in the order they are specified for each info type.
// Structure is documented below.
// +kubebuilder:validation:Optional
RuleSet []RuleSetParameters `json:"ruleSet,omitempty" tf:"rule_set,omitempty"`
}
type InspectTemplateInitParameters struct {
// A description of the inspect template.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// User set display name of the inspect template.
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// The core content of the template.
// Structure is documented below.
InspectConfig []InspectConfigInitParameters `json:"inspectConfig,omitempty" tf:"inspect_config,omitempty"`
// The parent of the inspect template in any of the following formats:
Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`
// The template id can contain uppercase and lowercase letters, numbers, and hyphens;
// that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is
// 100 characters. Can be empty to allow the system to generate one.
TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"`
}
type InspectTemplateObservation struct {
// A description of the inspect template.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// User set display name of the inspect template.
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// an identifier for the resource with format {{parent}}/inspectTemplates/{{name}}
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The core content of the template.
// Structure is documented below.
InspectConfig []InspectConfigObservation `json:"inspectConfig,omitempty" tf:"inspect_config,omitempty"`
// The resource name of the inspect template. Set by the server.
Name *string `json:"name,omitempty" tf:"name,omitempty"`