cribl-control-plane 0.3.0b4__py3-none-any.whl → 0.3.0b5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/createconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/cribllakedataset.py +11 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +11 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -0
- cribl_control_plane/models/getsummaryop.py +11 -0
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +38 -1
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +38 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +29 -1
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +123 -1
- cribl_control_plane/models/outputcriblhttp.py +74 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +74 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +65 -1
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +119 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +119 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +74 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +56 -1
- cribl_control_plane/models/runnablejobexecutor.py +20 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +11 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -0
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -102,6 +103,15 @@ class OutputElasticCloudAuth(BaseModel):
|
|
|
102
103
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
103
104
|
r"""Select or create a stored text secret"""
|
|
104
105
|
|
|
106
|
+
@field_serializer("auth_type")
|
|
107
|
+
def serialize_auth_type(self, value):
|
|
108
|
+
if isinstance(value, str):
|
|
109
|
+
try:
|
|
110
|
+
return models.OutputElasticCloudAuthenticationMethod(value)
|
|
111
|
+
except ValueError:
|
|
112
|
+
return value
|
|
113
|
+
return value
|
|
114
|
+
|
|
105
115
|
|
|
106
116
|
class OutputElasticCloudResponseRetrySettingTypedDict(TypedDict):
|
|
107
117
|
http_status: float
|
|
@@ -469,3 +479,48 @@ class OutputElasticCloud(BaseModel):
|
|
|
469
479
|
pq_controls: Annotated[
|
|
470
480
|
Optional[OutputElasticCloudPqControls], pydantic.Field(alias="pqControls")
|
|
471
481
|
] = None
|
|
482
|
+
|
|
483
|
+
@field_serializer("failed_request_logging_mode")
|
|
484
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
485
|
+
if isinstance(value, str):
|
|
486
|
+
try:
|
|
487
|
+
return models.OutputElasticCloudFailedRequestLoggingMode(value)
|
|
488
|
+
except ValueError:
|
|
489
|
+
return value
|
|
490
|
+
return value
|
|
491
|
+
|
|
492
|
+
@field_serializer("on_backpressure")
|
|
493
|
+
def serialize_on_backpressure(self, value):
|
|
494
|
+
if isinstance(value, str):
|
|
495
|
+
try:
|
|
496
|
+
return models.OutputElasticCloudBackpressureBehavior(value)
|
|
497
|
+
except ValueError:
|
|
498
|
+
return value
|
|
499
|
+
return value
|
|
500
|
+
|
|
501
|
+
@field_serializer("pq_mode")
|
|
502
|
+
def serialize_pq_mode(self, value):
|
|
503
|
+
if isinstance(value, str):
|
|
504
|
+
try:
|
|
505
|
+
return models.OutputElasticCloudMode(value)
|
|
506
|
+
except ValueError:
|
|
507
|
+
return value
|
|
508
|
+
return value
|
|
509
|
+
|
|
510
|
+
@field_serializer("pq_compress")
|
|
511
|
+
def serialize_pq_compress(self, value):
|
|
512
|
+
if isinstance(value, str):
|
|
513
|
+
try:
|
|
514
|
+
return models.OutputElasticCloudCompression(value)
|
|
515
|
+
except ValueError:
|
|
516
|
+
return value
|
|
517
|
+
return value
|
|
518
|
+
|
|
519
|
+
@field_serializer("pq_on_backpressure")
|
|
520
|
+
def serialize_pq_on_backpressure(self, value):
|
|
521
|
+
if isinstance(value, str):
|
|
522
|
+
try:
|
|
523
|
+
return models.OutputElasticCloudQueueFullBehavior(value)
|
|
524
|
+
except ValueError:
|
|
525
|
+
return value
|
|
526
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -307,3 +308,48 @@ class OutputExabeam(BaseModel):
|
|
|
307
308
|
|
|
308
309
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
309
310
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
311
|
+
|
|
312
|
+
@field_serializer("signature_version")
|
|
313
|
+
def serialize_signature_version(self, value):
|
|
314
|
+
if isinstance(value, str):
|
|
315
|
+
try:
|
|
316
|
+
return models.OutputExabeamSignatureVersion(value)
|
|
317
|
+
except ValueError:
|
|
318
|
+
return value
|
|
319
|
+
return value
|
|
320
|
+
|
|
321
|
+
@field_serializer("object_acl")
|
|
322
|
+
def serialize_object_acl(self, value):
|
|
323
|
+
if isinstance(value, str):
|
|
324
|
+
try:
|
|
325
|
+
return models.OutputExabeamObjectACL(value)
|
|
326
|
+
except ValueError:
|
|
327
|
+
return value
|
|
328
|
+
return value
|
|
329
|
+
|
|
330
|
+
@field_serializer("storage_class")
|
|
331
|
+
def serialize_storage_class(self, value):
|
|
332
|
+
if isinstance(value, str):
|
|
333
|
+
try:
|
|
334
|
+
return models.OutputExabeamStorageClass(value)
|
|
335
|
+
except ValueError:
|
|
336
|
+
return value
|
|
337
|
+
return value
|
|
338
|
+
|
|
339
|
+
@field_serializer("on_backpressure")
|
|
340
|
+
def serialize_on_backpressure(self, value):
|
|
341
|
+
if isinstance(value, str):
|
|
342
|
+
try:
|
|
343
|
+
return models.OutputExabeamBackpressureBehavior(value)
|
|
344
|
+
except ValueError:
|
|
345
|
+
return value
|
|
346
|
+
return value
|
|
347
|
+
|
|
348
|
+
@field_serializer("on_disk_full_backpressure")
|
|
349
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
350
|
+
if isinstance(value, str):
|
|
351
|
+
try:
|
|
352
|
+
return models.OutputExabeamDiskSpaceProtection(value)
|
|
353
|
+
except ValueError:
|
|
354
|
+
return value
|
|
355
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -377,3 +378,66 @@ class OutputFilesystem(BaseModel):
|
|
|
377
378
|
|
|
378
379
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
379
380
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
381
|
+
|
|
382
|
+
@field_serializer("format_")
|
|
383
|
+
def serialize_format_(self, value):
|
|
384
|
+
if isinstance(value, str):
|
|
385
|
+
try:
|
|
386
|
+
return models.OutputFilesystemDataFormat(value)
|
|
387
|
+
except ValueError:
|
|
388
|
+
return value
|
|
389
|
+
return value
|
|
390
|
+
|
|
391
|
+
@field_serializer("on_backpressure")
|
|
392
|
+
def serialize_on_backpressure(self, value):
|
|
393
|
+
if isinstance(value, str):
|
|
394
|
+
try:
|
|
395
|
+
return models.OutputFilesystemBackpressureBehavior(value)
|
|
396
|
+
except ValueError:
|
|
397
|
+
return value
|
|
398
|
+
return value
|
|
399
|
+
|
|
400
|
+
@field_serializer("on_disk_full_backpressure")
|
|
401
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
402
|
+
if isinstance(value, str):
|
|
403
|
+
try:
|
|
404
|
+
return models.OutputFilesystemDiskSpaceProtection(value)
|
|
405
|
+
except ValueError:
|
|
406
|
+
return value
|
|
407
|
+
return value
|
|
408
|
+
|
|
409
|
+
@field_serializer("compress")
|
|
410
|
+
def serialize_compress(self, value):
|
|
411
|
+
if isinstance(value, str):
|
|
412
|
+
try:
|
|
413
|
+
return models.OutputFilesystemCompression(value)
|
|
414
|
+
except ValueError:
|
|
415
|
+
return value
|
|
416
|
+
return value
|
|
417
|
+
|
|
418
|
+
@field_serializer("compression_level")
|
|
419
|
+
def serialize_compression_level(self, value):
|
|
420
|
+
if isinstance(value, str):
|
|
421
|
+
try:
|
|
422
|
+
return models.OutputFilesystemCompressionLevel(value)
|
|
423
|
+
except ValueError:
|
|
424
|
+
return value
|
|
425
|
+
return value
|
|
426
|
+
|
|
427
|
+
@field_serializer("parquet_version")
|
|
428
|
+
def serialize_parquet_version(self, value):
|
|
429
|
+
if isinstance(value, str):
|
|
430
|
+
try:
|
|
431
|
+
return models.OutputFilesystemParquetVersion(value)
|
|
432
|
+
except ValueError:
|
|
433
|
+
return value
|
|
434
|
+
return value
|
|
435
|
+
|
|
436
|
+
@field_serializer("parquet_data_page_version")
|
|
437
|
+
def serialize_parquet_data_page_version(self, value):
|
|
438
|
+
if isinstance(value, str):
|
|
439
|
+
try:
|
|
440
|
+
return models.OutputFilesystemDataPageVersion(value)
|
|
441
|
+
except ValueError:
|
|
442
|
+
return value
|
|
443
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -547,3 +548,84 @@ class OutputGoogleChronicle(BaseModel):
|
|
|
547
548
|
pq_controls: Annotated[
|
|
548
549
|
Optional[OutputGoogleChroniclePqControls], pydantic.Field(alias="pqControls")
|
|
549
550
|
] = None
|
|
551
|
+
|
|
552
|
+
@field_serializer("api_version")
|
|
553
|
+
def serialize_api_version(self, value):
|
|
554
|
+
if isinstance(value, str):
|
|
555
|
+
try:
|
|
556
|
+
return models.OutputGoogleChronicleAPIVersion(value)
|
|
557
|
+
except ValueError:
|
|
558
|
+
return value
|
|
559
|
+
return value
|
|
560
|
+
|
|
561
|
+
@field_serializer("authentication_method")
|
|
562
|
+
def serialize_authentication_method(self, value):
|
|
563
|
+
if isinstance(value, str):
|
|
564
|
+
try:
|
|
565
|
+
return models.OutputGoogleChronicleAuthenticationMethod(value)
|
|
566
|
+
except ValueError:
|
|
567
|
+
return value
|
|
568
|
+
return value
|
|
569
|
+
|
|
570
|
+
@field_serializer("log_format_type")
|
|
571
|
+
def serialize_log_format_type(self, value):
|
|
572
|
+
if isinstance(value, str):
|
|
573
|
+
try:
|
|
574
|
+
return models.SendEventsAs(value)
|
|
575
|
+
except ValueError:
|
|
576
|
+
return value
|
|
577
|
+
return value
|
|
578
|
+
|
|
579
|
+
@field_serializer("failed_request_logging_mode")
|
|
580
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
581
|
+
if isinstance(value, str):
|
|
582
|
+
try:
|
|
583
|
+
return models.OutputGoogleChronicleFailedRequestLoggingMode(value)
|
|
584
|
+
except ValueError:
|
|
585
|
+
return value
|
|
586
|
+
return value
|
|
587
|
+
|
|
588
|
+
@field_serializer("on_backpressure")
|
|
589
|
+
def serialize_on_backpressure(self, value):
|
|
590
|
+
if isinstance(value, str):
|
|
591
|
+
try:
|
|
592
|
+
return models.OutputGoogleChronicleBackpressureBehavior(value)
|
|
593
|
+
except ValueError:
|
|
594
|
+
return value
|
|
595
|
+
return value
|
|
596
|
+
|
|
597
|
+
@field_serializer("udm_type")
|
|
598
|
+
def serialize_udm_type(self, value):
|
|
599
|
+
if isinstance(value, str):
|
|
600
|
+
try:
|
|
601
|
+
return models.UDMType(value)
|
|
602
|
+
except ValueError:
|
|
603
|
+
return value
|
|
604
|
+
return value
|
|
605
|
+
|
|
606
|
+
@field_serializer("pq_mode")
|
|
607
|
+
def serialize_pq_mode(self, value):
|
|
608
|
+
if isinstance(value, str):
|
|
609
|
+
try:
|
|
610
|
+
return models.OutputGoogleChronicleMode(value)
|
|
611
|
+
except ValueError:
|
|
612
|
+
return value
|
|
613
|
+
return value
|
|
614
|
+
|
|
615
|
+
@field_serializer("pq_compress")
|
|
616
|
+
def serialize_pq_compress(self, value):
|
|
617
|
+
if isinstance(value, str):
|
|
618
|
+
try:
|
|
619
|
+
return models.OutputGoogleChronicleCompression(value)
|
|
620
|
+
except ValueError:
|
|
621
|
+
return value
|
|
622
|
+
return value
|
|
623
|
+
|
|
624
|
+
@field_serializer("pq_on_backpressure")
|
|
625
|
+
def serialize_pq_on_backpressure(self, value):
|
|
626
|
+
if isinstance(value, str):
|
|
627
|
+
try:
|
|
628
|
+
return models.OutputGoogleChronicleQueueFullBehavior(value)
|
|
629
|
+
except ValueError:
|
|
630
|
+
return value
|
|
631
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -604,3 +605,66 @@ class OutputGoogleCloudLogging(BaseModel):
|
|
|
604
605
|
pq_controls: Annotated[
|
|
605
606
|
Optional[OutputGoogleCloudLoggingPqControls], pydantic.Field(alias="pqControls")
|
|
606
607
|
] = None
|
|
608
|
+
|
|
609
|
+
@field_serializer("log_location_type")
|
|
610
|
+
def serialize_log_location_type(self, value):
|
|
611
|
+
if isinstance(value, str):
|
|
612
|
+
try:
|
|
613
|
+
return models.LogLocationType(value)
|
|
614
|
+
except ValueError:
|
|
615
|
+
return value
|
|
616
|
+
return value
|
|
617
|
+
|
|
618
|
+
@field_serializer("payload_format")
|
|
619
|
+
def serialize_payload_format(self, value):
|
|
620
|
+
if isinstance(value, str):
|
|
621
|
+
try:
|
|
622
|
+
return models.PayloadFormat(value)
|
|
623
|
+
except ValueError:
|
|
624
|
+
return value
|
|
625
|
+
return value
|
|
626
|
+
|
|
627
|
+
@field_serializer("google_auth_method")
|
|
628
|
+
def serialize_google_auth_method(self, value):
|
|
629
|
+
if isinstance(value, str):
|
|
630
|
+
try:
|
|
631
|
+
return models.OutputGoogleCloudLoggingGoogleAuthenticationMethod(value)
|
|
632
|
+
except ValueError:
|
|
633
|
+
return value
|
|
634
|
+
return value
|
|
635
|
+
|
|
636
|
+
@field_serializer("on_backpressure")
|
|
637
|
+
def serialize_on_backpressure(self, value):
|
|
638
|
+
if isinstance(value, str):
|
|
639
|
+
try:
|
|
640
|
+
return models.OutputGoogleCloudLoggingBackpressureBehavior(value)
|
|
641
|
+
except ValueError:
|
|
642
|
+
return value
|
|
643
|
+
return value
|
|
644
|
+
|
|
645
|
+
@field_serializer("pq_mode")
|
|
646
|
+
def serialize_pq_mode(self, value):
|
|
647
|
+
if isinstance(value, str):
|
|
648
|
+
try:
|
|
649
|
+
return models.OutputGoogleCloudLoggingMode(value)
|
|
650
|
+
except ValueError:
|
|
651
|
+
return value
|
|
652
|
+
return value
|
|
653
|
+
|
|
654
|
+
@field_serializer("pq_compress")
|
|
655
|
+
def serialize_pq_compress(self, value):
|
|
656
|
+
if isinstance(value, str):
|
|
657
|
+
try:
|
|
658
|
+
return models.OutputGoogleCloudLoggingCompression(value)
|
|
659
|
+
except ValueError:
|
|
660
|
+
return value
|
|
661
|
+
return value
|
|
662
|
+
|
|
663
|
+
@field_serializer("pq_on_backpressure")
|
|
664
|
+
def serialize_pq_on_backpressure(self, value):
|
|
665
|
+
if isinstance(value, str):
|
|
666
|
+
try:
|
|
667
|
+
return models.OutputGoogleCloudLoggingQueueFullBehavior(value)
|
|
668
|
+
except ValueError:
|
|
669
|
+
return value
|
|
670
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -529,3 +530,102 @@ class OutputGoogleCloudStorage(BaseModel):
|
|
|
529
530
|
|
|
530
531
|
aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
|
|
531
532
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
533
|
+
|
|
534
|
+
@field_serializer("signature_version")
|
|
535
|
+
def serialize_signature_version(self, value):
|
|
536
|
+
if isinstance(value, str):
|
|
537
|
+
try:
|
|
538
|
+
return models.OutputGoogleCloudStorageSignatureVersion(value)
|
|
539
|
+
except ValueError:
|
|
540
|
+
return value
|
|
541
|
+
return value
|
|
542
|
+
|
|
543
|
+
@field_serializer("aws_authentication_method")
|
|
544
|
+
def serialize_aws_authentication_method(self, value):
|
|
545
|
+
if isinstance(value, str):
|
|
546
|
+
try:
|
|
547
|
+
return models.OutputGoogleCloudStorageAuthenticationMethod(value)
|
|
548
|
+
except ValueError:
|
|
549
|
+
return value
|
|
550
|
+
return value
|
|
551
|
+
|
|
552
|
+
@field_serializer("object_acl")
|
|
553
|
+
def serialize_object_acl(self, value):
|
|
554
|
+
if isinstance(value, str):
|
|
555
|
+
try:
|
|
556
|
+
return models.OutputGoogleCloudStorageObjectACL(value)
|
|
557
|
+
except ValueError:
|
|
558
|
+
return value
|
|
559
|
+
return value
|
|
560
|
+
|
|
561
|
+
@field_serializer("storage_class")
|
|
562
|
+
def serialize_storage_class(self, value):
|
|
563
|
+
if isinstance(value, str):
|
|
564
|
+
try:
|
|
565
|
+
return models.OutputGoogleCloudStorageStorageClass(value)
|
|
566
|
+
except ValueError:
|
|
567
|
+
return value
|
|
568
|
+
return value
|
|
569
|
+
|
|
570
|
+
@field_serializer("format_")
|
|
571
|
+
def serialize_format_(self, value):
|
|
572
|
+
if isinstance(value, str):
|
|
573
|
+
try:
|
|
574
|
+
return models.OutputGoogleCloudStorageDataFormat(value)
|
|
575
|
+
except ValueError:
|
|
576
|
+
return value
|
|
577
|
+
return value
|
|
578
|
+
|
|
579
|
+
@field_serializer("on_backpressure")
|
|
580
|
+
def serialize_on_backpressure(self, value):
|
|
581
|
+
if isinstance(value, str):
|
|
582
|
+
try:
|
|
583
|
+
return models.OutputGoogleCloudStorageBackpressureBehavior(value)
|
|
584
|
+
except ValueError:
|
|
585
|
+
return value
|
|
586
|
+
return value
|
|
587
|
+
|
|
588
|
+
@field_serializer("on_disk_full_backpressure")
|
|
589
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
590
|
+
if isinstance(value, str):
|
|
591
|
+
try:
|
|
592
|
+
return models.OutputGoogleCloudStorageDiskSpaceProtection(value)
|
|
593
|
+
except ValueError:
|
|
594
|
+
return value
|
|
595
|
+
return value
|
|
596
|
+
|
|
597
|
+
@field_serializer("compress")
|
|
598
|
+
def serialize_compress(self, value):
|
|
599
|
+
if isinstance(value, str):
|
|
600
|
+
try:
|
|
601
|
+
return models.OutputGoogleCloudStorageCompression(value)
|
|
602
|
+
except ValueError:
|
|
603
|
+
return value
|
|
604
|
+
return value
|
|
605
|
+
|
|
606
|
+
@field_serializer("compression_level")
|
|
607
|
+
def serialize_compression_level(self, value):
|
|
608
|
+
if isinstance(value, str):
|
|
609
|
+
try:
|
|
610
|
+
return models.OutputGoogleCloudStorageCompressionLevel(value)
|
|
611
|
+
except ValueError:
|
|
612
|
+
return value
|
|
613
|
+
return value
|
|
614
|
+
|
|
615
|
+
@field_serializer("parquet_version")
|
|
616
|
+
def serialize_parquet_version(self, value):
|
|
617
|
+
if isinstance(value, str):
|
|
618
|
+
try:
|
|
619
|
+
return models.OutputGoogleCloudStorageParquetVersion(value)
|
|
620
|
+
except ValueError:
|
|
621
|
+
return value
|
|
622
|
+
return value
|
|
623
|
+
|
|
624
|
+
@field_serializer("parquet_data_page_version")
|
|
625
|
+
def serialize_parquet_data_page_version(self, value):
|
|
626
|
+
if isinstance(value, str):
|
|
627
|
+
try:
|
|
628
|
+
return models.OutputGoogleCloudStorageDataPageVersion(value)
|
|
629
|
+
except ValueError:
|
|
630
|
+
return value
|
|
631
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -290,3 +291,48 @@ class OutputGooglePubsub(BaseModel):
|
|
|
290
291
|
pq_controls: Annotated[
|
|
291
292
|
Optional[OutputGooglePubsubPqControls], pydantic.Field(alias="pqControls")
|
|
292
293
|
] = None
|
|
294
|
+
|
|
295
|
+
@field_serializer("google_auth_method")
|
|
296
|
+
def serialize_google_auth_method(self, value):
|
|
297
|
+
if isinstance(value, str):
|
|
298
|
+
try:
|
|
299
|
+
return models.OutputGooglePubsubGoogleAuthenticationMethod(value)
|
|
300
|
+
except ValueError:
|
|
301
|
+
return value
|
|
302
|
+
return value
|
|
303
|
+
|
|
304
|
+
@field_serializer("on_backpressure")
|
|
305
|
+
def serialize_on_backpressure(self, value):
|
|
306
|
+
if isinstance(value, str):
|
|
307
|
+
try:
|
|
308
|
+
return models.OutputGooglePubsubBackpressureBehavior(value)
|
|
309
|
+
except ValueError:
|
|
310
|
+
return value
|
|
311
|
+
return value
|
|
312
|
+
|
|
313
|
+
@field_serializer("pq_mode")
|
|
314
|
+
def serialize_pq_mode(self, value):
|
|
315
|
+
if isinstance(value, str):
|
|
316
|
+
try:
|
|
317
|
+
return models.OutputGooglePubsubMode(value)
|
|
318
|
+
except ValueError:
|
|
319
|
+
return value
|
|
320
|
+
return value
|
|
321
|
+
|
|
322
|
+
@field_serializer("pq_compress")
|
|
323
|
+
def serialize_pq_compress(self, value):
|
|
324
|
+
if isinstance(value, str):
|
|
325
|
+
try:
|
|
326
|
+
return models.OutputGooglePubsubCompression(value)
|
|
327
|
+
except ValueError:
|
|
328
|
+
return value
|
|
329
|
+
return value
|
|
330
|
+
|
|
331
|
+
@field_serializer("pq_on_backpressure")
|
|
332
|
+
def serialize_pq_on_backpressure(self, value):
|
|
333
|
+
if isinstance(value, str):
|
|
334
|
+
try:
|
|
335
|
+
return models.OutputGooglePubsubQueueFullBehavior(value)
|
|
336
|
+
except ValueError:
|
|
337
|
+
return value
|
|
338
|
+
return value
|