strongdm 15.13.0__zip → 15.15.0__zip

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.
Files changed (159) hide show
  1. {strongdm-15.13.0 → strongdm-15.15.0}/PKG-INFO +2 -2
  2. {strongdm-15.13.0 → strongdm-15.15.0}/setup.py +2 -2
  3. strongdm-15.15.0/strongdm/accounts_groups_history_pb2.py +100 -0
  4. strongdm-15.15.0/strongdm/accounts_groups_history_pb2_grpc.py +84 -0
  5. strongdm-15.15.0/strongdm/accounts_groups_pb2.py +194 -0
  6. strongdm-15.15.0/strongdm/accounts_groups_pb2_grpc.py +186 -0
  7. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflows_pb2.py +5 -5
  8. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/client.py +59 -1
  9. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/drivers_pb2.py +264 -220
  10. strongdm-15.15.0/strongdm/groups_history_pb2.py +100 -0
  11. strongdm-15.15.0/strongdm/groups_history_pb2_grpc.py +84 -0
  12. strongdm-15.15.0/strongdm/groups_pb2.py +290 -0
  13. strongdm-15.15.0/strongdm/groups_pb2_grpc.py +253 -0
  14. strongdm-15.15.0/strongdm/groups_roles_history_pb2.py +100 -0
  15. strongdm-15.15.0/strongdm/groups_roles_history_pb2_grpc.py +84 -0
  16. strongdm-15.15.0/strongdm/groups_roles_pb2.py +200 -0
  17. strongdm-15.15.0/strongdm/groups_roles_pb2_grpc.py +186 -0
  18. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/models.py +6428 -4763
  19. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/plumbing.py +1258 -11
  20. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/svc.py +759 -0
  21. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm.egg-info/PKG-INFO +2 -2
  22. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm.egg-info/SOURCES.txt +12 -0
  23. {strongdm-15.13.0 → strongdm-15.15.0}/LICENSE +0 -0
  24. {strongdm-15.13.0 → strongdm-15.15.0}/README.md +0 -0
  25. {strongdm-15.13.0 → strongdm-15.15.0}/setup.cfg +0 -0
  26. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/__init__.py +0 -0
  27. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/access_request_events_history_pb2.py +0 -0
  28. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
  29. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/access_requests_history_pb2.py +0 -0
  30. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
  31. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/access_requests_pb2.py +0 -0
  32. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/access_requests_pb2_grpc.py +0 -0
  33. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_attachments_history_pb2.py +0 -0
  34. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
  35. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_attachments_pb2.py +0 -0
  36. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
  37. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_grants_history_pb2.py +0 -0
  38. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
  39. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_grants_pb2.py +0 -0
  40. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_grants_pb2_grpc.py +0 -0
  41. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_permissions_pb2.py +0 -0
  42. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
  43. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_resources_history_pb2.py +0 -0
  44. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
  45. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_resources_pb2.py +0 -0
  46. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/account_resources_pb2_grpc.py +0 -0
  47. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/accounts_history_pb2.py +0 -0
  48. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
  49. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/accounts_pb2.py +0 -0
  50. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/accounts_pb2_grpc.py +0 -0
  51. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/activities_pb2.py +0 -0
  52. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/activities_pb2_grpc.py +0 -0
  53. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_approvers_history_pb2.py +0 -0
  54. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
  55. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_approvers_pb2.py +0 -0
  56. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +0 -0
  57. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_steps_history_pb2.py +0 -0
  58. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
  59. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_steps_pb2.py +0 -0
  60. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflow_steps_pb2_grpc.py +0 -0
  61. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflows_history_pb2.py +0 -0
  62. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
  63. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
  64. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/constants.py +0 -0
  65. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/control_panel_pb2.py +0 -0
  66. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/control_panel_pb2_grpc.py +0 -0
  67. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/drivers_pb2_grpc.py +0 -0
  68. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/errors.py +0 -0
  69. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/health_checks_pb2.py +0 -0
  70. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/health_checks_pb2_grpc.py +0 -0
  71. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_aliases_history_pb2.py +0 -0
  72. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_aliases_history_pb2_grpc.py +0 -0
  73. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_aliases_pb2.py +0 -0
  74. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_aliases_pb2_grpc.py +0 -0
  75. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_sets_history_pb2.py +0 -0
  76. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_sets_history_pb2_grpc.py +0 -0
  77. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_sets_pb2.py +0 -0
  78. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/identity_sets_pb2_grpc.py +0 -0
  79. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/managed_secrets_pb2.py +0 -0
  80. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/managed_secrets_pb2_grpc.py +0 -0
  81. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/nodes_history_pb2.py +0 -0
  82. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
  83. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/nodes_pb2.py +0 -0
  84. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/nodes_pb2_grpc.py +0 -0
  85. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/options_pb2.py +0 -0
  86. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/options_pb2_grpc.py +0 -0
  87. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/organization_history_pb2.py +0 -0
  88. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/organization_history_pb2_grpc.py +0 -0
  89. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_group_nodes_pb2.py +0 -0
  90. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
  91. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_group_peers_pb2.py +0 -0
  92. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
  93. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_group_resources_pb2.py +0 -0
  94. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
  95. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_groups_pb2.py +0 -0
  96. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
  97. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/policies_history_pb2.py +0 -0
  98. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/policies_history_pb2_grpc.py +0 -0
  99. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/policies_pb2.py +0 -0
  100. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/policies_pb2_grpc.py +0 -0
  101. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/proxy_cluster_keys_pb2.py +0 -0
  102. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/proxy_cluster_keys_pb2_grpc.py +0 -0
  103. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/queries_pb2.py +0 -0
  104. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/queries_pb2_grpc.py +0 -0
  105. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identities_history_pb2.py +0 -0
  106. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
  107. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identities_pb2.py +0 -0
  108. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
  109. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identity_groups_history_pb2.py +0 -0
  110. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
  111. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identity_groups_pb2.py +0 -0
  112. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
  113. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/replays_pb2.py +0 -0
  114. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/replays_pb2_grpc.py +0 -0
  115. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/resources_history_pb2.py +0 -0
  116. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/resources_history_pb2_grpc.py +0 -0
  117. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/resources_pb2.py +0 -0
  118. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/resources_pb2_grpc.py +0 -0
  119. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/role_resources_history_pb2.py +0 -0
  120. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
  121. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/role_resources_pb2.py +0 -0
  122. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/role_resources_pb2_grpc.py +0 -0
  123. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/roles_history_pb2.py +0 -0
  124. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/roles_history_pb2_grpc.py +0 -0
  125. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/roles_pb2.py +0 -0
  126. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/roles_pb2_grpc.py +0 -0
  127. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_engine_policy_pb2.py +0 -0
  128. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_engine_policy_pb2_grpc.py +0 -0
  129. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_engine_types_pb2.py +0 -0
  130. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_engine_types_pb2_grpc.py +0 -0
  131. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_engines_pb2.py +0 -0
  132. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_engines_pb2_grpc.py +0 -0
  133. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_store_healths_pb2.py +0 -0
  134. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
  135. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_store_types_pb2.py +0 -0
  136. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
  137. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_stores_history_pb2.py +0 -0
  138. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
  139. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_stores_pb2.py +0 -0
  140. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
  141. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/spec_pb2.py +0 -0
  142. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/spec_pb2_grpc.py +0 -0
  143. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/tags_pb2.py +0 -0
  144. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/tags_pb2_grpc.py +0 -0
  145. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_approvers_history_pb2.py +0 -0
  146. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
  147. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_approvers_pb2.py +0 -0
  148. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
  149. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_roles_history_pb2.py +0 -0
  150. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
  151. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_roles_pb2.py +0 -0
  152. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
  153. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflows_history_pb2.py +0 -0
  154. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
  155. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflows_pb2.py +0 -0
  156. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm/workflows_pb2_grpc.py +0 -0
  157. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm.egg-info/dependency_links.txt +0 -0
  158. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm.egg-info/requires.txt +0 -0
  159. {strongdm-15.13.0 → strongdm-15.15.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -39,6 +39,8 @@ from .account_permissions_pb2 import *
39
39
  from .account_resources_pb2 import *
40
40
  from .account_resources_history_pb2 import *
41
41
  from .accounts_pb2 import *
42
+ from .accounts_groups_pb2 import *
43
+ from .accounts_groups_history_pb2 import *
42
44
  from .accounts_history_pb2 import *
43
45
  from .activities_pb2 import *
44
46
  from .approval_workflow_approvers_pb2 import *
@@ -49,6 +51,10 @@ from .approval_workflows_pb2 import *
49
51
  from .approval_workflows_history_pb2 import *
50
52
  from .control_panel_pb2 import *
51
53
  from .roles_pb2 import *
54
+ from .groups_pb2 import *
55
+ from .groups_history_pb2 import *
56
+ from .groups_roles_pb2 import *
57
+ from .groups_roles_history_pb2 import *
52
58
  from .health_checks_pb2 import *
53
59
  from .identity_aliases_pb2 import *
54
60
  from .identity_aliases_history_pb2 import *
@@ -1691,6 +1697,344 @@ def convert_repeated_account_grant_history_to_porcelain(plumbings):
1691
1697
  ]
1692
1698
 
1693
1699
 
1700
+ def convert_account_group_to_porcelain(plumbing):
1701
+ if plumbing is None:
1702
+ return None
1703
+ porcelain = models.AccountGroup()
1704
+ porcelain.account_id = (plumbing.account_id)
1705
+ porcelain.group_id = (plumbing.group_id)
1706
+ porcelain.id = (plumbing.id)
1707
+ return porcelain
1708
+
1709
+
1710
+ def convert_account_group_to_plumbing(porcelain):
1711
+ plumbing = AccountGroup()
1712
+ if porcelain is None:
1713
+ return plumbing
1714
+ plumbing.account_id = (porcelain.account_id)
1715
+ plumbing.group_id = (porcelain.group_id)
1716
+ plumbing.id = (porcelain.id)
1717
+ return plumbing
1718
+
1719
+
1720
+ def convert_repeated_account_group_to_plumbing(porcelains):
1721
+ return [
1722
+ convert_account_group_to_plumbing(porcelain)
1723
+ for porcelain in porcelains
1724
+ ]
1725
+
1726
+
1727
+ def convert_repeated_account_group_to_porcelain(plumbings):
1728
+ return [
1729
+ convert_account_group_to_porcelain(plumbing) for plumbing in plumbings
1730
+ ]
1731
+
1732
+
1733
+ def convert_account_group_create_request_to_porcelain(plumbing):
1734
+ if plumbing is None:
1735
+ return None
1736
+ porcelain = models.AccountGroupCreateRequest()
1737
+ porcelain.account_group = convert_account_group_to_porcelain(
1738
+ plumbing.account_group)
1739
+ return porcelain
1740
+
1741
+
1742
+ def convert_account_group_create_request_to_plumbing(porcelain):
1743
+ plumbing = AccountGroupCreateRequest()
1744
+ if porcelain is None:
1745
+ return plumbing
1746
+ plumbing.account_group.CopyFrom(
1747
+ convert_account_group_to_plumbing(porcelain.account_group))
1748
+ return plumbing
1749
+
1750
+
1751
+ def convert_repeated_account_group_create_request_to_plumbing(porcelains):
1752
+ return [
1753
+ convert_account_group_create_request_to_plumbing(porcelain)
1754
+ for porcelain in porcelains
1755
+ ]
1756
+
1757
+
1758
+ def convert_repeated_account_group_create_request_to_porcelain(plumbings):
1759
+ return [
1760
+ convert_account_group_create_request_to_porcelain(plumbing)
1761
+ for plumbing in plumbings
1762
+ ]
1763
+
1764
+
1765
+ def convert_account_group_create_response_to_porcelain(plumbing):
1766
+ if plumbing is None:
1767
+ return None
1768
+ porcelain = models.AccountGroupCreateResponse()
1769
+ porcelain.account_group = convert_account_group_to_porcelain(
1770
+ plumbing.account_group)
1771
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
1772
+ plumbing.rate_limit)
1773
+ return porcelain
1774
+
1775
+
1776
+ def convert_account_group_create_response_to_plumbing(porcelain):
1777
+ plumbing = AccountGroupCreateResponse()
1778
+ if porcelain is None:
1779
+ return plumbing
1780
+ plumbing.account_group.CopyFrom(
1781
+ convert_account_group_to_plumbing(porcelain.account_group))
1782
+ plumbing.rate_limit.CopyFrom(
1783
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
1784
+ return plumbing
1785
+
1786
+
1787
+ def convert_repeated_account_group_create_response_to_plumbing(porcelains):
1788
+ return [
1789
+ convert_account_group_create_response_to_plumbing(porcelain)
1790
+ for porcelain in porcelains
1791
+ ]
1792
+
1793
+
1794
+ def convert_repeated_account_group_create_response_to_porcelain(plumbings):
1795
+ return [
1796
+ convert_account_group_create_response_to_porcelain(plumbing)
1797
+ for plumbing in plumbings
1798
+ ]
1799
+
1800
+
1801
+ def convert_account_group_delete_request_to_porcelain(plumbing):
1802
+ if plumbing is None:
1803
+ return None
1804
+ porcelain = models.AccountGroupDeleteRequest()
1805
+ porcelain.id = (plumbing.id)
1806
+ return porcelain
1807
+
1808
+
1809
+ def convert_account_group_delete_request_to_plumbing(porcelain):
1810
+ plumbing = AccountGroupDeleteRequest()
1811
+ if porcelain is None:
1812
+ return plumbing
1813
+ plumbing.id = (porcelain.id)
1814
+ return plumbing
1815
+
1816
+
1817
+ def convert_repeated_account_group_delete_request_to_plumbing(porcelains):
1818
+ return [
1819
+ convert_account_group_delete_request_to_plumbing(porcelain)
1820
+ for porcelain in porcelains
1821
+ ]
1822
+
1823
+
1824
+ def convert_repeated_account_group_delete_request_to_porcelain(plumbings):
1825
+ return [
1826
+ convert_account_group_delete_request_to_porcelain(plumbing)
1827
+ for plumbing in plumbings
1828
+ ]
1829
+
1830
+
1831
+ def convert_account_group_delete_response_to_porcelain(plumbing):
1832
+ if plumbing is None:
1833
+ return None
1834
+ porcelain = models.AccountGroupDeleteResponse()
1835
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(
1836
+ plumbing.meta)
1837
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
1838
+ plumbing.rate_limit)
1839
+ return porcelain
1840
+
1841
+
1842
+ def convert_account_group_delete_response_to_plumbing(porcelain):
1843
+ plumbing = AccountGroupDeleteResponse()
1844
+ if porcelain is None:
1845
+ return plumbing
1846
+ plumbing.meta.CopyFrom(
1847
+ convert_delete_response_metadata_to_plumbing(porcelain.meta))
1848
+ plumbing.rate_limit.CopyFrom(
1849
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
1850
+ return plumbing
1851
+
1852
+
1853
+ def convert_repeated_account_group_delete_response_to_plumbing(porcelains):
1854
+ return [
1855
+ convert_account_group_delete_response_to_plumbing(porcelain)
1856
+ for porcelain in porcelains
1857
+ ]
1858
+
1859
+
1860
+ def convert_repeated_account_group_delete_response_to_porcelain(plumbings):
1861
+ return [
1862
+ convert_account_group_delete_response_to_porcelain(plumbing)
1863
+ for plumbing in plumbings
1864
+ ]
1865
+
1866
+
1867
+ def convert_account_group_get_request_to_porcelain(plumbing):
1868
+ if plumbing is None:
1869
+ return None
1870
+ porcelain = models.AccountGroupGetRequest()
1871
+ porcelain.id = (plumbing.id)
1872
+ return porcelain
1873
+
1874
+
1875
+ def convert_account_group_get_request_to_plumbing(porcelain):
1876
+ plumbing = AccountGroupGetRequest()
1877
+ if porcelain is None:
1878
+ return plumbing
1879
+ plumbing.id = (porcelain.id)
1880
+ return plumbing
1881
+
1882
+
1883
+ def convert_repeated_account_group_get_request_to_plumbing(porcelains):
1884
+ return [
1885
+ convert_account_group_get_request_to_plumbing(porcelain)
1886
+ for porcelain in porcelains
1887
+ ]
1888
+
1889
+
1890
+ def convert_repeated_account_group_get_request_to_porcelain(plumbings):
1891
+ return [
1892
+ convert_account_group_get_request_to_porcelain(plumbing)
1893
+ for plumbing in plumbings
1894
+ ]
1895
+
1896
+
1897
+ def convert_account_group_get_response_to_porcelain(plumbing):
1898
+ if plumbing is None:
1899
+ return None
1900
+ porcelain = models.AccountGroupGetResponse()
1901
+ porcelain.account_group = convert_account_group_to_porcelain(
1902
+ plumbing.account_group)
1903
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
1904
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
1905
+ plumbing.rate_limit)
1906
+ return porcelain
1907
+
1908
+
1909
+ def convert_account_group_get_response_to_plumbing(porcelain):
1910
+ plumbing = AccountGroupGetResponse()
1911
+ if porcelain is None:
1912
+ return plumbing
1913
+ plumbing.account_group.CopyFrom(
1914
+ convert_account_group_to_plumbing(porcelain.account_group))
1915
+ plumbing.meta.CopyFrom(
1916
+ convert_get_response_metadata_to_plumbing(porcelain.meta))
1917
+ plumbing.rate_limit.CopyFrom(
1918
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
1919
+ return plumbing
1920
+
1921
+
1922
+ def convert_repeated_account_group_get_response_to_plumbing(porcelains):
1923
+ return [
1924
+ convert_account_group_get_response_to_plumbing(porcelain)
1925
+ for porcelain in porcelains
1926
+ ]
1927
+
1928
+
1929
+ def convert_repeated_account_group_get_response_to_porcelain(plumbings):
1930
+ return [
1931
+ convert_account_group_get_response_to_porcelain(plumbing)
1932
+ for plumbing in plumbings
1933
+ ]
1934
+
1935
+
1936
+ def convert_account_group_history_to_porcelain(plumbing):
1937
+ if plumbing is None:
1938
+ return None
1939
+ porcelain = models.AccountGroupHistory()
1940
+ porcelain.account_group = convert_account_group_to_porcelain(
1941
+ plumbing.account_group)
1942
+ porcelain.activity_id = (plumbing.activity_id)
1943
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
1944
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
1945
+ return porcelain
1946
+
1947
+
1948
+ def convert_account_group_history_to_plumbing(porcelain):
1949
+ plumbing = AccountGroupHistory()
1950
+ if porcelain is None:
1951
+ return plumbing
1952
+ plumbing.account_group.CopyFrom(
1953
+ convert_account_group_to_plumbing(porcelain.account_group))
1954
+ plumbing.activity_id = (porcelain.activity_id)
1955
+ plumbing.deleted_at.CopyFrom(
1956
+ convert_timestamp_to_plumbing(porcelain.deleted_at))
1957
+ plumbing.timestamp.CopyFrom(
1958
+ convert_timestamp_to_plumbing(porcelain.timestamp))
1959
+ return plumbing
1960
+
1961
+
1962
+ def convert_repeated_account_group_history_to_plumbing(porcelains):
1963
+ return [
1964
+ convert_account_group_history_to_plumbing(porcelain)
1965
+ for porcelain in porcelains
1966
+ ]
1967
+
1968
+
1969
+ def convert_repeated_account_group_history_to_porcelain(plumbings):
1970
+ return [
1971
+ convert_account_group_history_to_porcelain(plumbing)
1972
+ for plumbing in plumbings
1973
+ ]
1974
+
1975
+
1976
+ def convert_account_group_list_request_to_porcelain(plumbing):
1977
+ if plumbing is None:
1978
+ return None
1979
+ porcelain = models.AccountGroupListRequest()
1980
+ porcelain.filter = (plumbing.filter)
1981
+ return porcelain
1982
+
1983
+
1984
+ def convert_account_group_list_request_to_plumbing(porcelain):
1985
+ plumbing = AccountGroupListRequest()
1986
+ if porcelain is None:
1987
+ return plumbing
1988
+ plumbing.filter = (porcelain.filter)
1989
+ return plumbing
1990
+
1991
+
1992
+ def convert_repeated_account_group_list_request_to_plumbing(porcelains):
1993
+ return [
1994
+ convert_account_group_list_request_to_plumbing(porcelain)
1995
+ for porcelain in porcelains
1996
+ ]
1997
+
1998
+
1999
+ def convert_repeated_account_group_list_request_to_porcelain(plumbings):
2000
+ return [
2001
+ convert_account_group_list_request_to_porcelain(plumbing)
2002
+ for plumbing in plumbings
2003
+ ]
2004
+
2005
+
2006
+ def convert_account_group_list_response_to_porcelain(plumbing):
2007
+ if plumbing is None:
2008
+ return None
2009
+ porcelain = models.AccountGroupListResponse()
2010
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
2011
+ plumbing.rate_limit)
2012
+ return porcelain
2013
+
2014
+
2015
+ def convert_account_group_list_response_to_plumbing(porcelain):
2016
+ plumbing = AccountGroupListResponse()
2017
+ if porcelain is None:
2018
+ return plumbing
2019
+ plumbing.rate_limit.CopyFrom(
2020
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
2021
+ return plumbing
2022
+
2023
+
2024
+ def convert_repeated_account_group_list_response_to_plumbing(porcelains):
2025
+ return [
2026
+ convert_account_group_list_response_to_plumbing(porcelain)
2027
+ for porcelain in porcelains
2028
+ ]
2029
+
2030
+
2031
+ def convert_repeated_account_group_list_response_to_porcelain(plumbings):
2032
+ return [
2033
+ convert_account_group_list_response_to_porcelain(plumbing)
2034
+ for plumbing in plumbings
2035
+ ]
2036
+
2037
+
1694
2038
  def convert_account_history_to_porcelain(plumbing):
1695
2039
  if plumbing is None:
1696
2040
  return None
@@ -2683,6 +3027,7 @@ def convert_approval_flow_approver_to_porcelain(plumbing):
2683
3027
  return None
2684
3028
  porcelain = models.ApprovalFlowApprover()
2685
3029
  porcelain.account_id = (plumbing.account_id)
3030
+ porcelain.group_id = (plumbing.group_id)
2686
3031
  porcelain.reference = (plumbing.reference)
2687
3032
  porcelain.role_id = (plumbing.role_id)
2688
3033
  return porcelain
@@ -2693,6 +3038,7 @@ def convert_approval_flow_approver_to_plumbing(porcelain):
2693
3038
  if porcelain is None:
2694
3039
  return plumbing
2695
3040
  plumbing.account_id = (porcelain.account_id)
3041
+ plumbing.group_id = (porcelain.group_id)
2696
3042
  plumbing.reference = (porcelain.reference)
2697
3043
  plumbing.role_id = (porcelain.role_id)
2698
3044
  return plumbing
@@ -6336,21 +6682,866 @@ def convert_repeated_greenplum_to_porcelain(plumbings):
6336
6682
  return [convert_greenplum_to_porcelain(plumbing) for plumbing in plumbings]
6337
6683
 
6338
6684
 
6339
- def convert_http_auth_to_porcelain(plumbing):
6685
+ def convert_group_to_porcelain(plumbing):
6340
6686
  if plumbing is None:
6341
6687
  return None
6342
- porcelain = models.HTTPAuth()
6343
- porcelain.auth_header = (plumbing.auth_header)
6344
- porcelain.bind_interface = (plumbing.bind_interface)
6345
- porcelain.default_path = (plumbing.default_path)
6346
- porcelain.egress_filter = (plumbing.egress_filter)
6347
- porcelain.headers_blacklist = (plumbing.headers_blacklist)
6348
- porcelain.healthcheck_path = (plumbing.healthcheck_path)
6349
- porcelain.healthy = (plumbing.healthy)
6350
- porcelain.host_override = (plumbing.host_override)
6688
+ porcelain = models.Group()
6689
+ porcelain.description = (plumbing.description)
6351
6690
  porcelain.id = (plumbing.id)
6352
6691
  porcelain.name = (plumbing.name)
6353
- porcelain.port_override = (plumbing.port_override)
6692
+ porcelain.source = (plumbing.source)
6693
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
6694
+ return porcelain
6695
+
6696
+
6697
+ def convert_group_to_plumbing(porcelain):
6698
+ plumbing = Group()
6699
+ if porcelain is None:
6700
+ return plumbing
6701
+ plumbing.description = (porcelain.description)
6702
+ plumbing.id = (porcelain.id)
6703
+ plumbing.name = (porcelain.name)
6704
+ plumbing.source = (porcelain.source)
6705
+ plumbing.tags.CopyFrom(convert_tags_to_plumbing(porcelain.tags))
6706
+ return plumbing
6707
+
6708
+
6709
+ def convert_repeated_group_to_plumbing(porcelains):
6710
+ return [convert_group_to_plumbing(porcelain) for porcelain in porcelains]
6711
+
6712
+
6713
+ def convert_repeated_group_to_porcelain(plumbings):
6714
+ return [convert_group_to_porcelain(plumbing) for plumbing in plumbings]
6715
+
6716
+
6717
+ def convert_group_create_from_roles_request_to_porcelain(plumbing):
6718
+ if plumbing is None:
6719
+ return None
6720
+ porcelain = models.GroupCreateFromRolesRequest()
6721
+ porcelain.commit = (plumbing.commit)
6722
+ porcelain.role_ids = (plumbing.role_ids)
6723
+ return porcelain
6724
+
6725
+
6726
+ def convert_group_create_from_roles_request_to_plumbing(porcelain):
6727
+ plumbing = GroupCreateFromRolesRequest()
6728
+ if porcelain is None:
6729
+ return plumbing
6730
+ plumbing.commit = (porcelain.commit)
6731
+ del plumbing.role_ids[:]
6732
+ plumbing.role_ids.extend((porcelain.role_ids))
6733
+ return plumbing
6734
+
6735
+
6736
+ def convert_repeated_group_create_from_roles_request_to_plumbing(porcelains):
6737
+ return [
6738
+ convert_group_create_from_roles_request_to_plumbing(porcelain)
6739
+ for porcelain in porcelains
6740
+ ]
6741
+
6742
+
6743
+ def convert_repeated_group_create_from_roles_request_to_porcelain(plumbings):
6744
+ return [
6745
+ convert_group_create_from_roles_request_to_porcelain(plumbing)
6746
+ for plumbing in plumbings
6747
+ ]
6748
+
6749
+
6750
+ def convert_group_create_from_roles_response_to_porcelain(plumbing):
6751
+ if plumbing is None:
6752
+ return None
6753
+ porcelain = models.GroupCreateFromRolesResponse()
6754
+ porcelain.group_from_role = convert_repeated_group_from_role_to_porcelain(
6755
+ plumbing.group_from_role)
6756
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
6757
+ plumbing.rate_limit)
6758
+ return porcelain
6759
+
6760
+
6761
+ def convert_group_create_from_roles_response_to_plumbing(porcelain):
6762
+ plumbing = GroupCreateFromRolesResponse()
6763
+ if porcelain is None:
6764
+ return plumbing
6765
+ del plumbing.group_from_role[:]
6766
+ plumbing.group_from_role.extend(
6767
+ convert_repeated_group_from_role_to_plumbing(
6768
+ porcelain.group_from_role))
6769
+ plumbing.rate_limit.CopyFrom(
6770
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
6771
+ return plumbing
6772
+
6773
+
6774
+ def convert_repeated_group_create_from_roles_response_to_plumbing(porcelains):
6775
+ return [
6776
+ convert_group_create_from_roles_response_to_plumbing(porcelain)
6777
+ for porcelain in porcelains
6778
+ ]
6779
+
6780
+
6781
+ def convert_repeated_group_create_from_roles_response_to_porcelain(plumbings):
6782
+ return [
6783
+ convert_group_create_from_roles_response_to_porcelain(plumbing)
6784
+ for plumbing in plumbings
6785
+ ]
6786
+
6787
+
6788
+ def convert_group_create_request_to_porcelain(plumbing):
6789
+ if plumbing is None:
6790
+ return None
6791
+ porcelain = models.GroupCreateRequest()
6792
+ porcelain.group = convert_group_to_porcelain(plumbing.group)
6793
+ return porcelain
6794
+
6795
+
6796
+ def convert_group_create_request_to_plumbing(porcelain):
6797
+ plumbing = GroupCreateRequest()
6798
+ if porcelain is None:
6799
+ return plumbing
6800
+ plumbing.group.CopyFrom(convert_group_to_plumbing(porcelain.group))
6801
+ return plumbing
6802
+
6803
+
6804
+ def convert_repeated_group_create_request_to_plumbing(porcelains):
6805
+ return [
6806
+ convert_group_create_request_to_plumbing(porcelain)
6807
+ for porcelain in porcelains
6808
+ ]
6809
+
6810
+
6811
+ def convert_repeated_group_create_request_to_porcelain(plumbings):
6812
+ return [
6813
+ convert_group_create_request_to_porcelain(plumbing)
6814
+ for plumbing in plumbings
6815
+ ]
6816
+
6817
+
6818
+ def convert_group_create_response_to_porcelain(plumbing):
6819
+ if plumbing is None:
6820
+ return None
6821
+ porcelain = models.GroupCreateResponse()
6822
+ porcelain.group = convert_group_to_porcelain(plumbing.group)
6823
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
6824
+ plumbing.rate_limit)
6825
+ return porcelain
6826
+
6827
+
6828
+ def convert_group_create_response_to_plumbing(porcelain):
6829
+ plumbing = GroupCreateResponse()
6830
+ if porcelain is None:
6831
+ return plumbing
6832
+ plumbing.group.CopyFrom(convert_group_to_plumbing(porcelain.group))
6833
+ plumbing.rate_limit.CopyFrom(
6834
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
6835
+ return plumbing
6836
+
6837
+
6838
+ def convert_repeated_group_create_response_to_plumbing(porcelains):
6839
+ return [
6840
+ convert_group_create_response_to_plumbing(porcelain)
6841
+ for porcelain in porcelains
6842
+ ]
6843
+
6844
+
6845
+ def convert_repeated_group_create_response_to_porcelain(plumbings):
6846
+ return [
6847
+ convert_group_create_response_to_porcelain(plumbing)
6848
+ for plumbing in plumbings
6849
+ ]
6850
+
6851
+
6852
+ def convert_group_delete_request_to_porcelain(plumbing):
6853
+ if plumbing is None:
6854
+ return None
6855
+ porcelain = models.GroupDeleteRequest()
6856
+ porcelain.id = (plumbing.id)
6857
+ return porcelain
6858
+
6859
+
6860
+ def convert_group_delete_request_to_plumbing(porcelain):
6861
+ plumbing = GroupDeleteRequest()
6862
+ if porcelain is None:
6863
+ return plumbing
6864
+ plumbing.id = (porcelain.id)
6865
+ return plumbing
6866
+
6867
+
6868
+ def convert_repeated_group_delete_request_to_plumbing(porcelains):
6869
+ return [
6870
+ convert_group_delete_request_to_plumbing(porcelain)
6871
+ for porcelain in porcelains
6872
+ ]
6873
+
6874
+
6875
+ def convert_repeated_group_delete_request_to_porcelain(plumbings):
6876
+ return [
6877
+ convert_group_delete_request_to_porcelain(plumbing)
6878
+ for plumbing in plumbings
6879
+ ]
6880
+
6881
+
6882
+ def convert_group_delete_response_to_porcelain(plumbing):
6883
+ if plumbing is None:
6884
+ return None
6885
+ porcelain = models.GroupDeleteResponse()
6886
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(
6887
+ plumbing.meta)
6888
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
6889
+ plumbing.rate_limit)
6890
+ return porcelain
6891
+
6892
+
6893
+ def convert_group_delete_response_to_plumbing(porcelain):
6894
+ plumbing = GroupDeleteResponse()
6895
+ if porcelain is None:
6896
+ return plumbing
6897
+ plumbing.meta.CopyFrom(
6898
+ convert_delete_response_metadata_to_plumbing(porcelain.meta))
6899
+ plumbing.rate_limit.CopyFrom(
6900
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
6901
+ return plumbing
6902
+
6903
+
6904
+ def convert_repeated_group_delete_response_to_plumbing(porcelains):
6905
+ return [
6906
+ convert_group_delete_response_to_plumbing(porcelain)
6907
+ for porcelain in porcelains
6908
+ ]
6909
+
6910
+
6911
+ def convert_repeated_group_delete_response_to_porcelain(plumbings):
6912
+ return [
6913
+ convert_group_delete_response_to_porcelain(plumbing)
6914
+ for plumbing in plumbings
6915
+ ]
6916
+
6917
+
6918
+ def convert_group_from_role_to_porcelain(plumbing):
6919
+ if plumbing is None:
6920
+ return None
6921
+ porcelain = models.GroupFromRole()
6922
+ porcelain.accounts = convert_repeated_user_to_porcelain(plumbing.accounts)
6923
+ porcelain.approval_flows = convert_repeated_approval_workflow_to_porcelain(
6924
+ plumbing.approval_flows)
6925
+ porcelain.group = convert_group_to_porcelain(plumbing.group)
6926
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
6927
+ plumbing.rate_limit)
6928
+ porcelain.role = convert_role_to_porcelain(plumbing.role)
6929
+ return porcelain
6930
+
6931
+
6932
+ def convert_group_from_role_to_plumbing(porcelain):
6933
+ plumbing = GroupFromRole()
6934
+ if porcelain is None:
6935
+ return plumbing
6936
+ del plumbing.accounts[:]
6937
+ plumbing.accounts.extend(
6938
+ convert_repeated_user_to_plumbing(porcelain.accounts))
6939
+ del plumbing.approval_flows[:]
6940
+ plumbing.approval_flows.extend(
6941
+ convert_repeated_approval_workflow_to_plumbing(
6942
+ porcelain.approval_flows))
6943
+ plumbing.group.CopyFrom(convert_group_to_plumbing(porcelain.group))
6944
+ plumbing.rate_limit.CopyFrom(
6945
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
6946
+ plumbing.role.CopyFrom(convert_role_to_plumbing(porcelain.role))
6947
+ return plumbing
6948
+
6949
+
6950
+ def convert_repeated_group_from_role_to_plumbing(porcelains):
6951
+ return [
6952
+ convert_group_from_role_to_plumbing(porcelain)
6953
+ for porcelain in porcelains
6954
+ ]
6955
+
6956
+
6957
+ def convert_repeated_group_from_role_to_porcelain(plumbings):
6958
+ return [
6959
+ convert_group_from_role_to_porcelain(plumbing)
6960
+ for plumbing in plumbings
6961
+ ]
6962
+
6963
+
6964
+ def convert_group_get_request_to_porcelain(plumbing):
6965
+ if plumbing is None:
6966
+ return None
6967
+ porcelain = models.GroupGetRequest()
6968
+ porcelain.id = (plumbing.id)
6969
+ return porcelain
6970
+
6971
+
6972
+ def convert_group_get_request_to_plumbing(porcelain):
6973
+ plumbing = GroupGetRequest()
6974
+ if porcelain is None:
6975
+ return plumbing
6976
+ plumbing.id = (porcelain.id)
6977
+ return plumbing
6978
+
6979
+
6980
+ def convert_repeated_group_get_request_to_plumbing(porcelains):
6981
+ return [
6982
+ convert_group_get_request_to_plumbing(porcelain)
6983
+ for porcelain in porcelains
6984
+ ]
6985
+
6986
+
6987
+ def convert_repeated_group_get_request_to_porcelain(plumbings):
6988
+ return [
6989
+ convert_group_get_request_to_porcelain(plumbing)
6990
+ for plumbing in plumbings
6991
+ ]
6992
+
6993
+
6994
+ def convert_group_get_response_to_porcelain(plumbing):
6995
+ if plumbing is None:
6996
+ return None
6997
+ porcelain = models.GroupGetResponse()
6998
+ porcelain.group = convert_group_to_porcelain(plumbing.group)
6999
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
7000
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
7001
+ plumbing.rate_limit)
7002
+ return porcelain
7003
+
7004
+
7005
+ def convert_group_get_response_to_plumbing(porcelain):
7006
+ plumbing = GroupGetResponse()
7007
+ if porcelain is None:
7008
+ return plumbing
7009
+ plumbing.group.CopyFrom(convert_group_to_plumbing(porcelain.group))
7010
+ plumbing.meta.CopyFrom(
7011
+ convert_get_response_metadata_to_plumbing(porcelain.meta))
7012
+ plumbing.rate_limit.CopyFrom(
7013
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
7014
+ return plumbing
7015
+
7016
+
7017
+ def convert_repeated_group_get_response_to_plumbing(porcelains):
7018
+ return [
7019
+ convert_group_get_response_to_plumbing(porcelain)
7020
+ for porcelain in porcelains
7021
+ ]
7022
+
7023
+
7024
+ def convert_repeated_group_get_response_to_porcelain(plumbings):
7025
+ return [
7026
+ convert_group_get_response_to_porcelain(plumbing)
7027
+ for plumbing in plumbings
7028
+ ]
7029
+
7030
+
7031
+ def convert_group_history_to_porcelain(plumbing):
7032
+ if plumbing is None:
7033
+ return None
7034
+ porcelain = models.GroupHistory()
7035
+ porcelain.activity_id = (plumbing.activity_id)
7036
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
7037
+ porcelain.group = convert_group_to_porcelain(plumbing.group)
7038
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
7039
+ return porcelain
7040
+
7041
+
7042
+ def convert_group_history_to_plumbing(porcelain):
7043
+ plumbing = GroupHistory()
7044
+ if porcelain is None:
7045
+ return plumbing
7046
+ plumbing.activity_id = (porcelain.activity_id)
7047
+ plumbing.deleted_at.CopyFrom(
7048
+ convert_timestamp_to_plumbing(porcelain.deleted_at))
7049
+ plumbing.group.CopyFrom(convert_group_to_plumbing(porcelain.group))
7050
+ plumbing.timestamp.CopyFrom(
7051
+ convert_timestamp_to_plumbing(porcelain.timestamp))
7052
+ return plumbing
7053
+
7054
+
7055
+ def convert_repeated_group_history_to_plumbing(porcelains):
7056
+ return [
7057
+ convert_group_history_to_plumbing(porcelain)
7058
+ for porcelain in porcelains
7059
+ ]
7060
+
7061
+
7062
+ def convert_repeated_group_history_to_porcelain(plumbings):
7063
+ return [
7064
+ convert_group_history_to_porcelain(plumbing) for plumbing in plumbings
7065
+ ]
7066
+
7067
+
7068
+ def convert_group_list_request_to_porcelain(plumbing):
7069
+ if plumbing is None:
7070
+ return None
7071
+ porcelain = models.GroupListRequest()
7072
+ porcelain.filter = (plumbing.filter)
7073
+ return porcelain
7074
+
7075
+
7076
+ def convert_group_list_request_to_plumbing(porcelain):
7077
+ plumbing = GroupListRequest()
7078
+ if porcelain is None:
7079
+ return plumbing
7080
+ plumbing.filter = (porcelain.filter)
7081
+ return plumbing
7082
+
7083
+
7084
+ def convert_repeated_group_list_request_to_plumbing(porcelains):
7085
+ return [
7086
+ convert_group_list_request_to_plumbing(porcelain)
7087
+ for porcelain in porcelains
7088
+ ]
7089
+
7090
+
7091
+ def convert_repeated_group_list_request_to_porcelain(plumbings):
7092
+ return [
7093
+ convert_group_list_request_to_porcelain(plumbing)
7094
+ for plumbing in plumbings
7095
+ ]
7096
+
7097
+
7098
+ def convert_group_list_response_to_porcelain(plumbing):
7099
+ if plumbing is None:
7100
+ return None
7101
+ porcelain = models.GroupListResponse()
7102
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
7103
+ plumbing.rate_limit)
7104
+ return porcelain
7105
+
7106
+
7107
+ def convert_group_list_response_to_plumbing(porcelain):
7108
+ plumbing = GroupListResponse()
7109
+ if porcelain is None:
7110
+ return plumbing
7111
+ plumbing.rate_limit.CopyFrom(
7112
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
7113
+ return plumbing
7114
+
7115
+
7116
+ def convert_repeated_group_list_response_to_plumbing(porcelains):
7117
+ return [
7118
+ convert_group_list_response_to_plumbing(porcelain)
7119
+ for porcelain in porcelains
7120
+ ]
7121
+
7122
+
7123
+ def convert_repeated_group_list_response_to_porcelain(plumbings):
7124
+ return [
7125
+ convert_group_list_response_to_porcelain(plumbing)
7126
+ for plumbing in plumbings
7127
+ ]
7128
+
7129
+
7130
+ def convert_group_role_to_porcelain(plumbing):
7131
+ if plumbing is None:
7132
+ return None
7133
+ porcelain = models.GroupRole()
7134
+ porcelain.group_id = (plumbing.group_id)
7135
+ porcelain.id = (plumbing.id)
7136
+ porcelain.role_id = (plumbing.role_id)
7137
+ return porcelain
7138
+
7139
+
7140
+ def convert_group_role_to_plumbing(porcelain):
7141
+ plumbing = GroupRole()
7142
+ if porcelain is None:
7143
+ return plumbing
7144
+ plumbing.group_id = (porcelain.group_id)
7145
+ plumbing.id = (porcelain.id)
7146
+ plumbing.role_id = (porcelain.role_id)
7147
+ return plumbing
7148
+
7149
+
7150
+ def convert_repeated_group_role_to_plumbing(porcelains):
7151
+ return [
7152
+ convert_group_role_to_plumbing(porcelain) for porcelain in porcelains
7153
+ ]
7154
+
7155
+
7156
+ def convert_repeated_group_role_to_porcelain(plumbings):
7157
+ return [
7158
+ convert_group_role_to_porcelain(plumbing) for plumbing in plumbings
7159
+ ]
7160
+
7161
+
7162
+ def convert_group_role_create_request_to_porcelain(plumbing):
7163
+ if plumbing is None:
7164
+ return None
7165
+ porcelain = models.GroupRoleCreateRequest()
7166
+ porcelain.group_role = convert_group_role_to_porcelain(plumbing.group_role)
7167
+ return porcelain
7168
+
7169
+
7170
+ def convert_group_role_create_request_to_plumbing(porcelain):
7171
+ plumbing = GroupRoleCreateRequest()
7172
+ if porcelain is None:
7173
+ return plumbing
7174
+ plumbing.group_role.CopyFrom(
7175
+ convert_group_role_to_plumbing(porcelain.group_role))
7176
+ return plumbing
7177
+
7178
+
7179
+ def convert_repeated_group_role_create_request_to_plumbing(porcelains):
7180
+ return [
7181
+ convert_group_role_create_request_to_plumbing(porcelain)
7182
+ for porcelain in porcelains
7183
+ ]
7184
+
7185
+
7186
+ def convert_repeated_group_role_create_request_to_porcelain(plumbings):
7187
+ return [
7188
+ convert_group_role_create_request_to_porcelain(plumbing)
7189
+ for plumbing in plumbings
7190
+ ]
7191
+
7192
+
7193
+ def convert_group_role_create_response_to_porcelain(plumbing):
7194
+ if plumbing is None:
7195
+ return None
7196
+ porcelain = models.GroupRoleCreateResponse()
7197
+ porcelain.group_role = convert_group_role_to_porcelain(plumbing.group_role)
7198
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
7199
+ plumbing.rate_limit)
7200
+ return porcelain
7201
+
7202
+
7203
+ def convert_group_role_create_response_to_plumbing(porcelain):
7204
+ plumbing = GroupRoleCreateResponse()
7205
+ if porcelain is None:
7206
+ return plumbing
7207
+ plumbing.group_role.CopyFrom(
7208
+ convert_group_role_to_plumbing(porcelain.group_role))
7209
+ plumbing.rate_limit.CopyFrom(
7210
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
7211
+ return plumbing
7212
+
7213
+
7214
+ def convert_repeated_group_role_create_response_to_plumbing(porcelains):
7215
+ return [
7216
+ convert_group_role_create_response_to_plumbing(porcelain)
7217
+ for porcelain in porcelains
7218
+ ]
7219
+
7220
+
7221
+ def convert_repeated_group_role_create_response_to_porcelain(plumbings):
7222
+ return [
7223
+ convert_group_role_create_response_to_porcelain(plumbing)
7224
+ for plumbing in plumbings
7225
+ ]
7226
+
7227
+
7228
+ def convert_group_role_delete_request_to_porcelain(plumbing):
7229
+ if plumbing is None:
7230
+ return None
7231
+ porcelain = models.GroupRoleDeleteRequest()
7232
+ porcelain.id = (plumbing.id)
7233
+ return porcelain
7234
+
7235
+
7236
+ def convert_group_role_delete_request_to_plumbing(porcelain):
7237
+ plumbing = GroupRoleDeleteRequest()
7238
+ if porcelain is None:
7239
+ return plumbing
7240
+ plumbing.id = (porcelain.id)
7241
+ return plumbing
7242
+
7243
+
7244
+ def convert_repeated_group_role_delete_request_to_plumbing(porcelains):
7245
+ return [
7246
+ convert_group_role_delete_request_to_plumbing(porcelain)
7247
+ for porcelain in porcelains
7248
+ ]
7249
+
7250
+
7251
+ def convert_repeated_group_role_delete_request_to_porcelain(plumbings):
7252
+ return [
7253
+ convert_group_role_delete_request_to_porcelain(plumbing)
7254
+ for plumbing in plumbings
7255
+ ]
7256
+
7257
+
7258
+ def convert_group_role_delete_response_to_porcelain(plumbing):
7259
+ if plumbing is None:
7260
+ return None
7261
+ porcelain = models.GroupRoleDeleteResponse()
7262
+ porcelain.group_role = convert_group_role_to_porcelain(plumbing.group_role)
7263
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(
7264
+ plumbing.meta)
7265
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
7266
+ plumbing.rate_limit)
7267
+ return porcelain
7268
+
7269
+
7270
+ def convert_group_role_delete_response_to_plumbing(porcelain):
7271
+ plumbing = GroupRoleDeleteResponse()
7272
+ if porcelain is None:
7273
+ return plumbing
7274
+ plumbing.group_role.CopyFrom(
7275
+ convert_group_role_to_plumbing(porcelain.group_role))
7276
+ plumbing.meta.CopyFrom(
7277
+ convert_delete_response_metadata_to_plumbing(porcelain.meta))
7278
+ plumbing.rate_limit.CopyFrom(
7279
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
7280
+ return plumbing
7281
+
7282
+
7283
+ def convert_repeated_group_role_delete_response_to_plumbing(porcelains):
7284
+ return [
7285
+ convert_group_role_delete_response_to_plumbing(porcelain)
7286
+ for porcelain in porcelains
7287
+ ]
7288
+
7289
+
7290
+ def convert_repeated_group_role_delete_response_to_porcelain(plumbings):
7291
+ return [
7292
+ convert_group_role_delete_response_to_porcelain(plumbing)
7293
+ for plumbing in plumbings
7294
+ ]
7295
+
7296
+
7297
+ def convert_group_role_get_request_to_porcelain(plumbing):
7298
+ if plumbing is None:
7299
+ return None
7300
+ porcelain = models.GroupRoleGetRequest()
7301
+ porcelain.id = (plumbing.id)
7302
+ return porcelain
7303
+
7304
+
7305
+ def convert_group_role_get_request_to_plumbing(porcelain):
7306
+ plumbing = GroupRoleGetRequest()
7307
+ if porcelain is None:
7308
+ return plumbing
7309
+ plumbing.id = (porcelain.id)
7310
+ return plumbing
7311
+
7312
+
7313
+ def convert_repeated_group_role_get_request_to_plumbing(porcelains):
7314
+ return [
7315
+ convert_group_role_get_request_to_plumbing(porcelain)
7316
+ for porcelain in porcelains
7317
+ ]
7318
+
7319
+
7320
+ def convert_repeated_group_role_get_request_to_porcelain(plumbings):
7321
+ return [
7322
+ convert_group_role_get_request_to_porcelain(plumbing)
7323
+ for plumbing in plumbings
7324
+ ]
7325
+
7326
+
7327
+ def convert_group_role_get_response_to_porcelain(plumbing):
7328
+ if plumbing is None:
7329
+ return None
7330
+ porcelain = models.GroupRoleGetResponse()
7331
+ porcelain.group_role = convert_group_role_to_porcelain(plumbing.group_role)
7332
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
7333
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
7334
+ plumbing.rate_limit)
7335
+ return porcelain
7336
+
7337
+
7338
+ def convert_group_role_get_response_to_plumbing(porcelain):
7339
+ plumbing = GroupRoleGetResponse()
7340
+ if porcelain is None:
7341
+ return plumbing
7342
+ plumbing.group_role.CopyFrom(
7343
+ convert_group_role_to_plumbing(porcelain.group_role))
7344
+ plumbing.meta.CopyFrom(
7345
+ convert_get_response_metadata_to_plumbing(porcelain.meta))
7346
+ plumbing.rate_limit.CopyFrom(
7347
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
7348
+ return plumbing
7349
+
7350
+
7351
+ def convert_repeated_group_role_get_response_to_plumbing(porcelains):
7352
+ return [
7353
+ convert_group_role_get_response_to_plumbing(porcelain)
7354
+ for porcelain in porcelains
7355
+ ]
7356
+
7357
+
7358
+ def convert_repeated_group_role_get_response_to_porcelain(plumbings):
7359
+ return [
7360
+ convert_group_role_get_response_to_porcelain(plumbing)
7361
+ for plumbing in plumbings
7362
+ ]
7363
+
7364
+
7365
+ def convert_group_role_history_to_porcelain(plumbing):
7366
+ if plumbing is None:
7367
+ return None
7368
+ porcelain = models.GroupRoleHistory()
7369
+ porcelain.activity_id = (plumbing.activity_id)
7370
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
7371
+ porcelain.group_role = convert_group_role_to_porcelain(plumbing.group_role)
7372
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
7373
+ return porcelain
7374
+
7375
+
7376
+ def convert_group_role_history_to_plumbing(porcelain):
7377
+ plumbing = GroupRoleHistory()
7378
+ if porcelain is None:
7379
+ return plumbing
7380
+ plumbing.activity_id = (porcelain.activity_id)
7381
+ plumbing.deleted_at.CopyFrom(
7382
+ convert_timestamp_to_plumbing(porcelain.deleted_at))
7383
+ plumbing.group_role.CopyFrom(
7384
+ convert_group_role_to_plumbing(porcelain.group_role))
7385
+ plumbing.timestamp.CopyFrom(
7386
+ convert_timestamp_to_plumbing(porcelain.timestamp))
7387
+ return plumbing
7388
+
7389
+
7390
+ def convert_repeated_group_role_history_to_plumbing(porcelains):
7391
+ return [
7392
+ convert_group_role_history_to_plumbing(porcelain)
7393
+ for porcelain in porcelains
7394
+ ]
7395
+
7396
+
7397
+ def convert_repeated_group_role_history_to_porcelain(plumbings):
7398
+ return [
7399
+ convert_group_role_history_to_porcelain(plumbing)
7400
+ for plumbing in plumbings
7401
+ ]
7402
+
7403
+
7404
+ def convert_group_role_list_request_to_porcelain(plumbing):
7405
+ if plumbing is None:
7406
+ return None
7407
+ porcelain = models.GroupRoleListRequest()
7408
+ porcelain.filter = (plumbing.filter)
7409
+ return porcelain
7410
+
7411
+
7412
+ def convert_group_role_list_request_to_plumbing(porcelain):
7413
+ plumbing = GroupRoleListRequest()
7414
+ if porcelain is None:
7415
+ return plumbing
7416
+ plumbing.filter = (porcelain.filter)
7417
+ return plumbing
7418
+
7419
+
7420
+ def convert_repeated_group_role_list_request_to_plumbing(porcelains):
7421
+ return [
7422
+ convert_group_role_list_request_to_plumbing(porcelain)
7423
+ for porcelain in porcelains
7424
+ ]
7425
+
7426
+
7427
+ def convert_repeated_group_role_list_request_to_porcelain(plumbings):
7428
+ return [
7429
+ convert_group_role_list_request_to_porcelain(plumbing)
7430
+ for plumbing in plumbings
7431
+ ]
7432
+
7433
+
7434
+ def convert_group_role_list_response_to_porcelain(plumbing):
7435
+ if plumbing is None:
7436
+ return None
7437
+ porcelain = models.GroupRoleListResponse()
7438
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
7439
+ plumbing.rate_limit)
7440
+ return porcelain
7441
+
7442
+
7443
+ def convert_group_role_list_response_to_plumbing(porcelain):
7444
+ plumbing = GroupRoleListResponse()
7445
+ if porcelain is None:
7446
+ return plumbing
7447
+ plumbing.rate_limit.CopyFrom(
7448
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
7449
+ return plumbing
7450
+
7451
+
7452
+ def convert_repeated_group_role_list_response_to_plumbing(porcelains):
7453
+ return [
7454
+ convert_group_role_list_response_to_plumbing(porcelain)
7455
+ for porcelain in porcelains
7456
+ ]
7457
+
7458
+
7459
+ def convert_repeated_group_role_list_response_to_porcelain(plumbings):
7460
+ return [
7461
+ convert_group_role_list_response_to_porcelain(plumbing)
7462
+ for plumbing in plumbings
7463
+ ]
7464
+
7465
+
7466
+ def convert_group_update_request_to_porcelain(plumbing):
7467
+ if plumbing is None:
7468
+ return None
7469
+ porcelain = models.GroupUpdateRequest()
7470
+ porcelain.group = convert_group_to_porcelain(plumbing.group)
7471
+ return porcelain
7472
+
7473
+
7474
+ def convert_group_update_request_to_plumbing(porcelain):
7475
+ plumbing = GroupUpdateRequest()
7476
+ if porcelain is None:
7477
+ return plumbing
7478
+ plumbing.group.CopyFrom(convert_group_to_plumbing(porcelain.group))
7479
+ return plumbing
7480
+
7481
+
7482
+ def convert_repeated_group_update_request_to_plumbing(porcelains):
7483
+ return [
7484
+ convert_group_update_request_to_plumbing(porcelain)
7485
+ for porcelain in porcelains
7486
+ ]
7487
+
7488
+
7489
+ def convert_repeated_group_update_request_to_porcelain(plumbings):
7490
+ return [
7491
+ convert_group_update_request_to_porcelain(plumbing)
7492
+ for plumbing in plumbings
7493
+ ]
7494
+
7495
+
7496
+ def convert_group_update_response_to_porcelain(plumbing):
7497
+ if plumbing is None:
7498
+ return None
7499
+ porcelain = models.GroupUpdateResponse()
7500
+ porcelain.group = convert_group_to_porcelain(plumbing.group)
7501
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
7502
+ plumbing.rate_limit)
7503
+ return porcelain
7504
+
7505
+
7506
+ def convert_group_update_response_to_plumbing(porcelain):
7507
+ plumbing = GroupUpdateResponse()
7508
+ if porcelain is None:
7509
+ return plumbing
7510
+ plumbing.group.CopyFrom(convert_group_to_plumbing(porcelain.group))
7511
+ plumbing.rate_limit.CopyFrom(
7512
+ convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
7513
+ return plumbing
7514
+
7515
+
7516
+ def convert_repeated_group_update_response_to_plumbing(porcelains):
7517
+ return [
7518
+ convert_group_update_response_to_plumbing(porcelain)
7519
+ for porcelain in porcelains
7520
+ ]
7521
+
7522
+
7523
+ def convert_repeated_group_update_response_to_porcelain(plumbings):
7524
+ return [
7525
+ convert_group_update_response_to_porcelain(plumbing)
7526
+ for plumbing in plumbings
7527
+ ]
7528
+
7529
+
7530
+ def convert_http_auth_to_porcelain(plumbing):
7531
+ if plumbing is None:
7532
+ return None
7533
+ porcelain = models.HTTPAuth()
7534
+ porcelain.auth_header = (plumbing.auth_header)
7535
+ porcelain.bind_interface = (plumbing.bind_interface)
7536
+ porcelain.default_path = (plumbing.default_path)
7537
+ porcelain.egress_filter = (plumbing.egress_filter)
7538
+ porcelain.headers_blacklist = (plumbing.headers_blacklist)
7539
+ porcelain.healthcheck_path = (plumbing.healthcheck_path)
7540
+ porcelain.healthy = (plumbing.healthy)
7541
+ porcelain.host_override = (plumbing.host_override)
7542
+ porcelain.id = (plumbing.id)
7543
+ porcelain.name = (plumbing.name)
7544
+ porcelain.port_override = (plumbing.port_override)
6354
7545
  porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
6355
7546
  porcelain.secret_store_id = (plumbing.secret_store_id)
6356
7547
  porcelain.subdomain = (plumbing.subdomain)
@@ -7763,6 +8954,56 @@ def convert_repeated_log_config_to_porcelain(plumbings):
7763
8954
  ]
7764
8955
 
7765
8956
 
8957
+ def convert_mcp_to_porcelain(plumbing):
8958
+ if plumbing is None:
8959
+ return None
8960
+ porcelain = models.MCP()
8961
+ porcelain.bind_interface = (plumbing.bind_interface)
8962
+ porcelain.egress_filter = (plumbing.egress_filter)
8963
+ porcelain.healthy = (plumbing.healthy)
8964
+ porcelain.hostname = (plumbing.hostname)
8965
+ porcelain.id = (plumbing.id)
8966
+ porcelain.name = (plumbing.name)
8967
+ porcelain.password = (plumbing.password)
8968
+ porcelain.port = (plumbing.port)
8969
+ porcelain.port_override = (plumbing.port_override)
8970
+ porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
8971
+ porcelain.secret_store_id = (plumbing.secret_store_id)
8972
+ porcelain.subdomain = (plumbing.subdomain)
8973
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
8974
+ porcelain.username = (plumbing.username)
8975
+ return porcelain
8976
+
8977
+
8978
+ def convert_mcp_to_plumbing(porcelain):
8979
+ plumbing = MCP()
8980
+ if porcelain is None:
8981
+ return plumbing
8982
+ plumbing.bind_interface = (porcelain.bind_interface)
8983
+ plumbing.egress_filter = (porcelain.egress_filter)
8984
+ plumbing.healthy = (porcelain.healthy)
8985
+ plumbing.hostname = (porcelain.hostname)
8986
+ plumbing.id = (porcelain.id)
8987
+ plumbing.name = (porcelain.name)
8988
+ plumbing.password = (porcelain.password)
8989
+ plumbing.port = (porcelain.port)
8990
+ plumbing.port_override = (porcelain.port_override)
8991
+ plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
8992
+ plumbing.secret_store_id = (porcelain.secret_store_id)
8993
+ plumbing.subdomain = (porcelain.subdomain)
8994
+ plumbing.tags.CopyFrom(convert_tags_to_plumbing(porcelain.tags))
8995
+ plumbing.username = (porcelain.username)
8996
+ return plumbing
8997
+
8998
+
8999
+ def convert_repeated_mcp_to_plumbing(porcelains):
9000
+ return [convert_mcp_to_plumbing(porcelain) for porcelain in porcelains]
9001
+
9002
+
9003
+ def convert_repeated_mcp_to_porcelain(plumbings):
9004
+ return [convert_mcp_to_porcelain(plumbing) for plumbing in plumbings]
9005
+
9006
+
7766
9007
  def convert_mtls_mysql_to_porcelain(plumbing):
7767
9008
  if plumbing is None:
7768
9009
  return None
@@ -9664,6 +10905,7 @@ def convert_oracle_nne_to_porcelain(plumbing):
9664
10905
  porcelain.secret_store_id = (plumbing.secret_store_id)
9665
10906
  porcelain.subdomain = (plumbing.subdomain)
9666
10907
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
10908
+ porcelain.tls_required = (plumbing.tls_required)
9667
10909
  porcelain.username = (plumbing.username)
9668
10910
  return porcelain
9669
10911
 
@@ -9686,6 +10928,7 @@ def convert_oracle_nne_to_plumbing(porcelain):
9686
10928
  plumbing.secret_store_id = (porcelain.secret_store_id)
9687
10929
  plumbing.subdomain = (porcelain.subdomain)
9688
10930
  plumbing.tags.CopyFrom(convert_tags_to_plumbing(porcelain.tags))
10931
+ plumbing.tls_required = (porcelain.tls_required)
9689
10932
  plumbing.username = (porcelain.username)
9690
10933
  return plumbing
9691
10934
 
@@ -12429,6 +13672,8 @@ def convert_resource_to_plumbing(porcelain):
12429
13672
  convert_kubernetes_user_impersonation_to_plumbing(porcelain))
12430
13673
  if isinstance(porcelain, models.Maria):
12431
13674
  plumbing.maria.CopyFrom(convert_maria_to_plumbing(porcelain))
13675
+ if isinstance(porcelain, models.MCP):
13676
+ plumbing.mcp.CopyFrom(convert_mcp_to_plumbing(porcelain))
12432
13677
  if isinstance(porcelain, models.Memcached):
12433
13678
  plumbing.memcached.CopyFrom(convert_memcached_to_plumbing(porcelain))
12434
13679
  if isinstance(porcelain, models.Memsql):
@@ -12694,6 +13939,8 @@ def convert_resource_to_porcelain(plumbing):
12694
13939
  plumbing.kubernetes_user_impersonation)
12695
13940
  if plumbing.HasField('maria'):
12696
13941
  return convert_maria_to_porcelain(plumbing.maria)
13942
+ if plumbing.HasField('mcp'):
13943
+ return convert_mcp_to_porcelain(plumbing.mcp)
12697
13944
  if plumbing.HasField('memcached'):
12698
13945
  return convert_memcached_to_porcelain(plumbing.memcached)
12699
13946
  if plumbing.HasField('memsql'):