20
20
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .GroupFindingsPagedResponse ;
21
21
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListAssetsPagedResponse ;
22
22
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListBigQueryExportsPagedResponse ;
23
+ import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse ;
24
+ import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse ;
23
25
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListFindingsPagedResponse ;
24
26
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListMuteConfigsPagedResponse ;
25
27
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListNotificationConfigsPagedResponse ;
28
+ import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListSecurityHealthAnalyticsCustomModulesPagedResponse ;
26
29
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListSourcesPagedResponse ;
27
30
28
31
import com .google .api .core .ApiFunction ;
66
69
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
67
70
* build() is called, the tree of builders is called to create the complete settings object.
68
71
*
69
- * <p>For example, to set the total timeout of createSource to 30 seconds:
72
+ * <p>For example, to set the total timeout of createSecurityHealthAnalyticsCustomModule to 30
73
+ * seconds:
70
74
*
71
75
* <pre>{@code
72
76
* // This snippet has been automatically generated and should be regarded as a code template only.
77
81
* SecurityCenterSettings.Builder securityCenterSettingsBuilder =
78
82
* SecurityCenterSettings.newBuilder();
79
83
* securityCenterSettingsBuilder
80
- * .createSourceSettings ()
84
+ * .createSecurityHealthAnalyticsCustomModuleSettings ()
81
85
* .setRetrySettings(
82
86
* securityCenterSettingsBuilder
83
- * .createSourceSettings ()
87
+ * .createSecurityHealthAnalyticsCustomModuleSettings ()
84
88
* .getRetrySettings()
85
89
* .toBuilder()
86
90
* .setTotalTimeout(Duration.ofSeconds(30))
@@ -102,6 +106,17 @@ public UnaryCallSettings<BulkMuteFindingsRequest, Operation> bulkMuteFindingsSet
102
106
return ((SecurityCenterStubSettings ) getStubSettings ()).bulkMuteFindingsOperationSettings ();
103
107
}
104
108
109
+ /**
110
+ * Returns the object with the settings used for calls to
111
+ * createSecurityHealthAnalyticsCustomModule.
112
+ */
113
+ public UnaryCallSettings <
114
+ CreateSecurityHealthAnalyticsCustomModuleRequest , SecurityHealthAnalyticsCustomModule >
115
+ createSecurityHealthAnalyticsCustomModuleSettings () {
116
+ return ((SecurityCenterStubSettings ) getStubSettings ())
117
+ .createSecurityHealthAnalyticsCustomModuleSettings ();
118
+ }
119
+
105
120
/** Returns the object with the settings used for calls to createSource. */
106
121
public UnaryCallSettings <CreateSourceRequest , Source > createSourceSettings () {
107
122
return ((SecurityCenterStubSettings ) getStubSettings ()).createSourceSettings ();
@@ -134,6 +149,16 @@ public UnaryCallSettings<DeleteMuteConfigRequest, Empty> deleteMuteConfigSetting
134
149
return ((SecurityCenterStubSettings ) getStubSettings ()).deleteNotificationConfigSettings ();
135
150
}
136
151
152
+ /**
153
+ * Returns the object with the settings used for calls to
154
+ * deleteSecurityHealthAnalyticsCustomModule.
155
+ */
156
+ public UnaryCallSettings <DeleteSecurityHealthAnalyticsCustomModuleRequest , Empty >
157
+ deleteSecurityHealthAnalyticsCustomModuleSettings () {
158
+ return ((SecurityCenterStubSettings ) getStubSettings ())
159
+ .deleteSecurityHealthAnalyticsCustomModuleSettings ();
160
+ }
161
+
137
162
/** Returns the object with the settings used for calls to getBigQueryExport. */
138
163
public UnaryCallSettings <GetBigQueryExportRequest , BigQueryExport > getBigQueryExportSettings () {
139
164
return ((SecurityCenterStubSettings ) getStubSettings ()).getBigQueryExportSettings ();
@@ -161,6 +186,28 @@ public UnaryCallSettings<GetMuteConfigRequest, MuteConfig> getMuteConfigSettings
161
186
return ((SecurityCenterStubSettings ) getStubSettings ()).getOrganizationSettingsSettings ();
162
187
}
163
188
189
+ /**
190
+ * Returns the object with the settings used for calls to
191
+ * getEffectiveSecurityHealthAnalyticsCustomModule.
192
+ */
193
+ public UnaryCallSettings <
194
+ GetEffectiveSecurityHealthAnalyticsCustomModuleRequest ,
195
+ EffectiveSecurityHealthAnalyticsCustomModule >
196
+ getEffectiveSecurityHealthAnalyticsCustomModuleSettings () {
197
+ return ((SecurityCenterStubSettings ) getStubSettings ())
198
+ .getEffectiveSecurityHealthAnalyticsCustomModuleSettings ();
199
+ }
200
+
201
+ /**
202
+ * Returns the object with the settings used for calls to getSecurityHealthAnalyticsCustomModule.
203
+ */
204
+ public UnaryCallSettings <
205
+ GetSecurityHealthAnalyticsCustomModuleRequest , SecurityHealthAnalyticsCustomModule >
206
+ getSecurityHealthAnalyticsCustomModuleSettings () {
207
+ return ((SecurityCenterStubSettings ) getStubSettings ())
208
+ .getSecurityHealthAnalyticsCustomModuleSettings ();
209
+ }
210
+
164
211
/** Returns the object with the settings used for calls to getSource. */
165
212
public UnaryCallSettings <GetSourceRequest , Source > getSourceSettings () {
166
213
return ((SecurityCenterStubSettings ) getStubSettings ()).getSourceSettings ();
@@ -184,6 +231,19 @@ public UnaryCallSettings<GetSourceRequest, Source> getSourceSettings() {
184
231
return ((SecurityCenterStubSettings ) getStubSettings ()).listAssetsSettings ();
185
232
}
186
233
234
+ /**
235
+ * Returns the object with the settings used for calls to
236
+ * listDescendantSecurityHealthAnalyticsCustomModules.
237
+ */
238
+ public PagedCallSettings <
239
+ ListDescendantSecurityHealthAnalyticsCustomModulesRequest ,
240
+ ListDescendantSecurityHealthAnalyticsCustomModulesResponse ,
241
+ ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse >
242
+ listDescendantSecurityHealthAnalyticsCustomModulesSettings () {
243
+ return ((SecurityCenterStubSettings ) getStubSettings ())
244
+ .listDescendantSecurityHealthAnalyticsCustomModulesSettings ();
245
+ }
246
+
187
247
/** Returns the object with the settings used for calls to listFindings. */
188
248
public PagedCallSettings <ListFindingsRequest , ListFindingsResponse , ListFindingsPagedResponse >
189
249
listFindingsSettings () {
@@ -206,6 +266,32 @@ public UnaryCallSettings<GetSourceRequest, Source> getSourceSettings() {
206
266
return ((SecurityCenterStubSettings ) getStubSettings ()).listNotificationConfigsSettings ();
207
267
}
208
268
269
+ /**
270
+ * Returns the object with the settings used for calls to
271
+ * listEffectiveSecurityHealthAnalyticsCustomModules.
272
+ */
273
+ public PagedCallSettings <
274
+ ListEffectiveSecurityHealthAnalyticsCustomModulesRequest ,
275
+ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse ,
276
+ ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse >
277
+ listEffectiveSecurityHealthAnalyticsCustomModulesSettings () {
278
+ return ((SecurityCenterStubSettings ) getStubSettings ())
279
+ .listEffectiveSecurityHealthAnalyticsCustomModulesSettings ();
280
+ }
281
+
282
+ /**
283
+ * Returns the object with the settings used for calls to
284
+ * listSecurityHealthAnalyticsCustomModules.
285
+ */
286
+ public PagedCallSettings <
287
+ ListSecurityHealthAnalyticsCustomModulesRequest ,
288
+ ListSecurityHealthAnalyticsCustomModulesResponse ,
289
+ ListSecurityHealthAnalyticsCustomModulesPagedResponse >
290
+ listSecurityHealthAnalyticsCustomModulesSettings () {
291
+ return ((SecurityCenterStubSettings ) getStubSettings ())
292
+ .listSecurityHealthAnalyticsCustomModulesSettings ();
293
+ }
294
+
209
295
/** Returns the object with the settings used for calls to listSources. */
210
296
public PagedCallSettings <ListSourcesRequest , ListSourcesResponse , ListSourcesPagedResponse >
211
297
listSourcesSettings () {
@@ -272,6 +358,17 @@ public UnaryCallSettings<UpdateMuteConfigRequest, MuteConfig> updateMuteConfigSe
272
358
return ((SecurityCenterStubSettings ) getStubSettings ()).updateOrganizationSettingsSettings ();
273
359
}
274
360
361
+ /**
362
+ * Returns the object with the settings used for calls to
363
+ * updateSecurityHealthAnalyticsCustomModule.
364
+ */
365
+ public UnaryCallSettings <
366
+ UpdateSecurityHealthAnalyticsCustomModuleRequest , SecurityHealthAnalyticsCustomModule >
367
+ updateSecurityHealthAnalyticsCustomModuleSettings () {
368
+ return ((SecurityCenterStubSettings ) getStubSettings ())
369
+ .updateSecurityHealthAnalyticsCustomModuleSettings ();
370
+ }
371
+
275
372
/** Returns the object with the settings used for calls to updateSource. */
276
373
public UnaryCallSettings <UpdateSourceRequest , Source > updateSourceSettings () {
277
374
return ((SecurityCenterStubSettings ) getStubSettings ()).updateSourceSettings ();
@@ -434,6 +531,16 @@ public Builder applyToAllUnaryMethods(
434
531
return getStubSettingsBuilder ().bulkMuteFindingsOperationSettings ();
435
532
}
436
533
534
+ /**
535
+ * Returns the builder for the settings used for calls to
536
+ * createSecurityHealthAnalyticsCustomModule.
537
+ */
538
+ public UnaryCallSettings .Builder <
539
+ CreateSecurityHealthAnalyticsCustomModuleRequest , SecurityHealthAnalyticsCustomModule >
540
+ createSecurityHealthAnalyticsCustomModuleSettings () {
541
+ return getStubSettingsBuilder ().createSecurityHealthAnalyticsCustomModuleSettings ();
542
+ }
543
+
437
544
/** Returns the builder for the settings used for calls to createSource. */
438
545
public UnaryCallSettings .Builder <CreateSourceRequest , Source > createSourceSettings () {
439
546
return getStubSettingsBuilder ().createSourceSettings ();
@@ -467,6 +574,15 @@ public UnaryCallSettings.Builder<DeleteMuteConfigRequest, Empty> deleteMuteConfi
467
574
return getStubSettingsBuilder ().deleteNotificationConfigSettings ();
468
575
}
469
576
577
+ /**
578
+ * Returns the builder for the settings used for calls to
579
+ * deleteSecurityHealthAnalyticsCustomModule.
580
+ */
581
+ public UnaryCallSettings .Builder <DeleteSecurityHealthAnalyticsCustomModuleRequest , Empty >
582
+ deleteSecurityHealthAnalyticsCustomModuleSettings () {
583
+ return getStubSettingsBuilder ().deleteSecurityHealthAnalyticsCustomModuleSettings ();
584
+ }
585
+
470
586
/** Returns the builder for the settings used for calls to getBigQueryExport. */
471
587
public UnaryCallSettings .Builder <GetBigQueryExportRequest , BigQueryExport >
472
588
getBigQueryExportSettings () {
@@ -495,6 +611,27 @@ public UnaryCallSettings.Builder<GetMuteConfigRequest, MuteConfig> getMuteConfig
495
611
return getStubSettingsBuilder ().getOrganizationSettingsSettings ();
496
612
}
497
613
614
+ /**
615
+ * Returns the builder for the settings used for calls to
616
+ * getEffectiveSecurityHealthAnalyticsCustomModule.
617
+ */
618
+ public UnaryCallSettings .Builder <
619
+ GetEffectiveSecurityHealthAnalyticsCustomModuleRequest ,
620
+ EffectiveSecurityHealthAnalyticsCustomModule >
621
+ getEffectiveSecurityHealthAnalyticsCustomModuleSettings () {
622
+ return getStubSettingsBuilder ().getEffectiveSecurityHealthAnalyticsCustomModuleSettings ();
623
+ }
624
+
625
+ /**
626
+ * Returns the builder for the settings used for calls to
627
+ * getSecurityHealthAnalyticsCustomModule.
628
+ */
629
+ public UnaryCallSettings .Builder <
630
+ GetSecurityHealthAnalyticsCustomModuleRequest , SecurityHealthAnalyticsCustomModule >
631
+ getSecurityHealthAnalyticsCustomModuleSettings () {
632
+ return getStubSettingsBuilder ().getSecurityHealthAnalyticsCustomModuleSettings ();
633
+ }
634
+
498
635
/** Returns the builder for the settings used for calls to getSource. */
499
636
public UnaryCallSettings .Builder <GetSourceRequest , Source > getSourceSettings () {
500
637
return getStubSettingsBuilder ().getSourceSettings ();
@@ -520,6 +657,18 @@ public UnaryCallSettings.Builder<GetSourceRequest, Source> getSourceSettings() {
520
657
return getStubSettingsBuilder ().listAssetsSettings ();
521
658
}
522
659
660
+ /**
661
+ * Returns the builder for the settings used for calls to
662
+ * listDescendantSecurityHealthAnalyticsCustomModules.
663
+ */
664
+ public PagedCallSettings .Builder <
665
+ ListDescendantSecurityHealthAnalyticsCustomModulesRequest ,
666
+ ListDescendantSecurityHealthAnalyticsCustomModulesResponse ,
667
+ ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse >
668
+ listDescendantSecurityHealthAnalyticsCustomModulesSettings () {
669
+ return getStubSettingsBuilder ().listDescendantSecurityHealthAnalyticsCustomModulesSettings ();
670
+ }
671
+
523
672
/** Returns the builder for the settings used for calls to listFindings. */
524
673
public PagedCallSettings .Builder <
525
674
ListFindingsRequest , ListFindingsResponse , ListFindingsPagedResponse >
@@ -543,6 +692,30 @@ public UnaryCallSettings.Builder<GetSourceRequest, Source> getSourceSettings() {
543
692
return getStubSettingsBuilder ().listNotificationConfigsSettings ();
544
693
}
545
694
695
+ /**
696
+ * Returns the builder for the settings used for calls to
697
+ * listEffectiveSecurityHealthAnalyticsCustomModules.
698
+ */
699
+ public PagedCallSettings .Builder <
700
+ ListEffectiveSecurityHealthAnalyticsCustomModulesRequest ,
701
+ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse ,
702
+ ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse >
703
+ listEffectiveSecurityHealthAnalyticsCustomModulesSettings () {
704
+ return getStubSettingsBuilder ().listEffectiveSecurityHealthAnalyticsCustomModulesSettings ();
705
+ }
706
+
707
+ /**
708
+ * Returns the builder for the settings used for calls to
709
+ * listSecurityHealthAnalyticsCustomModules.
710
+ */
711
+ public PagedCallSettings .Builder <
712
+ ListSecurityHealthAnalyticsCustomModulesRequest ,
713
+ ListSecurityHealthAnalyticsCustomModulesResponse ,
714
+ ListSecurityHealthAnalyticsCustomModulesPagedResponse >
715
+ listSecurityHealthAnalyticsCustomModulesSettings () {
716
+ return getStubSettingsBuilder ().listSecurityHealthAnalyticsCustomModulesSettings ();
717
+ }
718
+
546
719
/** Returns the builder for the settings used for calls to listSources. */
547
720
public PagedCallSettings .Builder <
548
721
ListSourcesRequest , ListSourcesResponse , ListSourcesPagedResponse >
@@ -612,6 +785,16 @@ public UnaryCallSettings.Builder<UpdateFindingRequest, Finding> updateFindingSet
612
785
return getStubSettingsBuilder ().updateOrganizationSettingsSettings ();
613
786
}
614
787
788
+ /**
789
+ * Returns the builder for the settings used for calls to
790
+ * updateSecurityHealthAnalyticsCustomModule.
791
+ */
792
+ public UnaryCallSettings .Builder <
793
+ UpdateSecurityHealthAnalyticsCustomModuleRequest , SecurityHealthAnalyticsCustomModule >
794
+ updateSecurityHealthAnalyticsCustomModuleSettings () {
795
+ return getStubSettingsBuilder ().updateSecurityHealthAnalyticsCustomModuleSettings ();
796
+ }
797
+
615
798
/** Returns the builder for the settings used for calls to updateSource. */
616
799
public UnaryCallSettings .Builder <UpdateSourceRequest , Source > updateSourceSettings () {
617
800
return getStubSettingsBuilder ().updateSourceSettings ();
0 commit comments