strongdm 1.0.29 → 1.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/.git/FETCH_HEAD +2 -2
  3. data/.git/ORIG_HEAD +1 -1
  4. data/.git/index +0 -0
  5. data/.git/logs/HEAD +4 -4
  6. data/.git/logs/refs/heads/development +1 -1
  7. data/.git/logs/refs/heads/master +2 -2
  8. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  9. data/.git/objects/pack/pack-bd71f14214724e8c4c6861a40129fd02fdf870bf.idx +0 -0
  10. data/.git/objects/pack/{pack-e8e4eaa32483a25559ca2593dcd15e1bdf43df31.pack → pack-bd71f14214724e8c4c6861a40129fd02fdf870bf.pack} +0 -0
  11. data/.git/packed-refs +6 -2
  12. data/.git/refs/heads/development +1 -1
  13. data/.git/refs/heads/master +1 -1
  14. data/doc/SDM/Azure.html +307 -0
  15. data/doc/SDM/AzureCertificate.html +307 -0
  16. data/doc/SDM/AzurePostgres.html +367 -0
  17. data/doc/SDM/BigQuery.html +2 -2
  18. data/doc/SDM/Cassandra.html +2 -2
  19. data/doc/SDM/Citus.html +2 -2
  20. data/doc/SDM/Clustrix.html +2 -2
  21. data/doc/SDM/Cockroach.html +2 -2
  22. data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
  23. data/doc/SDM/ControlPanelVerifyJWTResponse.html +2 -2
  24. data/doc/SDM/CreateResponseMetadata.html +2 -2
  25. data/doc/SDM/DB2LUW.html +2 -2
  26. data/doc/SDM/DB2i.html +2 -2
  27. data/doc/SDM/DeleteResponseMetadata.html +2 -2
  28. data/doc/SDM/DocumentDBHost.html +352 -0
  29. data/doc/SDM/DocumentDBReplicaSet.html +367 -0
  30. data/doc/SDM/Druid.html +2 -2
  31. data/doc/SDM/DynamoDB.html +2 -2
  32. data/doc/SDM/Elastic.html +2 -2
  33. data/doc/SDM/ElasticacheRedis.html +2 -2
  34. data/doc/SDM/GCP.html +292 -0
  35. data/doc/SDM/Gateway.html +2 -2
  36. data/doc/SDM/GetResponseMetadata.html +2 -2
  37. data/doc/SDM/GoogleGKE.html +2 -2
  38. data/doc/SDM/GoogleGKEUserImpersonation.html +2 -2
  39. data/doc/SDM/Greenplum.html +2 -2
  40. data/doc/SDM/HTTPAuth.html +2 -2
  41. data/doc/SDM/HTTPBasicAuth.html +2 -2
  42. data/doc/SDM/HTTPNoAuth.html +2 -2
  43. data/doc/SDM/Kubernetes.html +2 -2
  44. data/doc/SDM/KubernetesBasicAuth.html +2 -2
  45. data/doc/SDM/KubernetesServiceAccount.html +2 -2
  46. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +2 -2
  47. data/doc/SDM/KubernetesUserImpersonation.html +2 -2
  48. data/doc/SDM/Maria.html +2 -2
  49. data/doc/SDM/Memcached.html +2 -2
  50. data/doc/SDM/Memsql.html +2 -2
  51. data/doc/SDM/MongoHost.html +2 -2
  52. data/doc/SDM/MongoLegacyHost.html +2 -2
  53. data/doc/SDM/MongoLegacyReplicaset.html +2 -2
  54. data/doc/SDM/MongoReplicaSet.html +2 -2
  55. data/doc/SDM/MongoShardedCluster.html +352 -0
  56. data/doc/SDM/Mysql.html +2 -2
  57. data/doc/SDM/Neptune.html +307 -0
  58. data/doc/SDM/NeptuneIAM.html +382 -0
  59. data/doc/SDM/NodeCreateResponse.html +2 -2
  60. data/doc/SDM/NodeDeleteResponse.html +2 -2
  61. data/doc/SDM/NodeGetResponse.html +2 -2
  62. data/doc/SDM/NodeUpdateResponse.html +2 -2
  63. data/doc/SDM/Oracle.html +2 -2
  64. data/doc/SDM/Plumbing.html +1636 -430
  65. data/doc/SDM/Postgres.html +2 -2
  66. data/doc/SDM/Presto.html +2 -2
  67. data/doc/SDM/RDP.html +2 -2
  68. data/doc/SDM/RabbitMQAMQP091.html +2 -2
  69. data/doc/SDM/RateLimitMetadata.html +2 -2
  70. data/doc/SDM/RawTCP.html +2 -2
  71. data/doc/SDM/Redis.html +2 -2
  72. data/doc/SDM/Redshift.html +2 -2
  73. data/doc/SDM/Relay.html +2 -2
  74. data/doc/SDM/ResourceCreateResponse.html +2 -2
  75. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  76. data/doc/SDM/ResourceGetResponse.html +2 -2
  77. data/doc/SDM/ResourceUpdateResponse.html +2 -2
  78. data/doc/SDM/Role.html +2 -2
  79. data/doc/SDM/RoleAttachment.html +2 -2
  80. data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
  81. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  82. data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
  83. data/doc/SDM/RoleCreateResponse.html +2 -2
  84. data/doc/SDM/RoleDeleteResponse.html +2 -2
  85. data/doc/SDM/RoleGetResponse.html +2 -2
  86. data/doc/SDM/RoleGrant.html +2 -2
  87. data/doc/SDM/RoleGrantCreateResponse.html +2 -2
  88. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  89. data/doc/SDM/RoleGrantGetResponse.html +2 -2
  90. data/doc/SDM/RoleUpdateResponse.html +2 -2
  91. data/doc/SDM/SQLServer.html +2 -2
  92. data/doc/SDM/SSH.html +2 -2
  93. data/doc/SDM/SSHCert.html +2 -2
  94. data/doc/SDM/SSHCustomerKey.html +2 -2
  95. data/doc/SDM/SecretStoreCreateResponse.html +2 -2
  96. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  97. data/doc/SDM/SecretStoreGetResponse.html +2 -2
  98. data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
  99. data/doc/SDM/Service.html +2 -2
  100. data/doc/SDM/SingleStore.html +2 -2
  101. data/doc/SDM/Snowflake.html +2 -2
  102. data/doc/SDM/Sybase.html +2 -2
  103. data/doc/SDM/SybaseIQ.html +2 -2
  104. data/doc/SDM/Tag.html +2 -2
  105. data/doc/SDM/Teradata.html +2 -2
  106. data/doc/SDM/UpdateResponseMetadata.html +2 -2
  107. data/doc/SDM/User.html +2 -2
  108. data/doc/SDM/VaultTLSStore.html +2 -2
  109. data/doc/SDM/VaultTokenStore.html +2 -2
  110. data/doc/V1/AccountAttachments/Service.html +1 -1
  111. data/doc/V1/AccountGrants/Service.html +1 -1
  112. data/doc/V1/Accounts/Service.html +1 -1
  113. data/doc/V1/ControlPanel/Service.html +1 -1
  114. data/doc/V1/Nodes/Service.html +1 -1
  115. data/doc/V1/Resources/Service.html +1 -1
  116. data/doc/V1/RoleAttachments/Service.html +1 -1
  117. data/doc/V1/RoleGrants/Service.html +1 -1
  118. data/doc/V1/Roles/Service.html +1 -1
  119. data/doc/V1/SecretStores/Service.html +1 -1
  120. data/doc/V1.html +18 -0
  121. data/doc/created.rid +37 -37
  122. data/doc/index.html +9 -0
  123. data/doc/js/navigation.js.gz +0 -0
  124. data/doc/js/search_index.js +1 -1
  125. data/doc/js/search_index.js.gz +0 -0
  126. data/doc/js/searcher.js.gz +0 -0
  127. data/doc/lib/version.html +1 -1
  128. data/doc/table_of_contents.html +432 -135
  129. data/lib/grpc/account_attachments_services_pb.rb +1 -1
  130. data/lib/grpc/account_grants_services_pb.rb +1 -1
  131. data/lib/grpc/accounts_services_pb.rb +1 -1
  132. data/lib/grpc/control_panel_services_pb.rb +1 -1
  133. data/lib/grpc/drivers_pb.rb +135 -0
  134. data/lib/grpc/nodes_services_pb.rb +1 -1
  135. data/lib/grpc/plumbing.rb +540 -0
  136. data/lib/grpc/resources_services_pb.rb +1 -1
  137. data/lib/grpc/role_attachments_services_pb.rb +1 -1
  138. data/lib/grpc/role_grants_services_pb.rb +1 -1
  139. data/lib/grpc/roles_services_pb.rb +1 -1
  140. data/lib/grpc/secret_stores_services_pb.rb +1 -1
  141. data/lib/models/porcelain.rb +727 -5
  142. data/lib/strongdm.rb +1 -1
  143. data/lib/version +1 -1
  144. data/lib/version.rb +1 -1
  145. metadata +13 -4
  146. data/.git/objects/pack/pack-e8e4eaa32483a25559ca2593dcd15e1bdf43df31.idx +0 -0
data/lib/grpc/plumbing.rb CHANGED
@@ -1365,6 +1365,164 @@ module SDM
1365
1365
  end
1366
1366
  items
1367
1367
  end
1368
+ def self.convert_azure_to_porcelain(plumbing)
1369
+ if plumbing == nil
1370
+ return nil
1371
+ end
1372
+ porcelain = Azure.new()
1373
+ porcelain.app_id = (plumbing.app_id)
1374
+ porcelain.egress_filter = (plumbing.egress_filter)
1375
+ porcelain.healthy = (plumbing.healthy)
1376
+ porcelain.id = (plumbing.id)
1377
+ porcelain.name = (plumbing.name)
1378
+ porcelain.password = (plumbing.password)
1379
+ porcelain.secret_store_id = (plumbing.secret_store_id)
1380
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
1381
+ porcelain.tenant_id = (plumbing.tenant_id)
1382
+ porcelain
1383
+ end
1384
+
1385
+ def self.convert_azure_to_plumbing(porcelain)
1386
+ if porcelain == nil
1387
+ return nil
1388
+ end
1389
+ plumbing = V1::Azure.new()
1390
+ plumbing.app_id = (porcelain.app_id) unless porcelain.app_id == nil
1391
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
1392
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
1393
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
1394
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
1395
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
1396
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
1397
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
1398
+ plumbing.tenant_id = (porcelain.tenant_id) unless porcelain.tenant_id == nil
1399
+ plumbing
1400
+ end
1401
+ def self.convert_repeated_azure_to_plumbing(porcelains)
1402
+ items = Array.new
1403
+ porcelains.each do |porcelain|
1404
+ plumbing = convert_azure_to_plumbing(porcelain)
1405
+ items.append(plumbing)
1406
+ end
1407
+ items
1408
+ end
1409
+
1410
+ def self.convert_repeated_azure_to_porcelain(plumbings)
1411
+ items = Array.new
1412
+ plumbings.each do |plumbing|
1413
+ porcelain = convert_azure_to_porcelain(plumbing)
1414
+ items.append(porcelain)
1415
+ end
1416
+ items
1417
+ end
1418
+ def self.convert_azure_certificate_to_porcelain(plumbing)
1419
+ if plumbing == nil
1420
+ return nil
1421
+ end
1422
+ porcelain = AzureCertificate.new()
1423
+ porcelain.app_id = (plumbing.app_id)
1424
+ porcelain.client_certificate = (plumbing.client_certificate)
1425
+ porcelain.egress_filter = (plumbing.egress_filter)
1426
+ porcelain.healthy = (plumbing.healthy)
1427
+ porcelain.id = (plumbing.id)
1428
+ porcelain.name = (plumbing.name)
1429
+ porcelain.secret_store_id = (plumbing.secret_store_id)
1430
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
1431
+ porcelain.tenant_id = (plumbing.tenant_id)
1432
+ porcelain
1433
+ end
1434
+
1435
+ def self.convert_azure_certificate_to_plumbing(porcelain)
1436
+ if porcelain == nil
1437
+ return nil
1438
+ end
1439
+ plumbing = V1::AzureCertificate.new()
1440
+ plumbing.app_id = (porcelain.app_id) unless porcelain.app_id == nil
1441
+ plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == nil
1442
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
1443
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
1444
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
1445
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
1446
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
1447
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
1448
+ plumbing.tenant_id = (porcelain.tenant_id) unless porcelain.tenant_id == nil
1449
+ plumbing
1450
+ end
1451
+ def self.convert_repeated_azure_certificate_to_plumbing(porcelains)
1452
+ items = Array.new
1453
+ porcelains.each do |porcelain|
1454
+ plumbing = convert_azure_certificate_to_plumbing(porcelain)
1455
+ items.append(plumbing)
1456
+ end
1457
+ items
1458
+ end
1459
+
1460
+ def self.convert_repeated_azure_certificate_to_porcelain(plumbings)
1461
+ items = Array.new
1462
+ plumbings.each do |plumbing|
1463
+ porcelain = convert_azure_certificate_to_porcelain(plumbing)
1464
+ items.append(porcelain)
1465
+ end
1466
+ items
1467
+ end
1468
+ def self.convert_azure_postgres_to_porcelain(plumbing)
1469
+ if plumbing == nil
1470
+ return nil
1471
+ end
1472
+ porcelain = AzurePostgres.new()
1473
+ porcelain.database = (plumbing.database)
1474
+ porcelain.egress_filter = (plumbing.egress_filter)
1475
+ porcelain.healthy = (plumbing.healthy)
1476
+ porcelain.hostname = (plumbing.hostname)
1477
+ porcelain.id = (plumbing.id)
1478
+ porcelain.name = (plumbing.name)
1479
+ porcelain.override_database = (plumbing.override_database)
1480
+ porcelain.password = (plumbing.password)
1481
+ porcelain.port = (plumbing.port)
1482
+ porcelain.port_override = (plumbing.port_override)
1483
+ porcelain.secret_store_id = (plumbing.secret_store_id)
1484
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
1485
+ porcelain.username = (plumbing.username)
1486
+ porcelain
1487
+ end
1488
+
1489
+ def self.convert_azure_postgres_to_plumbing(porcelain)
1490
+ if porcelain == nil
1491
+ return nil
1492
+ end
1493
+ plumbing = V1::AzurePostgres.new()
1494
+ plumbing.database = (porcelain.database) unless porcelain.database == nil
1495
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
1496
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
1497
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
1498
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
1499
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
1500
+ plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
1501
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
1502
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
1503
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
1504
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
1505
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
1506
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
1507
+ plumbing
1508
+ end
1509
+ def self.convert_repeated_azure_postgres_to_plumbing(porcelains)
1510
+ items = Array.new
1511
+ porcelains.each do |porcelain|
1512
+ plumbing = convert_azure_postgres_to_plumbing(porcelain)
1513
+ items.append(plumbing)
1514
+ end
1515
+ items
1516
+ end
1517
+
1518
+ def self.convert_repeated_azure_postgres_to_porcelain(plumbings)
1519
+ items = Array.new
1520
+ plumbings.each do |plumbing|
1521
+ porcelain = convert_azure_postgres_to_porcelain(plumbing)
1522
+ items.append(porcelain)
1523
+ end
1524
+ items
1525
+ end
1368
1526
  def self.convert_big_query_to_porcelain(plumbing)
1369
1527
  if plumbing == nil
1370
1528
  return nil
@@ -1899,6 +2057,120 @@ module SDM
1899
2057
  end
1900
2058
  items
1901
2059
  end
2060
+ def self.convert_document_db_host_to_porcelain(plumbing)
2061
+ if plumbing == nil
2062
+ return nil
2063
+ end
2064
+ porcelain = DocumentDBHost.new()
2065
+ porcelain.auth_database = (plumbing.auth_database)
2066
+ porcelain.egress_filter = (plumbing.egress_filter)
2067
+ porcelain.healthy = (plumbing.healthy)
2068
+ porcelain.hostname = (plumbing.hostname)
2069
+ porcelain.id = (plumbing.id)
2070
+ porcelain.name = (plumbing.name)
2071
+ porcelain.password = (plumbing.password)
2072
+ porcelain.port = (plumbing.port)
2073
+ porcelain.port_override = (plumbing.port_override)
2074
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2075
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2076
+ porcelain.username = (plumbing.username)
2077
+ porcelain
2078
+ end
2079
+
2080
+ def self.convert_document_db_host_to_plumbing(porcelain)
2081
+ if porcelain == nil
2082
+ return nil
2083
+ end
2084
+ plumbing = V1::DocumentDBHost.new()
2085
+ plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
2086
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
2087
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
2088
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
2089
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
2090
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
2091
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
2092
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
2093
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
2094
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
2095
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
2096
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
2097
+ plumbing
2098
+ end
2099
+ def self.convert_repeated_document_db_host_to_plumbing(porcelains)
2100
+ items = Array.new
2101
+ porcelains.each do |porcelain|
2102
+ plumbing = convert_document_db_host_to_plumbing(porcelain)
2103
+ items.append(plumbing)
2104
+ end
2105
+ items
2106
+ end
2107
+
2108
+ def self.convert_repeated_document_db_host_to_porcelain(plumbings)
2109
+ items = Array.new
2110
+ plumbings.each do |plumbing|
2111
+ porcelain = convert_document_db_host_to_porcelain(plumbing)
2112
+ items.append(porcelain)
2113
+ end
2114
+ items
2115
+ end
2116
+ def self.convert_document_db_replica_set_to_porcelain(plumbing)
2117
+ if plumbing == nil
2118
+ return nil
2119
+ end
2120
+ porcelain = DocumentDBReplicaSet.new()
2121
+ porcelain.auth_database = (plumbing.auth_database)
2122
+ porcelain.connect_to_replica = (plumbing.connect_to_replica)
2123
+ porcelain.egress_filter = (plumbing.egress_filter)
2124
+ porcelain.healthy = (plumbing.healthy)
2125
+ porcelain.hostname = (plumbing.hostname)
2126
+ porcelain.id = (plumbing.id)
2127
+ porcelain.name = (plumbing.name)
2128
+ porcelain.password = (plumbing.password)
2129
+ porcelain.port_override = (plumbing.port_override)
2130
+ porcelain.replica_set = (plumbing.replica_set)
2131
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2132
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2133
+ porcelain.username = (plumbing.username)
2134
+ porcelain
2135
+ end
2136
+
2137
+ def self.convert_document_db_replica_set_to_plumbing(porcelain)
2138
+ if porcelain == nil
2139
+ return nil
2140
+ end
2141
+ plumbing = V1::DocumentDBReplicaSet.new()
2142
+ plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
2143
+ plumbing.connect_to_replica = (porcelain.connect_to_replica) unless porcelain.connect_to_replica == nil
2144
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
2145
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
2146
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
2147
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
2148
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
2149
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
2150
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
2151
+ plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
2152
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
2153
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
2154
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
2155
+ plumbing
2156
+ end
2157
+ def self.convert_repeated_document_db_replica_set_to_plumbing(porcelains)
2158
+ items = Array.new
2159
+ porcelains.each do |porcelain|
2160
+ plumbing = convert_document_db_replica_set_to_plumbing(porcelain)
2161
+ items.append(plumbing)
2162
+ end
2163
+ items
2164
+ end
2165
+
2166
+ def self.convert_repeated_document_db_replica_set_to_porcelain(plumbings)
2167
+ items = Array.new
2168
+ plumbings.each do |plumbing|
2169
+ porcelain = convert_document_db_replica_set_to_porcelain(plumbing)
2170
+ items.append(porcelain)
2171
+ end
2172
+ items
2173
+ end
1902
2174
  def self.convert_druid_to_porcelain(plumbing)
1903
2175
  if plumbing == nil
1904
2176
  return nil
@@ -2121,6 +2393,54 @@ module SDM
2121
2393
  end
2122
2394
  items
2123
2395
  end
2396
+ def self.convert_gcp_to_porcelain(plumbing)
2397
+ if plumbing == nil
2398
+ return nil
2399
+ end
2400
+ porcelain = GCP.new()
2401
+ porcelain.egress_filter = (plumbing.egress_filter)
2402
+ porcelain.healthy = (plumbing.healthy)
2403
+ porcelain.id = (plumbing.id)
2404
+ porcelain.keyfile = (plumbing.keyfile)
2405
+ porcelain.name = (plumbing.name)
2406
+ porcelain.scopes = (plumbing.scopes)
2407
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2408
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2409
+ porcelain
2410
+ end
2411
+
2412
+ def self.convert_gcp_to_plumbing(porcelain)
2413
+ if porcelain == nil
2414
+ return nil
2415
+ end
2416
+ plumbing = V1::GCP.new()
2417
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
2418
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
2419
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
2420
+ plumbing.keyfile = (porcelain.keyfile) unless porcelain.keyfile == nil
2421
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
2422
+ plumbing.scopes = (porcelain.scopes) unless porcelain.scopes == nil
2423
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
2424
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
2425
+ plumbing
2426
+ end
2427
+ def self.convert_repeated_gcp_to_plumbing(porcelains)
2428
+ items = Array.new
2429
+ porcelains.each do |porcelain|
2430
+ plumbing = convert_gcp_to_plumbing(porcelain)
2431
+ items.append(plumbing)
2432
+ end
2433
+ items
2434
+ end
2435
+
2436
+ def self.convert_repeated_gcp_to_porcelain(plumbings)
2437
+ items = Array.new
2438
+ plumbings.each do |plumbing|
2439
+ porcelain = convert_gcp_to_porcelain(plumbing)
2440
+ items.append(porcelain)
2441
+ end
2442
+ items
2443
+ end
2124
2444
  def self.convert_gateway_to_porcelain(plumbing)
2125
2445
  if plumbing == nil
2126
2446
  return nil
@@ -3203,6 +3523,62 @@ module SDM
3203
3523
  end
3204
3524
  items
3205
3525
  end
3526
+ def self.convert_mongo_sharded_cluster_to_porcelain(plumbing)
3527
+ if plumbing == nil
3528
+ return nil
3529
+ end
3530
+ porcelain = MongoShardedCluster.new()
3531
+ porcelain.auth_database = (plumbing.auth_database)
3532
+ porcelain.egress_filter = (plumbing.egress_filter)
3533
+ porcelain.healthy = (plumbing.healthy)
3534
+ porcelain.hostname = (plumbing.hostname)
3535
+ porcelain.id = (plumbing.id)
3536
+ porcelain.name = (plumbing.name)
3537
+ porcelain.password = (plumbing.password)
3538
+ porcelain.port_override = (plumbing.port_override)
3539
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3540
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3541
+ porcelain.tls_required = (plumbing.tls_required)
3542
+ porcelain.username = (plumbing.username)
3543
+ porcelain
3544
+ end
3545
+
3546
+ def self.convert_mongo_sharded_cluster_to_plumbing(porcelain)
3547
+ if porcelain == nil
3548
+ return nil
3549
+ end
3550
+ plumbing = V1::MongoShardedCluster.new()
3551
+ plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
3552
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3553
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3554
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
3555
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3556
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3557
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
3558
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
3559
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3560
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3561
+ plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
3562
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
3563
+ plumbing
3564
+ end
3565
+ def self.convert_repeated_mongo_sharded_cluster_to_plumbing(porcelains)
3566
+ items = Array.new
3567
+ porcelains.each do |porcelain|
3568
+ plumbing = convert_mongo_sharded_cluster_to_plumbing(porcelain)
3569
+ items.append(plumbing)
3570
+ end
3571
+ items
3572
+ end
3573
+
3574
+ def self.convert_repeated_mongo_sharded_cluster_to_porcelain(plumbings)
3575
+ items = Array.new
3576
+ plumbings.each do |plumbing|
3577
+ porcelain = convert_mongo_sharded_cluster_to_porcelain(plumbing)
3578
+ items.append(porcelain)
3579
+ end
3580
+ items
3581
+ end
3206
3582
  def self.convert_mysql_to_porcelain(plumbing)
3207
3583
  if plumbing == nil
3208
3584
  return nil
@@ -3259,6 +3635,116 @@ module SDM
3259
3635
  end
3260
3636
  items
3261
3637
  end
3638
+ def self.convert_neptune_to_porcelain(plumbing)
3639
+ if plumbing == nil
3640
+ return nil
3641
+ end
3642
+ porcelain = Neptune.new()
3643
+ porcelain.egress_filter = (plumbing.egress_filter)
3644
+ porcelain.endpoint = (plumbing.endpoint)
3645
+ porcelain.healthy = (plumbing.healthy)
3646
+ porcelain.id = (plumbing.id)
3647
+ porcelain.name = (plumbing.name)
3648
+ porcelain.port = (plumbing.port)
3649
+ porcelain.port_override = (plumbing.port_override)
3650
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3651
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3652
+ porcelain
3653
+ end
3654
+
3655
+ def self.convert_neptune_to_plumbing(porcelain)
3656
+ if porcelain == nil
3657
+ return nil
3658
+ end
3659
+ plumbing = V1::Neptune.new()
3660
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3661
+ plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
3662
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3663
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3664
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3665
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
3666
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
3667
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3668
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3669
+ plumbing
3670
+ end
3671
+ def self.convert_repeated_neptune_to_plumbing(porcelains)
3672
+ items = Array.new
3673
+ porcelains.each do |porcelain|
3674
+ plumbing = convert_neptune_to_plumbing(porcelain)
3675
+ items.append(plumbing)
3676
+ end
3677
+ items
3678
+ end
3679
+
3680
+ def self.convert_repeated_neptune_to_porcelain(plumbings)
3681
+ items = Array.new
3682
+ plumbings.each do |plumbing|
3683
+ porcelain = convert_neptune_to_porcelain(plumbing)
3684
+ items.append(porcelain)
3685
+ end
3686
+ items
3687
+ end
3688
+ def self.convert_neptune_iam_to_porcelain(plumbing)
3689
+ if plumbing == nil
3690
+ return nil
3691
+ end
3692
+ porcelain = NeptuneIAM.new()
3693
+ porcelain.access_key = (plumbing.access_key)
3694
+ porcelain.egress_filter = (plumbing.egress_filter)
3695
+ porcelain.endpoint = (plumbing.endpoint)
3696
+ porcelain.healthy = (plumbing.healthy)
3697
+ porcelain.id = (plumbing.id)
3698
+ porcelain.name = (plumbing.name)
3699
+ porcelain.port = (plumbing.port)
3700
+ porcelain.port_override = (plumbing.port_override)
3701
+ porcelain.region = (plumbing.region)
3702
+ porcelain.role_arn = (plumbing.role_arn)
3703
+ porcelain.role_external_id = (plumbing.role_external_id)
3704
+ porcelain.secret_access_key = (plumbing.secret_access_key)
3705
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3706
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3707
+ porcelain
3708
+ end
3709
+
3710
+ def self.convert_neptune_iam_to_plumbing(porcelain)
3711
+ if porcelain == nil
3712
+ return nil
3713
+ end
3714
+ plumbing = V1::NeptuneIAM.new()
3715
+ plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
3716
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3717
+ plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
3718
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3719
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3720
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3721
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
3722
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
3723
+ plumbing.region = (porcelain.region) unless porcelain.region == nil
3724
+ plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
3725
+ plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
3726
+ plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
3727
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3728
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3729
+ plumbing
3730
+ end
3731
+ def self.convert_repeated_neptune_iam_to_plumbing(porcelains)
3732
+ items = Array.new
3733
+ porcelains.each do |porcelain|
3734
+ plumbing = convert_neptune_iam_to_plumbing(porcelain)
3735
+ items.append(plumbing)
3736
+ end
3737
+ items
3738
+ end
3739
+
3740
+ def self.convert_repeated_neptune_iam_to_porcelain(plumbings)
3741
+ items = Array.new
3742
+ plumbings.each do |plumbing|
3743
+ porcelain = convert_neptune_iam_to_porcelain(plumbing)
3744
+ items.append(porcelain)
3745
+ end
3746
+ items
3747
+ end
3262
3748
  def self.convert_node_to_plumbing(porcelain)
3263
3749
  if porcelain == nil
3264
3750
  return nil
@@ -4023,6 +4509,15 @@ module SDM
4023
4509
  if porcelain.instance_of? AWS
4024
4510
  plumbing.aws = convert_aws_to_plumbing(porcelain)
4025
4511
  end
4512
+ if porcelain.instance_of? Azure
4513
+ plumbing.azure = convert_azure_to_plumbing(porcelain)
4514
+ end
4515
+ if porcelain.instance_of? AzureCertificate
4516
+ plumbing.azure_certificate = convert_azure_certificate_to_plumbing(porcelain)
4517
+ end
4518
+ if porcelain.instance_of? AzurePostgres
4519
+ plumbing.azure_postgres = convert_azure_postgres_to_plumbing(porcelain)
4520
+ end
4026
4521
  if porcelain.instance_of? BigQuery
4027
4522
  plumbing.big_query = convert_big_query_to_plumbing(porcelain)
4028
4523
  end
@@ -4044,6 +4539,12 @@ module SDM
4044
4539
  if porcelain.instance_of? DB2LUW
4045
4540
  plumbing.db_2_luw = convert_db_2_luw_to_plumbing(porcelain)
4046
4541
  end
4542
+ if porcelain.instance_of? DocumentDBHost
4543
+ plumbing.document_db_host = convert_document_db_host_to_plumbing(porcelain)
4544
+ end
4545
+ if porcelain.instance_of? DocumentDBReplicaSet
4546
+ plumbing.document_db_replica_set = convert_document_db_replica_set_to_plumbing(porcelain)
4547
+ end
4047
4548
  if porcelain.instance_of? Druid
4048
4549
  plumbing.druid = convert_druid_to_plumbing(porcelain)
4049
4550
  end
@@ -4056,6 +4557,9 @@ module SDM
4056
4557
  if porcelain.instance_of? ElasticacheRedis
4057
4558
  plumbing.elasticache_redis = convert_elasticache_redis_to_plumbing(porcelain)
4058
4559
  end
4560
+ if porcelain.instance_of? GCP
4561
+ plumbing.gcp = convert_gcp_to_plumbing(porcelain)
4562
+ end
4059
4563
  if porcelain.instance_of? GoogleGKE
4060
4564
  plumbing.google_gke = convert_google_gke_to_plumbing(porcelain)
4061
4565
  end
@@ -4110,9 +4614,18 @@ module SDM
4110
4614
  if porcelain.instance_of? MongoReplicaSet
4111
4615
  plumbing.mongo_replica_set = convert_mongo_replica_set_to_plumbing(porcelain)
4112
4616
  end
4617
+ if porcelain.instance_of? MongoShardedCluster
4618
+ plumbing.mongo_sharded_cluster = convert_mongo_sharded_cluster_to_plumbing(porcelain)
4619
+ end
4113
4620
  if porcelain.instance_of? Mysql
4114
4621
  plumbing.mysql = convert_mysql_to_plumbing(porcelain)
4115
4622
  end
4623
+ if porcelain.instance_of? Neptune
4624
+ plumbing.neptune = convert_neptune_to_plumbing(porcelain)
4625
+ end
4626
+ if porcelain.instance_of? NeptuneIAM
4627
+ plumbing.neptune_iam = convert_neptune_iam_to_plumbing(porcelain)
4628
+ end
4116
4629
  if porcelain.instance_of? Oracle
4117
4630
  plumbing.oracle = convert_oracle_to_plumbing(porcelain)
4118
4631
  end
@@ -4210,6 +4723,15 @@ module SDM
4210
4723
  if plumbing.aws != nil
4211
4724
  return convert_aws_to_porcelain(plumbing.aws)
4212
4725
  end
4726
+ if plumbing.azure != nil
4727
+ return convert_azure_to_porcelain(plumbing.azure)
4728
+ end
4729
+ if plumbing.azure_certificate != nil
4730
+ return convert_azure_certificate_to_porcelain(plumbing.azure_certificate)
4731
+ end
4732
+ if plumbing.azure_postgres != nil
4733
+ return convert_azure_postgres_to_porcelain(plumbing.azure_postgres)
4734
+ end
4213
4735
  if plumbing.big_query != nil
4214
4736
  return convert_big_query_to_porcelain(plumbing.big_query)
4215
4737
  end
@@ -4231,6 +4753,12 @@ module SDM
4231
4753
  if plumbing.db_2_luw != nil
4232
4754
  return convert_db_2_luw_to_porcelain(plumbing.db_2_luw)
4233
4755
  end
4756
+ if plumbing.document_db_host != nil
4757
+ return convert_document_db_host_to_porcelain(plumbing.document_db_host)
4758
+ end
4759
+ if plumbing.document_db_replica_set != nil
4760
+ return convert_document_db_replica_set_to_porcelain(plumbing.document_db_replica_set)
4761
+ end
4234
4762
  if plumbing.druid != nil
4235
4763
  return convert_druid_to_porcelain(plumbing.druid)
4236
4764
  end
@@ -4243,6 +4771,9 @@ module SDM
4243
4771
  if plumbing.elasticache_redis != nil
4244
4772
  return convert_elasticache_redis_to_porcelain(plumbing.elasticache_redis)
4245
4773
  end
4774
+ if plumbing.gcp != nil
4775
+ return convert_gcp_to_porcelain(plumbing.gcp)
4776
+ end
4246
4777
  if plumbing.google_gke != nil
4247
4778
  return convert_google_gke_to_porcelain(plumbing.google_gke)
4248
4779
  end
@@ -4297,9 +4828,18 @@ module SDM
4297
4828
  if plumbing.mongo_replica_set != nil
4298
4829
  return convert_mongo_replica_set_to_porcelain(plumbing.mongo_replica_set)
4299
4830
  end
4831
+ if plumbing.mongo_sharded_cluster != nil
4832
+ return convert_mongo_sharded_cluster_to_porcelain(plumbing.mongo_sharded_cluster)
4833
+ end
4300
4834
  if plumbing.mysql != nil
4301
4835
  return convert_mysql_to_porcelain(plumbing.mysql)
4302
4836
  end
4837
+ if plumbing.neptune != nil
4838
+ return convert_neptune_to_porcelain(plumbing.neptune)
4839
+ end
4840
+ if plumbing.neptune_iam != nil
4841
+ return convert_neptune_iam_to_porcelain(plumbing.neptune_iam)
4842
+ end
4303
4843
  if plumbing.oracle != nil
4304
4844
  return convert_oracle_to_porcelain(plumbing.oracle)
4305
4845
  end
@@ -21,7 +21,7 @@ require "resources_pb"
21
21
  module V1
22
22
  module Resources
23
23
  class Service
24
- include GRPC::GenericService
24
+ include ::GRPC::GenericService
25
25
 
26
26
  self.marshal_class_method = :encode
27
27
  self.unmarshal_class_method = :decode
@@ -25,7 +25,7 @@ module V1
25
25
  # role, the permissions granted to members of the composite role are augmented to
26
26
  # include the permissions granted to members of the attached role.
27
27
  class Service
28
- include GRPC::GenericService
28
+ include ::GRPC::GenericService
29
29
 
30
30
  self.marshal_class_method = :encode
31
31
  self.unmarshal_class_method = :decode
@@ -25,7 +25,7 @@ module V1
25
25
  # role, the permissions granted to members of the composite role are augmented to
26
26
  # include the permissions granted to members of the attached role.
27
27
  class Service
28
- include GRPC::GenericService
28
+ include ::GRPC::GenericService
29
29
 
30
30
  self.marshal_class_method = :encode
31
31
  self.unmarshal_class_method = :decode
@@ -26,7 +26,7 @@ module V1
26
26
  # grant access to the combined resources associated with a set of child roles.
27
27
  # Each user can be a member of one Role or composite role.
28
28
  class Service
29
- include GRPC::GenericService
29
+ include ::GRPC::GenericService
30
30
 
31
31
  self.marshal_class_method = :encode
32
32
  self.unmarshal_class_method = :decode
@@ -22,7 +22,7 @@ module V1
22
22
  module SecretStores
23
23
  # SecretStores are servers where resource secrets (passwords, keys) are stored.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode