strongdm 1.0.30 → 1.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) 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-802051e74a1de9449b3bc69f695b0b5e55e448e5.idx +0 -0
  10. data/.git/objects/pack/{pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.pack → pack-802051e74a1de9449b3bc69f695b0b5e55e448e5.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/AzureStore.html +232 -0
  18. data/doc/SDM/BigQuery.html +2 -2
  19. data/doc/SDM/Cassandra.html +2 -2
  20. data/doc/SDM/Citus.html +2 -2
  21. data/doc/SDM/Clustrix.html +2 -2
  22. data/doc/SDM/Cockroach.html +2 -2
  23. data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
  24. data/doc/SDM/ControlPanelVerifyJWTResponse.html +2 -2
  25. data/doc/SDM/CreateResponseMetadata.html +2 -2
  26. data/doc/SDM/DB2LUW.html +2 -2
  27. data/doc/SDM/DB2i.html +2 -2
  28. data/doc/SDM/DeleteResponseMetadata.html +2 -2
  29. data/doc/SDM/DocumentDBHost.html +2 -2
  30. data/doc/SDM/DocumentDBReplicaSet.html +2 -2
  31. data/doc/SDM/Druid.html +2 -2
  32. data/doc/SDM/DynamoDB.html +2 -2
  33. data/doc/SDM/Elastic.html +2 -2
  34. data/doc/SDM/ElasticacheRedis.html +2 -2
  35. data/doc/SDM/GCP.html +292 -0
  36. data/doc/SDM/Gateway.html +2 -2
  37. data/doc/SDM/GetResponseMetadata.html +2 -2
  38. data/doc/SDM/GoogleGKE.html +2 -2
  39. data/doc/SDM/GoogleGKEUserImpersonation.html +2 -2
  40. data/doc/SDM/Greenplum.html +2 -2
  41. data/doc/SDM/HTTPAuth.html +2 -2
  42. data/doc/SDM/HTTPBasicAuth.html +2 -2
  43. data/doc/SDM/HTTPNoAuth.html +2 -2
  44. data/doc/SDM/Kubernetes.html +2 -2
  45. data/doc/SDM/KubernetesBasicAuth.html +2 -2
  46. data/doc/SDM/KubernetesServiceAccount.html +2 -2
  47. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +2 -2
  48. data/doc/SDM/KubernetesUserImpersonation.html +2 -2
  49. data/doc/SDM/Maria.html +2 -2
  50. data/doc/SDM/Memcached.html +2 -2
  51. data/doc/SDM/Memsql.html +2 -2
  52. data/doc/SDM/MongoHost.html +2 -2
  53. data/doc/SDM/MongoLegacyHost.html +2 -2
  54. data/doc/SDM/MongoLegacyReplicaset.html +2 -2
  55. data/doc/SDM/MongoReplicaSet.html +2 -2
  56. data/doc/SDM/MongoShardedCluster.html +352 -0
  57. data/doc/SDM/Mysql.html +2 -2
  58. data/doc/SDM/Neptune.html +2 -2
  59. data/doc/SDM/NeptuneIAM.html +2 -2
  60. data/doc/SDM/NodeCreateResponse.html +2 -2
  61. data/doc/SDM/NodeDeleteResponse.html +2 -2
  62. data/doc/SDM/NodeGetResponse.html +2 -2
  63. data/doc/SDM/NodeUpdateResponse.html +2 -2
  64. data/doc/SDM/Oracle.html +2 -2
  65. data/doc/SDM/Plumbing.html +1281 -497
  66. data/doc/SDM/Postgres.html +2 -2
  67. data/doc/SDM/Presto.html +2 -2
  68. data/doc/SDM/RDP.html +18 -3
  69. data/doc/SDM/RabbitMQAMQP091.html +2 -2
  70. data/doc/SDM/RateLimitMetadata.html +2 -2
  71. data/doc/SDM/RawTCP.html +2 -2
  72. data/doc/SDM/Redis.html +2 -2
  73. data/doc/SDM/Redshift.html +2 -2
  74. data/doc/SDM/Relay.html +2 -2
  75. data/doc/SDM/ResourceCreateResponse.html +2 -2
  76. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  77. data/doc/SDM/ResourceGetResponse.html +2 -2
  78. data/doc/SDM/ResourceUpdateResponse.html +2 -2
  79. data/doc/SDM/Role.html +2 -2
  80. data/doc/SDM/RoleAttachment.html +2 -2
  81. data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
  82. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  83. data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
  84. data/doc/SDM/RoleCreateResponse.html +2 -2
  85. data/doc/SDM/RoleDeleteResponse.html +2 -2
  86. data/doc/SDM/RoleGetResponse.html +2 -2
  87. data/doc/SDM/RoleGrant.html +2 -2
  88. data/doc/SDM/RoleGrantCreateResponse.html +2 -2
  89. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  90. data/doc/SDM/RoleGrantGetResponse.html +2 -2
  91. data/doc/SDM/RoleUpdateResponse.html +2 -2
  92. data/doc/SDM/SQLServer.html +2 -2
  93. data/doc/SDM/SSH.html +2 -2
  94. data/doc/SDM/SSHCert.html +2 -2
  95. data/doc/SDM/SSHCustomerKey.html +2 -2
  96. data/doc/SDM/SecretStoreCreateResponse.html +2 -2
  97. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  98. data/doc/SDM/SecretStoreGetResponse.html +2 -2
  99. data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
  100. data/doc/SDM/Service.html +2 -2
  101. data/doc/SDM/SingleStore.html +2 -2
  102. data/doc/SDM/Snowflake.html +2 -2
  103. data/doc/SDM/Sybase.html +2 -2
  104. data/doc/SDM/SybaseIQ.html +2 -2
  105. data/doc/SDM/Tag.html +2 -2
  106. data/doc/SDM/Teradata.html +2 -2
  107. data/doc/SDM/UpdateResponseMetadata.html +2 -2
  108. data/doc/SDM/User.html +2 -2
  109. data/doc/SDM/VaultTLSStore.html +2 -2
  110. data/doc/SDM/VaultTokenStore.html +2 -2
  111. data/doc/V1/AccountAttachments/Service.html +1 -1
  112. data/doc/V1/AccountGrants/Service.html +1 -1
  113. data/doc/V1/Accounts/Service.html +1 -1
  114. data/doc/V1/ControlPanel/Service.html +1 -1
  115. data/doc/V1/Nodes/Service.html +1 -1
  116. data/doc/V1/Resources/Service.html +1 -1
  117. data/doc/V1/RoleAttachments/Service.html +1 -1
  118. data/doc/V1/RoleGrants/Service.html +1 -1
  119. data/doc/V1/Roles/Service.html +1 -1
  120. data/doc/V1/SecretStores/Service.html +1 -1
  121. data/doc/V1.html +12 -0
  122. data/doc/created.rid +37 -37
  123. data/doc/index.html +6 -0
  124. data/doc/js/navigation.js.gz +0 -0
  125. data/doc/js/search_index.js +1 -1
  126. data/doc/js/search_index.js.gz +0 -0
  127. data/doc/js/searcher.js.gz +0 -0
  128. data/doc/lib/version.html +1 -1
  129. data/doc/table_of_contents.html +706 -508
  130. data/lib/grpc/account_attachments_services_pb.rb +5 -5
  131. data/lib/grpc/account_grants_services_pb.rb +5 -5
  132. data/lib/grpc/accounts_services_pb.rb +6 -6
  133. data/lib/grpc/control_panel_services_pb.rb +3 -3
  134. data/lib/grpc/drivers_pb.rb +72 -0
  135. data/lib/grpc/nodes_services_pb.rb +6 -6
  136. data/lib/grpc/options_pb.rb +1 -0
  137. data/lib/grpc/plumbing.rb +340 -0
  138. data/lib/grpc/resources_services_pb.rb +7 -7
  139. data/lib/grpc/role_attachments_services_pb.rb +5 -5
  140. data/lib/grpc/role_grants_services_pb.rb +5 -5
  141. data/lib/grpc/roles_services_pb.rb +6 -6
  142. data/lib/grpc/secret_store_types_pb.rb +8 -0
  143. data/lib/grpc/secret_stores_services_pb.rb +6 -6
  144. data/lib/models/porcelain.rb +421 -0
  145. data/lib/strongdm.rb +1 -1
  146. data/lib/version +1 -1
  147. data/lib/version.rb +1 -1
  148. metadata +10 -4
  149. data/.git/objects/pack/pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.idx +0 -0
data/lib/grpc/plumbing.rb CHANGED
@@ -1365,6 +1365,204 @@ 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
1526
+ def self.convert_azure_store_to_porcelain(plumbing)
1527
+ if plumbing == nil
1528
+ return nil
1529
+ end
1530
+ porcelain = AzureStore.new()
1531
+ porcelain.id = (plumbing.id)
1532
+ porcelain.name = (plumbing.name)
1533
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
1534
+ porcelain.vault_uri = (plumbing.vault_uri)
1535
+ porcelain
1536
+ end
1537
+
1538
+ def self.convert_azure_store_to_plumbing(porcelain)
1539
+ if porcelain == nil
1540
+ return nil
1541
+ end
1542
+ plumbing = V1::AzureStore.new()
1543
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
1544
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
1545
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
1546
+ plumbing.vault_uri = (porcelain.vault_uri) unless porcelain.vault_uri == nil
1547
+ plumbing
1548
+ end
1549
+ def self.convert_repeated_azure_store_to_plumbing(porcelains)
1550
+ items = Array.new
1551
+ porcelains.each do |porcelain|
1552
+ plumbing = convert_azure_store_to_plumbing(porcelain)
1553
+ items.append(plumbing)
1554
+ end
1555
+ items
1556
+ end
1557
+
1558
+ def self.convert_repeated_azure_store_to_porcelain(plumbings)
1559
+ items = Array.new
1560
+ plumbings.each do |plumbing|
1561
+ porcelain = convert_azure_store_to_porcelain(plumbing)
1562
+ items.append(porcelain)
1563
+ end
1564
+ items
1565
+ end
1368
1566
  def self.convert_big_query_to_porcelain(plumbing)
1369
1567
  if plumbing == nil
1370
1568
  return nil
@@ -2235,6 +2433,54 @@ module SDM
2235
2433
  end
2236
2434
  items
2237
2435
  end
2436
+ def self.convert_gcp_to_porcelain(plumbing)
2437
+ if plumbing == nil
2438
+ return nil
2439
+ end
2440
+ porcelain = GCP.new()
2441
+ porcelain.egress_filter = (plumbing.egress_filter)
2442
+ porcelain.healthy = (plumbing.healthy)
2443
+ porcelain.id = (plumbing.id)
2444
+ porcelain.keyfile = (plumbing.keyfile)
2445
+ porcelain.name = (plumbing.name)
2446
+ porcelain.scopes = (plumbing.scopes)
2447
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2448
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2449
+ porcelain
2450
+ end
2451
+
2452
+ def self.convert_gcp_to_plumbing(porcelain)
2453
+ if porcelain == nil
2454
+ return nil
2455
+ end
2456
+ plumbing = V1::GCP.new()
2457
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
2458
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
2459
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
2460
+ plumbing.keyfile = (porcelain.keyfile) unless porcelain.keyfile == nil
2461
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
2462
+ plumbing.scopes = (porcelain.scopes) unless porcelain.scopes == nil
2463
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
2464
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
2465
+ plumbing
2466
+ end
2467
+ def self.convert_repeated_gcp_to_plumbing(porcelains)
2468
+ items = Array.new
2469
+ porcelains.each do |porcelain|
2470
+ plumbing = convert_gcp_to_plumbing(porcelain)
2471
+ items.append(plumbing)
2472
+ end
2473
+ items
2474
+ end
2475
+
2476
+ def self.convert_repeated_gcp_to_porcelain(plumbings)
2477
+ items = Array.new
2478
+ plumbings.each do |plumbing|
2479
+ porcelain = convert_gcp_to_porcelain(plumbing)
2480
+ items.append(porcelain)
2481
+ end
2482
+ items
2483
+ end
2238
2484
  def self.convert_gateway_to_porcelain(plumbing)
2239
2485
  if plumbing == nil
2240
2486
  return nil
@@ -3317,6 +3563,62 @@ module SDM
3317
3563
  end
3318
3564
  items
3319
3565
  end
3566
+ def self.convert_mongo_sharded_cluster_to_porcelain(plumbing)
3567
+ if plumbing == nil
3568
+ return nil
3569
+ end
3570
+ porcelain = MongoShardedCluster.new()
3571
+ porcelain.auth_database = (plumbing.auth_database)
3572
+ porcelain.egress_filter = (plumbing.egress_filter)
3573
+ porcelain.healthy = (plumbing.healthy)
3574
+ porcelain.hostname = (plumbing.hostname)
3575
+ porcelain.id = (plumbing.id)
3576
+ porcelain.name = (plumbing.name)
3577
+ porcelain.password = (plumbing.password)
3578
+ porcelain.port_override = (plumbing.port_override)
3579
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3580
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3581
+ porcelain.tls_required = (plumbing.tls_required)
3582
+ porcelain.username = (plumbing.username)
3583
+ porcelain
3584
+ end
3585
+
3586
+ def self.convert_mongo_sharded_cluster_to_plumbing(porcelain)
3587
+ if porcelain == nil
3588
+ return nil
3589
+ end
3590
+ plumbing = V1::MongoShardedCluster.new()
3591
+ plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
3592
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3593
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3594
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
3595
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3596
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3597
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
3598
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
3599
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3600
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3601
+ plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
3602
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
3603
+ plumbing
3604
+ end
3605
+ def self.convert_repeated_mongo_sharded_cluster_to_plumbing(porcelains)
3606
+ items = Array.new
3607
+ porcelains.each do |porcelain|
3608
+ plumbing = convert_mongo_sharded_cluster_to_plumbing(porcelain)
3609
+ items.append(plumbing)
3610
+ end
3611
+ items
3612
+ end
3613
+
3614
+ def self.convert_repeated_mongo_sharded_cluster_to_porcelain(plumbings)
3615
+ items = Array.new
3616
+ plumbings.each do |plumbing|
3617
+ porcelain = convert_mongo_sharded_cluster_to_porcelain(plumbing)
3618
+ items.append(porcelain)
3619
+ end
3620
+ items
3621
+ end
3320
3622
  def self.convert_mysql_to_porcelain(plumbing)
3321
3623
  if plumbing == nil
3322
3624
  return nil
@@ -3856,6 +4158,7 @@ module SDM
3856
4158
  return nil
3857
4159
  end
3858
4160
  porcelain = RDP.new()
4161
+ porcelain.downgrade_nla_connections = (plumbing.downgrade_nla_connections)
3859
4162
  porcelain.egress_filter = (plumbing.egress_filter)
3860
4163
  porcelain.healthy = (plumbing.healthy)
3861
4164
  porcelain.hostname = (plumbing.hostname)
@@ -3875,6 +4178,7 @@ module SDM
3875
4178
  return nil
3876
4179
  end
3877
4180
  plumbing = V1::RDP.new()
4181
+ plumbing.downgrade_nla_connections = (porcelain.downgrade_nla_connections) unless porcelain.downgrade_nla_connections == nil
3878
4182
  plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3879
4183
  plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3880
4184
  plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
@@ -4247,6 +4551,15 @@ module SDM
4247
4551
  if porcelain.instance_of? AWS
4248
4552
  plumbing.aws = convert_aws_to_plumbing(porcelain)
4249
4553
  end
4554
+ if porcelain.instance_of? Azure
4555
+ plumbing.azure = convert_azure_to_plumbing(porcelain)
4556
+ end
4557
+ if porcelain.instance_of? AzureCertificate
4558
+ plumbing.azure_certificate = convert_azure_certificate_to_plumbing(porcelain)
4559
+ end
4560
+ if porcelain.instance_of? AzurePostgres
4561
+ plumbing.azure_postgres = convert_azure_postgres_to_plumbing(porcelain)
4562
+ end
4250
4563
  if porcelain.instance_of? BigQuery
4251
4564
  plumbing.big_query = convert_big_query_to_plumbing(porcelain)
4252
4565
  end
@@ -4286,6 +4599,9 @@ module SDM
4286
4599
  if porcelain.instance_of? ElasticacheRedis
4287
4600
  plumbing.elasticache_redis = convert_elasticache_redis_to_plumbing(porcelain)
4288
4601
  end
4602
+ if porcelain.instance_of? GCP
4603
+ plumbing.gcp = convert_gcp_to_plumbing(porcelain)
4604
+ end
4289
4605
  if porcelain.instance_of? GoogleGKE
4290
4606
  plumbing.google_gke = convert_google_gke_to_plumbing(porcelain)
4291
4607
  end
@@ -4340,6 +4656,9 @@ module SDM
4340
4656
  if porcelain.instance_of? MongoReplicaSet
4341
4657
  plumbing.mongo_replica_set = convert_mongo_replica_set_to_plumbing(porcelain)
4342
4658
  end
4659
+ if porcelain.instance_of? MongoShardedCluster
4660
+ plumbing.mongo_sharded_cluster = convert_mongo_sharded_cluster_to_plumbing(porcelain)
4661
+ end
4343
4662
  if porcelain.instance_of? Mysql
4344
4663
  plumbing.mysql = convert_mysql_to_plumbing(porcelain)
4345
4664
  end
@@ -4446,6 +4765,15 @@ module SDM
4446
4765
  if plumbing.aws != nil
4447
4766
  return convert_aws_to_porcelain(plumbing.aws)
4448
4767
  end
4768
+ if plumbing.azure != nil
4769
+ return convert_azure_to_porcelain(plumbing.azure)
4770
+ end
4771
+ if plumbing.azure_certificate != nil
4772
+ return convert_azure_certificate_to_porcelain(plumbing.azure_certificate)
4773
+ end
4774
+ if plumbing.azure_postgres != nil
4775
+ return convert_azure_postgres_to_porcelain(plumbing.azure_postgres)
4776
+ end
4449
4777
  if plumbing.big_query != nil
4450
4778
  return convert_big_query_to_porcelain(plumbing.big_query)
4451
4779
  end
@@ -4485,6 +4813,9 @@ module SDM
4485
4813
  if plumbing.elasticache_redis != nil
4486
4814
  return convert_elasticache_redis_to_porcelain(plumbing.elasticache_redis)
4487
4815
  end
4816
+ if plumbing.gcp != nil
4817
+ return convert_gcp_to_porcelain(plumbing.gcp)
4818
+ end
4488
4819
  if plumbing.google_gke != nil
4489
4820
  return convert_google_gke_to_porcelain(plumbing.google_gke)
4490
4821
  end
@@ -4539,6 +4870,9 @@ module SDM
4539
4870
  if plumbing.mongo_replica_set != nil
4540
4871
  return convert_mongo_replica_set_to_porcelain(plumbing.mongo_replica_set)
4541
4872
  end
4873
+ if plumbing.mongo_sharded_cluster != nil
4874
+ return convert_mongo_sharded_cluster_to_porcelain(plumbing.mongo_sharded_cluster)
4875
+ end
4542
4876
  if plumbing.mysql != nil
4543
4877
  return convert_mysql_to_porcelain(plumbing.mysql)
4544
4878
  end
@@ -5493,6 +5827,9 @@ module SDM
5493
5827
  if porcelain.instance_of? AWSStore
5494
5828
  plumbing.aws = convert_aws_store_to_plumbing(porcelain)
5495
5829
  end
5830
+ if porcelain.instance_of? AzureStore
5831
+ plumbing.azure = convert_azure_store_to_plumbing(porcelain)
5832
+ end
5496
5833
  if porcelain.instance_of? VaultTLSStore
5497
5834
  plumbing.vault_tls = convert_vault_tls_store_to_plumbing(porcelain)
5498
5835
  end
@@ -5509,6 +5846,9 @@ module SDM
5509
5846
  if plumbing.aws != nil
5510
5847
  return convert_aws_store_to_porcelain(plumbing.aws)
5511
5848
  end
5849
+ if plumbing.azure != nil
5850
+ return convert_azure_store_to_porcelain(plumbing.azure)
5851
+ end
5512
5852
  if plumbing.vault_tls != nil
5513
5853
  return convert_vault_tls_store_to_porcelain(plumbing.vault_tls)
5514
5854
  end
@@ -21,24 +21,24 @@ 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
28
28
  self.service_name = "v1.Resources"
29
29
 
30
30
  # EnumerateTags gets a list of the filter matching tags.
31
- rpc :EnumerateTags, EnumerateTagsRequest, EnumerateTagsResponse
31
+ rpc :EnumerateTags, ::V1::EnumerateTagsRequest, ::V1::EnumerateTagsResponse
32
32
  # Create registers a new Resource.
33
- rpc :Create, ResourceCreateRequest, ResourceCreateResponse
33
+ rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
34
34
  # Get reads one Resource by ID.
35
- rpc :Get, ResourceGetRequest, ResourceGetResponse
35
+ rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
36
36
  # Update patches a Resource by ID.
37
- rpc :Update, ResourceUpdateRequest, ResourceUpdateResponse
37
+ rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
38
38
  # Delete removes a Resource by ID.
39
- rpc :Delete, ResourceDeleteRequest, ResourceDeleteResponse
39
+ rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
40
40
  # List gets a list of Resources matching a given set of criteria.
41
- rpc :List, ResourceListRequest, ResourceListResponse
41
+ rpc :List, ::V1::ResourceListRequest, ::V1::ResourceListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -25,20 +25,20 @@ 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
32
32
  self.service_name = "v1.RoleAttachments"
33
33
 
34
34
  # Create registers a new RoleAttachment.
35
- rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
35
+ rpc :Create, ::V1::RoleAttachmentCreateRequest, ::V1::RoleAttachmentCreateResponse
36
36
  # Get reads one RoleAttachment by ID.
37
- rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
37
+ rpc :Get, ::V1::RoleAttachmentGetRequest, ::V1::RoleAttachmentGetResponse
38
38
  # Delete removes a RoleAttachment by ID.
39
- rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
39
+ rpc :Delete, ::V1::RoleAttachmentDeleteRequest, ::V1::RoleAttachmentDeleteResponse
40
40
  # List gets a list of RoleAttachments matching a given set of criteria.
41
- rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
41
+ rpc :List, ::V1::RoleAttachmentListRequest, ::V1::RoleAttachmentListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -25,20 +25,20 @@ 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
32
32
  self.service_name = "v1.RoleGrants"
33
33
 
34
34
  # Create registers a new RoleGrant.
35
- rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
35
+ rpc :Create, ::V1::RoleGrantCreateRequest, ::V1::RoleGrantCreateResponse
36
36
  # Get reads one RoleGrant by ID.
37
- rpc :Get, RoleGrantGetRequest, RoleGrantGetResponse
37
+ rpc :Get, ::V1::RoleGrantGetRequest, ::V1::RoleGrantGetResponse
38
38
  # Delete removes a RoleGrant by ID.
39
- rpc :Delete, RoleGrantDeleteRequest, RoleGrantDeleteResponse
39
+ rpc :Delete, ::V1::RoleGrantDeleteRequest, ::V1::RoleGrantDeleteResponse
40
40
  # List gets a list of RoleGrants matching a given set of criteria.
41
- rpc :List, RoleGrantListRequest, RoleGrantListResponse
41
+ rpc :List, ::V1::RoleGrantListRequest, ::V1::RoleGrantListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -26,22 +26,22 @@ 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
33
33
  self.service_name = "v1.Roles"
34
34
 
35
35
  # Create registers a new Role.
36
- rpc :Create, RoleCreateRequest, RoleCreateResponse
36
+ rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
37
37
  # Get reads one Role by ID.
38
- rpc :Get, RoleGetRequest, RoleGetResponse
38
+ rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
39
39
  # Update patches a Role by ID.
40
- rpc :Update, RoleUpdateRequest, RoleUpdateResponse
40
+ rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
41
41
  # Delete removes a Role by ID.
42
- rpc :Delete, RoleDeleteRequest, RoleDeleteResponse
42
+ rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
43
43
  # List gets a list of Roles matching a given set of criteria.
44
- rpc :List, RoleListRequest, RoleListResponse
44
+ rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse
45
45
  end
46
46
 
47
47
  Stub = Service.rpc_stub_class
@@ -24,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  add_message "v1.SecretStore" do
25
25
  oneof :secret_store do
26
26
  optional :aws, :message, 3, "v1.AWSStore"
27
+ optional :azure, :message, 101, "v1.AzureStore"
27
28
  optional :vault_tls, :message, 1, "v1.VaultTLSStore"
28
29
  optional :vault_token, :message, 2, "v1.VaultTokenStore"
29
30
  end
@@ -34,6 +35,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
35
  optional :region, :string, 3
35
36
  optional :tags, :message, 4, "v1.Tags"
36
37
  end
38
+ add_message "v1.AzureStore" do
39
+ optional :id, :string, 1
40
+ optional :name, :string, 2
41
+ optional :vault_uri, :string, 3
42
+ optional :tags, :message, 32771, "v1.Tags"
43
+ end
37
44
  add_message "v1.VaultTLSStore" do
38
45
  optional :id, :string, 1
39
46
  optional :name, :string, 2
@@ -57,6 +64,7 @@ end
57
64
  module V1
58
65
  SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
59
66
  AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
67
+ AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
60
68
  VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
61
69
  VaultTokenStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTokenStore").msgclass
62
70
  end
@@ -22,21 +22,21 @@ 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
29
29
  self.service_name = "v1.SecretStores"
30
30
 
31
- rpc :Create, SecretStoreCreateRequest, SecretStoreCreateResponse
31
+ rpc :Create, ::V1::SecretStoreCreateRequest, ::V1::SecretStoreCreateResponse
32
32
  # Get reads one SecretStore by ID.
33
- rpc :Get, SecretStoreGetRequest, SecretStoreGetResponse
33
+ rpc :Get, ::V1::SecretStoreGetRequest, ::V1::SecretStoreGetResponse
34
34
  # Update patches a SecretStore by ID.
35
- rpc :Update, SecretStoreUpdateRequest, SecretStoreUpdateResponse
35
+ rpc :Update, ::V1::SecretStoreUpdateRequest, ::V1::SecretStoreUpdateResponse
36
36
  # Delete removes a SecretStore by ID.
37
- rpc :Delete, SecretStoreDeleteRequest, SecretStoreDeleteResponse
37
+ rpc :Delete, ::V1::SecretStoreDeleteRequest, ::V1::SecretStoreDeleteResponse
38
38
  # List gets a list of SecretStores matching a given set of criteria.
39
- rpc :List, SecretStoreListRequest, SecretStoreListResponse
39
+ rpc :List, ::V1::SecretStoreListRequest, ::V1::SecretStoreListResponse
40
40
  end
41
41
 
42
42
  Stub = Service.rpc_stub_class