cribl-control-plane 0.3.0b6__py3-none-any.whl → 0.3.0b8__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 +4 -4
- cribl_control_plane/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/cribllakedataset.py +1 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +1 -29
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +3 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +3 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +3 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/runnablejobcollection.py +1 -56
- cribl_control_plane/models/runnablejobexecutor.py +1 -20
- cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b8.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b8.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b8.dist-info}/WHEEL +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
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
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -103,15 +102,6 @@ class OutputElasticCloudAuth(BaseModel):
|
|
|
103
102
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
104
103
|
r"""Select or create a stored text secret"""
|
|
105
104
|
|
|
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
|
-
|
|
115
105
|
|
|
116
106
|
class OutputElasticCloudResponseRetrySettingTypedDict(TypedDict):
|
|
117
107
|
http_status: float
|
|
@@ -479,48 +469,3 @@ class OutputElasticCloud(BaseModel):
|
|
|
479
469
|
pq_controls: Annotated[
|
|
480
470
|
Optional[OutputElasticCloudPqControls], pydantic.Field(alias="pqControls")
|
|
481
471
|
] = 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,12 +1,11 @@
|
|
|
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
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -308,48 +307,3 @@ class OutputExabeam(BaseModel):
|
|
|
308
307
|
|
|
309
308
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
310
309
|
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,12 +1,11 @@
|
|
|
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
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -378,66 +377,3 @@ class OutputFilesystem(BaseModel):
|
|
|
378
377
|
|
|
379
378
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
380
379
|
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,12 +1,11 @@
|
|
|
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
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -548,84 +547,3 @@ class OutputGoogleChronicle(BaseModel):
|
|
|
548
547
|
pq_controls: Annotated[
|
|
549
548
|
Optional[OutputGoogleChroniclePqControls], pydantic.Field(alias="pqControls")
|
|
550
549
|
] = 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,12 +1,11 @@
|
|
|
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
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -605,66 +604,3 @@ class OutputGoogleCloudLogging(BaseModel):
|
|
|
605
604
|
pq_controls: Annotated[
|
|
606
605
|
Optional[OutputGoogleCloudLoggingPqControls], pydantic.Field(alias="pqControls")
|
|
607
606
|
] = 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,12 +1,11 @@
|
|
|
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
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -530,102 +529,3 @@ class OutputGoogleCloudStorage(BaseModel):
|
|
|
530
529
|
|
|
531
530
|
aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
|
|
532
531
|
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,12 +1,11 @@
|
|
|
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
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -291,48 +290,3 @@ class OutputGooglePubsub(BaseModel):
|
|
|
291
290
|
pq_controls: Annotated[
|
|
292
291
|
Optional[OutputGooglePubsubPqControls], pydantic.Field(alias="pqControls")
|
|
293
292
|
] = 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
|