chalkpy 2.95.6__py3-none-any.whl → 2.95.8__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.
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +47 -47
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +12 -3
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +34 -31
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +37 -1
- chalk/_gen/chalk/server/v1/branches_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +310 -310
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +4 -0
- chalk/_gen/chalk/server/v1/deploy_pb2.py +34 -34
- chalk/_gen/chalk/server/v1/deploy_pb2.pyi +10 -1
- chalk/_gen/chalk/server/v1/deployment_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/deployment_pb2.pyi +6 -2
- chalk/_gen/chalk/server/v1/monitoring_pb2.py +83 -65
- chalk/_gen/chalk/server/v1/monitoring_pb2.pyi +97 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +32 -26
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +12 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +8 -0
- chalk/_version.py +1 -1
- chalk/client/client_impl.py +5 -3
- {chalkpy-2.95.6.dist-info → chalkpy-2.95.8.dist-info}/METADATA +1 -1
- {chalkpy-2.95.6.dist-info → chalkpy-2.95.8.dist-info}/RECORD +28 -27
- {chalkpy-2.95.6.dist-info → chalkpy-2.95.8.dist-info}/WHEEL +0 -0
- {chalkpy-2.95.6.dist-info → chalkpy-2.95.8.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.95.6.dist-info → chalkpy-2.95.8.dist-info}/top_level.txt +0 -0
|
@@ -187,6 +187,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
187
187
|
"graph_mutations",
|
|
188
188
|
"customer_metadata",
|
|
189
189
|
"display_description",
|
|
190
|
+
"force_rebuild_dockerfile",
|
|
190
191
|
)
|
|
191
192
|
class CustomerMetadataEntry(_message.Message):
|
|
192
193
|
__slots__ = ("key", "value")
|
|
@@ -205,6 +206,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
205
206
|
GRAPH_MUTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
206
207
|
CUSTOMER_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
207
208
|
DISPLAY_DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
209
|
+
FORCE_REBUILD_DOCKERFILE_FIELD_NUMBER: _ClassVar[int]
|
|
208
210
|
existing_deployment_id: str
|
|
209
211
|
enable_profiling: bool
|
|
210
212
|
deployment_tags: _containers.RepeatedScalarFieldContainer[str]
|
|
@@ -214,6 +216,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
214
216
|
graph_mutations: _containers.RepeatedCompositeFieldContainer[_graph_pb2_1.GraphMutation]
|
|
215
217
|
customer_metadata: _containers.ScalarMap[str, str]
|
|
216
218
|
display_description: str
|
|
219
|
+
force_rebuild_dockerfile: bool
|
|
217
220
|
def __init__(
|
|
218
221
|
self,
|
|
219
222
|
existing_deployment_id: _Optional[str] = ...,
|
|
@@ -225,6 +228,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
225
228
|
graph_mutations: _Optional[_Iterable[_Union[_graph_pb2_1.GraphMutation, _Mapping]]] = ...,
|
|
226
229
|
customer_metadata: _Optional[_Mapping[str, str]] = ...,
|
|
227
230
|
display_description: _Optional[str] = ...,
|
|
231
|
+
force_rebuild_dockerfile: bool = ...,
|
|
228
232
|
) -> None: ...
|
|
229
233
|
|
|
230
234
|
class RedeployDeploymentResponse(_message.Message):
|
|
@@ -24,7 +24,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mas
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
27
|
-
b'\n\x1c\x63halk/server/v1/deploy.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/artifacts/v1/export.proto\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1a\x63halk/graph/v1/graph.proto\x1a chalk/server/v1/deployment.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\x97\x01\n\x13\x44\x65ployBranchRequest\x12\x1f\n\x0b\x62ranch_name\x18\x01 \x01(\tR\nbranchName\x12!\n\x0creset_branch\x18\x02 \x01(\x08R\x0bresetBranch\x12\x18\n\x07\x61rchive\x18\x03 \x01(\x0cR\x07\x61rchive\x12"\n\ris_hot_deploy\x18\x04 \x01(\x08R\x0bisHotDeploy"\x89\x02\n\x14\x44\x65ployBranchResponse\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x34\n\x05graph\x18\x02 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01H\x00R\x05graph\x88\x01\x01\x12H\n\x11\x64\x65ployment_errors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x10\x64\x65ploymentErrors\x12\x37\n\x06\x65xport\x18\x04 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x01R\x06\x65xport\x88\x01\x01\x42\x08\n\x06_graphB\t\n\x07_export"\
|
|
27
|
+
b'\n\x1c\x63halk/server/v1/deploy.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/artifacts/v1/export.proto\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1a\x63halk/graph/v1/graph.proto\x1a chalk/server/v1/deployment.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\x97\x01\n\x13\x44\x65ployBranchRequest\x12\x1f\n\x0b\x62ranch_name\x18\x01 \x01(\tR\nbranchName\x12!\n\x0creset_branch\x18\x02 \x01(\x08R\x0bresetBranch\x12\x18\n\x07\x61rchive\x18\x03 \x01(\x0cR\x07\x61rchive\x12"\n\ris_hot_deploy\x18\x04 \x01(\x08R\x0bisHotDeploy"\x89\x02\n\x14\x44\x65ployBranchResponse\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x34\n\x05graph\x18\x02 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01H\x00R\x05graph\x88\x01\x01\x12H\n\x11\x64\x65ployment_errors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x10\x64\x65ploymentErrors\x12\x37\n\x06\x65xport\x18\x04 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x01R\x06\x65xport\x88\x01\x01\x42\x08\n\x06_graphB\t\n\x07_export"\xe8\x02\n\'CreateBranchFromSourceDeploymentRequest\x12\x1f\n\x0b\x62ranch_name\x18\x01 \x01(\tR\nbranchName\x12.\n\x12source_branch_name\x18\x02 \x01(\tH\x00R\x10sourceBranchName\x12\x32\n\x14source_deployment_id\x18\x03 \x01(\tH\x00R\x12sourceDeploymentId\x12X\n\x1b\x63urrent_mainline_deployment\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x19\x63urrentMainlineDeployment\x12\x41\n\x0eoverride_graph\x18\x05 \x01(\x0b\x32\x15.chalk.graph.v1.GraphH\x01R\roverrideGraph\x88\x01\x01\x42\x08\n\x06sourceB\x11\n\x0f_override_graph"\x91\x02\n(CreateBranchFromSourceDeploymentResponse\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12H\n\x11\x64\x65ployment_errors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x10\x64\x65ploymentErrors\x12\x37\n\x06\x65xport\x18\x03 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x00R\x06\x65xport\x88\x01\x01\x12\x32\n\x15\x62ranch_already_exists\x18\x04 \x01(\x08R\x13\x62ranchAlreadyExistsB\t\n\x07_export"t\n\x14GetDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x37\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask"\x98\x01\n\x15GetDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment\x12\x37\n\x06\x65xport\x18\x02 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x00R\x06\x65xport\x88\x01\x01\x42\t\n\x07_export"\xda\x01\n\x16ListDeploymentsRequest\x12\x1b\n\x06\x63ursor\x18\x01 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x01R\x05limit\x88\x01\x01\x12*\n\x0einclude_branch\x18\x03 \x01(\x08H\x02R\rincludeBranch\x88\x01\x01\x12$\n\x0b\x62ranch_name\x18\x04 \x01(\tH\x03R\nbranchName\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limitB\x11\n\x0f_include_branchB\x0e\n\x0c_branch_name"\x80\x01\n\x17ListDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.DeploymentR\x0b\x64\x65ployments\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"?\n\x18SuspendDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"X\n\x19SuspendDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment"v\n\x16ScaleDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x37\n\x06sizing\x18\x02 \x01(\x0b\x32\x1f.chalk.server.v1.InstanceSizingR\x06sizing"V\n\x17ScaleDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment"\x89\x01\n\x14TagDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x10\n\x03tag\x18\x02 \x01(\tR\x03tag\x12(\n\rmirror_weight\x18\x03 \x01(\x05H\x00R\x0cmirrorWeight\x88\x01\x01\x42\x10\n\x0e_mirror_weight"\xaa\x01\n\x15TagDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment\x12\x39\n\x16untagged_deployment_id\x18\x02 \x01(\tH\x00R\x14untaggedDeploymentId\x88\x01\x01\x42\x19\n\x17_untagged_deployment_id"\x1d\n\x1bGetActiveDeploymentsRequest"]\n\x1cGetActiveDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.DeploymentR\x0b\x64\x65ployments"A\n\x1aGetDeploymentSourceRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"<\n\x1bGetDeploymentSourceResponse\x12\x1d\n\nsigned_url\x18\x01 \x01(\tR\tsignedUrl2\xa4\x08\n\rDeployService\x12`\n\x0c\x44\x65ployBranch\x12$.chalk.server.v1.DeployBranchRequest\x1a%.chalk.server.v1.DeployBranchResponse"\x03\x80}\r\x12\x9c\x01\n CreateBranchFromSourceDeployment\x12\x38.chalk.server.v1.CreateBranchFromSourceDeploymentRequest\x1a\x39.chalk.server.v1.CreateBranchFromSourceDeploymentResponse"\x03\x80}\r\x12\x63\n\rGetDeployment\x12%.chalk.server.v1.GetDeploymentRequest\x1a&.chalk.server.v1.GetDeploymentResponse"\x03\x80}\x0b\x12i\n\x0fListDeployments\x12\'.chalk.server.v1.ListDeploymentsRequest\x1a(.chalk.server.v1.ListDeploymentsResponse"\x03\x80}\x0b\x12x\n\x14GetActiveDeployments\x12,.chalk.server.v1.GetActiveDeploymentsRequest\x1a-.chalk.server.v1.GetActiveDeploymentsResponse"\x03\x80}\x02\x12u\n\x11SuspendDeployment\x12).chalk.server.v1.SuspendDeploymentRequest\x1a*.chalk.server.v1.SuspendDeploymentResponse"\t\x80}\x0c\x8a\xd3\x0e\x02\x08\x02\x12o\n\x0fScaleDeployment\x12\'.chalk.server.v1.ScaleDeploymentRequest\x1a(.chalk.server.v1.ScaleDeploymentResponse"\t\x80}\x0c\x8a\xd3\x0e\x02\x08\x02\x12i\n\rTagDeployment\x12%.chalk.server.v1.TagDeploymentRequest\x1a&.chalk.server.v1.TagDeploymentResponse"\t\x80}\x0c\x8a\xd3\x0e\x02\x08\x02\x12u\n\x13GetDeploymentSource\x12+.chalk.server.v1.GetDeploymentSourceRequest\x1a,.chalk.server.v1.GetDeploymentSourceResponse"\x03\x80}\x0b\x42\x94\x01\n\x13\x63om.chalk.server.v1B\x0b\x44\x65ployProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
@@ -66,37 +66,37 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
66
66
|
_globals["_DEPLOYBRANCHRESPONSE"]._serialized_start = 457
|
|
67
67
|
_globals["_DEPLOYBRANCHRESPONSE"]._serialized_end = 722
|
|
68
68
|
_globals["_CREATEBRANCHFROMSOURCEDEPLOYMENTREQUEST"]._serialized_start = 725
|
|
69
|
-
_globals["_CREATEBRANCHFROMSOURCEDEPLOYMENTREQUEST"]._serialized_end =
|
|
70
|
-
_globals["_CREATEBRANCHFROMSOURCEDEPLOYMENTRESPONSE"]._serialized_start =
|
|
71
|
-
_globals["_CREATEBRANCHFROMSOURCEDEPLOYMENTRESPONSE"]._serialized_end =
|
|
72
|
-
_globals["_GETDEPLOYMENTREQUEST"]._serialized_start =
|
|
73
|
-
_globals["_GETDEPLOYMENTREQUEST"]._serialized_end =
|
|
74
|
-
_globals["_GETDEPLOYMENTRESPONSE"]._serialized_start =
|
|
75
|
-
_globals["_GETDEPLOYMENTRESPONSE"]._serialized_end =
|
|
76
|
-
_globals["_LISTDEPLOYMENTSREQUEST"]._serialized_start =
|
|
77
|
-
_globals["_LISTDEPLOYMENTSREQUEST"]._serialized_end =
|
|
78
|
-
_globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_start =
|
|
79
|
-
_globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_end =
|
|
80
|
-
_globals["_SUSPENDDEPLOYMENTREQUEST"]._serialized_start =
|
|
81
|
-
_globals["_SUSPENDDEPLOYMENTREQUEST"]._serialized_end =
|
|
82
|
-
_globals["_SUSPENDDEPLOYMENTRESPONSE"]._serialized_start =
|
|
83
|
-
_globals["_SUSPENDDEPLOYMENTRESPONSE"]._serialized_end =
|
|
84
|
-
_globals["_SCALEDEPLOYMENTREQUEST"]._serialized_start =
|
|
85
|
-
_globals["_SCALEDEPLOYMENTREQUEST"]._serialized_end =
|
|
86
|
-
_globals["_SCALEDEPLOYMENTRESPONSE"]._serialized_start =
|
|
87
|
-
_globals["_SCALEDEPLOYMENTRESPONSE"]._serialized_end =
|
|
88
|
-
_globals["_TAGDEPLOYMENTREQUEST"]._serialized_start =
|
|
89
|
-
_globals["_TAGDEPLOYMENTREQUEST"]._serialized_end =
|
|
90
|
-
_globals["_TAGDEPLOYMENTRESPONSE"]._serialized_start =
|
|
91
|
-
_globals["_TAGDEPLOYMENTRESPONSE"]._serialized_end =
|
|
92
|
-
_globals["_GETACTIVEDEPLOYMENTSREQUEST"]._serialized_start =
|
|
93
|
-
_globals["_GETACTIVEDEPLOYMENTSREQUEST"]._serialized_end =
|
|
94
|
-
_globals["_GETACTIVEDEPLOYMENTSRESPONSE"]._serialized_start =
|
|
95
|
-
_globals["_GETACTIVEDEPLOYMENTSRESPONSE"]._serialized_end =
|
|
96
|
-
_globals["_GETDEPLOYMENTSOURCEREQUEST"]._serialized_start =
|
|
97
|
-
_globals["_GETDEPLOYMENTSOURCEREQUEST"]._serialized_end =
|
|
98
|
-
_globals["_GETDEPLOYMENTSOURCERESPONSE"]._serialized_start =
|
|
99
|
-
_globals["_GETDEPLOYMENTSOURCERESPONSE"]._serialized_end =
|
|
100
|
-
_globals["_DEPLOYSERVICE"]._serialized_start =
|
|
101
|
-
_globals["_DEPLOYSERVICE"]._serialized_end =
|
|
69
|
+
_globals["_CREATEBRANCHFROMSOURCEDEPLOYMENTREQUEST"]._serialized_end = 1085
|
|
70
|
+
_globals["_CREATEBRANCHFROMSOURCEDEPLOYMENTRESPONSE"]._serialized_start = 1088
|
|
71
|
+
_globals["_CREATEBRANCHFROMSOURCEDEPLOYMENTRESPONSE"]._serialized_end = 1361
|
|
72
|
+
_globals["_GETDEPLOYMENTREQUEST"]._serialized_start = 1363
|
|
73
|
+
_globals["_GETDEPLOYMENTREQUEST"]._serialized_end = 1479
|
|
74
|
+
_globals["_GETDEPLOYMENTRESPONSE"]._serialized_start = 1482
|
|
75
|
+
_globals["_GETDEPLOYMENTRESPONSE"]._serialized_end = 1634
|
|
76
|
+
_globals["_LISTDEPLOYMENTSREQUEST"]._serialized_start = 1637
|
|
77
|
+
_globals["_LISTDEPLOYMENTSREQUEST"]._serialized_end = 1855
|
|
78
|
+
_globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_start = 1858
|
|
79
|
+
_globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_end = 1986
|
|
80
|
+
_globals["_SUSPENDDEPLOYMENTREQUEST"]._serialized_start = 1988
|
|
81
|
+
_globals["_SUSPENDDEPLOYMENTREQUEST"]._serialized_end = 2051
|
|
82
|
+
_globals["_SUSPENDDEPLOYMENTRESPONSE"]._serialized_start = 2053
|
|
83
|
+
_globals["_SUSPENDDEPLOYMENTRESPONSE"]._serialized_end = 2141
|
|
84
|
+
_globals["_SCALEDEPLOYMENTREQUEST"]._serialized_start = 2143
|
|
85
|
+
_globals["_SCALEDEPLOYMENTREQUEST"]._serialized_end = 2261
|
|
86
|
+
_globals["_SCALEDEPLOYMENTRESPONSE"]._serialized_start = 2263
|
|
87
|
+
_globals["_SCALEDEPLOYMENTRESPONSE"]._serialized_end = 2349
|
|
88
|
+
_globals["_TAGDEPLOYMENTREQUEST"]._serialized_start = 2352
|
|
89
|
+
_globals["_TAGDEPLOYMENTREQUEST"]._serialized_end = 2489
|
|
90
|
+
_globals["_TAGDEPLOYMENTRESPONSE"]._serialized_start = 2492
|
|
91
|
+
_globals["_TAGDEPLOYMENTRESPONSE"]._serialized_end = 2662
|
|
92
|
+
_globals["_GETACTIVEDEPLOYMENTSREQUEST"]._serialized_start = 2664
|
|
93
|
+
_globals["_GETACTIVEDEPLOYMENTSREQUEST"]._serialized_end = 2693
|
|
94
|
+
_globals["_GETACTIVEDEPLOYMENTSRESPONSE"]._serialized_start = 2695
|
|
95
|
+
_globals["_GETACTIVEDEPLOYMENTSRESPONSE"]._serialized_end = 2788
|
|
96
|
+
_globals["_GETDEPLOYMENTSOURCEREQUEST"]._serialized_start = 2790
|
|
97
|
+
_globals["_GETDEPLOYMENTSOURCEREQUEST"]._serialized_end = 2855
|
|
98
|
+
_globals["_GETDEPLOYMENTSOURCERESPONSE"]._serialized_start = 2857
|
|
99
|
+
_globals["_GETDEPLOYMENTSOURCERESPONSE"]._serialized_end = 2917
|
|
100
|
+
_globals["_DEPLOYSERVICE"]._serialized_start = 2920
|
|
101
|
+
_globals["_DEPLOYSERVICE"]._serialized_end = 3980
|
|
102
102
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -56,21 +56,30 @@ class DeployBranchResponse(_message.Message):
|
|
|
56
56
|
) -> None: ...
|
|
57
57
|
|
|
58
58
|
class CreateBranchFromSourceDeploymentRequest(_message.Message):
|
|
59
|
-
__slots__ = (
|
|
59
|
+
__slots__ = (
|
|
60
|
+
"branch_name",
|
|
61
|
+
"source_branch_name",
|
|
62
|
+
"source_deployment_id",
|
|
63
|
+
"current_mainline_deployment",
|
|
64
|
+
"override_graph",
|
|
65
|
+
)
|
|
60
66
|
BRANCH_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
61
67
|
SOURCE_BRANCH_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
62
68
|
SOURCE_DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
63
69
|
CURRENT_MAINLINE_DEPLOYMENT_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
OVERRIDE_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
|
64
71
|
branch_name: str
|
|
65
72
|
source_branch_name: str
|
|
66
73
|
source_deployment_id: str
|
|
67
74
|
current_mainline_deployment: _empty_pb2.Empty
|
|
75
|
+
override_graph: _graph_pb2.Graph
|
|
68
76
|
def __init__(
|
|
69
77
|
self,
|
|
70
78
|
branch_name: _Optional[str] = ...,
|
|
71
79
|
source_branch_name: _Optional[str] = ...,
|
|
72
80
|
source_deployment_id: _Optional[str] = ...,
|
|
73
81
|
current_mainline_deployment: _Optional[_Union[_empty_pb2.Empty, _Mapping]] = ...,
|
|
82
|
+
override_graph: _Optional[_Union[_graph_pb2.Graph, _Mapping]] = ...,
|
|
74
83
|
) -> None: ...
|
|
75
84
|
|
|
76
85
|
class CreateBranchFromSourceDeploymentResponse(_message.Message):
|
|
@@ -18,7 +18,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
21
|
-
b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a!chalk/server/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\
|
|
21
|
+
b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a!chalk/server/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\xed\x01\n\x10SourceImageSpecs\x12\x42\n\x05specs\x18\x01 \x03(\x0b\x32,.chalk.server.v1.SourceImageSpecs.SpecsEntryR\x05specs\x12\x39\n\x19uses_uploaded_proto_graph\x18\x02 \x01(\x08R\x16usesUploadedProtoGraph\x1aZ\n\nSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .chalk.server.v1.SourceImageSpecR\x05value:\x02\x38\x01"\xc2\x10\n\nDeployment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32!.chalk.server.v1.DeploymentStatusR\x06status\x12\'\n\x0f\x64\x65ployment_tags\x18\x04 \x03(\tR\x0e\x64\x65ploymentTags\x12$\n\x0e\x63loud_build_id\x18\x05 \x01(\tR\x0c\x63loudBuildId\x12!\n\x0ctriggered_by\x18\x06 \x01(\tR\x0btriggeredBy\x12\x38\n\x15requirements_filepath\x18\x07 \x01(\tH\x00R\x14requirementsFilepath\x88\x01\x01\x12\x34\n\x13\x64ockerfile_filepath\x18\x08 \x01(\tH\x01R\x12\x64ockerfileFilepath\x88\x01\x01\x12\x1d\n\x07runtime\x18\t \x01(\tH\x02R\x07runtime\x88\x01\x01\x12\'\n\x0f\x63halkpy_version\x18\n \x01(\tR\x0e\x63halkpyVersion\x12.\n\x13raw_dependency_hash\x18\x0b \x01(\tR\x11rawDependencyHash\x12\x37\n\x15\x66inal_dependency_hash\x18\x0c \x01(\tH\x03R\x13\x66inalDependencyHash\x88\x01\x01\x12\x37\n\x15is_preview_deployment\x18\r \x01(\x08H\x04R\x13isPreviewDeployment\x88\x01\x01\x12\x39\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x1d\n\ngit_commit\x18\x10 \x01(\tR\tgitCommit\x12\x15\n\x06git_pr\x18\x11 \x01(\tR\x05gitPr\x12\x1d\n\ngit_branch\x18\x12 \x01(\tR\tgitBranch\x12(\n\x10git_author_email\x18\x13 \x01(\tR\x0egitAuthorEmail\x12\x16\n\x06\x62ranch\x18\x14 \x01(\tR\x06\x62ranch\x12)\n\x10project_settings\x18\x15 \x01(\tR\x0fprojectSettings\x12\x32\n\x12requirements_files\x18\x16 \x01(\tH\x05R\x11requirementsFiles\x88\x01\x01\x12\x17\n\x07git_tag\x18\x17 \x01(\tR\x06gitTag\x12$\n\x0e\x62\x61se_image_sha\x18\x18 \x01(\tR\x0c\x62\x61seImageSha\x12\x46\n\x11status_changed_at\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0fstatusChangedAt\x12;\n\x17pinned_platform_version\x18\x1a \x01(\tH\x06R\x15pinnedPlatformVersion\x88\x01\x01\x12\x39\n\x16preview_deployment_tag\x18\x1b \x01(\tH\x07R\x14previewDeploymentTag\x88\x01\x01\x12X\n\x0eprofiling_mode\x18\x1c \x01(\x0e\x32(.chalk.server.v1.DeploymentProfilingModeB\x02\x18\x01H\x08R\rprofilingMode\x88\x01\x01\x12\x31\n\x12source_image_specs\x18\x1d \x01(\x0cH\tR\x10sourceImageSpecs\x88\x01\x01\x12\x39\n\x19uses_uploaded_proto_graph\x18\x1e \x01(\x08R\x16usesUploadedProtoGraph\x12Q\n\rbuild_profile\x18\x1f \x01(\x0e\x32\'.chalk.server.v1.DeploymentBuildProfileH\nR\x0c\x62uildProfile\x88\x01\x01\x12\x36\n\x15\x63ustomer_cicd_job_url\x18 \x01(\tH\x0bR\x12\x63ustomerCicdJobUrl\x88\x01\x01\x12\x30\n\x11\x63ustomer_metadata\x18! \x01(\tH\x0cR\x10\x63ustomerMetadata\x88\x01\x01\x12-\n\x10\x63ustomer_vcs_url\x18" \x01(\tH\rR\x0e\x63ustomerVcsUrl\x88\x01\x01\x12\x34\n\x13\x64isplay_description\x18# \x01(\tH\x0eR\x12\x64isplayDescription\x88\x01\x01\x12\x31\n\x12git_commit_message\x18$ \x01(\tH\x0fR\x10gitCommitMessage\x88\x01\x01\x42\x18\n\x16_requirements_filepathB\x16\n\x14_dockerfile_filepathB\n\n\x08_runtimeB\x18\n\x16_final_dependency_hashB\x18\n\x16_is_preview_deploymentB\x15\n\x13_requirements_filesB\x1a\n\x18_pinned_platform_versionB\x19\n\x17_preview_deployment_tagB\x11\n\x0f_profiling_modeB\x15\n\x13_source_image_specsB\x10\n\x0e_build_profileB\x18\n\x16_customer_cicd_job_urlB\x14\n\x12_customer_metadataB\x13\n\x11_customer_vcs_urlB\x16\n\x14_display_descriptionB\x15\n\x13_git_commit_message*\xde\x03\n\x10\x44\x65ploymentStatus\x12!\n\x1d\x44\x45PLOYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_UNKNOWN\x10\x01\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_PENDING\x10\x02\x12\x1c\n\x18\x44\x45PLOYMENT_STATUS_QUEUED\x10\x03\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_WORKING\x10\x04\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_SUCCESS\x10\x05\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_FAILURE\x10\x06\x12$\n DEPLOYMENT_STATUS_INTERNAL_ERROR\x10\x07\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_TIMEOUT\x10\x08\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_CANCELLED\x10\t\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_EXPIRED\x10\n\x12!\n\x1d\x44\x45PLOYMENT_STATUS_BOOT_ERRORS\x10\x0b\x12%\n!DEPLOYMENT_STATUS_AWAITING_SOURCE\x10\x0c\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_DEPLOYING\x10\r*\x8e\x01\n\x17\x44\x65ploymentProfilingMode\x12)\n%DEPLOYMENT_PROFILING_MODE_UNSPECIFIED\x10\x00\x12"\n\x1e\x44\x45PLOYMENT_PROFILING_MODE_NONE\x10\x01\x12 \n\x1c\x44\x45PLOYMENT_PROFILING_MODE_O2\x10\x02\x1a\x02\x18\x01\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0f\x44\x65ploymentProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
@@ -35,18 +35,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
35
35
|
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_options = b"8\001"
|
|
36
36
|
_globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._options = None
|
|
37
37
|
_globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._serialized_options = b"\030\001"
|
|
38
|
-
_globals["_DEPLOYMENTSTATUS"]._serialized_start =
|
|
39
|
-
_globals["_DEPLOYMENTSTATUS"]._serialized_end =
|
|
40
|
-
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_start =
|
|
41
|
-
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_end =
|
|
38
|
+
_globals["_DEPLOYMENTSTATUS"]._serialized_start = 2784
|
|
39
|
+
_globals["_DEPLOYMENTSTATUS"]._serialized_end = 3262
|
|
40
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_start = 3265
|
|
41
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_end = 3407
|
|
42
42
|
_globals["_INSTANCESIZING"]._serialized_start = 122
|
|
43
43
|
_globals["_INSTANCESIZING"]._serialized_end = 258
|
|
44
44
|
_globals["_SOURCEIMAGESPEC"]._serialized_start = 261
|
|
45
45
|
_globals["_SOURCEIMAGESPEC"]._serialized_end = 424
|
|
46
46
|
_globals["_SOURCEIMAGESPECS"]._serialized_start = 427
|
|
47
|
-
_globals["_SOURCEIMAGESPECS"]._serialized_end =
|
|
48
|
-
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_start =
|
|
49
|
-
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_end =
|
|
50
|
-
_globals["_DEPLOYMENT"]._serialized_start =
|
|
51
|
-
_globals["_DEPLOYMENT"]._serialized_end =
|
|
47
|
+
_globals["_SOURCEIMAGESPECS"]._serialized_end = 664
|
|
48
|
+
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_start = 574
|
|
49
|
+
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_end = 664
|
|
50
|
+
_globals["_DEPLOYMENT"]._serialized_start = 667
|
|
51
|
+
_globals["_DEPLOYMENT"]._serialized_end = 2781
|
|
52
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -82,7 +82,7 @@ class SourceImageSpec(_message.Message):
|
|
|
82
82
|
) -> None: ...
|
|
83
83
|
|
|
84
84
|
class SourceImageSpecs(_message.Message):
|
|
85
|
-
__slots__ = ("specs",)
|
|
85
|
+
__slots__ = ("specs", "uses_uploaded_proto_graph")
|
|
86
86
|
class SpecsEntry(_message.Message):
|
|
87
87
|
__slots__ = ("key", "value")
|
|
88
88
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -94,8 +94,12 @@ class SourceImageSpecs(_message.Message):
|
|
|
94
94
|
) -> None: ...
|
|
95
95
|
|
|
96
96
|
SPECS_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
+
USES_UPLOADED_PROTO_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
|
97
98
|
specs: _containers.MessageMap[str, SourceImageSpec]
|
|
98
|
-
|
|
99
|
+
uses_uploaded_proto_graph: bool
|
|
100
|
+
def __init__(
|
|
101
|
+
self, specs: _Optional[_Mapping[str, SourceImageSpec]] = ..., uses_uploaded_proto_graph: bool = ...
|
|
102
|
+
) -> None: ...
|
|
99
103
|
|
|
100
104
|
class Deployment(_message.Message):
|
|
101
105
|
__slots__ = (
|
|
@@ -22,7 +22,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
25
|
-
b'\n chalk/server/v1/monitoring.proto\x12\x0f\x63halk.server.v1\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1e\x63halk/server/v1/incident.proto\x1a\x1e\x63halk/utils/v1/sensitive.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xf9\x03\n\x17PagerDutyEventV2Payload\x12\x18\n\x07summary\x18\x01 \x01(\tR\x07summary\x12=\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x88\x01\x01\x12>\n\x08severity\x18\x03 \x01(\x0e\x32".chalk.server.v1.PagerDutySeverityR\x08severity\x12\x16\n\x06source\x18\x04 \x01(\tR\x06source\x12!\n\tcomponent\x18\x05 \x01(\tH\x01R\tcomponent\x88\x01\x01\x12\x19\n\x05group\x18\x06 \x01(\tH\x02R\x05group\x88\x01\x01\x12\x19\n\x05\x63lass\x18\x07 \x01(\tH\x03R\x05\x63lass\x88\x01\x01\x12\x62\n\x0e\x63ustom_details\x18\x08 \x03(\x0b\x32;.chalk.server.v1.PagerDutyEventV2Payload.CustomDetailsEntryR\rcustomDetails\x1a@\n\x12\x43ustomDetailsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0c\n\n_timestampB\x0c\n\n_componentB\x08\n\x06_groupB\x08\n\x06_class"L\n\x14PagerDutyEventV2Link\x12\x12\n\x04href\x18\x01 \x01(\tR\x04href\x12\x17\n\x04text\x18\x02 \x01(\tH\x00R\x04text\x88\x01\x01\x42\x07\n\x05_text"j\n\x15PagerDutyEventV2Image\x12\x10\n\x03src\x18\x01 \x01(\tR\x03src\x12\x17\n\x04href\x18\x02 \x01(\tH\x00R\x04href\x88\x01\x01\x12\x15\n\x03\x61lt\x18\x03 \x01(\tH\x01R\x03\x61lt\x88\x01\x01\x42\x07\n\x05_hrefB\x06\n\x04_alt"\xc9\x03\n\x10PagerDutyEventV2\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32(.chalk.server.v1.PagerDutyEventV2PayloadR\x07payload\x12\x1f\n\x0brouting_key\x18\x02 \x01(\tR\nroutingKey\x12H\n\x0c\x65vent_action\x18\x03 \x01(\x0e\x32%.chalk.server.v1.PagerDutyEventActionR\x0b\x65ventAction\x12 \n\tdedup_key\x18\x04 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12\x1b\n\x06\x63lient\x18\x05 \x01(\tH\x01R\x06\x63lient\x88\x01\x01\x12"\n\nclient_url\x18\x06 \x01(\tH\x02R\tclientUrl\x88\x01\x01\x12;\n\x05links\x18\x07 \x03(\x0b\x32%.chalk.server.v1.PagerDutyEventV2LinkR\x05links\x12>\n\x06images\x18\x08 \x03(\x0b\x32&.chalk.server.v1.PagerDutyEventV2ImageR\x06imagesB\x0c\n\n_dedup_keyB\t\n\x07_clientB\r\n\x0b_client_url"\xa5\x01\n\x14PagerDutyIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x18\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08R\x07\x64\x65\x66\x61ult\x12\x1a\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x05 \x01(\tR\renvironmentIdB\x07\n\x05_name"\x9c\x02\n\x15IncidentIoIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n\x05token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12\x17\n\x04name\x18\x04 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1b\n\tsource_id\x18\x05 \x01(\tR\x08sourceId\x12!\n\x0csource_token\x18\x06 \x01(\tR\x0bsourceToken\x12#\n\x0bseverity_id\x18\x07 \x01(\tB\x02\x18\x01R\nseverityId\x12)\n\x0eseverity_token\x18\x08 \x01(\tB\x02\x18\x01R\rseverityTokenB\x07\n\x05_name"\xa1\x02\n\x11IncidentIoEventV2\x12\x19\n\x08route_id\x18\x01 \x01(\tR\x07routeId\x12%\n\x0broute_token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\nrouteToken\x12 \n\tdedup_key\x18\x03 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12"\n\nsource_url\x18\x04 \x01(\tH\x01R\tsourceUrl\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x16\n\x06status\x18\x06 \x01(\tR\x06status\x12\x14\n\x05title\x18\x07 \x01(\tR\x05title:\x02\x18\x01\x42\x0c\n\n_dedup_keyB\r\n\x0b_source_urlB\x0e\n\x0c_description"1\n\x1fTestPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"<\n\x1eGetPagerDutyIntegrationRequest\x12\x13\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x42\x05\n\x03_id"j\n\x1fGetPagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"T\n TestPagerDutyIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"X\n\x1e\x41\x64\x64PagerDutyIntegrationRequest\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x14\n\x05token\x18\x03 \x01(\tR\x05tokenB\x07\n\x05_name"j\n\x1f\x41\x64\x64PagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"3\n!DeletePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"DeletePagerDutyIntegrationResponse"\xab\x01\n!UpdatePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1d\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08H\x01R\x07\x64\x65\x66\x61ult\x88\x01\x01\x12\x1f\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01H\x02R\x05token\x88\x01\x01\x42\x07\n\x05_nameB\n\n\x08_defaultB\x08\n\x06_token"m\n"UpdatePagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x02 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"7\n%SetDefaultPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"8\n&SetDefaultPagerDutyIntegrationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"GetAllPagerDutyIntegrationsRequest"p\n#GetAllPagerDutyIntegrationsResponse\x12I\n\x0cintegrations\x18\x01 \x03(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0cintegrations"2\n TestIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"U\n!TestIncidentIoIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"1\n\x1fGetIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"l\n GetIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"\xc7\x01\n\x1f\x41\x64\x64IncidentIoIntegrationRequest\x12.\n\x10integration_name\x18\x01 \x01(\tH\x00R\x0fintegrationName\x88\x01\x01\x12+\n\x11integration_token\x18\x03 \x01(\tR\x10integrationToken\x12\x32\n\x15integration_source_id\x18\x04 \x01(\tR\x13integrationSourceIdB\x13\n\x11_integration_name"l\n AddIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"4\n"DeleteIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"%\n#DeleteIncidentIoIntegrationResponse"\xb1\x01\n"UpdateIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1f\n\x05token\x18\x03 \x01(\tB\x04\xd8\xa1\'\x01H\x01R\x05token\x88\x01\x01\x12 \n\tsource_id\x18\x04 \x01(\tH\x02R\x08sourceId\x88\x01\x01\x42\x07\n\x05_nameB\x08\n\x06_tokenB\x0c\n\n_source_id"o\n#UpdateIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"%\n#GetAllIncidentIoIntegrationsRequest"r\n$GetAllIncidentIoIntegrationsResponse\x12J\n\x0cintegrations\x18\x01 \x03(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0cintegrations*\xb8\x01\n\x11PagerDutySeverity\x12#\n\x1fPAGER_DUTY_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAGER_DUTY_SEVERITY_INFO\x10\x01\x12\x1f\n\x1bPAGER_DUTY_SEVERITY_WARNING\x10\x02\x12\x1d\n\x19PAGER_DUTY_SEVERITY_ERROR\x10\x03\x12 \n\x1cPAGER_DUTY_SEVERITY_CRITICAL\x10\x04*\xb2\x01\n\x14PagerDutyEventAction\x12\'\n#PAGER_DUTY_EVENT_ACTION_UNSPECIFIED\x10\x00\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_TRIGGER\x10\x01\x12\'\n#PAGER_DUTY_EVENT_ACTION_ACKNOWLEDGE\x10\x02\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_RESOLVE\x10\x03\x32\xbd\x11\n\x11MonitoringService\x12\x84\x01\n\x18TestPagerDutyIntegration\x12\x30.chalk.server.v1.TestPagerDutyIntegrationRequest\x1a\x31.chalk.server.v1.TestPagerDutyIntegrationResponse"\x03\x80}\x06\x12\x87\x01\n\x17\x41\x64\x64PagerDutyIntegration\x12/.chalk.server.v1.AddPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.AddPagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1a\x44\x65letePagerDutyIntegration\x12\x32.chalk.server.v1.DeletePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.DeletePagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x9f\x01\n\x1eSetDefaultPagerDutyIntegration\x12\x36.chalk.server.v1.SetDefaultPagerDutyIntegrationRequest\x1a\x37.chalk.server.v1.SetDefaultPagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1aUpdatePagerDutyIntegration\x12\x32.chalk.server.v1.UpdatePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.UpdatePagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1bGetAllPagerDutyIntegrations\x12\x33.chalk.server.v1.GetAllPagerDutyIntegrationsRequest\x1a\x34.chalk.server.v1.GetAllPagerDutyIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x84\x01\n\x17GetPagerDutyIntegration\x12/.chalk.server.v1.GetPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.GetPagerDutyIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x19TestIncidentIoIntegration\x12\x31.chalk.server.v1.TestIncidentIoIntegrationRequest\x1a\x32.chalk.server.v1.TestIncidentIoIntegrationResponse"\x03\x80}\x06\x12\x8a\x01\n\x18\x41\x64\x64IncidentIoIntegration\x12\x30.chalk.server.v1.AddIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.AddIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1b\x44\x65leteIncidentIoIntegration\x12\x33.chalk.server.v1.DeleteIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.DeleteIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x96\x01\n\x1bUpdateIncidentIoIntegration\x12\x33.chalk.server.v1.UpdateIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.UpdateIncidentIoIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1cGetAllIncidentIoIntegrations\x12\x34.chalk.server.v1.GetAllIncidentIoIntegrationsRequest\x1a\x35.chalk.server.v1.GetAllIncidentIoIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x18GetIncidentIoIntegration\x12\x30.chalk.server.v1.GetIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.GetIncidentIoIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x12\x66\n\rListIncidents\x12%.chalk.server.v1.ListIncidentsRequest\x1a&.chalk.server.v1.ListIncidentsResponse"\x06\x90\x02\x01\x80}\x06\x12`\n\x0bGetIncident\x12#.chalk.server.v1.GetIncidentRequest\x1a$.chalk.server.v1.GetIncidentResponse"\x06\x90\x02\x01\x80}\x06\x12\x81\x01\n\x16GetIncidentAlertsChart\x12..chalk.server.v1.GetIncidentAlertsChartRequest\x1a/.chalk.server.v1.GetIncidentAlertsChartResponse"\x06\x90\x02\x01\x80}\x06\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0fMonitoringProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
25
|
+
b'\n chalk/server/v1/monitoring.proto\x12\x0f\x63halk.server.v1\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1e\x63halk/server/v1/incident.proto\x1a\x1e\x63halk/utils/v1/sensitive.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xf9\x03\n\x17PagerDutyEventV2Payload\x12\x18\n\x07summary\x18\x01 \x01(\tR\x07summary\x12=\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x88\x01\x01\x12>\n\x08severity\x18\x03 \x01(\x0e\x32".chalk.server.v1.PagerDutySeverityR\x08severity\x12\x16\n\x06source\x18\x04 \x01(\tR\x06source\x12!\n\tcomponent\x18\x05 \x01(\tH\x01R\tcomponent\x88\x01\x01\x12\x19\n\x05group\x18\x06 \x01(\tH\x02R\x05group\x88\x01\x01\x12\x19\n\x05\x63lass\x18\x07 \x01(\tH\x03R\x05\x63lass\x88\x01\x01\x12\x62\n\x0e\x63ustom_details\x18\x08 \x03(\x0b\x32;.chalk.server.v1.PagerDutyEventV2Payload.CustomDetailsEntryR\rcustomDetails\x1a@\n\x12\x43ustomDetailsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0c\n\n_timestampB\x0c\n\n_componentB\x08\n\x06_groupB\x08\n\x06_class"L\n\x14PagerDutyEventV2Link\x12\x12\n\x04href\x18\x01 \x01(\tR\x04href\x12\x17\n\x04text\x18\x02 \x01(\tH\x00R\x04text\x88\x01\x01\x42\x07\n\x05_text"j\n\x15PagerDutyEventV2Image\x12\x10\n\x03src\x18\x01 \x01(\tR\x03src\x12\x17\n\x04href\x18\x02 \x01(\tH\x00R\x04href\x88\x01\x01\x12\x15\n\x03\x61lt\x18\x03 \x01(\tH\x01R\x03\x61lt\x88\x01\x01\x42\x07\n\x05_hrefB\x06\n\x04_alt"\xc9\x03\n\x10PagerDutyEventV2\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32(.chalk.server.v1.PagerDutyEventV2PayloadR\x07payload\x12\x1f\n\x0brouting_key\x18\x02 \x01(\tR\nroutingKey\x12H\n\x0c\x65vent_action\x18\x03 \x01(\x0e\x32%.chalk.server.v1.PagerDutyEventActionR\x0b\x65ventAction\x12 \n\tdedup_key\x18\x04 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12\x1b\n\x06\x63lient\x18\x05 \x01(\tH\x01R\x06\x63lient\x88\x01\x01\x12"\n\nclient_url\x18\x06 \x01(\tH\x02R\tclientUrl\x88\x01\x01\x12;\n\x05links\x18\x07 \x03(\x0b\x32%.chalk.server.v1.PagerDutyEventV2LinkR\x05links\x12>\n\x06images\x18\x08 \x03(\x0b\x32&.chalk.server.v1.PagerDutyEventV2ImageR\x06imagesB\x0c\n\n_dedup_keyB\t\n\x07_clientB\r\n\x0b_client_url"\x9d\x03\n\x10SlackIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12$\n\x0bslack_token\x18\x02 \x01(\tH\x00R\nslackToken\x88\x01\x01\x12"\n\nslack_data\x18\x03 \x01(\tH\x01R\tslackData\x88\x01\x01\x12(\n\rslack_channel\x18\x04 \x01(\tH\x02R\x0cslackChannel\x88\x01\x01\x12\x1a\n\x08\x63hannels\x18\x05 \x03(\tR\x08\x63hannels\x12 \n\tteam_data\x18\x06 \x01(\tH\x03R\x08teamData\x88\x01\x01\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12>\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\tupdatedAt\x88\x01\x01\x42\x0e\n\x0c_slack_tokenB\r\n\x0b_slack_dataB\x10\n\x0e_slack_channelB\x0c\n\n_team_dataB\r\n\x0b_updated_at"\xa5\x01\n\x14PagerDutyIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x18\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08R\x07\x64\x65\x66\x61ult\x12\x1a\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x05 \x01(\tR\renvironmentIdB\x07\n\x05_name"\x9c\x02\n\x15IncidentIoIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n\x05token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12\x17\n\x04name\x18\x04 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1b\n\tsource_id\x18\x05 \x01(\tR\x08sourceId\x12!\n\x0csource_token\x18\x06 \x01(\tR\x0bsourceToken\x12#\n\x0bseverity_id\x18\x07 \x01(\tB\x02\x18\x01R\nseverityId\x12)\n\x0eseverity_token\x18\x08 \x01(\tB\x02\x18\x01R\rseverityTokenB\x07\n\x05_name"\xa1\x02\n\x11IncidentIoEventV2\x12\x19\n\x08route_id\x18\x01 \x01(\tR\x07routeId\x12%\n\x0broute_token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\nrouteToken\x12 \n\tdedup_key\x18\x03 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12"\n\nsource_url\x18\x04 \x01(\tH\x01R\tsourceUrl\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x16\n\x06status\x18\x06 \x01(\tR\x06status\x12\x14\n\x05title\x18\x07 \x01(\tR\x05title:\x02\x18\x01\x42\x0c\n\n_dedup_keyB\r\n\x0b_source_urlB\x0e\n\x0c_description"1\n\x1fTestPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"<\n\x1eGetPagerDutyIntegrationRequest\x12\x13\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x42\x05\n\x03_id"j\n\x1fGetPagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"T\n TestPagerDutyIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"X\n\x1e\x41\x64\x64PagerDutyIntegrationRequest\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x14\n\x05token\x18\x03 \x01(\tR\x05tokenB\x07\n\x05_name"j\n\x1f\x41\x64\x64PagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"3\n!DeletePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"DeletePagerDutyIntegrationResponse"\xab\x01\n!UpdatePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1d\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08H\x01R\x07\x64\x65\x66\x61ult\x88\x01\x01\x12\x1f\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01H\x02R\x05token\x88\x01\x01\x42\x07\n\x05_nameB\n\n\x08_defaultB\x08\n\x06_token"m\n"UpdatePagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x02 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"7\n%SetDefaultPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"8\n&SetDefaultPagerDutyIntegrationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"GetAllPagerDutyIntegrationsRequest"p\n#GetAllPagerDutyIntegrationsResponse\x12I\n\x0cintegrations\x18\x01 \x03(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0cintegrations"2\n TestIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"U\n!TestIncidentIoIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"1\n\x1fGetIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"l\n GetIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"\xc7\x01\n\x1f\x41\x64\x64IncidentIoIntegrationRequest\x12.\n\x10integration_name\x18\x01 \x01(\tH\x00R\x0fintegrationName\x88\x01\x01\x12+\n\x11integration_token\x18\x03 \x01(\tR\x10integrationToken\x12\x32\n\x15integration_source_id\x18\x04 \x01(\tR\x13integrationSourceIdB\x13\n\x11_integration_name"l\n AddIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"4\n"DeleteIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"%\n#DeleteIncidentIoIntegrationResponse"\xb1\x01\n"UpdateIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1f\n\x05token\x18\x03 \x01(\tB\x04\xd8\xa1\'\x01H\x01R\x05token\x88\x01\x01\x12 \n\tsource_id\x18\x04 \x01(\tH\x02R\x08sourceId\x88\x01\x01\x42\x07\n\x05_nameB\x08\n\x06_tokenB\x0c\n\n_source_id"o\n#UpdateIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"%\n#GetAllIncidentIoIntegrationsRequest"r\n$GetAllIncidentIoIntegrationsResponse\x12J\n\x0cintegrations\x18\x01 \x03(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0cintegrations"\xc8\x02\n\x0c\x41lertChannel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x42\n\x0b\x65ntity_kind\x18\x03 \x01(\x0e\x32!.chalk.server.v1.AlertChannelKindR\nentityKind\x12\x1b\n\tentity_id\x18\x04 \x01(\tR\x08\x65ntityId\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12>\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tupdatedAt\x88\x01\x01\x12\x1d\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\x08H\x01R\x07\x64\x65\x66\x61ult\x88\x01\x01\x42\r\n\x0b_updated_atB\n\n\x08_default"\x1a\n\x18ListAlertChannelsRequest"V\n\x19ListAlertChannelsResponse\x12\x39\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1d.chalk.server.v1.AlertChannelR\x08\x63hannels"\x1c\n\x1aGetSlackIntegrationRequest"w\n\x1bGetSlackIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32!.chalk.server.v1.SlackIntegrationH\x00R\x0bintegration\x88\x01\x01\x42\x0e\n\x0c_integration*\xb1\x01\n\x10\x41lertChannelKind\x12"\n\x1e\x41LERT_CHANNEL_KIND_UNSPECIFIED\x10\x00\x12$\n ALERT_CHANNEL_KIND_SLACK_CHANNEL\x10\x01\x12(\n$ALERT_CHANNEL_KIND_PAGERDUTY_SERVICE\x10\x02\x12)\n%ALERT_CHANNEL_KIND_INCIDENTIO_SERVICE\x10\x03*\xb8\x01\n\x11PagerDutySeverity\x12#\n\x1fPAGER_DUTY_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAGER_DUTY_SEVERITY_INFO\x10\x01\x12\x1f\n\x1bPAGER_DUTY_SEVERITY_WARNING\x10\x02\x12\x1d\n\x19PAGER_DUTY_SEVERITY_ERROR\x10\x03\x12 \n\x1cPAGER_DUTY_SEVERITY_CRITICAL\x10\x04*\xb2\x01\n\x14PagerDutyEventAction\x12\'\n#PAGER_DUTY_EVENT_ACTION_UNSPECIFIED\x10\x00\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_TRIGGER\x10\x01\x12\'\n#PAGER_DUTY_EVENT_ACTION_ACKNOWLEDGE\x10\x02\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_RESOLVE\x10\x03\x32\xab\x13\n\x11MonitoringService\x12\x84\x01\n\x18TestPagerDutyIntegration\x12\x30.chalk.server.v1.TestPagerDutyIntegrationRequest\x1a\x31.chalk.server.v1.TestPagerDutyIntegrationResponse"\x03\x80}\x06\x12\x87\x01\n\x17\x41\x64\x64PagerDutyIntegration\x12/.chalk.server.v1.AddPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.AddPagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1a\x44\x65letePagerDutyIntegration\x12\x32.chalk.server.v1.DeletePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.DeletePagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x9f\x01\n\x1eSetDefaultPagerDutyIntegration\x12\x36.chalk.server.v1.SetDefaultPagerDutyIntegrationRequest\x1a\x37.chalk.server.v1.SetDefaultPagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1aUpdatePagerDutyIntegration\x12\x32.chalk.server.v1.UpdatePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.UpdatePagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1bGetAllPagerDutyIntegrations\x12\x33.chalk.server.v1.GetAllPagerDutyIntegrationsRequest\x1a\x34.chalk.server.v1.GetAllPagerDutyIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x84\x01\n\x17GetPagerDutyIntegration\x12/.chalk.server.v1.GetPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.GetPagerDutyIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x19TestIncidentIoIntegration\x12\x31.chalk.server.v1.TestIncidentIoIntegrationRequest\x1a\x32.chalk.server.v1.TestIncidentIoIntegrationResponse"\x03\x80}\x06\x12\x8a\x01\n\x18\x41\x64\x64IncidentIoIntegration\x12\x30.chalk.server.v1.AddIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.AddIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1b\x44\x65leteIncidentIoIntegration\x12\x33.chalk.server.v1.DeleteIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.DeleteIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x96\x01\n\x1bUpdateIncidentIoIntegration\x12\x33.chalk.server.v1.UpdateIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.UpdateIncidentIoIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1cGetAllIncidentIoIntegrations\x12\x34.chalk.server.v1.GetAllIncidentIoIntegrationsRequest\x1a\x35.chalk.server.v1.GetAllIncidentIoIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x18GetIncidentIoIntegration\x12\x30.chalk.server.v1.GetIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.GetIncidentIoIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x12\x66\n\rListIncidents\x12%.chalk.server.v1.ListIncidentsRequest\x1a&.chalk.server.v1.ListIncidentsResponse"\x06\x90\x02\x01\x80}\x06\x12`\n\x0bGetIncident\x12#.chalk.server.v1.GetIncidentRequest\x1a$.chalk.server.v1.GetIncidentResponse"\x06\x90\x02\x01\x80}\x06\x12\x81\x01\n\x16GetIncidentAlertsChart\x12..chalk.server.v1.GetIncidentAlertsChartRequest\x1a/.chalk.server.v1.GetIncidentAlertsChartResponse"\x06\x90\x02\x01\x80}\x06\x12r\n\x11ListAlertChannels\x12).chalk.server.v1.ListAlertChannelsRequest\x1a*.chalk.server.v1.ListAlertChannelsResponse"\x06\x90\x02\x01\x80}\x06\x12x\n\x13GetSlackIntegration\x12+.chalk.server.v1.GetSlackIntegrationRequest\x1a,.chalk.server.v1.GetSlackIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0fMonitoringProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
_globals = globals()
|
|
@@ -107,10 +107,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
107
107
|
_globals["_MONITORINGSERVICE"].methods_by_name[
|
|
108
108
|
"GetIncidentAlertsChart"
|
|
109
109
|
]._serialized_options = b"\220\002\001\200}\006"
|
|
110
|
-
_globals["
|
|
111
|
-
_globals["
|
|
112
|
-
_globals["
|
|
113
|
-
_globals["
|
|
110
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["ListAlertChannels"]._options = None
|
|
111
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["ListAlertChannels"]._serialized_options = b"\220\002\001\200}\006"
|
|
112
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["GetSlackIntegration"]._options = None
|
|
113
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["GetSlackIntegration"]._serialized_options = b"\220\002\001\200}\006"
|
|
114
|
+
_globals["_ALERTCHANNELKIND"]._serialized_start = 5461
|
|
115
|
+
_globals["_ALERTCHANNELKIND"]._serialized_end = 5638
|
|
116
|
+
_globals["_PAGERDUTYSEVERITY"]._serialized_start = 5641
|
|
117
|
+
_globals["_PAGERDUTYSEVERITY"]._serialized_end = 5825
|
|
118
|
+
_globals["_PAGERDUTYEVENTACTION"]._serialized_start = 5828
|
|
119
|
+
_globals["_PAGERDUTYEVENTACTION"]._serialized_end = 6006
|
|
114
120
|
_globals["_PAGERDUTYEVENTV2PAYLOAD"]._serialized_start = 245
|
|
115
121
|
_globals["_PAGERDUTYEVENTV2PAYLOAD"]._serialized_end = 750
|
|
116
122
|
_globals["_PAGERDUTYEVENTV2PAYLOAD_CUSTOMDETAILSENTRY"]._serialized_start = 638
|
|
@@ -121,64 +127,76 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
121
127
|
_globals["_PAGERDUTYEVENTV2IMAGE"]._serialized_end = 936
|
|
122
128
|
_globals["_PAGERDUTYEVENTV2"]._serialized_start = 939
|
|
123
129
|
_globals["_PAGERDUTYEVENTV2"]._serialized_end = 1396
|
|
124
|
-
_globals["
|
|
125
|
-
_globals["
|
|
126
|
-
_globals["
|
|
127
|
-
_globals["
|
|
128
|
-
_globals["
|
|
129
|
-
_globals["
|
|
130
|
-
_globals["
|
|
131
|
-
_globals["
|
|
132
|
-
_globals["
|
|
133
|
-
_globals["
|
|
134
|
-
_globals["
|
|
135
|
-
_globals["
|
|
136
|
-
_globals["
|
|
137
|
-
_globals["
|
|
138
|
-
_globals["
|
|
139
|
-
_globals["
|
|
140
|
-
_globals["
|
|
141
|
-
_globals["
|
|
142
|
-
_globals["
|
|
143
|
-
_globals["
|
|
144
|
-
_globals["
|
|
145
|
-
_globals["
|
|
146
|
-
_globals["
|
|
147
|
-
_globals["
|
|
148
|
-
_globals["
|
|
149
|
-
_globals["
|
|
150
|
-
_globals["
|
|
151
|
-
_globals["
|
|
152
|
-
_globals["
|
|
153
|
-
_globals["
|
|
154
|
-
_globals["
|
|
155
|
-
_globals["
|
|
156
|
-
_globals["
|
|
157
|
-
_globals["
|
|
158
|
-
_globals["
|
|
159
|
-
_globals["
|
|
160
|
-
_globals["
|
|
161
|
-
_globals["
|
|
162
|
-
_globals["
|
|
163
|
-
_globals["
|
|
164
|
-
_globals["
|
|
165
|
-
_globals["
|
|
166
|
-
_globals["
|
|
167
|
-
_globals["
|
|
168
|
-
_globals["
|
|
169
|
-
_globals["
|
|
170
|
-
_globals["
|
|
171
|
-
_globals["
|
|
172
|
-
_globals["
|
|
173
|
-
_globals["
|
|
174
|
-
_globals["
|
|
175
|
-
_globals["
|
|
176
|
-
_globals["
|
|
177
|
-
_globals["
|
|
178
|
-
_globals["
|
|
179
|
-
_globals["
|
|
180
|
-
_globals["
|
|
181
|
-
_globals["
|
|
182
|
-
_globals["
|
|
183
|
-
_globals["
|
|
130
|
+
_globals["_SLACKINTEGRATION"]._serialized_start = 1399
|
|
131
|
+
_globals["_SLACKINTEGRATION"]._serialized_end = 1812
|
|
132
|
+
_globals["_PAGERDUTYINTEGRATION"]._serialized_start = 1815
|
|
133
|
+
_globals["_PAGERDUTYINTEGRATION"]._serialized_end = 1980
|
|
134
|
+
_globals["_INCIDENTIOINTEGRATION"]._serialized_start = 1983
|
|
135
|
+
_globals["_INCIDENTIOINTEGRATION"]._serialized_end = 2267
|
|
136
|
+
_globals["_INCIDENTIOEVENTV2"]._serialized_start = 2270
|
|
137
|
+
_globals["_INCIDENTIOEVENTV2"]._serialized_end = 2559
|
|
138
|
+
_globals["_TESTPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2561
|
|
139
|
+
_globals["_TESTPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2610
|
|
140
|
+
_globals["_GETPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2612
|
|
141
|
+
_globals["_GETPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2672
|
|
142
|
+
_globals["_GETPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2674
|
|
143
|
+
_globals["_GETPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2780
|
|
144
|
+
_globals["_TESTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2782
|
|
145
|
+
_globals["_TESTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2866
|
|
146
|
+
_globals["_ADDPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2868
|
|
147
|
+
_globals["_ADDPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2956
|
|
148
|
+
_globals["_ADDPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2958
|
|
149
|
+
_globals["_ADDPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3064
|
|
150
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 3066
|
|
151
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 3117
|
|
152
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 3119
|
|
153
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3155
|
|
154
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 3158
|
|
155
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 3329
|
|
156
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 3331
|
|
157
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3440
|
|
158
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 3442
|
|
159
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 3497
|
|
160
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 3499
|
|
161
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3555
|
|
162
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSREQUEST"]._serialized_start = 3557
|
|
163
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSREQUEST"]._serialized_end = 3593
|
|
164
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSRESPONSE"]._serialized_start = 3595
|
|
165
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSRESPONSE"]._serialized_end = 3707
|
|
166
|
+
_globals["_TESTINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3709
|
|
167
|
+
_globals["_TESTINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3759
|
|
168
|
+
_globals["_TESTINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3761
|
|
169
|
+
_globals["_TESTINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 3846
|
|
170
|
+
_globals["_GETINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3848
|
|
171
|
+
_globals["_GETINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3897
|
|
172
|
+
_globals["_GETINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3899
|
|
173
|
+
_globals["_GETINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4007
|
|
174
|
+
_globals["_ADDINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 4010
|
|
175
|
+
_globals["_ADDINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 4209
|
|
176
|
+
_globals["_ADDINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 4211
|
|
177
|
+
_globals["_ADDINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4319
|
|
178
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 4321
|
|
179
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 4373
|
|
180
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 4375
|
|
181
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4412
|
|
182
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 4415
|
|
183
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 4592
|
|
184
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 4594
|
|
185
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4705
|
|
186
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSREQUEST"]._serialized_start = 4707
|
|
187
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSREQUEST"]._serialized_end = 4744
|
|
188
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSRESPONSE"]._serialized_start = 4746
|
|
189
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSRESPONSE"]._serialized_end = 4860
|
|
190
|
+
_globals["_ALERTCHANNEL"]._serialized_start = 4863
|
|
191
|
+
_globals["_ALERTCHANNEL"]._serialized_end = 5191
|
|
192
|
+
_globals["_LISTALERTCHANNELSREQUEST"]._serialized_start = 5193
|
|
193
|
+
_globals["_LISTALERTCHANNELSREQUEST"]._serialized_end = 5219
|
|
194
|
+
_globals["_LISTALERTCHANNELSRESPONSE"]._serialized_start = 5221
|
|
195
|
+
_globals["_LISTALERTCHANNELSRESPONSE"]._serialized_end = 5307
|
|
196
|
+
_globals["_GETSLACKINTEGRATIONREQUEST"]._serialized_start = 5309
|
|
197
|
+
_globals["_GETSLACKINTEGRATIONREQUEST"]._serialized_end = 5337
|
|
198
|
+
_globals["_GETSLACKINTEGRATIONRESPONSE"]._serialized_start = 5339
|
|
199
|
+
_globals["_GETSLACKINTEGRATIONRESPONSE"]._serialized_end = 5458
|
|
200
|
+
_globals["_MONITORINGSERVICE"]._serialized_start = 6009
|
|
201
|
+
_globals["_MONITORINGSERVICE"]._serialized_end = 8484
|
|
184
202
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -18,6 +18,13 @@ from typing import (
|
|
|
18
18
|
|
|
19
19
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
20
20
|
|
|
21
|
+
class AlertChannelKind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
22
|
+
__slots__ = ()
|
|
23
|
+
ALERT_CHANNEL_KIND_UNSPECIFIED: _ClassVar[AlertChannelKind]
|
|
24
|
+
ALERT_CHANNEL_KIND_SLACK_CHANNEL: _ClassVar[AlertChannelKind]
|
|
25
|
+
ALERT_CHANNEL_KIND_PAGERDUTY_SERVICE: _ClassVar[AlertChannelKind]
|
|
26
|
+
ALERT_CHANNEL_KIND_INCIDENTIO_SERVICE: _ClassVar[AlertChannelKind]
|
|
27
|
+
|
|
21
28
|
class PagerDutySeverity(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
22
29
|
__slots__ = ()
|
|
23
30
|
PAGER_DUTY_SEVERITY_UNSPECIFIED: _ClassVar[PagerDutySeverity]
|
|
@@ -33,6 +40,10 @@ class PagerDutyEventAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
|
33
40
|
PAGER_DUTY_EVENT_ACTION_ACKNOWLEDGE: _ClassVar[PagerDutyEventAction]
|
|
34
41
|
PAGER_DUTY_EVENT_ACTION_RESOLVE: _ClassVar[PagerDutyEventAction]
|
|
35
42
|
|
|
43
|
+
ALERT_CHANNEL_KIND_UNSPECIFIED: AlertChannelKind
|
|
44
|
+
ALERT_CHANNEL_KIND_SLACK_CHANNEL: AlertChannelKind
|
|
45
|
+
ALERT_CHANNEL_KIND_PAGERDUTY_SERVICE: AlertChannelKind
|
|
46
|
+
ALERT_CHANNEL_KIND_INCIDENTIO_SERVICE: AlertChannelKind
|
|
36
47
|
PAGER_DUTY_SEVERITY_UNSPECIFIED: PagerDutySeverity
|
|
37
48
|
PAGER_DUTY_SEVERITY_INFO: PagerDutySeverity
|
|
38
49
|
PAGER_DUTY_SEVERITY_WARNING: PagerDutySeverity
|
|
@@ -128,6 +139,45 @@ class PagerDutyEventV2(_message.Message):
|
|
|
128
139
|
images: _Optional[_Iterable[_Union[PagerDutyEventV2Image, _Mapping]]] = ...,
|
|
129
140
|
) -> None: ...
|
|
130
141
|
|
|
142
|
+
class SlackIntegration(_message.Message):
|
|
143
|
+
__slots__ = (
|
|
144
|
+
"id",
|
|
145
|
+
"slack_token",
|
|
146
|
+
"slack_data",
|
|
147
|
+
"slack_channel",
|
|
148
|
+
"channels",
|
|
149
|
+
"team_data",
|
|
150
|
+
"created_at",
|
|
151
|
+
"updated_at",
|
|
152
|
+
)
|
|
153
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
SLACK_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
SLACK_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
SLACK_CHANNEL_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
CHANNELS_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
TEAM_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
159
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
id: str
|
|
162
|
+
slack_token: str
|
|
163
|
+
slack_data: str
|
|
164
|
+
slack_channel: str
|
|
165
|
+
channels: _containers.RepeatedScalarFieldContainer[str]
|
|
166
|
+
team_data: str
|
|
167
|
+
created_at: _timestamp_pb2.Timestamp
|
|
168
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
169
|
+
def __init__(
|
|
170
|
+
self,
|
|
171
|
+
id: _Optional[str] = ...,
|
|
172
|
+
slack_token: _Optional[str] = ...,
|
|
173
|
+
slack_data: _Optional[str] = ...,
|
|
174
|
+
slack_channel: _Optional[str] = ...,
|
|
175
|
+
channels: _Optional[_Iterable[str]] = ...,
|
|
176
|
+
team_data: _Optional[str] = ...,
|
|
177
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
178
|
+
updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
179
|
+
) -> None: ...
|
|
180
|
+
|
|
131
181
|
class PagerDutyIntegration(_message.Message):
|
|
132
182
|
__slots__ = ("id", "name", "default", "token", "environment_id")
|
|
133
183
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -388,3 +438,50 @@ class GetAllIncidentIoIntegrationsResponse(_message.Message):
|
|
|
388
438
|
INTEGRATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
389
439
|
integrations: _containers.RepeatedCompositeFieldContainer[IncidentIoIntegration]
|
|
390
440
|
def __init__(self, integrations: _Optional[_Iterable[_Union[IncidentIoIntegration, _Mapping]]] = ...) -> None: ...
|
|
441
|
+
|
|
442
|
+
class AlertChannel(_message.Message):
|
|
443
|
+
__slots__ = ("id", "name", "entity_kind", "entity_id", "created_at", "updated_at", "default")
|
|
444
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
445
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
446
|
+
ENTITY_KIND_FIELD_NUMBER: _ClassVar[int]
|
|
447
|
+
ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
448
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
449
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
450
|
+
DEFAULT_FIELD_NUMBER: _ClassVar[int]
|
|
451
|
+
id: str
|
|
452
|
+
name: str
|
|
453
|
+
entity_kind: AlertChannelKind
|
|
454
|
+
entity_id: str
|
|
455
|
+
created_at: _timestamp_pb2.Timestamp
|
|
456
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
457
|
+
default: bool
|
|
458
|
+
def __init__(
|
|
459
|
+
self,
|
|
460
|
+
id: _Optional[str] = ...,
|
|
461
|
+
name: _Optional[str] = ...,
|
|
462
|
+
entity_kind: _Optional[_Union[AlertChannelKind, str]] = ...,
|
|
463
|
+
entity_id: _Optional[str] = ...,
|
|
464
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
465
|
+
updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
466
|
+
default: bool = ...,
|
|
467
|
+
) -> None: ...
|
|
468
|
+
|
|
469
|
+
class ListAlertChannelsRequest(_message.Message):
|
|
470
|
+
__slots__ = ()
|
|
471
|
+
def __init__(self) -> None: ...
|
|
472
|
+
|
|
473
|
+
class ListAlertChannelsResponse(_message.Message):
|
|
474
|
+
__slots__ = ("channels",)
|
|
475
|
+
CHANNELS_FIELD_NUMBER: _ClassVar[int]
|
|
476
|
+
channels: _containers.RepeatedCompositeFieldContainer[AlertChannel]
|
|
477
|
+
def __init__(self, channels: _Optional[_Iterable[_Union[AlertChannel, _Mapping]]] = ...) -> None: ...
|
|
478
|
+
|
|
479
|
+
class GetSlackIntegrationRequest(_message.Message):
|
|
480
|
+
__slots__ = ()
|
|
481
|
+
def __init__(self) -> None: ...
|
|
482
|
+
|
|
483
|
+
class GetSlackIntegrationResponse(_message.Message):
|
|
484
|
+
__slots__ = ("integration",)
|
|
485
|
+
INTEGRATION_FIELD_NUMBER: _ClassVar[int]
|
|
486
|
+
integration: SlackIntegration
|
|
487
|
+
def __init__(self, integration: _Optional[_Union[SlackIntegration, _Mapping]] = ...) -> None: ...
|