cx_api/generated/
com.coralogix.permissions.v1.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
// This file is @generated by prost-build.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserId {
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TeamId {
    #[prost(uint32, tag = "1")]
    pub id: u32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct UserAccountId {
    #[prost(uint32, tag = "1")]
    pub id: u32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OrganizationId {
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RoleId {
    #[prost(uint32, tag = "1")]
    pub id: u32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OrgGroupId {
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TeamGroupId {
    #[prost(uint32, tag = "1")]
    pub id: u32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ScopeId {
    #[prost(uint32, tag = "1")]
    pub id: u32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Resource {
    Unspecified = 0,
    Coralogix = 1,
    Kibana = 2,
    Apiaccess = 3,
    Grafana = 4,
    Accountmanager = 5,
    Groups = 6,
    Alerts = 7,
    Webhooks = 8,
    LogsDataingress = 9,
    SpansDataingress = 10,
    MetricsDataingress = 11,
    Apikeys = 12,
    Team = 13,
    TeamInvites = 14,
    Sso = 15,
    QueryDataLegacy = 16,
    ApiKeyLegacy = 17,
    SnowbitSetup = 18,
    SnowbitOverview = 19,
    SnowbitCspm = 20,
    SnowbitResourceExplorer = 21,
    SnowbitSspm = 22,
    SnowbitAlerts = 23,
    CloudSecurity = 24,
    UserApiKeys = 25,
    TeamApiKeys = 26,
    TeamApiKeysSecuritySettings = 27,
    TeamDashboards = 28,
    CloudMetadataEnrichment = 29,
    GeoEnrichment = 30,
    GlobalMapping = 31,
    K8sInfraMonitoring = 32,
    SecurityEnrichment = 33,
    Serverless = 34,
    TeamCustomEnrichment = 35,
    Jaeger = 36,
    ServiceMap = 37,
    SpansDataAnalyticsHigh = 38,
    SpansDataApiHigh = 39,
    SpansDataSetupHigh = 40,
    TeamActions = 41,
    TeamAuditing = 42,
    TeamPayAsYouGo = 43,
    TeamPayments = 44,
    TeamSlackNotifications = 45,
    UserActions = 46,
    UserEmailNotifications = 47,
    VersionBenchmarksReports = 48,
    AlertsMap = 49,
    CloudMetadataIngress = 50,
    ContextualData = 51,
    DataMap = 52,
    DataUsage = 53,
    Extensions = 54,
    HomeDashboard = 55,
    Incidents = 56,
    Integrations = 57,
    LegacyArchiveQueries = 58,
    Livetail = 59,
    LogsDataAnalyticsHigh = 60,
    LogsDataAnalyticsLow = 61,
    LogsDataApiHigh = 62,
    LogsDataApiLow = 63,
    LogsDataSetupHigh = 64,
    LogsDataSetupLow = 65,
    LogsEvents2metrics = 66,
    LogsTco = 67,
    MetricsDataAnalyticsHigh = 68,
    MetricsDataAnalyticsLow = 69,
    MetricsDataApiHigh = 70,
    MetricsDataApiLow = 71,
    MetricsDataSetupHigh = 72,
    MetricsDataSetupLow = 73,
    MetricsRecordingRules = 74,
    MetricsTco = 75,
    OpensearchDashboards = 76,
    OrgAdmins = 77,
    OrgQuota = 78,
    OrgSettings = 79,
    OrgTeams = 80,
    OutboundWebhooks = 81,
    ParsingRules = 82,
    Rum = 83,
    RumIngress = 84,
    ServiceCatalog = 85,
    SpansDataAnalyticsLow = 86,
    SpansDataApiLow = 87,
    TracesDataIngress = 88,
    SpansDataSetupLow = 89,
    SpansEvents2metrics = 90,
    SpansTco = 91,
    TeamDomain = 92,
    TeamGroups = 93,
    TeamIpAccess = 94,
    TeamMembers = 95,
    TeamRoles = 96,
    TeamSavedViews = 97,
    TeamScim = 98,
    TeamSessions = 99,
    TeamSso = 100,
    UserDashboards = 101,
    UserLegacyLogsQueryApiKeys = 102,
    UserLegacyOtherApiKeys = 103,
    UserSavedViews = 104,
    UserSettings = 105,
    VersionBenchmarkTags = 106,
    SourceMapping = 107,
    SetupCorrelation = 108,
    LogsAlerts = 109,
    SpansAlerts = 110,
    MetricsAlerts = 111,
    SuppressionRules = 112,
    UserAuthInfo = 113,
    TeamScopes = 114,
    TeamQuota = 115,
    RumTeamSavedFilter = 116,
    RumUserSavedFilter = 117,
    Investigations = 118,
    DataIngestApiKeys = 119,
    PersonalCustomApiKeys = 120,
    TeamCustomApiKeys = 121,
    LogsDataOutSetup = 122,
    DataprimeAiQueryAssistant = 123,
    TeamLandingPage = 124,
    ResourceCatalog = 125,
    TeamAlertsSettings = 126,
    TeamAiSettings = 127,
    NotificationCenterConnectors = 128,
    NotificationCenterPresets = 129,
}
impl Resource {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "RESOURCE_UNSPECIFIED",
            Self::Coralogix => "RESOURCE_CORALOGIX",
            Self::Kibana => "RESOURCE_KIBANA",
            Self::Apiaccess => "RESOURCE_APIACCESS",
            Self::Grafana => "RESOURCE_GRAFANA",
            Self::Accountmanager => "RESOURCE_ACCOUNTMANAGER",
            Self::Groups => "RESOURCE_GROUPS",
            Self::Alerts => "RESOURCE_ALERTS",
            Self::Webhooks => "RESOURCE_WEBHOOKS",
            Self::LogsDataingress => "RESOURCE_LOGS_DATAINGRESS",
            Self::SpansDataingress => "RESOURCE_SPANS_DATAINGRESS",
            Self::MetricsDataingress => "RESOURCE_METRICS_DATAINGRESS",
            Self::Apikeys => "RESOURCE_APIKEYS",
            Self::Team => "RESOURCE_TEAM",
            Self::TeamInvites => "RESOURCE_TEAM_INVITES",
            Self::Sso => "RESOURCE_SSO",
            Self::QueryDataLegacy => "RESOURCE_QUERY_DATA_LEGACY",
            Self::ApiKeyLegacy => "RESOURCE_API_KEY_LEGACY",
            Self::SnowbitSetup => "RESOURCE_SNOWBIT_SETUP",
            Self::SnowbitOverview => "RESOURCE_SNOWBIT_OVERVIEW",
            Self::SnowbitCspm => "RESOURCE_SNOWBIT_CSPM",
            Self::SnowbitResourceExplorer => "RESOURCE_SNOWBIT_RESOURCE_EXPLORER",
            Self::SnowbitSspm => "RESOURCE_SNOWBIT_SSPM",
            Self::SnowbitAlerts => "RESOURCE_SNOWBIT_ALERTS",
            Self::CloudSecurity => "RESOURCE_CLOUD_SECURITY",
            Self::UserApiKeys => "RESOURCE_USER_API_KEYS",
            Self::TeamApiKeys => "RESOURCE_TEAM_API_KEYS",
            Self::TeamApiKeysSecuritySettings => {
                "RESOURCE_TEAM_API_KEYS_SECURITY_SETTINGS"
            }
            Self::TeamDashboards => "RESOURCE_TEAM_DASHBOARDS",
            Self::CloudMetadataEnrichment => "RESOURCE_CLOUD_METADATA_ENRICHMENT",
            Self::GeoEnrichment => "RESOURCE_GEO_ENRICHMENT",
            Self::GlobalMapping => "RESOURCE_GLOBAL_MAPPING",
            Self::K8sInfraMonitoring => "RESOURCE_K8S_INFRA_MONITORING",
            Self::SecurityEnrichment => "RESOURCE_SECURITY_ENRICHMENT",
            Self::Serverless => "RESOURCE_SERVERLESS",
            Self::TeamCustomEnrichment => "RESOURCE_TEAM_CUSTOM_ENRICHMENT",
            Self::Jaeger => "RESOURCE_JAEGER",
            Self::ServiceMap => "RESOURCE_SERVICE_MAP",
            Self::SpansDataAnalyticsHigh => "RESOURCE_SPANS_DATA_ANALYTICS_HIGH",
            Self::SpansDataApiHigh => "RESOURCE_SPANS_DATA_API_HIGH",
            Self::SpansDataSetupHigh => "RESOURCE_SPANS_DATA_SETUP_HIGH",
            Self::TeamActions => "RESOURCE_TEAM_ACTIONS",
            Self::TeamAuditing => "RESOURCE_TEAM_AUDITING",
            Self::TeamPayAsYouGo => "RESOURCE_TEAM_PAY_AS_YOU_GO",
            Self::TeamPayments => "RESOURCE_TEAM_PAYMENTS",
            Self::TeamSlackNotifications => "RESOURCE_TEAM_SLACK_NOTIFICATIONS",
            Self::UserActions => "RESOURCE_USER_ACTIONS",
            Self::UserEmailNotifications => "RESOURCE_USER_EMAIL_NOTIFICATIONS",
            Self::VersionBenchmarksReports => "RESOURCE_VERSION_BENCHMARKS_REPORTS",
            Self::AlertsMap => "RESOURCE_ALERTS_MAP",
            Self::CloudMetadataIngress => "RESOURCE_CLOUD_METADATA_INGRESS",
            Self::ContextualData => "RESOURCE_CONTEXTUAL_DATA",
            Self::DataMap => "RESOURCE_DATA_MAP",
            Self::DataUsage => "RESOURCE_DATA_USAGE",
            Self::Extensions => "RESOURCE_EXTENSIONS",
            Self::HomeDashboard => "RESOURCE_HOME_DASHBOARD",
            Self::Incidents => "RESOURCE_INCIDENTS",
            Self::Integrations => "RESOURCE_INTEGRATIONS",
            Self::LegacyArchiveQueries => "RESOURCE_LEGACY_ARCHIVE_QUERIES",
            Self::Livetail => "RESOURCE_LIVETAIL",
            Self::LogsDataAnalyticsHigh => "RESOURCE_LOGS_DATA_ANALYTICS_HIGH",
            Self::LogsDataAnalyticsLow => "RESOURCE_LOGS_DATA_ANALYTICS_LOW",
            Self::LogsDataApiHigh => "RESOURCE_LOGS_DATA_API_HIGH",
            Self::LogsDataApiLow => "RESOURCE_LOGS_DATA_API_LOW",
            Self::LogsDataSetupHigh => "RESOURCE_LOGS_DATA_SETUP_HIGH",
            Self::LogsDataSetupLow => "RESOURCE_LOGS_DATA_SETUP_LOW",
            Self::LogsEvents2metrics => "RESOURCE_LOGS_EVENTS2METRICS",
            Self::LogsTco => "RESOURCE_LOGS_TCO",
            Self::MetricsDataAnalyticsHigh => "RESOURCE_METRICS_DATA_ANALYTICS_HIGH",
            Self::MetricsDataAnalyticsLow => "RESOURCE_METRICS_DATA_ANALYTICS_LOW",
            Self::MetricsDataApiHigh => "RESOURCE_METRICS_DATA_API_HIGH",
            Self::MetricsDataApiLow => "RESOURCE_METRICS_DATA_API_LOW",
            Self::MetricsDataSetupHigh => "RESOURCE_METRICS_DATA_SETUP_HIGH",
            Self::MetricsDataSetupLow => "RESOURCE_METRICS_DATA_SETUP_LOW",
            Self::MetricsRecordingRules => "RESOURCE_METRICS_RECORDING_RULES",
            Self::MetricsTco => "RESOURCE_METRICS_TCO",
            Self::OpensearchDashboards => "RESOURCE_OPENSEARCH_DASHBOARDS",
            Self::OrgAdmins => "RESOURCE_ORG_ADMINS",
            Self::OrgQuota => "RESOURCE_ORG_QUOTA",
            Self::OrgSettings => "RESOURCE_ORG_SETTINGS",
            Self::OrgTeams => "RESOURCE_ORG_TEAMS",
            Self::OutboundWebhooks => "RESOURCE_OUTBOUND_WEBHOOKS",
            Self::ParsingRules => "RESOURCE_PARSING_RULES",
            Self::Rum => "RESOURCE_RUM",
            Self::RumIngress => "RESOURCE_RUM_INGRESS",
            Self::ServiceCatalog => "RESOURCE_SERVICE_CATALOG",
            Self::SpansDataAnalyticsLow => "RESOURCE_SPANS_DATA_ANALYTICS_LOW",
            Self::SpansDataApiLow => "RESOURCE_SPANS_DATA_API_LOW",
            Self::TracesDataIngress => "RESOURCE_TRACES_DATA_INGRESS",
            Self::SpansDataSetupLow => "RESOURCE_SPANS_DATA_SETUP_LOW",
            Self::SpansEvents2metrics => "RESOURCE_SPANS_EVENTS2METRICS",
            Self::SpansTco => "RESOURCE_SPANS_TCO",
            Self::TeamDomain => "RESOURCE_TEAM_DOMAIN",
            Self::TeamGroups => "RESOURCE_TEAM_GROUPS",
            Self::TeamIpAccess => "RESOURCE_TEAM_IP_ACCESS",
            Self::TeamMembers => "RESOURCE_TEAM_MEMBERS",
            Self::TeamRoles => "RESOURCE_TEAM_ROLES",
            Self::TeamSavedViews => "RESOURCE_TEAM_SAVED_VIEWS",
            Self::TeamScim => "RESOURCE_TEAM_SCIM",
            Self::TeamSessions => "RESOURCE_TEAM_SESSIONS",
            Self::TeamSso => "RESOURCE_TEAM_SSO",
            Self::UserDashboards => "RESOURCE_USER_DASHBOARDS",
            Self::UserLegacyLogsQueryApiKeys => {
                "RESOURCE_USER_LEGACY_LOGS_QUERY_API_KEYS"
            }
            Self::UserLegacyOtherApiKeys => "RESOURCE_USER_LEGACY_OTHER_API_KEYS",
            Self::UserSavedViews => "RESOURCE_USER_SAVED_VIEWS",
            Self::UserSettings => "RESOURCE_USER_SETTINGS",
            Self::VersionBenchmarkTags => "RESOURCE_VERSION_BENCHMARK_TAGS",
            Self::SourceMapping => "RESOURCE_SOURCE_MAPPING",
            Self::SetupCorrelation => "RESOURCE_SETUP_CORRELATION",
            Self::LogsAlerts => "RESOURCE_LOGS_ALERTS",
            Self::SpansAlerts => "RESOURCE_SPANS_ALERTS",
            Self::MetricsAlerts => "RESOURCE_METRICS_ALERTS",
            Self::SuppressionRules => "RESOURCE_SUPPRESSION_RULES",
            Self::UserAuthInfo => "RESOURCE_USER_AUTH_INFO",
            Self::TeamScopes => "RESOURCE_TEAM_SCOPES",
            Self::TeamQuota => "RESOURCE_TEAM_QUOTA",
            Self::RumTeamSavedFilter => "RESOURCE_RUM_TEAM_SAVED_FILTER",
            Self::RumUserSavedFilter => "RESOURCE_RUM_USER_SAVED_FILTER",
            Self::Investigations => "RESOURCE_INVESTIGATIONS",
            Self::DataIngestApiKeys => "RESOURCE_DATA_INGEST_API_KEYS",
            Self::PersonalCustomApiKeys => "RESOURCE_PERSONAL_CUSTOM_API_KEYS",
            Self::TeamCustomApiKeys => "RESOURCE_TEAM_CUSTOM_API_KEYS",
            Self::LogsDataOutSetup => "RESOURCE_LOGS_DATA_OUT_SETUP",
            Self::DataprimeAiQueryAssistant => "RESOURCE_DATAPRIME_AI_QUERY_ASSISTANT",
            Self::TeamLandingPage => "RESOURCE_TEAM_LANDING_PAGE",
            Self::ResourceCatalog => "RESOURCE_RESOURCE_CATALOG",
            Self::TeamAlertsSettings => "RESOURCE_TEAM_ALERTS_SETTINGS",
            Self::TeamAiSettings => "RESOURCE_TEAM_AI_SETTINGS",
            Self::NotificationCenterConnectors => {
                "RESOURCE_NOTIFICATION_CENTER_CONNECTORS"
            }
            Self::NotificationCenterPresets => "RESOURCE_NOTIFICATION_CENTER_PRESETS",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "RESOURCE_UNSPECIFIED" => Some(Self::Unspecified),
            "RESOURCE_CORALOGIX" => Some(Self::Coralogix),
            "RESOURCE_KIBANA" => Some(Self::Kibana),
            "RESOURCE_APIACCESS" => Some(Self::Apiaccess),
            "RESOURCE_GRAFANA" => Some(Self::Grafana),
            "RESOURCE_ACCOUNTMANAGER" => Some(Self::Accountmanager),
            "RESOURCE_GROUPS" => Some(Self::Groups),
            "RESOURCE_ALERTS" => Some(Self::Alerts),
            "RESOURCE_WEBHOOKS" => Some(Self::Webhooks),
            "RESOURCE_LOGS_DATAINGRESS" => Some(Self::LogsDataingress),
            "RESOURCE_SPANS_DATAINGRESS" => Some(Self::SpansDataingress),
            "RESOURCE_METRICS_DATAINGRESS" => Some(Self::MetricsDataingress),
            "RESOURCE_APIKEYS" => Some(Self::Apikeys),
            "RESOURCE_TEAM" => Some(Self::Team),
            "RESOURCE_TEAM_INVITES" => Some(Self::TeamInvites),
            "RESOURCE_SSO" => Some(Self::Sso),
            "RESOURCE_QUERY_DATA_LEGACY" => Some(Self::QueryDataLegacy),
            "RESOURCE_API_KEY_LEGACY" => Some(Self::ApiKeyLegacy),
            "RESOURCE_SNOWBIT_SETUP" => Some(Self::SnowbitSetup),
            "RESOURCE_SNOWBIT_OVERVIEW" => Some(Self::SnowbitOverview),
            "RESOURCE_SNOWBIT_CSPM" => Some(Self::SnowbitCspm),
            "RESOURCE_SNOWBIT_RESOURCE_EXPLORER" => Some(Self::SnowbitResourceExplorer),
            "RESOURCE_SNOWBIT_SSPM" => Some(Self::SnowbitSspm),
            "RESOURCE_SNOWBIT_ALERTS" => Some(Self::SnowbitAlerts),
            "RESOURCE_CLOUD_SECURITY" => Some(Self::CloudSecurity),
            "RESOURCE_USER_API_KEYS" => Some(Self::UserApiKeys),
            "RESOURCE_TEAM_API_KEYS" => Some(Self::TeamApiKeys),
            "RESOURCE_TEAM_API_KEYS_SECURITY_SETTINGS" => {
                Some(Self::TeamApiKeysSecuritySettings)
            }
            "RESOURCE_TEAM_DASHBOARDS" => Some(Self::TeamDashboards),
            "RESOURCE_CLOUD_METADATA_ENRICHMENT" => Some(Self::CloudMetadataEnrichment),
            "RESOURCE_GEO_ENRICHMENT" => Some(Self::GeoEnrichment),
            "RESOURCE_GLOBAL_MAPPING" => Some(Self::GlobalMapping),
            "RESOURCE_K8S_INFRA_MONITORING" => Some(Self::K8sInfraMonitoring),
            "RESOURCE_SECURITY_ENRICHMENT" => Some(Self::SecurityEnrichment),
            "RESOURCE_SERVERLESS" => Some(Self::Serverless),
            "RESOURCE_TEAM_CUSTOM_ENRICHMENT" => Some(Self::TeamCustomEnrichment),
            "RESOURCE_JAEGER" => Some(Self::Jaeger),
            "RESOURCE_SERVICE_MAP" => Some(Self::ServiceMap),
            "RESOURCE_SPANS_DATA_ANALYTICS_HIGH" => Some(Self::SpansDataAnalyticsHigh),
            "RESOURCE_SPANS_DATA_API_HIGH" => Some(Self::SpansDataApiHigh),
            "RESOURCE_SPANS_DATA_SETUP_HIGH" => Some(Self::SpansDataSetupHigh),
            "RESOURCE_TEAM_ACTIONS" => Some(Self::TeamActions),
            "RESOURCE_TEAM_AUDITING" => Some(Self::TeamAuditing),
            "RESOURCE_TEAM_PAY_AS_YOU_GO" => Some(Self::TeamPayAsYouGo),
            "RESOURCE_TEAM_PAYMENTS" => Some(Self::TeamPayments),
            "RESOURCE_TEAM_SLACK_NOTIFICATIONS" => Some(Self::TeamSlackNotifications),
            "RESOURCE_USER_ACTIONS" => Some(Self::UserActions),
            "RESOURCE_USER_EMAIL_NOTIFICATIONS" => Some(Self::UserEmailNotifications),
            "RESOURCE_VERSION_BENCHMARKS_REPORTS" => Some(Self::VersionBenchmarksReports),
            "RESOURCE_ALERTS_MAP" => Some(Self::AlertsMap),
            "RESOURCE_CLOUD_METADATA_INGRESS" => Some(Self::CloudMetadataIngress),
            "RESOURCE_CONTEXTUAL_DATA" => Some(Self::ContextualData),
            "RESOURCE_DATA_MAP" => Some(Self::DataMap),
            "RESOURCE_DATA_USAGE" => Some(Self::DataUsage),
            "RESOURCE_EXTENSIONS" => Some(Self::Extensions),
            "RESOURCE_HOME_DASHBOARD" => Some(Self::HomeDashboard),
            "RESOURCE_INCIDENTS" => Some(Self::Incidents),
            "RESOURCE_INTEGRATIONS" => Some(Self::Integrations),
            "RESOURCE_LEGACY_ARCHIVE_QUERIES" => Some(Self::LegacyArchiveQueries),
            "RESOURCE_LIVETAIL" => Some(Self::Livetail),
            "RESOURCE_LOGS_DATA_ANALYTICS_HIGH" => Some(Self::LogsDataAnalyticsHigh),
            "RESOURCE_LOGS_DATA_ANALYTICS_LOW" => Some(Self::LogsDataAnalyticsLow),
            "RESOURCE_LOGS_DATA_API_HIGH" => Some(Self::LogsDataApiHigh),
            "RESOURCE_LOGS_DATA_API_LOW" => Some(Self::LogsDataApiLow),
            "RESOURCE_LOGS_DATA_SETUP_HIGH" => Some(Self::LogsDataSetupHigh),
            "RESOURCE_LOGS_DATA_SETUP_LOW" => Some(Self::LogsDataSetupLow),
            "RESOURCE_LOGS_EVENTS2METRICS" => Some(Self::LogsEvents2metrics),
            "RESOURCE_LOGS_TCO" => Some(Self::LogsTco),
            "RESOURCE_METRICS_DATA_ANALYTICS_HIGH" => {
                Some(Self::MetricsDataAnalyticsHigh)
            }
            "RESOURCE_METRICS_DATA_ANALYTICS_LOW" => Some(Self::MetricsDataAnalyticsLow),
            "RESOURCE_METRICS_DATA_API_HIGH" => Some(Self::MetricsDataApiHigh),
            "RESOURCE_METRICS_DATA_API_LOW" => Some(Self::MetricsDataApiLow),
            "RESOURCE_METRICS_DATA_SETUP_HIGH" => Some(Self::MetricsDataSetupHigh),
            "RESOURCE_METRICS_DATA_SETUP_LOW" => Some(Self::MetricsDataSetupLow),
            "RESOURCE_METRICS_RECORDING_RULES" => Some(Self::MetricsRecordingRules),
            "RESOURCE_METRICS_TCO" => Some(Self::MetricsTco),
            "RESOURCE_OPENSEARCH_DASHBOARDS" => Some(Self::OpensearchDashboards),
            "RESOURCE_ORG_ADMINS" => Some(Self::OrgAdmins),
            "RESOURCE_ORG_QUOTA" => Some(Self::OrgQuota),
            "RESOURCE_ORG_SETTINGS" => Some(Self::OrgSettings),
            "RESOURCE_ORG_TEAMS" => Some(Self::OrgTeams),
            "RESOURCE_OUTBOUND_WEBHOOKS" => Some(Self::OutboundWebhooks),
            "RESOURCE_PARSING_RULES" => Some(Self::ParsingRules),
            "RESOURCE_RUM" => Some(Self::Rum),
            "RESOURCE_RUM_INGRESS" => Some(Self::RumIngress),
            "RESOURCE_SERVICE_CATALOG" => Some(Self::ServiceCatalog),
            "RESOURCE_SPANS_DATA_ANALYTICS_LOW" => Some(Self::SpansDataAnalyticsLow),
            "RESOURCE_SPANS_DATA_API_LOW" => Some(Self::SpansDataApiLow),
            "RESOURCE_TRACES_DATA_INGRESS" => Some(Self::TracesDataIngress),
            "RESOURCE_SPANS_DATA_SETUP_LOW" => Some(Self::SpansDataSetupLow),
            "RESOURCE_SPANS_EVENTS2METRICS" => Some(Self::SpansEvents2metrics),
            "RESOURCE_SPANS_TCO" => Some(Self::SpansTco),
            "RESOURCE_TEAM_DOMAIN" => Some(Self::TeamDomain),
            "RESOURCE_TEAM_GROUPS" => Some(Self::TeamGroups),
            "RESOURCE_TEAM_IP_ACCESS" => Some(Self::TeamIpAccess),
            "RESOURCE_TEAM_MEMBERS" => Some(Self::TeamMembers),
            "RESOURCE_TEAM_ROLES" => Some(Self::TeamRoles),
            "RESOURCE_TEAM_SAVED_VIEWS" => Some(Self::TeamSavedViews),
            "RESOURCE_TEAM_SCIM" => Some(Self::TeamScim),
            "RESOURCE_TEAM_SESSIONS" => Some(Self::TeamSessions),
            "RESOURCE_TEAM_SSO" => Some(Self::TeamSso),
            "RESOURCE_USER_DASHBOARDS" => Some(Self::UserDashboards),
            "RESOURCE_USER_LEGACY_LOGS_QUERY_API_KEYS" => {
                Some(Self::UserLegacyLogsQueryApiKeys)
            }
            "RESOURCE_USER_LEGACY_OTHER_API_KEYS" => Some(Self::UserLegacyOtherApiKeys),
            "RESOURCE_USER_SAVED_VIEWS" => Some(Self::UserSavedViews),
            "RESOURCE_USER_SETTINGS" => Some(Self::UserSettings),
            "RESOURCE_VERSION_BENCHMARK_TAGS" => Some(Self::VersionBenchmarkTags),
            "RESOURCE_SOURCE_MAPPING" => Some(Self::SourceMapping),
            "RESOURCE_SETUP_CORRELATION" => Some(Self::SetupCorrelation),
            "RESOURCE_LOGS_ALERTS" => Some(Self::LogsAlerts),
            "RESOURCE_SPANS_ALERTS" => Some(Self::SpansAlerts),
            "RESOURCE_METRICS_ALERTS" => Some(Self::MetricsAlerts),
            "RESOURCE_SUPPRESSION_RULES" => Some(Self::SuppressionRules),
            "RESOURCE_USER_AUTH_INFO" => Some(Self::UserAuthInfo),
            "RESOURCE_TEAM_SCOPES" => Some(Self::TeamScopes),
            "RESOURCE_TEAM_QUOTA" => Some(Self::TeamQuota),
            "RESOURCE_RUM_TEAM_SAVED_FILTER" => Some(Self::RumTeamSavedFilter),
            "RESOURCE_RUM_USER_SAVED_FILTER" => Some(Self::RumUserSavedFilter),
            "RESOURCE_INVESTIGATIONS" => Some(Self::Investigations),
            "RESOURCE_DATA_INGEST_API_KEYS" => Some(Self::DataIngestApiKeys),
            "RESOURCE_PERSONAL_CUSTOM_API_KEYS" => Some(Self::PersonalCustomApiKeys),
            "RESOURCE_TEAM_CUSTOM_API_KEYS" => Some(Self::TeamCustomApiKeys),
            "RESOURCE_LOGS_DATA_OUT_SETUP" => Some(Self::LogsDataOutSetup),
            "RESOURCE_DATAPRIME_AI_QUERY_ASSISTANT" => {
                Some(Self::DataprimeAiQueryAssistant)
            }
            "RESOURCE_TEAM_LANDING_PAGE" => Some(Self::TeamLandingPage),
            "RESOURCE_RESOURCE_CATALOG" => Some(Self::ResourceCatalog),
            "RESOURCE_TEAM_ALERTS_SETTINGS" => Some(Self::TeamAlertsSettings),
            "RESOURCE_TEAM_AI_SETTINGS" => Some(Self::TeamAiSettings),
            "RESOURCE_NOTIFICATION_CENTER_CONNECTORS" => {
                Some(Self::NotificationCenterConnectors)
            }
            "RESOURCE_NOTIFICATION_CENTER_PRESETS" => {
                Some(Self::NotificationCenterPresets)
            }
            _ => None,
        }
    }
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Action {
    Unspecified = 0,
    Admin = 1,
    Operate = 2,
    ViewOnly = 3,
    Edit = 4,
    Delete = 5,
    Create = 6,
    ChangeQuota = 7,
    GenerateKey = 8,
    Write = 9,
    Manage = 10,
    Read = 11,
    ReadConfig = 12,
    Deploy = 13,
    CreateSecurityAlert = 14,
    Update = 15,
    Readdata = 16,
    Updateconfig = 17,
    Updatedata = 18,
    View = 19,
    Execute = 20,
    Acknowledge = 21,
    Assign = 22,
    Close = 23,
    Updateuserwidgets = 24,
    Readmaps = 25,
    Readpolicies = 26,
    Readteamwidgets = 27,
    Readuserwidgets = 28,
    Reindex = 29,
    Senddata = 30,
    Snooze = 31,
    Updatemaps = 32,
    Updatepolicies = 33,
    Updateteamwidgets = 34,
    Readmapping = 35,
    Readsliconfig = 36,
    Updatefiltersconfig = 37,
    Updatesliconfig = 38,
    Uploadmapping = 39,
    ReadDimensionsConfig = 40,
    UpdateDimensionsConfig = 41,
    ReadApdexConfig = 42,
    UpdateApdexConfig = 43,
    ManageConnectionToOrg = 44,
    ReadGroups = 45,
    GetDailyEmails = 46,
    GetDataUsageWarnings = 47,
    GetFlowAnomalies = 48,
    GetSpikeAnomalies = 49,
    ReadAll = 50,
    UpdateAll = 51,
    ReadSummary = 52,
}
impl Action {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "ACTION_UNSPECIFIED",
            Self::Admin => "ACTION_ADMIN",
            Self::Operate => "ACTION_OPERATE",
            Self::ViewOnly => "ACTION_VIEW_ONLY",
            Self::Edit => "ACTION_EDIT",
            Self::Delete => "ACTION_DELETE",
            Self::Create => "ACTION_CREATE",
            Self::ChangeQuota => "ACTION_CHANGE_QUOTA",
            Self::GenerateKey => "ACTION_GENERATE_KEY",
            Self::Write => "ACTION_WRITE",
            Self::Manage => "ACTION_MANAGE",
            Self::Read => "ACTION_READ",
            Self::ReadConfig => "ACTION_READ_CONFIG",
            Self::Deploy => "ACTION_DEPLOY",
            Self::CreateSecurityAlert => "ACTION_CREATE_SECURITY_ALERT",
            Self::Update => "ACTION_UPDATE",
            Self::Readdata => "ACTION_READDATA",
            Self::Updateconfig => "ACTION_UPDATECONFIG",
            Self::Updatedata => "ACTION_UPDATEDATA",
            Self::View => "ACTION_VIEW",
            Self::Execute => "ACTION_EXECUTE",
            Self::Acknowledge => "ACTION_ACKNOWLEDGE",
            Self::Assign => "ACTION_ASSIGN",
            Self::Close => "ACTION_CLOSE",
            Self::Updateuserwidgets => "ACTION_UPDATEUSERWIDGETS",
            Self::Readmaps => "ACTION_READMAPS",
            Self::Readpolicies => "ACTION_READPOLICIES",
            Self::Readteamwidgets => "ACTION_READTEAMWIDGETS",
            Self::Readuserwidgets => "ACTION_READUSERWIDGETS",
            Self::Reindex => "ACTION_REINDEX",
            Self::Senddata => "ACTION_SENDDATA",
            Self::Snooze => "ACTION_SNOOZE",
            Self::Updatemaps => "ACTION_UPDATEMAPS",
            Self::Updatepolicies => "ACTION_UPDATEPOLICIES",
            Self::Updateteamwidgets => "ACTION_UPDATETEAMWIDGETS",
            Self::Readmapping => "ACTION_READMAPPING",
            Self::Readsliconfig => "ACTION_READSLICONFIG",
            Self::Updatefiltersconfig => "ACTION_UPDATEFILTERSCONFIG",
            Self::Updatesliconfig => "ACTION_UPDATESLICONFIG",
            Self::Uploadmapping => "ACTION_UPLOADMAPPING",
            Self::ReadDimensionsConfig => "ACTION_READ_DIMENSIONS_CONFIG",
            Self::UpdateDimensionsConfig => "ACTION_UPDATE_DIMENSIONS_CONFIG",
            Self::ReadApdexConfig => "ACTION_READ_APDEX_CONFIG",
            Self::UpdateApdexConfig => "ACTION_UPDATE_APDEX_CONFIG",
            Self::ManageConnectionToOrg => "ACTION_MANAGE_CONNECTION_TO_ORG",
            Self::ReadGroups => "ACTION_READ_GROUPS",
            Self::GetDailyEmails => "ACTION_GET_DAILY_EMAILS",
            Self::GetDataUsageWarnings => "ACTION_GET_DATA_USAGE_WARNINGS",
            Self::GetFlowAnomalies => "ACTION_GET_FLOW_ANOMALIES",
            Self::GetSpikeAnomalies => "ACTION_GET_SPIKE_ANOMALIES",
            Self::ReadAll => "ACTION_READ_ALL",
            Self::UpdateAll => "ACTION_UPDATE_ALL",
            Self::ReadSummary => "ACTION_READ_SUMMARY",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "ACTION_UNSPECIFIED" => Some(Self::Unspecified),
            "ACTION_ADMIN" => Some(Self::Admin),
            "ACTION_OPERATE" => Some(Self::Operate),
            "ACTION_VIEW_ONLY" => Some(Self::ViewOnly),
            "ACTION_EDIT" => Some(Self::Edit),
            "ACTION_DELETE" => Some(Self::Delete),
            "ACTION_CREATE" => Some(Self::Create),
            "ACTION_CHANGE_QUOTA" => Some(Self::ChangeQuota),
            "ACTION_GENERATE_KEY" => Some(Self::GenerateKey),
            "ACTION_WRITE" => Some(Self::Write),
            "ACTION_MANAGE" => Some(Self::Manage),
            "ACTION_READ" => Some(Self::Read),
            "ACTION_READ_CONFIG" => Some(Self::ReadConfig),
            "ACTION_DEPLOY" => Some(Self::Deploy),
            "ACTION_CREATE_SECURITY_ALERT" => Some(Self::CreateSecurityAlert),
            "ACTION_UPDATE" => Some(Self::Update),
            "ACTION_READDATA" => Some(Self::Readdata),
            "ACTION_UPDATECONFIG" => Some(Self::Updateconfig),
            "ACTION_UPDATEDATA" => Some(Self::Updatedata),
            "ACTION_VIEW" => Some(Self::View),
            "ACTION_EXECUTE" => Some(Self::Execute),
            "ACTION_ACKNOWLEDGE" => Some(Self::Acknowledge),
            "ACTION_ASSIGN" => Some(Self::Assign),
            "ACTION_CLOSE" => Some(Self::Close),
            "ACTION_UPDATEUSERWIDGETS" => Some(Self::Updateuserwidgets),
            "ACTION_READMAPS" => Some(Self::Readmaps),
            "ACTION_READPOLICIES" => Some(Self::Readpolicies),
            "ACTION_READTEAMWIDGETS" => Some(Self::Readteamwidgets),
            "ACTION_READUSERWIDGETS" => Some(Self::Readuserwidgets),
            "ACTION_REINDEX" => Some(Self::Reindex),
            "ACTION_SENDDATA" => Some(Self::Senddata),
            "ACTION_SNOOZE" => Some(Self::Snooze),
            "ACTION_UPDATEMAPS" => Some(Self::Updatemaps),
            "ACTION_UPDATEPOLICIES" => Some(Self::Updatepolicies),
            "ACTION_UPDATETEAMWIDGETS" => Some(Self::Updateteamwidgets),
            "ACTION_READMAPPING" => Some(Self::Readmapping),
            "ACTION_READSLICONFIG" => Some(Self::Readsliconfig),
            "ACTION_UPDATEFILTERSCONFIG" => Some(Self::Updatefiltersconfig),
            "ACTION_UPDATESLICONFIG" => Some(Self::Updatesliconfig),
            "ACTION_UPLOADMAPPING" => Some(Self::Uploadmapping),
            "ACTION_READ_DIMENSIONS_CONFIG" => Some(Self::ReadDimensionsConfig),
            "ACTION_UPDATE_DIMENSIONS_CONFIG" => Some(Self::UpdateDimensionsConfig),
            "ACTION_READ_APDEX_CONFIG" => Some(Self::ReadApdexConfig),
            "ACTION_UPDATE_APDEX_CONFIG" => Some(Self::UpdateApdexConfig),
            "ACTION_MANAGE_CONNECTION_TO_ORG" => Some(Self::ManageConnectionToOrg),
            "ACTION_READ_GROUPS" => Some(Self::ReadGroups),
            "ACTION_GET_DAILY_EMAILS" => Some(Self::GetDailyEmails),
            "ACTION_GET_DATA_USAGE_WARNINGS" => Some(Self::GetDataUsageWarnings),
            "ACTION_GET_FLOW_ANOMALIES" => Some(Self::GetFlowAnomalies),
            "ACTION_GET_SPIKE_ANOMALIES" => Some(Self::GetSpikeAnomalies),
            "ACTION_READ_ALL" => Some(Self::ReadAll),
            "ACTION_UPDATE_ALL" => Some(Self::UpdateAll),
            "ACTION_READ_SUMMARY" => Some(Self::ReadSummary),
            _ => None,
        }
    }
}
/// / A scope filter, given a filter term and a filter type is used to configure filter capabilities
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ScopeFilter {
    /// / The filter term to use as a matching reference.
    #[prost(string, tag = "1")]
    pub term: ::prost::alloc::string::String,
    /// / The filter type. i.e. given a term prod and filter type FilterType.STARTS_WITH the string production will pass the filter.
    #[prost(enumeration = "FilterType", tag = "2")]
    pub filter_type: i32,
}
/// / Scope filters are currently possible to be defined for subsystems and applications
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ScopeFilters {
    /// / List of subsystem scope filters
    #[prost(message, repeated, tag = "1")]
    pub subsystems: ::prost::alloc::vec::Vec<ScopeFilter>,
    /// / List of applications scope filters
    #[prost(message, repeated, tag = "2")]
    pub applications: ::prost::alloc::vec::Vec<ScopeFilter>,
}
/// / A group scope has a list of filters for subsystems and applications. Used to filter traffic based on user defined rules.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Scope {
    /// / Unique scope identifier
    #[prost(message, optional, tag = "1")]
    pub id: ::core::option::Option<ScopeId>,
    /// / The filters definition
    #[prost(message, optional, tag = "2")]
    pub filters: ::core::option::Option<ScopeFilters>,
}
/// / An user is an entity that is always part of a team and has an account associated with it
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct User {
    /// / Unique user id
    #[prost(message, optional, tag = "1")]
    pub user_id: ::core::option::Option<UserId>,
    /// / Associated account id. An account can have many users.
    #[prost(message, optional, tag = "2")]
    pub user_account_id: ::core::option::Option<UserAccountId>,
    /// / Unique username
    #[prost(string, tag = "3")]
    pub username: ::prost::alloc::string::String,
    /// / User first name
    #[prost(string, tag = "4")]
    pub first_name: ::prost::alloc::string::String,
    /// / User last name
    #[prost(string, tag = "5")]
    pub last_name: ::prost::alloc::string::String,
    /// / User status: \[Active, Inactive\]
    #[prost(enumeration = "UserStatus", tag = "6")]
    pub status: i32,
}
/// / A group role. Each role has a collection of permissions associated with it. A group can have many roles.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Role {
    /// / Unique role identifier
    #[prost(message, optional, tag = "1")]
    pub role_id: ::core::option::Option<RoleId>,
    /// / Unique role name
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TeamGroupSummary {
    #[prost(message, optional, tag = "1")]
    pub id: ::core::option::Option<TeamGroupId>,
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    #[prost(uint32, tag = "3")]
    pub user_count: u32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SystemRole {
    #[prost(message, optional, tag = "1")]
    pub role_id: ::core::option::Option<RoleId>,
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomRole {
    #[prost(message, optional, tag = "1")]
    pub role_id: ::core::option::Option<RoleId>,
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub parent_role_id: ::core::option::Option<RoleId>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoleSummary {
    #[prost(uint32, tag = "3")]
    pub user_count: u32,
    #[prost(message, repeated, tag = "4")]
    pub groups: ::prost::alloc::vec::Vec<TeamGroupSummary>,
    #[prost(message, repeated, tag = "5")]
    pub permissions: ::prost::alloc::vec::Vec<PermissionMetadata>,
    #[prost(oneof = "role_summary::Role", tags = "1, 2")]
    pub role: ::core::option::Option<role_summary::Role>,
}
/// Nested message and enum types in `RoleSummary`.
pub mod role_summary {
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Role {
        #[prost(message, tag = "1")]
        SystemRole(super::SystemRole),
        #[prost(message, tag = "2")]
        CustomRole(super::CustomRole),
    }
}
/// / An organisation group
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OrgGroup {
    /// / Unique organisation group identifier
    #[prost(message, optional, tag = "1")]
    pub org_group_id: ::core::option::Option<OrgGroupId>,
    /// / Unique name
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// / Organisation this group belongs to
    #[prost(message, optional, tag = "3")]
    pub org_id: ::core::option::Option<OrganizationId>,
    /// / Associated organisation roles
    #[prost(message, repeated, tag = "4")]
    pub roles: ::prost::alloc::vec::Vec<Role>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TeamGroup {
    /// / Unique team group identifier
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
    /// / Unique name
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// / Group description
    #[prost(string, optional, tag = "3")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// / Group external identifier. Applies if team is externally defined.
    #[prost(string, optional, tag = "4")]
    pub external_id: ::core::option::Option<::prost::alloc::string::String>,
    /// / Built in groups are not user made. They were created by the system.
    #[prost(enumeration = "GroupOrigin", tag = "5")]
    pub group_origin: i32,
    /// / Team this group belongs to
    #[prost(message, optional, tag = "6")]
    pub team_id: ::core::option::Option<TeamId>,
    /// / Associated team roles
    #[prost(message, repeated, tag = "7")]
    pub roles: ::prost::alloc::vec::Vec<Role>,
    /// / Associated scope
    #[prost(message, optional, tag = "8")]
    pub scope: ::core::option::Option<Scope>,
    #[prost(message, optional, tag = "9")]
    pub created_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
    #[prost(message, optional, tag = "10")]
    pub updated_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
    #[prost(string, optional, tag = "11")]
    pub next_gen_scope_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PermissionGroupMetadata {
    #[prost(enumeration = "super::models::v1::PermissionGroup", tag = "1")]
    pub permission_group: i32,
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub display_name: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PermissionMetadata {
    #[prost(enumeration = "super::models::v1::Permission", tag = "1")]
    pub permission: i32,
    #[prost(message, optional, tag = "2")]
    pub permission_group: ::core::option::Option<PermissionGroupMetadata>,
    #[prost(string, tag = "3")]
    pub expression: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub description: ::prost::alloc::string::String,
    #[prost(enumeration = "Action", tag = "5")]
    pub action: i32,
    #[prost(enumeration = "Resource", tag = "6")]
    pub resource: i32,
    #[prost(string, tag = "7")]
    pub doc_link: ::prost::alloc::string::String,
    #[prost(string, tag = "8")]
    pub explanation: ::prost::alloc::string::String,
    #[prost(bool, tag = "9")]
    pub is_send_data: bool,
}
/// / A filter type describes how to match a filter against an input string
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum FilterType {
    Unspecified = 0,
    /// / Matches if string starts with filter
    StartsWith = 1,
    /// / Matches if string ends with filter
    EndsWith = 2,
    /// / Matches if string contains filter
    Contains = 3,
    /// / Matches if string exactly matches filter
    Exact = 4,
}
impl FilterType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "FILTER_TYPE_UNSPECIFIED",
            Self::StartsWith => "FILTER_TYPE_STARTS_WITH",
            Self::EndsWith => "FILTER_TYPE_ENDS_WITH",
            Self::Contains => "FILTER_TYPE_CONTAINS",
            Self::Exact => "FILTER_TYPE_EXACT",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "FILTER_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
            "FILTER_TYPE_STARTS_WITH" => Some(Self::StartsWith),
            "FILTER_TYPE_ENDS_WITH" => Some(Self::EndsWith),
            "FILTER_TYPE_CONTAINS" => Some(Self::Contains),
            "FILTER_TYPE_EXACT" => Some(Self::Exact),
            _ => None,
        }
    }
}
/// / User status
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum UserStatus {
    Unspecified = 0,
    /// / User is active
    Active = 1,
    /// / User is inactive
    Inactive = 2,
}
impl UserStatus {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "USER_STATUS_UNSPECIFIED",
            Self::Active => "USER_STATUS_ACTIVE",
            Self::Inactive => "USER_STATUS_INACTIVE",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "USER_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
            "USER_STATUS_ACTIVE" => Some(Self::Active),
            "USER_STATUS_INACTIVE" => Some(Self::Inactive),
            _ => None,
        }
    }
}
/// / Group origin defines in which circumstances the group was created.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum GroupOrigin {
    Unspecified = 0,
    /// / A built in group is defined by the system and users are not able to alter them.
    BuiltIn = 1,
    /// / User defined or custom role.
    UserDefined = 2,
}
impl GroupOrigin {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "GROUP_ORIGIN_UNSPECIFIED",
            Self::BuiltIn => "GROUP_ORIGIN_BUILT_IN",
            Self::UserDefined => "GROUP_ORIGIN_USER_DEFINED",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "GROUP_ORIGIN_UNSPECIFIED" => Some(Self::Unspecified),
            "GROUP_ORIGIN_BUILT_IN" => Some(Self::BuiltIn),
            "GROUP_ORIGIN_USER_DEFINED" => Some(Self::UserDefined),
            _ => None,
        }
    }
}
/// / Get team group request
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GetTeamGroupRequest {
    /// / Team group id
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
}
/// / Get team group response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetTeamGroupResponse {
    /// / Team group
    #[prost(message, optional, tag = "1")]
    pub group: ::core::option::Option<TeamGroup>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetTeamGroupByNameRequest {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetTeamGroupByNameResponse {
    #[prost(message, optional, tag = "1")]
    pub group: ::core::option::Option<TeamGroup>,
}
/// / Get all team groups request
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GetTeamGroupsRequest {
    /// / Team to fetch team groups for. If not set, fetches groups associated with logged in team
    /// / Bear in mind that an user can only fetch groups for logged in team. Unless you want to express this as a
    /// / validation of what the logged in team should be, this field can remain empty.
    #[prost(message, optional, tag = "1")]
    pub team_id: ::core::option::Option<TeamId>,
}
/// / Get all team groups response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetTeamGroupsResponse {
    /// / Groups associated with team
    #[prost(message, repeated, tag = "1")]
    pub groups: ::prost::alloc::vec::Vec<TeamGroup>,
}
/// / Create team group request
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateTeamGroupRequest {
    /// / Team group name
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// / Team which the group will be associated with. If not set, creates group and associates it with logged in team
    /// / Bear in mind that an user can only create team for logged in team. Unless you want to express this as a
    /// / validation of what the logged in team should be, this field can remain empty.
    #[prost(message, optional, tag = "2")]
    pub team_id: ::core::option::Option<TeamId>,
    /// / Team group description
    #[prost(string, optional, tag = "3")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// / Team group external_id. Applies if team is externally defined.
    #[prost(string, optional, tag = "4")]
    pub external_id: ::core::option::Option<::prost::alloc::string::String>,
    /// / Roles to associate with team group
    #[prost(message, repeated, tag = "5")]
    pub role_ids: ::prost::alloc::vec::Vec<RoleId>,
    /// / Users to associate with team group
    #[prost(message, repeated, tag = "6")]
    pub user_ids: ::prost::alloc::vec::Vec<UserId>,
    /// / Optionally set team group scope filters
    #[prost(message, optional, tag = "7")]
    pub scope_filters: ::core::option::Option<ScopeFilters>,
    #[prost(string, optional, tag = "8")]
    pub next_gen_scope_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// / Create team group response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CreateTeamGroupResponse {
    /// / Team group id
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
}
/// / Update team group request
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateTeamGroupRequest {
    /// / Team group to be updated
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
    /// / Updated team group name
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// / Updated team group description
    #[prost(string, optional, tag = "3")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// / Updated team group external_id
    #[prost(string, optional, tag = "4")]
    pub external_id: ::core::option::Option<::prost::alloc::string::String>,
    /// / If set, new roles to associate with team group
    #[prost(message, optional, tag = "5")]
    pub role_updates: ::core::option::Option<update_team_group_request::RoleUpdates>,
    /// / If set, new users to associate with team group
    #[prost(message, optional, tag = "6")]
    pub user_updates: ::core::option::Option<update_team_group_request::UserUpdates>,
    /// / If set, updates new team group scope filters
    #[prost(message, optional, tag = "7")]
    pub scope_filters: ::core::option::Option<ScopeFilters>,
    /// / If set, updates new team group next gen scope
    #[prost(string, optional, tag = "8")]
    pub next_gen_scope_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `UpdateTeamGroupRequest`.
pub mod update_team_group_request {
    /// / Specifies new roles to assign to a group removing previous ones
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct RoleUpdates {
        /// / Roles to associate with a team group
        #[prost(message, repeated, tag = "1")]
        pub role_ids: ::prost::alloc::vec::Vec<super::RoleId>,
    }
    /// / Specifies new users to assign to a group removing previous ones
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct UserUpdates {
        /// / Users to associate with a team group
        #[prost(message, repeated, tag = "1")]
        pub user_ids: ::prost::alloc::vec::Vec<super::UserId>,
    }
}
/// / Update team group response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct UpdateTeamGroupResponse {}
/// / Delete team group request
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DeleteTeamGroupRequest {
    /// / Team group id
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
}
/// / Delete team group response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DeleteTeamGroupResponse {}
/// / Fetches all users linked with given team group
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetGroupUsersRequest {
    /// / Team group id
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
    /// / Pagination size. Defaults to 100 if empty
    #[prost(uint32, optional, tag = "2")]
    pub page_size: ::core::option::Option<u32>,
    /// / Optional pagination continuation token
    /// / Contains an encoded cursor
    #[prost(string, optional, tag = "3")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetGroupUsersResponse {
    #[prost(message, repeated, tag = "1")]
    pub users: ::prost::alloc::vec::Vec<User>,
    #[prost(oneof = "get_group_users_response::NextPage", tags = "2, 3")]
    pub next_page: ::core::option::Option<get_group_users_response::NextPage>,
}
/// Nested message and enum types in `GetGroupUsersResponse`.
pub mod get_group_users_response {
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, Copy, PartialEq, ::prost::Message)]
    pub struct NoMorePages {}
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct NextPageToken {
        #[prost(string, tag = "1")]
        pub next_page_token: ::prost::alloc::string::String,
    }
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum NextPage {
        #[prost(message, tag = "2")]
        NoMorePages(NoMorePages),
        #[prost(message, tag = "3")]
        Token(NextPageToken),
    }
}
/// / Add users to an existing team group
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddUsersToTeamGroupRequest {
    /// / Team group id to add users to
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
    /// / Users to add to group
    #[prost(message, repeated, tag = "2")]
    pub user_ids: ::prost::alloc::vec::Vec<UserId>,
}
/// / Add users to an existing team group response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AddUsersToTeamGroupResponse {
    /// / Team id to which given team group belongs
    #[prost(message, optional, tag = "1")]
    pub team_id: ::core::option::Option<TeamId>,
}
/// / Associate new users with groups in a team
/// / Allows to associate any number of users with any number of groups belonging to a team
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddUsersToTeamGroupsRequest {
    #[prost(message, optional, tag = "1")]
    pub team_id: ::core::option::Option<TeamId>,
    #[prost(message, repeated, tag = "2")]
    pub add_users_to_group: ::prost::alloc::vec::Vec<
        add_users_to_team_groups_request::AddUsersToTeamGroup,
    >,
}
/// Nested message and enum types in `AddUsersToTeamGroupsRequest`.
pub mod add_users_to_team_groups_request {
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct AddUsersToTeamGroup {
        /// / Team group id to add users to
        #[prost(message, optional, tag = "1")]
        pub group_id: ::core::option::Option<super::TeamGroupId>,
        /// / Users to add to group
        #[prost(message, repeated, tag = "2")]
        pub user_ids: ::prost::alloc::vec::Vec<super::UserId>,
    }
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AddUsersToTeamGroupsResponse {}
/// / Remove users from an existing team group
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveUsersFromTeamGroupRequest {
    /// / Team group id to remove users from
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
    /// / Users to remove to group
    #[prost(message, repeated, tag = "2")]
    pub user_ids: ::prost::alloc::vec::Vec<UserId>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RemoveUsersFromTeamGroupResponse {}
/// / Remove users from groups in a team
/// / Allows the removal of any number of users and any number of groups belonging to a team
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveUsersFromTeamGroupsRequest {
    #[prost(message, optional, tag = "1")]
    pub team_id: ::core::option::Option<TeamId>,
    #[prost(message, repeated, tag = "2")]
    pub remove_users_from_group: ::prost::alloc::vec::Vec<
        remove_users_from_team_groups_request::RemoveUsersFromTeamGroup,
    >,
}
/// Nested message and enum types in `RemoveUsersFromTeamGroupsRequest`.
pub mod remove_users_from_team_groups_request {
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct RemoveUsersFromTeamGroup {
        /// / Team group id to remove users from
        #[prost(message, optional, tag = "1")]
        pub group_id: ::core::option::Option<super::TeamGroupId>,
        /// / Users to remove to group
        #[prost(message, repeated, tag = "2")]
        pub user_ids: ::prost::alloc::vec::Vec<super::UserId>,
    }
}
/// / Remove users from existing groups
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RemoveUsersFromTeamGroupsResponse {}
/// / Set team group scope request
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetTeamGroupScopeRequest {
    /// / Team group to set scope to
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
    /// / team group scope filters
    #[prost(message, optional, tag = "2")]
    pub scope_filters: ::core::option::Option<ScopeFilters>,
}
/// / Set team group scope response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SetTeamGroupScopeResponse {
    /// / Created scope_id or 0 if already exists and was replaced.
    #[prost(message, optional, tag = "1")]
    pub scope_id: ::core::option::Option<ScopeId>,
}
/// / Get team group scope request
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GetTeamGroupScopeRequest {
    /// / Team group to set scope to
    #[prost(message, optional, tag = "1")]
    pub group_id: ::core::option::Option<TeamGroupId>,
}
/// / Set team group scope response
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetTeamGroupScopeResponse {
    /// / Scope if group has one set
    #[prost(message, optional, tag = "1")]
    pub scope: ::core::option::Option<Scope>,
}
/// Generated client implementations.
pub mod team_permissions_mgmt_service_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// / Service for creating and managing team groups, roles, users and scopes.
    #[derive(Debug, Clone)]
    pub struct TeamPermissionsMgmtServiceClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TeamPermissionsMgmtServiceClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TeamPermissionsMgmtServiceClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TeamPermissionsMgmtServiceClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TeamPermissionsMgmtServiceClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// / Fetch team group for given team id
        pub async fn get_team_group(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTeamGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::GetTeamGroupResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/GetTeamGroup",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "GetTeamGroup",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Fetch team group by name for authenticated team id
        pub async fn get_team_group_by_name(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTeamGroupByNameRequest>,
        ) -> std::result::Result<
            tonic::Response<super::GetTeamGroupByNameResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/GetTeamGroupByName",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "GetTeamGroupByName",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Fetches all team groups linked with team
        pub async fn get_team_groups(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTeamGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::GetTeamGroupsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/GetTeamGroups",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "GetTeamGroups",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Creates a new team group and optionally associates roles, users and a scope to it
        pub async fn create_team_group(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateTeamGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::CreateTeamGroupResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/CreateTeamGroup",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "CreateTeamGroup",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Updates an existing team group details
        pub async fn update_team_group(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateTeamGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::UpdateTeamGroupResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/UpdateTeamGroup",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "UpdateTeamGroup",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Deletes an existing team group
        pub async fn delete_team_group(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTeamGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::DeleteTeamGroupResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/DeleteTeamGroup",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "DeleteTeamGroup",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Fetches all users assigned to group
        pub async fn get_group_users(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGroupUsersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::GetGroupUsersResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/GetGroupUsers",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "GetGroupUsers",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Add users to team groups
        pub async fn add_users_to_team_group(
            &mut self,
            request: impl tonic::IntoRequest<super::AddUsersToTeamGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::AddUsersToTeamGroupResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/AddUsersToTeamGroup",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "AddUsersToTeamGroup",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Bulk Add users to team groups
        pub async fn add_users_to_team_groups(
            &mut self,
            request: impl tonic::IntoRequest<super::AddUsersToTeamGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::AddUsersToTeamGroupsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/AddUsersToTeamGroups",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "AddUsersToTeamGroups",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Remove user accounts to organisation group
        pub async fn remove_users_from_team_group(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveUsersFromTeamGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RemoveUsersFromTeamGroupResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/RemoveUsersFromTeamGroup",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "RemoveUsersFromTeamGroup",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Bulk Remove user accounts to organisation group
        pub async fn remove_users_from_team_groups(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveUsersFromTeamGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RemoveUsersFromTeamGroupsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/RemoveUsersFromTeamGroups",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "RemoveUsersFromTeamGroups",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Sets team group scope. Replaces it if it already exists.
        pub async fn set_team_group_scope(
            &mut self,
            request: impl tonic::IntoRequest<super::SetTeamGroupScopeRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SetTeamGroupScopeResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/SetTeamGroupScope",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "SetTeamGroupScope",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// / Fetches team group scope
        pub async fn get_team_group_scope(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTeamGroupScopeRequest>,
        ) -> std::result::Result<
            tonic::Response<super::GetTeamGroupScopeResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/com.coralogix.permissions.v1.TeamPermissionsMgmtService/GetTeamGroupScope",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "com.coralogix.permissions.v1.TeamPermissionsMgmtService",
                        "GetTeamGroupScope",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}