-
Notifications
You must be signed in to change notification settings - Fork 61
/
zz_workflowtemplate_types.go
executable file
·1286 lines (936 loc) · 71 KB
/
zz_workflowtemplate_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 ClusterSelectorObservation struct {
}
type ClusterSelectorParameters struct {
// Required. The cluster labels. Cluster must have all labels to match.
// +kubebuilder:validation:Required
ClusterLabels map[string]*string `json:"clusterLabels" tf:"cluster_labels,omitempty"`
// Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/ * us-central1-f
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
type ConfigAutoscalingConfigObservation struct {
}
type ConfigAutoscalingConfigParameters struct {
// Optional. The autoscaling policy used by the cluster. Only resource names including projectid and location (region) are valid. Examples: * https://www.googleapis.com/compute/v1/projects/ Note that the policy must be in the same project and Dataproc region.
// +kubebuilder:validation:Optional
Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}
type ConfigEncryptionConfigObservation struct {
}
type ConfigEncryptionConfigParameters struct {
// Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.
// +kubebuilder:validation:Optional
GcePdKMSKeyName *string `json:"gcePdKmsKeyName,omitempty" tf:"gce_pd_kms_key_name,omitempty"`
}
type ConfigEndpointConfigObservation struct {
// Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.
HTTPPorts map[string]*string `json:"httpPorts,omitempty" tf:"http_ports,omitempty"`
}
type ConfigEndpointConfigParameters struct {
// Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false.
// +kubebuilder:validation:Optional
EnableHTTPPortAccess *bool `json:"enableHttpPortAccess,omitempty" tf:"enable_http_port_access,omitempty"`
}
type ConfigGceClusterConfigObservation struct {
}
type ConfigGceClusterConfigParameters struct {
// Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.
// +kubebuilder:validation:Optional
InternalIPOnly *bool `json:"internalIpOnly,omitempty" tf:"internal_ip_only,omitempty"`
// The Compute Engine metadata entries to add to all instances (see (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
// +kubebuilder:validation:Optional
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see /regions/global/default*default`
// +kubebuilder:validation:Optional
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// Optional. Node Group Affinity for sole-tenant clusters.
// +kubebuilder:validation:Optional
NodeGroupAffinity []GceClusterConfigNodeGroupAffinityParameters `json:"nodeGroupAffinity,omitempty" tf:"node_group_affinity,omitempty"`
// Optional. The type of IPv6 access for a cluster. Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL
// +kubebuilder:validation:Optional
PrivateIPv6GoogleAccess *string `json:"privateIpv6GoogleAccess,omitempty" tf:"private_ipv6_google_access,omitempty"`
// Optional. Reservation Affinity for consuming Zonal reservation.
// +kubebuilder:validation:Optional
ReservationAffinity []GceClusterConfigReservationAffinityParameters `json:"reservationAffinity,omitempty" tf:"reservation_affinity,omitempty"`
// Optional. The (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
// +kubebuilder:validation:Optional
ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`
// Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
// +kubebuilder:validation:Optional
ServiceAccountScopes []*string `json:"serviceAccountScopes,omitempty" tf:"service_account_scopes,omitempty"`
// Optional. Shielded Instance Config for clusters using Compute Engine Shielded VMs. Structure defined below.
// +kubebuilder:validation:Optional
ShieldedInstanceConfig []GceClusterConfigShieldedInstanceConfigParameters `json:"shieldedInstanceConfig,omitempty" tf:"shielded_instance_config,omitempty"`
// Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects//regions/us-east1/subnetworks/sub0 * sub0
// +kubebuilder:validation:Optional
Subnetwork *string `json:"subnetwork,omitempty" tf:"subnetwork,omitempty"`
// The Compute Engine tags to add to all instances (see (https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/ * us-central1-f
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
type ConfigLifecycleConfigObservation struct {
// Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)).
IdleStartTime *string `json:"idleStartTime,omitempty" tf:"idle_start_time,omitempty"`
}
type ConfigLifecycleConfigParameters struct {
// Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)).
// +kubebuilder:validation:Optional
AutoDeleteTTL *string `json:"autoDeleteTtl,omitempty" tf:"auto_delete_ttl,omitempty"`
// Optional. The time when cluster will be auto-deleted (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)).
// +kubebuilder:validation:Optional
AutoDeleteTime *string `json:"autoDeleteTime,omitempty" tf:"auto_delete_time,omitempty"`
// Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json).
// +kubebuilder:validation:Optional
IdleDeleteTTL *string `json:"idleDeleteTtl,omitempty" tf:"idle_delete_ttl,omitempty"`
}
type ConfigMasterConfigObservation struct {
// Output only. The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
InstanceNames []*string `json:"instanceNames,omitempty" tf:"instance_names,omitempty"`
// Output only. Specifies that this instance group contains preemptible instances.
IsPreemptible *bool `json:"isPreemptible,omitempty" tf:"is_preemptible,omitempty"`
// Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
ManagedGroupConfig []ManagedGroupConfigObservation `json:"managedGroupConfig,omitempty" tf:"managed_group_config,omitempty"`
}
type ConfigMasterConfigParameters struct {
// Optional. The Compute Engine accelerator configuration for these instances.
// +kubebuilder:validation:Optional
Accelerators []MasterConfigAcceleratorsParameters `json:"accelerators,omitempty" tf:"accelerators,omitempty"`
// Optional. Disk option config settings.
// +kubebuilder:validation:Optional
DiskConfig []MasterConfigDiskConfigParameters `json:"diskConfig,omitempty" tf:"disk_config,omitempty"`
// Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * https://www.googleapis.com/compute/beta/projects/ If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
// +kubebuilder:validation:Optional
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/(https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2`.
// +kubebuilder:validation:Optional
MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`
// Optional. Specifies the minimum cpu platform for the Instance Group. See (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
// +kubebuilder:validation:Optional
MinCPUPlatform *string `json:"minCpuPlatform,omitempty" tf:"min_cpu_platform,omitempty"`
// Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.
// +kubebuilder:validation:Optional
NumInstances *float64 `json:"numInstances,omitempty" tf:"num_instances,omitempty"`
// Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed. The default value for secondary instances is PREEMPTIBLE. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE
// +kubebuilder:validation:Optional
Preemptibility *string `json:"preemptibility,omitempty" tf:"preemptibility,omitempty"`
}
type ConfigSecondaryWorkerConfigObservation struct {
// Output only. The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
InstanceNames []*string `json:"instanceNames,omitempty" tf:"instance_names,omitempty"`
// Output only. Specifies that this instance group contains preemptible instances.
IsPreemptible *bool `json:"isPreemptible,omitempty" tf:"is_preemptible,omitempty"`
// Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
ManagedGroupConfig []SecondaryWorkerConfigManagedGroupConfigObservation `json:"managedGroupConfig,omitempty" tf:"managed_group_config,omitempty"`
}
type ConfigSecondaryWorkerConfigParameters struct {
// Optional. The Compute Engine accelerator configuration for these instances.
// +kubebuilder:validation:Optional
Accelerators []SecondaryWorkerConfigAcceleratorsParameters `json:"accelerators,omitempty" tf:"accelerators,omitempty"`
// Optional. Disk option config settings.
// +kubebuilder:validation:Optional
DiskConfig []SecondaryWorkerConfigDiskConfigParameters `json:"diskConfig,omitempty" tf:"disk_config,omitempty"`
// Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * https://www.googleapis.com/compute/beta/projects/ If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
// +kubebuilder:validation:Optional
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/(https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2`.
// +kubebuilder:validation:Optional
MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`
// Optional. Specifies the minimum cpu platform for the Instance Group. See (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
// +kubebuilder:validation:Optional
MinCPUPlatform *string `json:"minCpuPlatform,omitempty" tf:"min_cpu_platform,omitempty"`
// Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.
// +kubebuilder:validation:Optional
NumInstances *float64 `json:"numInstances,omitempty" tf:"num_instances,omitempty"`
// Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed. The default value for secondary instances is PREEMPTIBLE. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE
// +kubebuilder:validation:Optional
Preemptibility *string `json:"preemptibility,omitempty" tf:"preemptibility,omitempty"`
}
type ConfigSecurityConfigObservation struct {
}
type ConfigSecurityConfigParameters struct {
// Kerberos related configuration.
// +kubebuilder:validation:Optional
KerberosConfig []SecurityConfigKerberosConfigParameters `json:"kerberosConfig,omitempty" tf:"kerberos_config,omitempty"`
}
type ConfigSoftwareConfigObservation struct {
}
type ConfigSoftwareConfigParameters struct {
// Optional. The version of software inside the cluster. It must be one of the supported (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.
// +kubebuilder:validation:Optional
ImageVersion *string `json:"imageVersion,omitempty" tf:"image_version,omitempty"`
// +kubebuilder:validation:Optional
OptionalComponents []*string `json:"optionalComponents,omitempty" tf:"optional_components,omitempty"`
// Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.
// +kubebuilder:validation:Optional
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
}
type ConfigWorkerConfigAcceleratorsObservation struct {
}
type ConfigWorkerConfigAcceleratorsParameters struct {
// The number of the accelerator cards of this type exposed to this instance.
// +kubebuilder:validation:Optional
AcceleratorCount *float64 `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"`
// Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.
// +kubebuilder:validation:Optional
AcceleratorType *string `json:"acceleratorType,omitempty" tf:"accelerator_type,omitempty"`
}
type ConfigWorkerConfigDiskConfigObservation struct {
}
type ConfigWorkerConfigDiskConfigParameters struct {
// Optional. Size in GB of the boot disk (default is 500GB).
// +kubebuilder:validation:Optional
BootDiskSizeGb *float64 `json:"bootDiskSizeGb,omitempty" tf:"boot_disk_size_gb,omitempty"`
// Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
// +kubebuilder:validation:Optional
BootDiskType *string `json:"bootDiskType,omitempty" tf:"boot_disk_type,omitempty"`
// Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
// +kubebuilder:validation:Optional
NumLocalSsds *float64 `json:"numLocalSsds,omitempty" tf:"num_local_ssds,omitempty"`
}
type ConfigWorkerConfigObservation struct {
// Output only. The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
InstanceNames []*string `json:"instanceNames,omitempty" tf:"instance_names,omitempty"`
// Output only. Specifies that this instance group contains preemptible instances.
IsPreemptible *bool `json:"isPreemptible,omitempty" tf:"is_preemptible,omitempty"`
// Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
ManagedGroupConfig []WorkerConfigManagedGroupConfigObservation `json:"managedGroupConfig,omitempty" tf:"managed_group_config,omitempty"`
}
type ConfigWorkerConfigParameters struct {
// Optional. The Compute Engine accelerator configuration for these instances.
// +kubebuilder:validation:Optional
Accelerators []ConfigWorkerConfigAcceleratorsParameters `json:"accelerators,omitempty" tf:"accelerators,omitempty"`
// Optional. Disk option config settings.
// +kubebuilder:validation:Optional
DiskConfig []ConfigWorkerConfigDiskConfigParameters `json:"diskConfig,omitempty" tf:"disk_config,omitempty"`
// Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * https://www.googleapis.com/compute/beta/projects/ If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
// +kubebuilder:validation:Optional
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/(https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2`.
// +kubebuilder:validation:Optional
MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`
// Optional. Specifies the minimum cpu platform for the Instance Group. See (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
// +kubebuilder:validation:Optional
MinCPUPlatform *string `json:"minCpuPlatform,omitempty" tf:"min_cpu_platform,omitempty"`
// Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.
// +kubebuilder:validation:Optional
NumInstances *float64 `json:"numInstances,omitempty" tf:"num_instances,omitempty"`
// Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed. The default value for secondary instances is PREEMPTIBLE. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE
// +kubebuilder:validation:Optional
Preemptibility *string `json:"preemptibility,omitempty" tf:"preemptibility,omitempty"`
}
type GceClusterConfigNodeGroupAffinityObservation struct {
}
type GceClusterConfigNodeGroupAffinityParameters struct {
// Required. The URI of a sole-tenant /zones/us-central1-a/nodeGroups/node-group-1*node-group-1`
// +kubebuilder:validation:Required
NodeGroup *string `json:"nodeGroup" tf:"node_group,omitempty"`
}
type GceClusterConfigReservationAffinityObservation struct {
}
type GceClusterConfigReservationAffinityParameters struct {
// Optional. Type of reservation to consume Possible values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION, SPECIFIC_RESERVATION
// +kubebuilder:validation:Optional
ConsumeReservationType *string `json:"consumeReservationType,omitempty" tf:"consume_reservation_type,omitempty"`
// Optional. Corresponds to the label key of reservation resource.
// +kubebuilder:validation:Optional
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// Required. List of allowed values for the parameter.
// +kubebuilder:validation:Optional
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type GceClusterConfigShieldedInstanceConfigObservation struct {
}
type GceClusterConfigShieldedInstanceConfigParameters struct {
// Optional. Defines whether instances have Integrity Monitoring enabled.
// +kubebuilder:validation:Optional
EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring,omitempty" tf:"enable_integrity_monitoring,omitempty"`
// Optional. Defines whether instances have Secure Boot enabled.
// +kubebuilder:validation:Optional
EnableSecureBoot *bool `json:"enableSecureBoot,omitempty" tf:"enable_secure_boot,omitempty"`
// Optional. Defines whether instances have the vTPM enabled.
// +kubebuilder:validation:Optional
EnableVtpm *bool `json:"enableVtpm,omitempty" tf:"enable_vtpm,omitempty"`
}
type HadoopJobLoggingConfigObservation struct {
}
type HadoopJobLoggingConfigParameters struct {
// The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'
// +kubebuilder:validation:Optional
DriverLogLevels map[string]*string `json:"driverLogLevels,omitempty" tf:"driver_log_levels,omitempty"`
}
type HadoopJobObservation struct {
}
type HadoopJobParameters struct {
// Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
// +kubebuilder:validation:Optional
ArchiveUris []*string `json:"archiveUris,omitempty" tf:"archive_uris,omitempty"`
// Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
// +kubebuilder:validation:Optional
Args []*string `json:"args,omitempty" tf:"args,omitempty"`
// Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.
// +kubebuilder:validation:Optional
FileUris []*string `json:"fileUris,omitempty" tf:"file_uris,omitempty"`
// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
// +kubebuilder:validation:Optional
JarFileUris []*string `json:"jarFileUris,omitempty" tf:"jar_file_uris,omitempty"`
// Optional. The runtime log config for job execution.
// +kubebuilder:validation:Optional
LoggingConfig []HadoopJobLoggingConfigParameters `json:"loggingConfig,omitempty" tf:"logging_config,omitempty"`
// The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.
// +kubebuilder:validation:Optional
MainClass *string `json:"mainClass,omitempty" tf:"main_class,omitempty"`
// The HCFS URI of the jar file that contains the main class.
// +kubebuilder:validation:Optional
MainJarFileURI *string `json:"mainJarFileUri,omitempty" tf:"main_jar_file_uri,omitempty"`
// Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.
// +kubebuilder:validation:Optional
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
}
type HiveJobObservation struct {
}
type HiveJobParameters struct {
// Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.
// +kubebuilder:validation:Optional
ContinueOnFailure *bool `json:"continueOnFailure,omitempty" tf:"continue_on_failure,omitempty"`
// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
// +kubebuilder:validation:Optional
JarFileUris []*string `json:"jarFileUris,omitempty" tf:"jar_file_uris,omitempty"`
// Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.
// +kubebuilder:validation:Optional
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
// The HCFS URI of the script that contains SQL queries.
// +kubebuilder:validation:Optional
QueryFileURI *string `json:"queryFileUri,omitempty" tf:"query_file_uri,omitempty"`
// A list of queries.
// +kubebuilder:validation:Optional
QueryList []QueryListParameters `json:"queryList,omitempty" tf:"query_list,omitempty"`
// Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";).
// +kubebuilder:validation:Optional
ScriptVariables map[string]*string `json:"scriptVariables,omitempty" tf:"script_variables,omitempty"`
}
type InitializationActionsObservation struct {
}
type InitializationActionsParameters struct {
// Required. Cloud Storage URI of executable file.
// +kubebuilder:validation:Optional
ExecutableFile *string `json:"executableFile,omitempty" tf:"executable_file,omitempty"`
// Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)). Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
// +kubebuilder:validation:Optional
ExecutionTimeout *string `json:"executionTimeout,omitempty" tf:"execution_timeout,omitempty"`
}
type JobsObservation struct {
}
type JobsParameters struct {
// Optional. Job is a Hadoop job.
// +kubebuilder:validation:Optional
HadoopJob []HadoopJobParameters `json:"hadoopJob,omitempty" tf:"hadoop_job,omitempty"`
// Optional. Job is a Hive job.
// +kubebuilder:validation:Optional
HiveJob []HiveJobParameters `json:"hiveJob,omitempty" tf:"hive_job,omitempty"`
// Optional. The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: {0,63} No more than 32 labels can be associated with a given job.
// +kubebuilder:validation:Optional
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// Optional. Job is a Pig job.
// +kubebuilder:validation:Optional
PigJob []PigJobParameters `json:"pigJob,omitempty" tf:"pig_job,omitempty"`
// Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
// +kubebuilder:validation:Optional
PrerequisiteStepIds []*string `json:"prerequisiteStepIds,omitempty" tf:"prerequisite_step_ids,omitempty"`
// Optional. Job is a Presto job.
// +kubebuilder:validation:Optional
PrestoJob []PrestoJobParameters `json:"prestoJob,omitempty" tf:"presto_job,omitempty"`
// Optional. Job is a PySpark job.
// +kubebuilder:validation:Optional
PysparkJob []PysparkJobParameters `json:"pysparkJob,omitempty" tf:"pyspark_job,omitempty"`
// Optional. Job scheduling configuration.
// +kubebuilder:validation:Optional
Scheduling []JobsSchedulingParameters `json:"scheduling,omitempty" tf:"scheduling,omitempty"`
// Optional. Job is a Spark job.
// +kubebuilder:validation:Optional
SparkJob []SparkJobParameters `json:"sparkJob,omitempty" tf:"spark_job,omitempty"`
// Optional. Job is a SparkR job.
// +kubebuilder:validation:Optional
SparkRJob []SparkRJobParameters `json:"sparkRJob,omitempty" tf:"spark_r_job,omitempty"`
// Optional. Job is a SparkSql job.
// +kubebuilder:validation:Optional
SparkSQLJob []SparkSQLJobParameters `json:"sparkSqlJob,omitempty" tf:"spark_sql_job,omitempty"`
// Required. The step id. The id must be unique among all jobs within the template. The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in field from other steps. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
// +kubebuilder:validation:Required
StepID *string `json:"stepId" tf:"step_id,omitempty"`
}
type JobsSchedulingObservation struct {
}
type JobsSchedulingParameters struct {
// Optional. Maximum number of times per hour a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed. A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window. Maximum value is 10.
// +kubebuilder:validation:Optional
MaxFailuresPerHour *float64 `json:"maxFailuresPerHour,omitempty" tf:"max_failures_per_hour,omitempty"`
// Optional. Maximum number of times in total a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed. Maximum value is 240
// +kubebuilder:validation:Optional
MaxFailuresTotal *float64 `json:"maxFailuresTotal,omitempty" tf:"max_failures_total,omitempty"`
}
type ManagedClusterConfigObservation struct {
// Optional. Port/endpoint configuration for this cluster
// +kubebuilder:validation:Optional
EndpointConfig []ConfigEndpointConfigObservation `json:"endpointConfig,omitempty" tf:"endpoint_config,omitempty"`
// Optional. Lifecycle setting for the cluster.
// +kubebuilder:validation:Optional
LifecycleConfig []ConfigLifecycleConfigObservation `json:"lifecycleConfig,omitempty" tf:"lifecycle_config,omitempty"`
// Optional. The Compute Engine config settings for additional worker instances in a cluster.
// +kubebuilder:validation:Optional
MasterConfig []ConfigMasterConfigObservation `json:"masterConfig,omitempty" tf:"master_config,omitempty"`
// Optional. The Compute Engine config settings for additional worker instances in a cluster.
// +kubebuilder:validation:Optional
SecondaryWorkerConfig []ConfigSecondaryWorkerConfigObservation `json:"secondaryWorkerConfig,omitempty" tf:"secondary_worker_config,omitempty"`
// Optional. The Compute Engine config settings for additional worker instances in a cluster.
// +kubebuilder:validation:Optional
WorkerConfig []ConfigWorkerConfigObservation `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}
type ManagedClusterConfigParameters struct {
// Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.
// +kubebuilder:validation:Optional
AutoscalingConfig []ConfigAutoscalingConfigParameters `json:"autoscalingConfig,omitempty" tf:"autoscaling_config,omitempty"`
// Optional. Encryption settings for the cluster.
// +kubebuilder:validation:Optional
EncryptionConfig []ConfigEncryptionConfigParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"`
// Optional. Port/endpoint configuration for this cluster
// +kubebuilder:validation:Optional
EndpointConfig []ConfigEndpointConfigParameters `json:"endpointConfig,omitempty" tf:"endpoint_config,omitempty"`
// Optional. The shared Compute Engine config settings for all instances in a cluster.
// +kubebuilder:validation:Optional
GceClusterConfig []ConfigGceClusterConfigParameters `json:"gceClusterConfig,omitempty" tf:"gce_cluster_config,omitempty"`
// Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if ; then ... master specific actions ... else ... worker specific actions ... fi
// +kubebuilder:validation:Optional
InitializationActions []InitializationActionsParameters `json:"initializationActions,omitempty" tf:"initialization_actions,omitempty"`
// Optional. Lifecycle setting for the cluster.
// +kubebuilder:validation:Optional
LifecycleConfig []ConfigLifecycleConfigParameters `json:"lifecycleConfig,omitempty" tf:"lifecycle_config,omitempty"`
// Optional. The Compute Engine config settings for additional worker instances in a cluster.
// +kubebuilder:validation:Optional
MasterConfig []ConfigMasterConfigParameters `json:"masterConfig,omitempty" tf:"master_config,omitempty"`
// Optional. The Compute Engine config settings for additional worker instances in a cluster.
// +kubebuilder:validation:Optional
SecondaryWorkerConfig []ConfigSecondaryWorkerConfigParameters `json:"secondaryWorkerConfig,omitempty" tf:"secondary_worker_config,omitempty"`
// Optional. Security settings for the cluster.
// +kubebuilder:validation:Optional
SecurityConfig []ConfigSecurityConfigParameters `json:"securityConfig,omitempty" tf:"security_config,omitempty"`
// Optional. The config settings for software inside the cluster.
// +kubebuilder:validation:Optional
SoftwareConfig []ConfigSoftwareConfigParameters `json:"softwareConfig,omitempty" tf:"software_config,omitempty"`
// Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
// +kubebuilder:validation:Optional
StagingBucket *string `json:"stagingBucket,omitempty" tf:"staging_bucket,omitempty"`
// Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket.
// +kubebuilder:validation:Optional
TempBucket *string `json:"tempBucket,omitempty" tf:"temp_bucket,omitempty"`
// Optional. The Compute Engine config settings for additional worker instances in a cluster.
// +kubebuilder:validation:Optional
WorkerConfig []ConfigWorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}
type ManagedClusterObservation struct {
// Required. The cluster configuration.
// +kubebuilder:validation:Required
Config []ManagedClusterConfigObservation `json:"config,omitempty" tf:"config,omitempty"`
}
type ManagedClusterParameters struct {
// Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix. The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.
// +kubebuilder:validation:Required
ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"`
// Required. The cluster configuration.
// +kubebuilder:validation:Required
Config []ManagedClusterConfigParameters `json:"config" tf:"config,omitempty"`
// Optional. The labels to associate with this cluster. Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: {0,63} No more than 32 labels can be associated with a given cluster.
// +kubebuilder:validation:Optional
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
}
type ManagedGroupConfigObservation struct {
// Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. * For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} * For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
InstanceGroupManagerName *string `json:"instanceGroupManagerName,omitempty" tf:"instance_group_manager_name,omitempty"`
// Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. * For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} * For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
InstanceTemplateName *string `json:"instanceTemplateName,omitempty" tf:"instance_template_name,omitempty"`
}
type ManagedGroupConfigParameters struct {
}
type MasterConfigAcceleratorsObservation struct {
}
type MasterConfigAcceleratorsParameters struct {
// The number of the accelerator cards of this type exposed to this instance.
// +kubebuilder:validation:Optional
AcceleratorCount *float64 `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"`
// Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.
// +kubebuilder:validation:Optional
AcceleratorType *string `json:"acceleratorType,omitempty" tf:"accelerator_type,omitempty"`
}
type MasterConfigDiskConfigObservation struct {
}
type MasterConfigDiskConfigParameters struct {
// Optional. Size in GB of the boot disk (default is 500GB).
// +kubebuilder:validation:Optional
BootDiskSizeGb *float64 `json:"bootDiskSizeGb,omitempty" tf:"boot_disk_size_gb,omitempty"`
// Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
// +kubebuilder:validation:Optional
BootDiskType *string `json:"bootDiskType,omitempty" tf:"boot_disk_type,omitempty"`
// Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
// +kubebuilder:validation:Optional
NumLocalSsds *float64 `json:"numLocalSsds,omitempty" tf:"num_local_ssds,omitempty"`
}
type ParametersObservation struct {
}
type ParametersParameters struct {
// Optional. Brief description of the parameter. Must not exceed 1024 characters.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Required. Paths to all fields that the parameter replaces. A field is allowed to appear in at most one parameter's list of field paths. A field path is similar in syntax to a .sparkJob.args
// +kubebuilder:validation:Required
Fields []*string `json:"fields" tf:"fields,omitempty"`
// Required. Parameter name. The parameter name is used as the key, and paired with the parameter value, which are passed to the template when the template is instantiated. The name must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.
// +kubebuilder:validation:Required
Name *string `json:"name" tf:"name,omitempty"`
// Optional. Validation rules to be applied to this parameter's value.
// +kubebuilder:validation:Optional
Validation []ValidationParameters `json:"validation,omitempty" tf:"validation,omitempty"`
}
type PigJobLoggingConfigObservation struct {
}
type PigJobLoggingConfigParameters struct {
// The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'
// +kubebuilder:validation:Optional
DriverLogLevels map[string]*string `json:"driverLogLevels,omitempty" tf:"driver_log_levels,omitempty"`
}
type PigJobObservation struct {
}
type PigJobParameters struct {
// Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.
// +kubebuilder:validation:Optional
ContinueOnFailure *bool `json:"continueOnFailure,omitempty" tf:"continue_on_failure,omitempty"`
// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
// +kubebuilder:validation:Optional
JarFileUris []*string `json:"jarFileUris,omitempty" tf:"jar_file_uris,omitempty"`
// Optional. The runtime log config for job execution.
// +kubebuilder:validation:Optional
LoggingConfig []PigJobLoggingConfigParameters `json:"loggingConfig,omitempty" tf:"logging_config,omitempty"`
// Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.
// +kubebuilder:validation:Optional
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
// The HCFS URI of the script that contains SQL queries.
// +kubebuilder:validation:Optional
QueryFileURI *string `json:"queryFileUri,omitempty" tf:"query_file_uri,omitempty"`
// A list of queries.
// +kubebuilder:validation:Optional
QueryList []PigJobQueryListParameters `json:"queryList,omitempty" tf:"query_list,omitempty"`
// Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";).
// +kubebuilder:validation:Optional
ScriptVariables map[string]*string `json:"scriptVariables,omitempty" tf:"script_variables,omitempty"`
}
type PigJobQueryListObservation struct {
}
type PigJobQueryListParameters struct {
// Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": } }
// +kubebuilder:validation:Required
Queries []*string `json:"queries" tf:"queries,omitempty"`
}
type PrestoJobLoggingConfigObservation struct {
}
type PrestoJobLoggingConfigParameters struct {
// The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'
// +kubebuilder:validation:Optional
DriverLogLevels map[string]*string `json:"driverLogLevels,omitempty" tf:"driver_log_levels,omitempty"`
}
type PrestoJobObservation struct {
}
type PrestoJobParameters struct {
// Optional. Presto client tags to attach to this query
// +kubebuilder:validation:Optional
ClientTags []*string `json:"clientTags,omitempty" tf:"client_tags,omitempty"`
// Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.
// +kubebuilder:validation:Optional
ContinueOnFailure *bool `json:"continueOnFailure,omitempty" tf:"continue_on_failure,omitempty"`
// Optional. The runtime log config for job execution.
// +kubebuilder:validation:Optional
LoggingConfig []PrestoJobLoggingConfigParameters `json:"loggingConfig,omitempty" tf:"logging_config,omitempty"`
// Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
// +kubebuilder:validation:Optional
OutputFormat *string `json:"outputFormat,omitempty" tf:"output_format,omitempty"`
// Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.
// +kubebuilder:validation:Optional
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
// The HCFS URI of the script that contains SQL queries.
// +kubebuilder:validation:Optional
QueryFileURI *string `json:"queryFileUri,omitempty" tf:"query_file_uri,omitempty"`
// A list of queries.
// +kubebuilder:validation:Optional
QueryList []PrestoJobQueryListParameters `json:"queryList,omitempty" tf:"query_list,omitempty"`
}
type PrestoJobQueryListObservation struct {
}
type PrestoJobQueryListParameters struct {
// Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": } }
// +kubebuilder:validation:Required
Queries []*string `json:"queries" tf:"queries,omitempty"`
}
type PysparkJobLoggingConfigObservation struct {
}
type PysparkJobLoggingConfigParameters struct {
// The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'
// +kubebuilder:validation:Optional
DriverLogLevels map[string]*string `json:"driverLogLevels,omitempty" tf:"driver_log_levels,omitempty"`
}
type PysparkJobObservation struct {
}
type PysparkJobParameters struct {
// Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
// +kubebuilder:validation:Optional
ArchiveUris []*string `json:"archiveUris,omitempty" tf:"archive_uris,omitempty"`
// Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
// +kubebuilder:validation:Optional
Args []*string `json:"args,omitempty" tf:"args,omitempty"`
// Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.
// +kubebuilder:validation:Optional
FileUris []*string `json:"fileUris,omitempty" tf:"file_uris,omitempty"`
// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
// +kubebuilder:validation:Optional
JarFileUris []*string `json:"jarFileUris,omitempty" tf:"jar_file_uris,omitempty"`
// Optional. The runtime log config for job execution.
// +kubebuilder:validation:Optional
LoggingConfig []PysparkJobLoggingConfigParameters `json:"loggingConfig,omitempty" tf:"logging_config,omitempty"`
// Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.
// +kubebuilder:validation:Required
MainPythonFileURI *string `json:"mainPythonFileUri" tf:"main_python_file_uri,omitempty"`
// Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.
// +kubebuilder:validation:Optional
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
// Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.
// +kubebuilder:validation:Optional
PythonFileUris []*string `json:"pythonFileUris,omitempty" tf:"python_file_uris,omitempty"`
}
type QueryListObservation struct {
}
type QueryListParameters struct {
// Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": } }
// +kubebuilder:validation:Required
Queries []*string `json:"queries" tf:"queries,omitempty"`
}
type RegexObservation struct {
}
type RegexParameters struct {
// Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).
// +kubebuilder:validation:Required
Regexes []*string `json:"regexes" tf:"regexes,omitempty"`
}
type SecondaryWorkerConfigAcceleratorsObservation struct {
}
type SecondaryWorkerConfigAcceleratorsParameters struct {
// The number of the accelerator cards of this type exposed to this instance.
// +kubebuilder:validation:Optional
AcceleratorCount *float64 `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"`
// Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.
// +kubebuilder:validation:Optional
AcceleratorType *string `json:"acceleratorType,omitempty" tf:"accelerator_type,omitempty"`
}
type SecondaryWorkerConfigDiskConfigObservation struct {
}
type SecondaryWorkerConfigDiskConfigParameters struct {
// Optional. Size in GB of the boot disk (default is 500GB).
// +kubebuilder:validation:Optional
BootDiskSizeGb *float64 `json:"bootDiskSizeGb,omitempty" tf:"boot_disk_size_gb,omitempty"`
// Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
// +kubebuilder:validation:Optional
BootDiskType *string `json:"bootDiskType,omitempty" tf:"boot_disk_type,omitempty"`
// Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
// +kubebuilder:validation:Optional
NumLocalSsds *float64 `json:"numLocalSsds,omitempty" tf:"num_local_ssds,omitempty"`
}
type SecondaryWorkerConfigManagedGroupConfigObservation struct {
// Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. * For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} * For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
InstanceGroupManagerName *string `json:"instanceGroupManagerName,omitempty" tf:"instance_group_manager_name,omitempty"`
// Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. * For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} * For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
InstanceTemplateName *string `json:"instanceTemplateName,omitempty" tf:"instance_template_name,omitempty"`
}
type SecondaryWorkerConfigManagedGroupConfigParameters struct {
}
type SecurityConfigKerberosConfigObservation struct {
}
type SecurityConfigKerberosConfigParameters struct {
// Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
// +kubebuilder:validation:Optional
CrossRealmTrustAdminServer *string `json:"crossRealmTrustAdminServer,omitempty" tf:"cross_realm_trust_admin_server,omitempty"`
// Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
// +kubebuilder:validation:Optional
CrossRealmTrustKdc *string `json:"crossRealmTrustKdc,omitempty" tf:"cross_realm_trust_kdc,omitempty"`
// Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
// +kubebuilder:validation:Optional
CrossRealmTrustRealm *string `json:"crossRealmTrustRealm,omitempty" tf:"cross_realm_trust_realm,omitempty"`
// Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
// +kubebuilder:validation:Optional
CrossRealmTrustSharedPassword *string `json:"crossRealmTrustSharedPassword,omitempty" tf:"cross_realm_trust_shared_password,omitempty"`
// Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
// +kubebuilder:validation:Optional
EnableKerberos *bool `json:"enableKerberos,omitempty" tf:"enable_kerberos,omitempty"`
// Optional. The uri of the KMS key used to encrypt various sensitive files.
// +kubebuilder:validation:Optional
KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"`
// Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
// +kubebuilder:validation:Optional
KdcDBKey *string `json:"kdcDbKey,omitempty" tf:"kdc_db_key,omitempty"`
// Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
// +kubebuilder:validation:Optional
KeyPassword *string `json:"keyPassword,omitempty" tf:"key_password,omitempty"`
// Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
// +kubebuilder:validation:Optional
Keystore *string `json:"keystore,omitempty" tf:"keystore,omitempty"`
// Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
// +kubebuilder:validation:Optional
KeystorePassword *string `json:"keystorePassword,omitempty" tf:"keystore_password,omitempty"`
// Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
// +kubebuilder:validation:Optional
Realm *string `json:"realm,omitempty" tf:"realm,omitempty"`
// Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
// +kubebuilder:validation:Optional
RootPrincipalPassword *string `json:"rootPrincipalPassword,omitempty" tf:"root_principal_password,omitempty"`
// Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
// +kubebuilder:validation:Optional
TgtLifetimeHours *float64 `json:"tgtLifetimeHours,omitempty" tf:"tgt_lifetime_hours,omitempty"`
// Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
// +kubebuilder:validation:Optional
Truststore *string `json:"truststore,omitempty" tf:"truststore,omitempty"`
// Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
// +kubebuilder:validation:Optional
TruststorePassword *string `json:"truststorePassword,omitempty" tf:"truststore_password,omitempty"`
}
type SparkJobLoggingConfigObservation struct {
}
type SparkJobLoggingConfigParameters struct {