-
Notifications
You must be signed in to change notification settings - Fork 61
/
zz_jobtrigger_types.go
executable file
·2742 lines (2092 loc) · 138 KB
/
zz_jobtrigger_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
/*
Copyright 2021 The Crossplane Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// 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 ActionsInitParameters struct {
// Create a de-identified copy of the requested table or files.
// Structure is documented below.
Deidentify []DeidentifyInitParameters `json:"deidentify,omitempty" tf:"deidentify,omitempty"`
// Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
JobNotificationEmails []JobNotificationEmailsInitParameters `json:"jobNotificationEmails,omitempty" tf:"job_notification_emails,omitempty"`
// Publish a message into a given Pub/Sub topic when the job completes.
// Structure is documented below.
PubSub []PubSubInitParameters `json:"pubSub,omitempty" tf:"pub_sub,omitempty"`
// Publish findings of a DlpJob to Data Catalog.
PublishFindingsToCloudDataCatalog []PublishFindingsToCloudDataCatalogInitParameters `json:"publishFindingsToCloudDataCatalog,omitempty" tf:"publish_findings_to_cloud_data_catalog,omitempty"`
// Publish the result summary of a DlpJob to the Cloud Security Command Center.
PublishSummaryToCscc []PublishSummaryToCsccInitParameters `json:"publishSummaryToCscc,omitempty" tf:"publish_summary_to_cscc,omitempty"`
// Enable Stackdriver metric dlp.googleapis.com/findingCount.
PublishToStackdriver []PublishToStackdriverInitParameters `json:"publishToStackdriver,omitempty" tf:"publish_to_stackdriver,omitempty"`
// If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk
// Structure is documented below.
SaveFindings []SaveFindingsInitParameters `json:"saveFindings,omitempty" tf:"save_findings,omitempty"`
}
type ActionsObservation struct {
// Create a de-identified copy of the requested table or files.
// Structure is documented below.
Deidentify []DeidentifyObservation `json:"deidentify,omitempty" tf:"deidentify,omitempty"`
// Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
JobNotificationEmails []JobNotificationEmailsParameters `json:"jobNotificationEmails,omitempty" tf:"job_notification_emails,omitempty"`
// Publish a message into a given Pub/Sub topic when the job completes.
// Structure is documented below.
PubSub []PubSubObservation `json:"pubSub,omitempty" tf:"pub_sub,omitempty"`
// Publish findings of a DlpJob to Data Catalog.
PublishFindingsToCloudDataCatalog []PublishFindingsToCloudDataCatalogParameters `json:"publishFindingsToCloudDataCatalog,omitempty" tf:"publish_findings_to_cloud_data_catalog,omitempty"`
// Publish the result summary of a DlpJob to the Cloud Security Command Center.
PublishSummaryToCscc []PublishSummaryToCsccParameters `json:"publishSummaryToCscc,omitempty" tf:"publish_summary_to_cscc,omitempty"`
// Enable Stackdriver metric dlp.googleapis.com/findingCount.
PublishToStackdriver []PublishToStackdriverParameters `json:"publishToStackdriver,omitempty" tf:"publish_to_stackdriver,omitempty"`
// If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk
// Structure is documented below.
SaveFindings []SaveFindingsObservation `json:"saveFindings,omitempty" tf:"save_findings,omitempty"`
}
type ActionsParameters struct {
// Create a de-identified copy of the requested table or files.
// Structure is documented below.
// +kubebuilder:validation:Optional
Deidentify []DeidentifyParameters `json:"deidentify,omitempty" tf:"deidentify,omitempty"`
// Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
// +kubebuilder:validation:Optional
JobNotificationEmails []JobNotificationEmailsParameters `json:"jobNotificationEmails,omitempty" tf:"job_notification_emails,omitempty"`
// Publish a message into a given Pub/Sub topic when the job completes.
// Structure is documented below.
// +kubebuilder:validation:Optional
PubSub []PubSubParameters `json:"pubSub,omitempty" tf:"pub_sub,omitempty"`
// Publish findings of a DlpJob to Data Catalog.
// +kubebuilder:validation:Optional
PublishFindingsToCloudDataCatalog []PublishFindingsToCloudDataCatalogParameters `json:"publishFindingsToCloudDataCatalog,omitempty" tf:"publish_findings_to_cloud_data_catalog,omitempty"`
// Publish the result summary of a DlpJob to the Cloud Security Command Center.
// +kubebuilder:validation:Optional
PublishSummaryToCscc []PublishSummaryToCsccParameters `json:"publishSummaryToCscc,omitempty" tf:"publish_summary_to_cscc,omitempty"`
// Enable Stackdriver metric dlp.googleapis.com/findingCount.
// +kubebuilder:validation:Optional
PublishToStackdriver []PublishToStackdriverParameters `json:"publishToStackdriver,omitempty" tf:"publish_to_stackdriver,omitempty"`
// If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk
// Structure is documented below.
// +kubebuilder:validation:Optional
SaveFindings []SaveFindingsParameters `json:"saveFindings,omitempty" tf:"save_findings,omitempty"`
}
type BigQueryOptionsInitParameters struct {
// The columns that are the primary keys for table objects included in ContentItem. A copy of this
// cell's value will stored alongside alongside each finding so that the finding can be traced to
// the specific row it came from. No more than 3 may be provided.
// Structure is documented below.
IdentifyingFields []IdentifyingFieldsInitParameters `json:"identifyingFields,omitempty" tf:"identifying_fields,omitempty"`
// Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted.
// If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be
// specified. Cannot be used in conjunction with TimespanConfig.
RowsLimit *float64 `json:"rowsLimit,omitempty" tf:"rows_limit,omitempty"`
// Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of
// rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
RowsLimitPercent *float64 `json:"rowsLimitPercent,omitempty" tf:"rows_limit_percent,omitempty"`
// How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
// If not specified, scanning would start from the top.
// Possible values are: TOP, RANDOM_START.
SampleMethod *string `json:"sampleMethod,omitempty" tf:"sample_method,omitempty"`
// Set of files to scan.
// Structure is documented below.
TableReference []TableReferenceInitParameters `json:"tableReference,omitempty" tf:"table_reference,omitempty"`
}
type BigQueryOptionsObservation struct {
// The columns that are the primary keys for table objects included in ContentItem. A copy of this
// cell's value will stored alongside alongside each finding so that the finding can be traced to
// the specific row it came from. No more than 3 may be provided.
// Structure is documented below.
IdentifyingFields []IdentifyingFieldsObservation `json:"identifyingFields,omitempty" tf:"identifying_fields,omitempty"`
// Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted.
// If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be
// specified. Cannot be used in conjunction with TimespanConfig.
RowsLimit *float64 `json:"rowsLimit,omitempty" tf:"rows_limit,omitempty"`
// Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of
// rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
RowsLimitPercent *float64 `json:"rowsLimitPercent,omitempty" tf:"rows_limit_percent,omitempty"`
// How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
// If not specified, scanning would start from the top.
// Possible values are: TOP, RANDOM_START.
SampleMethod *string `json:"sampleMethod,omitempty" tf:"sample_method,omitempty"`
// Set of files to scan.
// Structure is documented below.
TableReference []TableReferenceObservation `json:"tableReference,omitempty" tf:"table_reference,omitempty"`
}
type BigQueryOptionsParameters struct {
// The columns that are the primary keys for table objects included in ContentItem. A copy of this
// cell's value will stored alongside alongside each finding so that the finding can be traced to
// the specific row it came from. No more than 3 may be provided.
// Structure is documented below.
// +kubebuilder:validation:Optional
IdentifyingFields []IdentifyingFieldsParameters `json:"identifyingFields,omitempty" tf:"identifying_fields,omitempty"`
// Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted.
// If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be
// specified. Cannot be used in conjunction with TimespanConfig.
// +kubebuilder:validation:Optional
RowsLimit *float64 `json:"rowsLimit,omitempty" tf:"rows_limit,omitempty"`
// Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of
// rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
// +kubebuilder:validation:Optional
RowsLimitPercent *float64 `json:"rowsLimitPercent,omitempty" tf:"rows_limit_percent,omitempty"`
// How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
// If not specified, scanning would start from the top.
// Possible values are: TOP, RANDOM_START.
// +kubebuilder:validation:Optional
SampleMethod *string `json:"sampleMethod,omitempty" tf:"sample_method,omitempty"`
// Set of files to scan.
// Structure is documented below.
// +kubebuilder:validation:Optional
TableReference []TableReferenceParameters `json:"tableReference" tf:"table_reference,omitempty"`
}
type CloudStorageOptionsInitParameters struct {
// Max number of bytes to scan from a file. If a scanned file's size is bigger than this value
// then the rest of the bytes are omitted.
BytesLimitPerFile *float64 `json:"bytesLimitPerFile,omitempty" tf:"bytes_limit_per_file,omitempty"`
// Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
BytesLimitPerFilePercent *float64 `json:"bytesLimitPerFilePercent,omitempty" tf:"bytes_limit_per_file_percent,omitempty"`
// Set of files to scan.
// Structure is documented below.
FileSet []FileSetInitParameters `json:"fileSet,omitempty" tf:"file_set,omitempty"`
// List of file type groups to include in the scan. If empty, all files are scanned and available data
// format processors are applied. In addition, the binary content of the selected files is always scanned as well.
// Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
// Each value may be one of: BINARY_FILE, TEXT_FILE, IMAGE, WORD, PDF, AVRO, CSV, TSV.
FileTypes []*string `json:"fileTypes,omitempty" tf:"file_types,omitempty"`
// Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
FilesLimitPercent *float64 `json:"filesLimitPercent,omitempty" tf:"files_limit_percent,omitempty"`
// How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
// If not specified, scanning would start from the top.
// Possible values are: TOP, RANDOM_START.
SampleMethod *string `json:"sampleMethod,omitempty" tf:"sample_method,omitempty"`
}
type CloudStorageOptionsObservation struct {
// Max number of bytes to scan from a file. If a scanned file's size is bigger than this value
// then the rest of the bytes are omitted.
BytesLimitPerFile *float64 `json:"bytesLimitPerFile,omitempty" tf:"bytes_limit_per_file,omitempty"`
// Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
BytesLimitPerFilePercent *float64 `json:"bytesLimitPerFilePercent,omitempty" tf:"bytes_limit_per_file_percent,omitempty"`
// Set of files to scan.
// Structure is documented below.
FileSet []FileSetObservation `json:"fileSet,omitempty" tf:"file_set,omitempty"`
// List of file type groups to include in the scan. If empty, all files are scanned and available data
// format processors are applied. In addition, the binary content of the selected files is always scanned as well.
// Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
// Each value may be one of: BINARY_FILE, TEXT_FILE, IMAGE, WORD, PDF, AVRO, CSV, TSV.
FileTypes []*string `json:"fileTypes,omitempty" tf:"file_types,omitempty"`
// Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
FilesLimitPercent *float64 `json:"filesLimitPercent,omitempty" tf:"files_limit_percent,omitempty"`
// How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
// If not specified, scanning would start from the top.
// Possible values are: TOP, RANDOM_START.
SampleMethod *string `json:"sampleMethod,omitempty" tf:"sample_method,omitempty"`
}
type CloudStorageOptionsParameters struct {
// Max number of bytes to scan from a file. If a scanned file's size is bigger than this value
// then the rest of the bytes are omitted.
// +kubebuilder:validation:Optional
BytesLimitPerFile *float64 `json:"bytesLimitPerFile,omitempty" tf:"bytes_limit_per_file,omitempty"`
// Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
// +kubebuilder:validation:Optional
BytesLimitPerFilePercent *float64 `json:"bytesLimitPerFilePercent,omitempty" tf:"bytes_limit_per_file_percent,omitempty"`
// Set of files to scan.
// Structure is documented below.
// +kubebuilder:validation:Optional
FileSet []FileSetParameters `json:"fileSet" tf:"file_set,omitempty"`
// List of file type groups to include in the scan. If empty, all files are scanned and available data
// format processors are applied. In addition, the binary content of the selected files is always scanned as well.
// Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
// Each value may be one of: BINARY_FILE, TEXT_FILE, IMAGE, WORD, PDF, AVRO, CSV, TSV.
// +kubebuilder:validation:Optional
FileTypes []*string `json:"fileTypes,omitempty" tf:"file_types,omitempty"`
// Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down.
// Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
// +kubebuilder:validation:Optional
FilesLimitPercent *float64 `json:"filesLimitPercent,omitempty" tf:"files_limit_percent,omitempty"`
// How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
// If not specified, scanning would start from the top.
// Possible values are: TOP, RANDOM_START.
// +kubebuilder:validation:Optional
SampleMethod *string `json:"sampleMethod,omitempty" tf:"sample_method,omitempty"`
}
type CustomInfoTypesDictionaryCloudStoragePathInitParameters 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 CustomInfoTypesDictionaryCloudStoragePathObservation 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 CustomInfoTypesDictionaryCloudStoragePathParameters 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 CustomInfoTypesDictionaryInitParameters struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
CloudStoragePath []CustomInfoTypesDictionaryCloudStoragePathInitParameters `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
WordList []CustomInfoTypesDictionaryWordListInitParameters `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type CustomInfoTypesDictionaryObservation struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
CloudStoragePath []CustomInfoTypesDictionaryCloudStoragePathObservation `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
WordList []CustomInfoTypesDictionaryWordListObservation `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type CustomInfoTypesDictionaryParameters struct {
// Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
// Structure is documented below.
// +kubebuilder:validation:Optional
CloudStoragePath []CustomInfoTypesDictionaryCloudStoragePathParameters `json:"cloudStoragePath,omitempty" tf:"cloud_storage_path,omitempty"`
// List of words or phrases to search for.
// Structure is documented below.
// +kubebuilder:validation:Optional
WordList []CustomInfoTypesDictionaryWordListParameters `json:"wordList,omitempty" tf:"word_list,omitempty"`
}
type CustomInfoTypesDictionaryWordListInitParameters 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 CustomInfoTypesDictionaryWordListObservation 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 CustomInfoTypesDictionaryWordListParameters 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 CustomInfoTypesInfoTypeInitParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,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 CustomInfoTypesInfoTypeObservation struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,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 CustomInfoTypesInfoTypeParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,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 CustomInfoTypesRegexInitParameters 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 CustomInfoTypesRegexObservation 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 CustomInfoTypesRegexParameters 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 CustomInfoTypesStoredTypeInitParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type CustomInfoTypesStoredTypeObservation struct {
// (Output)
// The creation timestamp of an inspectTemplate. Set by the server.
CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type CustomInfoTypesStoredTypeParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
}
type CustomInfoTypesSurrogateTypeInitParameters struct {
}
type CustomInfoTypesSurrogateTypeObservation struct {
}
type CustomInfoTypesSurrogateTypeParameters struct {
}
type DatastoreOptionsInitParameters struct {
// A representation of a Datastore kind.
// Structure is documented below.
Kind []KindInitParameters `json:"kind,omitempty" tf:"kind,omitempty"`
// Datastore partition ID. A partition ID identifies a grouping of entities. The grouping
// is always by project and namespace, however the namespace ID may be empty.
// Structure is documented below.
PartitionID []PartitionIDInitParameters `json:"partitionId,omitempty" tf:"partition_id,omitempty"`
}
type DatastoreOptionsObservation struct {
// A representation of a Datastore kind.
// Structure is documented below.
Kind []KindObservation `json:"kind,omitempty" tf:"kind,omitempty"`
// Datastore partition ID. A partition ID identifies a grouping of entities. The grouping
// is always by project and namespace, however the namespace ID may be empty.
// Structure is documented below.
PartitionID []PartitionIDObservation `json:"partitionId,omitempty" tf:"partition_id,omitempty"`
}
type DatastoreOptionsParameters struct {
// A representation of a Datastore kind.
// Structure is documented below.
// +kubebuilder:validation:Optional
Kind []KindParameters `json:"kind" tf:"kind,omitempty"`
// Datastore partition ID. A partition ID identifies a grouping of entities. The grouping
// is always by project and namespace, however the namespace ID may be empty.
// Structure is documented below.
// +kubebuilder:validation:Optional
PartitionID []PartitionIDParameters `json:"partitionId" tf:"partition_id,omitempty"`
}
type DeidentifyInitParameters struct {
// User settable Cloud Storage bucket and folders to store de-identified files.
// This field must be set for cloud storage deidentification.
// The output Cloud Storage bucket must be different from the input bucket.
// De-identified files will overwrite files in the output path.
// Form of: gs://bucket/folder/ or gs://bucket
CloudStorageOutput *string `json:"cloudStorageOutput,omitempty" tf:"cloud_storage_output,omitempty"`
// List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
// If empty, all supported files will be transformed. Supported types may be automatically added over time.
// If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
// Each value may be one of: IMAGE, TEXT_FILE, CSV, TSV.
FileTypesToTransform []*string `json:"fileTypesToTransform,omitempty" tf:"file_types_to_transform,omitempty"`
// User specified deidentify templates and configs for structured, unstructured, and image files.
// Structure is documented below.
TransformationConfig []TransformationConfigInitParameters `json:"transformationConfig,omitempty" tf:"transformation_config,omitempty"`
// Config for storing transformation details.
// Structure is documented below.
TransformationDetailsStorageConfig []TransformationDetailsStorageConfigInitParameters `json:"transformationDetailsStorageConfig,omitempty" tf:"transformation_details_storage_config,omitempty"`
}
type DeidentifyObservation struct {
// User settable Cloud Storage bucket and folders to store de-identified files.
// This field must be set for cloud storage deidentification.
// The output Cloud Storage bucket must be different from the input bucket.
// De-identified files will overwrite files in the output path.
// Form of: gs://bucket/folder/ or gs://bucket
CloudStorageOutput *string `json:"cloudStorageOutput,omitempty" tf:"cloud_storage_output,omitempty"`
// List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
// If empty, all supported files will be transformed. Supported types may be automatically added over time.
// If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
// Each value may be one of: IMAGE, TEXT_FILE, CSV, TSV.
FileTypesToTransform []*string `json:"fileTypesToTransform,omitempty" tf:"file_types_to_transform,omitempty"`
// User specified deidentify templates and configs for structured, unstructured, and image files.
// Structure is documented below.
TransformationConfig []TransformationConfigObservation `json:"transformationConfig,omitempty" tf:"transformation_config,omitempty"`
// Config for storing transformation details.
// Structure is documented below.
TransformationDetailsStorageConfig []TransformationDetailsStorageConfigObservation `json:"transformationDetailsStorageConfig,omitempty" tf:"transformation_details_storage_config,omitempty"`
}
type DeidentifyParameters struct {
// User settable Cloud Storage bucket and folders to store de-identified files.
// This field must be set for cloud storage deidentification.
// The output Cloud Storage bucket must be different from the input bucket.
// De-identified files will overwrite files in the output path.
// Form of: gs://bucket/folder/ or gs://bucket
// +kubebuilder:validation:Optional
CloudStorageOutput *string `json:"cloudStorageOutput" tf:"cloud_storage_output,omitempty"`
// List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
// If empty, all supported files will be transformed. Supported types may be automatically added over time.
// If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
// Each value may be one of: IMAGE, TEXT_FILE, CSV, TSV.
// +kubebuilder:validation:Optional
FileTypesToTransform []*string `json:"fileTypesToTransform,omitempty" tf:"file_types_to_transform,omitempty"`
// User specified deidentify templates and configs for structured, unstructured, and image files.
// Structure is documented below.
// +kubebuilder:validation:Optional
TransformationConfig []TransformationConfigParameters `json:"transformationConfig,omitempty" tf:"transformation_config,omitempty"`
// Config for storing transformation details.
// Structure is documented below.
// +kubebuilder:validation:Optional
TransformationDetailsStorageConfig []TransformationDetailsStorageConfigParameters `json:"transformationDetailsStorageConfig,omitempty" tf:"transformation_details_storage_config,omitempty"`
}
type ExcludeByHotwordHotwordRegexInitParameters 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 ExcludeByHotwordHotwordRegexObservation 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 ExcludeByHotwordHotwordRegexParameters 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,omitempty" tf:"pattern,omitempty"`
}
type ExcludeByHotwordProximityInitParameters 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 ExcludeByHotwordProximityObservation 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 ExcludeByHotwordProximityParameters 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 ExclusionRuleDictionaryCloudStoragePathInitParameters 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 ExclusionRuleDictionaryCloudStoragePathObservation 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 ExclusionRuleDictionaryCloudStoragePathParameters 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 ExclusionRuleExcludeByHotwordInitParameters struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
HotwordRegex []ExcludeByHotwordHotwordRegexInitParameters `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 []ExcludeByHotwordProximityInitParameters `json:"proximity,omitempty" tf:"proximity,omitempty"`
}
type ExclusionRuleExcludeByHotwordObservation struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
HotwordRegex []ExcludeByHotwordHotwordRegexObservation `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 []ExcludeByHotwordProximityObservation `json:"proximity,omitempty" tf:"proximity,omitempty"`
}
type ExclusionRuleExcludeByHotwordParameters struct {
// Regular expression pattern defining what qualifies as a hotword.
// Structure is documented below.
// +kubebuilder:validation:Optional
HotwordRegex []ExcludeByHotwordHotwordRegexParameters `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.
// +kubebuilder:validation:Optional
Proximity []ExcludeByHotwordProximityParameters `json:"proximity,omitempty" tf:"proximity,omitempty"`
}
type ExclusionRuleExcludeInfoTypesInfoTypesInitParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,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 ExclusionRuleExcludeInfoTypesInfoTypesObservation struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,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 ExclusionRuleExcludeInfoTypesInfoTypesParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,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 ExclusionRuleExcludeInfoTypesInitParameters struct {
// List of infoTypes this rule set is applied to.
// Structure is documented below.
InfoTypes []ExclusionRuleExcludeInfoTypesInfoTypesInitParameters `json:"infoTypes,omitempty" tf:"info_types,omitempty"`
}
type ExclusionRuleExcludeInfoTypesObservation struct {
// List of infoTypes this rule set is applied to.
// Structure is documented below.
InfoTypes []ExclusionRuleExcludeInfoTypesInfoTypesObservation `json:"infoTypes,omitempty" tf:"info_types,omitempty"`
}
type ExclusionRuleExcludeInfoTypesParameters struct {
// List of infoTypes this rule set is applied to.
// Structure is documented below.
// +kubebuilder:validation:Optional
InfoTypes []ExclusionRuleExcludeInfoTypesInfoTypesParameters `json:"infoTypes" tf:"info_types,omitempty"`
}
type FileSetInitParameters struct {
// The regex-filtered set of files to scan.
// Structure is documented below.
RegexFileSet []RegexFileSetInitParameters `json:"regexFileSet,omitempty" tf:"regex_file_set,omitempty"`
// The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard
// in the path is allowed.
// If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned
// non-recursively (content in sub-directories will not be scanned). This means that gs://mybucket/ is
// equivalent to gs://mybucket/*, and gs://mybucket/directory/ is equivalent to gs://mybucket/directory/*.
URL *string `json:"url,omitempty" tf:"url,omitempty"`
}
type FileSetObservation struct {
// The regex-filtered set of files to scan.
// Structure is documented below.
RegexFileSet []RegexFileSetObservation `json:"regexFileSet,omitempty" tf:"regex_file_set,omitempty"`
// The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard
// in the path is allowed.
// If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned
// non-recursively (content in sub-directories will not be scanned). This means that gs://mybucket/ is
// equivalent to gs://mybucket/*, and gs://mybucket/directory/ is equivalent to gs://mybucket/directory/*.
URL *string `json:"url,omitempty" tf:"url,omitempty"`
}
type FileSetParameters struct {
// The regex-filtered set of files to scan.
// Structure is documented below.
// +kubebuilder:validation:Optional
RegexFileSet []RegexFileSetParameters `json:"regexFileSet,omitempty" tf:"regex_file_set,omitempty"`
// The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard
// in the path is allowed.
// If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned
// non-recursively (content in sub-directories will not be scanned). This means that gs://mybucket/ is
// equivalent to gs://mybucket/*, and gs://mybucket/directory/ is equivalent to gs://mybucket/directory/*.
// +kubebuilder:validation:Optional
URL *string `json:"url,omitempty" tf:"url,omitempty"`
}
type HotwordRuleLikelihoodAdjustmentInitParameters struct {
// Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
FixedLikelihood *string `json:"fixedLikelihood,omitempty" tf:"fixed_likelihood,omitempty"`
// Increase or decrease the likelihood by the specified number of levels. For example,
// if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1,
// then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY.
// Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an
// adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY
// will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
RelativeLikelihood *float64 `json:"relativeLikelihood,omitempty" tf:"relative_likelihood,omitempty"`
}
type HotwordRuleLikelihoodAdjustmentObservation struct {
// Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
FixedLikelihood *string `json:"fixedLikelihood,omitempty" tf:"fixed_likelihood,omitempty"`
// Increase or decrease the likelihood by the specified number of levels. For example,
// if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1,
// then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY.
// Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an
// adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY
// will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
RelativeLikelihood *float64 `json:"relativeLikelihood,omitempty" tf:"relative_likelihood,omitempty"`
}
type HotwordRuleLikelihoodAdjustmentParameters struct {
// Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
// Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
// +kubebuilder:validation:Optional
FixedLikelihood *string `json:"fixedLikelihood,omitempty" tf:"fixed_likelihood,omitempty"`
// Increase or decrease the likelihood by the specified number of levels. For example,
// if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1,
// then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY.
// Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an
// adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY
// will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
// +kubebuilder:validation:Optional
RelativeLikelihood *float64 `json:"relativeLikelihood,omitempty" tf:"relative_likelihood,omitempty"`
}
type HybridOptionsInitParameters struct {
// A description of the job trigger.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// To organize findings, these labels will be added to each finding.
// Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.
// Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.
// No more than 10 labels can be associated with a given finding.
// Examples:
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// These are labels that each inspection request must include within their 'finding_labels' map. Request
// may contain others, but any missing one of these will be rejected.
// Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.
// No more than 10 keys can be required.
RequiredFindingLabelKeys []*string `json:"requiredFindingLabelKeys,omitempty" tf:"required_finding_label_keys,omitempty"`
// If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
// Structure is documented below.
TableOptions []TableOptionsInitParameters `json:"tableOptions,omitempty" tf:"table_options,omitempty"`
}
type HybridOptionsObservation struct {
// A description of the job trigger.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// To organize findings, these labels will be added to each finding.
// Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.
// Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.
// No more than 10 labels can be associated with a given finding.
// Examples:
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// These are labels that each inspection request must include within their 'finding_labels' map. Request
// may contain others, but any missing one of these will be rejected.
// Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.
// No more than 10 keys can be required.
RequiredFindingLabelKeys []*string `json:"requiredFindingLabelKeys,omitempty" tf:"required_finding_label_keys,omitempty"`
// If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
// Structure is documented below.
TableOptions []TableOptionsObservation `json:"tableOptions,omitempty" tf:"table_options,omitempty"`
}
type HybridOptionsParameters struct {
// A description of the job trigger.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// To organize findings, these labels will be added to each finding.
// Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.
// Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.
// No more than 10 labels can be associated with a given finding.
// Examples:
// +kubebuilder:validation:Optional
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// These are labels that each inspection request must include within their 'finding_labels' map. Request
// may contain others, but any missing one of these will be rejected.
// Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.
// No more than 10 keys can be required.
// +kubebuilder:validation:Optional
RequiredFindingLabelKeys []*string `json:"requiredFindingLabelKeys,omitempty" tf:"required_finding_label_keys,omitempty"`
// If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
// Structure is documented below.
// +kubebuilder:validation:Optional
TableOptions []TableOptionsParameters `json:"tableOptions,omitempty" tf:"table_options,omitempty"`
}
type IdentifyingFieldsInitParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type IdentifyingFieldsObservation struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type IdentifyingFieldsParameters struct {
// Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.
// For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was
// modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp
// field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column.
// For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the
// timestamp property does not exist or its value is empty or invalid.