cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc11__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/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +260 -393
- 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/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +13 -21
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +15 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +15 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -19
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -18
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +11 -18
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- 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/input.py +2 -2
- 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 +62 -7
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +63 -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 +40 -7
- 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/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +34 -3
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -18
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/output.py +13 -13
- 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 +125 -1
- cribl_control_plane/models/outputcriblhttp.py +97 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +99 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +69 -5
- 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 +121 -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 +121 -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 +149 -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 +64 -1
- cribl_control_plane/models/runnablejobexecutor.py +24 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +15 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -19
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- cribl_control_plane-0.2.1rc11.dist-info/RECORD +350 -0
- cribl_control_plane-0.2.1rc4.dist-info/RECORD +0 -331
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.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
|
|
@@ -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
|
|
@@ -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, Union
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
@@ -90,6 +91,15 @@ class OutputGrafanaCloudPrometheusAuth2(BaseModel):
|
|
|
90
91
|
] = None
|
|
91
92
|
r"""Select or create a secret that references your credentials"""
|
|
92
93
|
|
|
94
|
+
@field_serializer("auth_type")
|
|
95
|
+
def serialize_auth_type(self, value):
|
|
96
|
+
if isinstance(value, str):
|
|
97
|
+
try:
|
|
98
|
+
return models.OutputGrafanaCloudPrometheusAuthAuthenticationType2(value)
|
|
99
|
+
except ValueError:
|
|
100
|
+
return value
|
|
101
|
+
return value
|
|
102
|
+
|
|
93
103
|
|
|
94
104
|
class OutputGrafanaCloudLokiAuthAuthenticationType2(
|
|
95
105
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -146,6 +156,15 @@ class OutputGrafanaCloudLokiAuth2(BaseModel):
|
|
|
146
156
|
] = None
|
|
147
157
|
r"""Select or create a secret that references your credentials"""
|
|
148
158
|
|
|
159
|
+
@field_serializer("auth_type")
|
|
160
|
+
def serialize_auth_type(self, value):
|
|
161
|
+
if isinstance(value, str):
|
|
162
|
+
try:
|
|
163
|
+
return models.OutputGrafanaCloudLokiAuthAuthenticationType2(value)
|
|
164
|
+
except ValueError:
|
|
165
|
+
return value
|
|
166
|
+
return value
|
|
167
|
+
|
|
149
168
|
|
|
150
169
|
class OutputGrafanaCloudExtraHTTPHeader2TypedDict(TypedDict):
|
|
151
170
|
value: str
|
|
@@ -563,6 +582,60 @@ class OutputGrafanaCloudGrafanaCloud2(BaseModel):
|
|
|
563
582
|
Optional[OutputGrafanaCloudPqControls2], pydantic.Field(alias="pqControls")
|
|
564
583
|
] = None
|
|
565
584
|
|
|
585
|
+
@field_serializer("message_format")
|
|
586
|
+
def serialize_message_format(self, value):
|
|
587
|
+
if isinstance(value, str):
|
|
588
|
+
try:
|
|
589
|
+
return models.OutputGrafanaCloudMessageFormat2(value)
|
|
590
|
+
except ValueError:
|
|
591
|
+
return value
|
|
592
|
+
return value
|
|
593
|
+
|
|
594
|
+
@field_serializer("failed_request_logging_mode")
|
|
595
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
596
|
+
if isinstance(value, str):
|
|
597
|
+
try:
|
|
598
|
+
return models.OutputGrafanaCloudFailedRequestLoggingMode2(value)
|
|
599
|
+
except ValueError:
|
|
600
|
+
return value
|
|
601
|
+
return value
|
|
602
|
+
|
|
603
|
+
@field_serializer("on_backpressure")
|
|
604
|
+
def serialize_on_backpressure(self, value):
|
|
605
|
+
if isinstance(value, str):
|
|
606
|
+
try:
|
|
607
|
+
return models.OutputGrafanaCloudBackpressureBehavior2(value)
|
|
608
|
+
except ValueError:
|
|
609
|
+
return value
|
|
610
|
+
return value
|
|
611
|
+
|
|
612
|
+
@field_serializer("pq_mode")
|
|
613
|
+
def serialize_pq_mode(self, value):
|
|
614
|
+
if isinstance(value, str):
|
|
615
|
+
try:
|
|
616
|
+
return models.OutputGrafanaCloudMode2(value)
|
|
617
|
+
except ValueError:
|
|
618
|
+
return value
|
|
619
|
+
return value
|
|
620
|
+
|
|
621
|
+
@field_serializer("pq_compress")
|
|
622
|
+
def serialize_pq_compress(self, value):
|
|
623
|
+
if isinstance(value, str):
|
|
624
|
+
try:
|
|
625
|
+
return models.OutputGrafanaCloudCompression2(value)
|
|
626
|
+
except ValueError:
|
|
627
|
+
return value
|
|
628
|
+
return value
|
|
629
|
+
|
|
630
|
+
@field_serializer("pq_on_backpressure")
|
|
631
|
+
def serialize_pq_on_backpressure(self, value):
|
|
632
|
+
if isinstance(value, str):
|
|
633
|
+
try:
|
|
634
|
+
return models.OutputGrafanaCloudQueueFullBehavior2(value)
|
|
635
|
+
except ValueError:
|
|
636
|
+
return value
|
|
637
|
+
return value
|
|
638
|
+
|
|
566
639
|
|
|
567
640
|
class OutputGrafanaCloudType1(str, Enum):
|
|
568
641
|
GRAFANA_CLOUD = "grafana_cloud"
|
|
@@ -643,6 +716,15 @@ class OutputGrafanaCloudPrometheusAuth1(BaseModel):
|
|
|
643
716
|
] = None
|
|
644
717
|
r"""Select or create a secret that references your credentials"""
|
|
645
718
|
|
|
719
|
+
@field_serializer("auth_type")
|
|
720
|
+
def serialize_auth_type(self, value):
|
|
721
|
+
if isinstance(value, str):
|
|
722
|
+
try:
|
|
723
|
+
return models.OutputGrafanaCloudPrometheusAuthAuthenticationType1(value)
|
|
724
|
+
except ValueError:
|
|
725
|
+
return value
|
|
726
|
+
return value
|
|
727
|
+
|
|
646
728
|
|
|
647
729
|
class OutputGrafanaCloudLokiAuthAuthenticationType1(
|
|
648
730
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -699,6 +781,15 @@ class OutputGrafanaCloudLokiAuth1(BaseModel):
|
|
|
699
781
|
] = None
|
|
700
782
|
r"""Select or create a secret that references your credentials"""
|
|
701
783
|
|
|
784
|
+
@field_serializer("auth_type")
|
|
785
|
+
def serialize_auth_type(self, value):
|
|
786
|
+
if isinstance(value, str):
|
|
787
|
+
try:
|
|
788
|
+
return models.OutputGrafanaCloudLokiAuthAuthenticationType1(value)
|
|
789
|
+
except ValueError:
|
|
790
|
+
return value
|
|
791
|
+
return value
|
|
792
|
+
|
|
702
793
|
|
|
703
794
|
class OutputGrafanaCloudExtraHTTPHeader1TypedDict(TypedDict):
|
|
704
795
|
value: str
|
|
@@ -1118,6 +1209,60 @@ class OutputGrafanaCloudGrafanaCloud1(BaseModel):
|
|
|
1118
1209
|
Optional[OutputGrafanaCloudPqControls1], pydantic.Field(alias="pqControls")
|
|
1119
1210
|
] = None
|
|
1120
1211
|
|
|
1212
|
+
@field_serializer("message_format")
|
|
1213
|
+
def serialize_message_format(self, value):
|
|
1214
|
+
if isinstance(value, str):
|
|
1215
|
+
try:
|
|
1216
|
+
return models.OutputGrafanaCloudMessageFormat1(value)
|
|
1217
|
+
except ValueError:
|
|
1218
|
+
return value
|
|
1219
|
+
return value
|
|
1220
|
+
|
|
1221
|
+
@field_serializer("failed_request_logging_mode")
|
|
1222
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
1223
|
+
if isinstance(value, str):
|
|
1224
|
+
try:
|
|
1225
|
+
return models.OutputGrafanaCloudFailedRequestLoggingMode1(value)
|
|
1226
|
+
except ValueError:
|
|
1227
|
+
return value
|
|
1228
|
+
return value
|
|
1229
|
+
|
|
1230
|
+
@field_serializer("on_backpressure")
|
|
1231
|
+
def serialize_on_backpressure(self, value):
|
|
1232
|
+
if isinstance(value, str):
|
|
1233
|
+
try:
|
|
1234
|
+
return models.OutputGrafanaCloudBackpressureBehavior1(value)
|
|
1235
|
+
except ValueError:
|
|
1236
|
+
return value
|
|
1237
|
+
return value
|
|
1238
|
+
|
|
1239
|
+
@field_serializer("pq_mode")
|
|
1240
|
+
def serialize_pq_mode(self, value):
|
|
1241
|
+
if isinstance(value, str):
|
|
1242
|
+
try:
|
|
1243
|
+
return models.OutputGrafanaCloudMode1(value)
|
|
1244
|
+
except ValueError:
|
|
1245
|
+
return value
|
|
1246
|
+
return value
|
|
1247
|
+
|
|
1248
|
+
@field_serializer("pq_compress")
|
|
1249
|
+
def serialize_pq_compress(self, value):
|
|
1250
|
+
if isinstance(value, str):
|
|
1251
|
+
try:
|
|
1252
|
+
return models.OutputGrafanaCloudCompression1(value)
|
|
1253
|
+
except ValueError:
|
|
1254
|
+
return value
|
|
1255
|
+
return value
|
|
1256
|
+
|
|
1257
|
+
@field_serializer("pq_on_backpressure")
|
|
1258
|
+
def serialize_pq_on_backpressure(self, value):
|
|
1259
|
+
if isinstance(value, str):
|
|
1260
|
+
try:
|
|
1261
|
+
return models.OutputGrafanaCloudQueueFullBehavior1(value)
|
|
1262
|
+
except ValueError:
|
|
1263
|
+
return value
|
|
1264
|
+
return value
|
|
1265
|
+
|
|
1121
1266
|
|
|
1122
1267
|
OutputGrafanaCloudTypedDict = TypeAliasType(
|
|
1123
1268
|
"OutputGrafanaCloudTypedDict",
|
|
@@ -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
|
|
@@ -261,3 +262,48 @@ class OutputGraphite(BaseModel):
|
|
|
261
262
|
pq_controls: Annotated[
|
|
262
263
|
Optional[OutputGraphitePqControls], pydantic.Field(alias="pqControls")
|
|
263
264
|
] = None
|
|
265
|
+
|
|
266
|
+
@field_serializer("protocol")
|
|
267
|
+
def serialize_protocol(self, value):
|
|
268
|
+
if isinstance(value, str):
|
|
269
|
+
try:
|
|
270
|
+
return models.OutputGraphiteDestinationProtocol(value)
|
|
271
|
+
except ValueError:
|
|
272
|
+
return value
|
|
273
|
+
return value
|
|
274
|
+
|
|
275
|
+
@field_serializer("on_backpressure")
|
|
276
|
+
def serialize_on_backpressure(self, value):
|
|
277
|
+
if isinstance(value, str):
|
|
278
|
+
try:
|
|
279
|
+
return models.OutputGraphiteBackpressureBehavior(value)
|
|
280
|
+
except ValueError:
|
|
281
|
+
return value
|
|
282
|
+
return value
|
|
283
|
+
|
|
284
|
+
@field_serializer("pq_mode")
|
|
285
|
+
def serialize_pq_mode(self, value):
|
|
286
|
+
if isinstance(value, str):
|
|
287
|
+
try:
|
|
288
|
+
return models.OutputGraphiteMode(value)
|
|
289
|
+
except ValueError:
|
|
290
|
+
return value
|
|
291
|
+
return value
|
|
292
|
+
|
|
293
|
+
@field_serializer("pq_compress")
|
|
294
|
+
def serialize_pq_compress(self, value):
|
|
295
|
+
if isinstance(value, str):
|
|
296
|
+
try:
|
|
297
|
+
return models.OutputGraphiteCompression(value)
|
|
298
|
+
except ValueError:
|
|
299
|
+
return value
|
|
300
|
+
return value
|
|
301
|
+
|
|
302
|
+
@field_serializer("pq_on_backpressure")
|
|
303
|
+
def serialize_pq_on_backpressure(self, value):
|
|
304
|
+
if isinstance(value, str):
|
|
305
|
+
try:
|
|
306
|
+
return models.OutputGraphiteQueueFullBehavior(value)
|
|
307
|
+
except ValueError:
|
|
308
|
+
return value
|
|
309
|
+
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
|
|
@@ -408,3 +409,57 @@ class OutputHoneycomb(BaseModel):
|
|
|
408
409
|
|
|
409
410
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
410
411
|
r"""Select or create a stored text secret"""
|
|
412
|
+
|
|
413
|
+
@field_serializer("failed_request_logging_mode")
|
|
414
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
415
|
+
if isinstance(value, str):
|
|
416
|
+
try:
|
|
417
|
+
return models.OutputHoneycombFailedRequestLoggingMode(value)
|
|
418
|
+
except ValueError:
|
|
419
|
+
return value
|
|
420
|
+
return value
|
|
421
|
+
|
|
422
|
+
@field_serializer("on_backpressure")
|
|
423
|
+
def serialize_on_backpressure(self, value):
|
|
424
|
+
if isinstance(value, str):
|
|
425
|
+
try:
|
|
426
|
+
return models.OutputHoneycombBackpressureBehavior(value)
|
|
427
|
+
except ValueError:
|
|
428
|
+
return value
|
|
429
|
+
return value
|
|
430
|
+
|
|
431
|
+
@field_serializer("auth_type")
|
|
432
|
+
def serialize_auth_type(self, value):
|
|
433
|
+
if isinstance(value, str):
|
|
434
|
+
try:
|
|
435
|
+
return models.OutputHoneycombAuthenticationMethod(value)
|
|
436
|
+
except ValueError:
|
|
437
|
+
return value
|
|
438
|
+
return value
|
|
439
|
+
|
|
440
|
+
@field_serializer("pq_mode")
|
|
441
|
+
def serialize_pq_mode(self, value):
|
|
442
|
+
if isinstance(value, str):
|
|
443
|
+
try:
|
|
444
|
+
return models.OutputHoneycombMode(value)
|
|
445
|
+
except ValueError:
|
|
446
|
+
return value
|
|
447
|
+
return value
|
|
448
|
+
|
|
449
|
+
@field_serializer("pq_compress")
|
|
450
|
+
def serialize_pq_compress(self, value):
|
|
451
|
+
if isinstance(value, str):
|
|
452
|
+
try:
|
|
453
|
+
return models.OutputHoneycombCompression(value)
|
|
454
|
+
except ValueError:
|
|
455
|
+
return value
|
|
456
|
+
return value
|
|
457
|
+
|
|
458
|
+
@field_serializer("pq_on_backpressure")
|
|
459
|
+
def serialize_pq_on_backpressure(self, value):
|
|
460
|
+
if isinstance(value, str):
|
|
461
|
+
try:
|
|
462
|
+
return models.OutputHoneycombQueueFullBehavior(value)
|
|
463
|
+
except ValueError:
|
|
464
|
+
return value
|
|
465
|
+
return value
|