strongdm 1.0.23 → 1.0.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/doc/SDM/AWSStore.html +2 -2
  3. data/doc/SDM/AuroraPostgres.html +2 -2
  4. data/doc/SDM/Citus.html +2 -2
  5. data/doc/SDM/Cockroach.html +2 -2
  6. data/doc/SDM/ElasticacheRedis.html +2 -2
  7. data/doc/SDM/Gateway.html +2 -2
  8. data/doc/SDM/Greenplum.html +2 -2
  9. data/doc/SDM/NodeCreateResponse.html +2 -2
  10. data/doc/SDM/NodeDeleteResponse.html +2 -2
  11. data/doc/SDM/NodeGetResponse.html +2 -2
  12. data/doc/SDM/NodeUpdateResponse.html +2 -2
  13. data/doc/SDM/Oracle.html +2 -2
  14. data/doc/SDM/Plumbing.html +552 -364
  15. data/doc/SDM/Postgres.html +2 -2
  16. data/doc/SDM/Presto.html +2 -2
  17. data/doc/SDM/RDP.html +2 -2
  18. data/doc/SDM/Redis.html +2 -2
  19. data/doc/SDM/Redshift.html +2 -2
  20. data/doc/SDM/Relay.html +2 -2
  21. data/doc/SDM/ResourceCreateResponse.html +2 -2
  22. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  23. data/doc/SDM/ResourceGetResponse.html +2 -2
  24. data/doc/SDM/ResourceUpdateResponse.html +2 -2
  25. data/doc/SDM/Role.html +2 -2
  26. data/doc/SDM/RoleAttachment.html +2 -2
  27. data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
  28. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  29. data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
  30. data/doc/SDM/RoleCreateResponse.html +2 -2
  31. data/doc/SDM/RoleDeleteResponse.html +2 -2
  32. data/doc/SDM/RoleGetResponse.html +2 -2
  33. data/doc/SDM/RoleGrant.html +2 -2
  34. data/doc/SDM/RoleGrantCreateResponse.html +2 -2
  35. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  36. data/doc/SDM/RoleGrantGetResponse.html +2 -2
  37. data/doc/SDM/RoleUpdateResponse.html +2 -2
  38. data/doc/SDM/SQLServer.html +2 -2
  39. data/doc/SDM/SSH.html +2 -2
  40. data/doc/SDM/SSHCert.html +2 -2
  41. data/doc/SDM/SSHCustomerKey.html +2 -2
  42. data/doc/SDM/SecretStoreCreateResponse.html +2 -2
  43. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  44. data/doc/SDM/SecretStoreGetResponse.html +2 -2
  45. data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
  46. data/doc/SDM/SingleStore.html +427 -0
  47. data/doc/SDM/Snowflake.html +2 -2
  48. data/doc/SDM/Sybase.html +2 -2
  49. data/doc/SDM/SybaseIQ.html +2 -2
  50. data/doc/SDM/Teradata.html +2 -2
  51. data/doc/SDM/VaultTLSStore.html +2 -2
  52. data/doc/SDM/VaultTokenStore.html +2 -2
  53. data/doc/V1.html +5 -10
  54. data/doc/created.rid +51 -56
  55. data/doc/index.html +2 -4
  56. data/doc/js/navigation.js.gz +0 -0
  57. data/doc/js/search_index.js +1 -1
  58. data/doc/js/search_index.js.gz +0 -0
  59. data/doc/js/searcher.js.gz +0 -0
  60. data/doc/lib/version.html +1 -1
  61. data/doc/table_of_contents.html +131 -106
  62. data/lib/grpc/account_attachments_services_pb.rb +4 -4
  63. data/lib/grpc/account_grants_services_pb.rb +4 -4
  64. data/lib/grpc/accounts_services_pb.rb +5 -5
  65. data/lib/grpc/control_panel_services_pb.rb +2 -2
  66. data/lib/grpc/drivers_pb.rb +16 -0
  67. data/lib/grpc/nodes_services_pb.rb +5 -5
  68. data/lib/grpc/options_pb.rb +1 -0
  69. data/lib/grpc/plumbing.rb +62 -0
  70. data/lib/grpc/resources_services_pb.rb +6 -6
  71. data/lib/grpc/role_attachments_services_pb.rb +4 -4
  72. data/lib/grpc/role_grants_services_pb.rb +4 -4
  73. data/lib/grpc/roles_services_pb.rb +5 -5
  74. data/lib/grpc/secret_stores_services_pb.rb +5 -5
  75. data/lib/models/porcelain.rb +87 -0
  76. data/lib/version +1 -1
  77. data/lib/version.rb +1 -1
  78. metadata +3 -2
@@ -29,13 +29,13 @@ module V1
29
29
  self.service_name = "v1.AccountAttachments"
30
30
 
31
31
  # Create registers a new AccountAttachment.
32
- rpc :Create, ::V1::AccountAttachmentCreateRequest, ::V1::AccountAttachmentCreateResponse
32
+ rpc :Create, AccountAttachmentCreateRequest, AccountAttachmentCreateResponse
33
33
  # Get reads one AccountAttachment by ID.
34
- rpc :Get, ::V1::AccountAttachmentGetRequest, ::V1::AccountAttachmentGetResponse
34
+ rpc :Get, AccountAttachmentGetRequest, AccountAttachmentGetResponse
35
35
  # Delete removes a AccountAttachment by ID.
36
- rpc :Delete, ::V1::AccountAttachmentDeleteRequest, ::V1::AccountAttachmentDeleteResponse
36
+ rpc :Delete, AccountAttachmentDeleteRequest, AccountAttachmentDeleteResponse
37
37
  # List gets a list of AccountAttachments matching a given set of criteria.
38
- rpc :List, ::V1::AccountAttachmentListRequest, ::V1::AccountAttachmentListResponse
38
+ rpc :List, AccountAttachmentListRequest, AccountAttachmentListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -29,13 +29,13 @@ module V1
29
29
  self.service_name = "v1.AccountGrants"
30
30
 
31
31
  # Create registers a new AccountGrant.
32
- rpc :Create, ::V1::AccountGrantCreateRequest, ::V1::AccountGrantCreateResponse
32
+ rpc :Create, AccountGrantCreateRequest, AccountGrantCreateResponse
33
33
  # Get reads one AccountGrant by ID.
34
- rpc :Get, ::V1::AccountGrantGetRequest, ::V1::AccountGrantGetResponse
34
+ rpc :Get, AccountGrantGetRequest, AccountGrantGetResponse
35
35
  # Delete removes a AccountGrant by ID.
36
- rpc :Delete, ::V1::AccountGrantDeleteRequest, ::V1::AccountGrantDeleteResponse
36
+ rpc :Delete, AccountGrantDeleteRequest, AccountGrantDeleteResponse
37
37
  # List gets a list of AccountGrants matching a given set of criteria.
38
- rpc :List, ::V1::AccountGrantListRequest, ::V1::AccountGrantListResponse
38
+ rpc :List, AccountGrantListRequest, AccountGrantListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -31,15 +31,15 @@ module V1
31
31
  self.service_name = "v1.Accounts"
32
32
 
33
33
  # Create registers a new Account.
34
- rpc :Create, ::V1::AccountCreateRequest, ::V1::AccountCreateResponse
34
+ rpc :Create, AccountCreateRequest, AccountCreateResponse
35
35
  # Get reads one Account by ID.
36
- rpc :Get, ::V1::AccountGetRequest, ::V1::AccountGetResponse
36
+ rpc :Get, AccountGetRequest, AccountGetResponse
37
37
  # Update patches a Account by ID.
38
- rpc :Update, ::V1::AccountUpdateRequest, ::V1::AccountUpdateResponse
38
+ rpc :Update, AccountUpdateRequest, AccountUpdateResponse
39
39
  # Delete removes a Account by ID.
40
- rpc :Delete, ::V1::AccountDeleteRequest, ::V1::AccountDeleteResponse
40
+ rpc :Delete, AccountDeleteRequest, AccountDeleteResponse
41
41
  # List gets a list of Accounts matching a given set of criteria.
42
- rpc :List, ::V1::AccountListRequest, ::V1::AccountListResponse
42
+ rpc :List, AccountListRequest, AccountListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -29,9 +29,9 @@ module V1
29
29
  self.service_name = "v1.ControlPanel"
30
30
 
31
31
  # GetSSHCAPublicKey retrieves the SSH CA public key.
32
- rpc :GetSSHCAPublicKey, ::V1::ControlPanelGetSSHCAPublicKeyRequest, ::V1::ControlPanelGetSSHCAPublicKeyResponse
32
+ rpc :GetSSHCAPublicKey, ControlPanelGetSSHCAPublicKeyRequest, ControlPanelGetSSHCAPublicKeyResponse
33
33
  # VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
34
- rpc :VerifyJWT, ::V1::ControlPanelVerifyJWTRequest, ::V1::ControlPanelVerifyJWTResponse
34
+ rpc :VerifyJWT, ControlPanelVerifyJWTRequest, ControlPanelVerifyJWTResponse
35
35
  end
36
36
 
37
37
  Stub = Service.rpc_stub_class
@@ -62,6 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
62
  optional :clustrix, :message, 1102, "v1.Clustrix"
63
63
  optional :maria, :message, 1103, "v1.Maria"
64
64
  optional :memsql, :message, 1104, "v1.Memsql"
65
+ optional :single_store, :message, 1105, "v1.SingleStore"
65
66
  optional :oracle, :message, 1200, "v1.Oracle"
66
67
  optional :postgres, :message, 1300, "v1.Postgres"
67
68
  optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
@@ -627,6 +628,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
627
628
  optional :port_override, :int32, 5
628
629
  optional :port, :int32, 6
629
630
  end
631
+ add_message "v1.SingleStore" do
632
+ optional :id, :string, 32768
633
+ optional :name, :string, 32769
634
+ optional :healthy, :bool, 32770
635
+ optional :tags, :message, 32771, "v1.Tags"
636
+ optional :secret_store_id, :string, 32772
637
+ optional :egress_filter, :string, 32773
638
+ optional :hostname, :string, 1
639
+ optional :username, :string, 2
640
+ optional :password, :string, 3
641
+ optional :database, :string, 4
642
+ optional :port_override, :int32, 5
643
+ optional :port, :int32, 6
644
+ end
630
645
  add_message "v1.Oracle" do
631
646
  optional :id, :string, 32768
632
647
  optional :name, :string, 32769
@@ -939,6 +954,7 @@ module V1
939
954
  Clustrix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Clustrix").msgclass
940
955
  Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
941
956
  Memsql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memsql").msgclass
957
+ SingleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SingleStore").msgclass
942
958
  Oracle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Oracle").msgclass
943
959
  Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
944
960
  AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
@@ -31,15 +31,15 @@ module V1
31
31
  self.service_name = "v1.Nodes"
32
32
 
33
33
  # Create registers a new Node.
34
- rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
34
+ rpc :Create, NodeCreateRequest, NodeCreateResponse
35
35
  # Get reads one Node by ID.
36
- rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
36
+ rpc :Get, NodeGetRequest, NodeGetResponse
37
37
  # Update patches a Node by ID.
38
- rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
38
+ rpc :Update, NodeUpdateRequest, NodeUpdateResponse
39
39
  # Delete removes a Node by ID.
40
- rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
40
+ rpc :Delete, NodeDeleteRequest, NodeDeleteResponse
41
41
  # List gets a list of Nodes matching a given set of criteria.
42
- rpc :List, ::V1::NodeListRequest, ::V1::NodeListResponse
42
+ rpc :List, NodeListRequest, NodeListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -59,6 +59,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
59
  optional :cli_json_name, :string, 1941308
60
60
  optional :json_gateway_name, :string, 1941309
61
61
  optional :hide_from_json_gateway, :bool, 1941310
62
+ optional :terraform_provider_name, :string, 1941311
62
63
  end
63
64
  add_message "v1.CustomPorcelainMessageOptions" do
64
65
  optional :converter, :string, 1941309
data/lib/grpc/plumbing.rb CHANGED
@@ -1077,6 +1077,9 @@ module SDM
1077
1077
  if porcelain.instance_of? Memsql
1078
1078
  plumbing.memsql = convert_memsql_to_plumbing(porcelain)
1079
1079
  end
1080
+ if porcelain.instance_of? SingleStore
1081
+ plumbing.single_store = convert_single_store_to_plumbing(porcelain)
1082
+ end
1080
1083
  if porcelain.instance_of? Oracle
1081
1084
  plumbing.oracle = convert_oracle_to_plumbing(porcelain)
1082
1085
  end
@@ -1258,6 +1261,9 @@ module SDM
1258
1261
  if plumbing.memsql != nil
1259
1262
  return convert_memsql_to_porcelain(plumbing.memsql)
1260
1263
  end
1264
+ if plumbing.single_store != nil
1265
+ return convert_single_store_to_porcelain(plumbing.single_store)
1266
+ end
1261
1267
  if plumbing.oracle != nil
1262
1268
  return convert_oracle_to_porcelain(plumbing.oracle)
1263
1269
  end
@@ -3513,6 +3519,62 @@ module SDM
3513
3519
  end
3514
3520
  items
3515
3521
  end
3522
+ def self.convert_single_store_to_porcelain(plumbing)
3523
+ if plumbing == nil
3524
+ return nil
3525
+ end
3526
+ porcelain = SingleStore.new()
3527
+ porcelain.id = (plumbing.id)
3528
+ porcelain.name = (plumbing.name)
3529
+ porcelain.healthy = (plumbing.healthy)
3530
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3531
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3532
+ porcelain.egress_filter = (plumbing.egress_filter)
3533
+ porcelain.hostname = (plumbing.hostname)
3534
+ porcelain.username = (plumbing.username)
3535
+ porcelain.password = (plumbing.password)
3536
+ porcelain.database = (plumbing.database)
3537
+ porcelain.port_override = (plumbing.port_override)
3538
+ porcelain.port = (plumbing.port)
3539
+ porcelain
3540
+ end
3541
+
3542
+ def self.convert_single_store_to_plumbing(porcelain)
3543
+ if porcelain == nil
3544
+ return nil
3545
+ end
3546
+ plumbing = V1::SingleStore.new()
3547
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3548
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3549
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3550
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3551
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3552
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3553
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
3554
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
3555
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
3556
+ plumbing.database = (porcelain.database) unless porcelain.database == nil
3557
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
3558
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
3559
+ plumbing
3560
+ end
3561
+ def self.convert_repeated_single_store_to_plumbing(porcelains)
3562
+ items = Array.new
3563
+ porcelains.each do |porcelain|
3564
+ plumbing = convert_single_store_to_plumbing(porcelain)
3565
+ items.append(plumbing)
3566
+ end
3567
+ items
3568
+ end
3569
+
3570
+ def self.convert_repeated_single_store_to_porcelain(plumbings)
3571
+ items = Array.new
3572
+ plumbings.each do |plumbing|
3573
+ porcelain = convert_single_store_to_porcelain(plumbing)
3574
+ items.append(porcelain)
3575
+ end
3576
+ items
3577
+ end
3516
3578
  def self.convert_oracle_to_porcelain(plumbing)
3517
3579
  if plumbing == nil
3518
3580
  return nil
@@ -28,17 +28,17 @@ module V1
28
28
  self.service_name = "v1.Resources"
29
29
 
30
30
  # EnumerateTags gets a list of the filter matching tags.
31
- rpc :EnumerateTags, ::V1::EnumerateTagsRequest, ::V1::EnumerateTagsResponse
31
+ rpc :EnumerateTags, EnumerateTagsRequest, EnumerateTagsResponse
32
32
  # Create registers a new Resource.
33
- rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
33
+ rpc :Create, ResourceCreateRequest, ResourceCreateResponse
34
34
  # Get reads one Resource by ID.
35
- rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
35
+ rpc :Get, ResourceGetRequest, ResourceGetResponse
36
36
  # Update patches a Resource by ID.
37
- rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
37
+ rpc :Update, ResourceUpdateRequest, ResourceUpdateResponse
38
38
  # Delete removes a Resource by ID.
39
- rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
39
+ rpc :Delete, ResourceDeleteRequest, ResourceDeleteResponse
40
40
  # List gets a list of Resources matching a given set of criteria.
41
- rpc :List, ::V1::ResourceListRequest, ::V1::ResourceListResponse
41
+ rpc :List, ResourceListRequest, ResourceListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -32,13 +32,13 @@ module V1
32
32
  self.service_name = "v1.RoleAttachments"
33
33
 
34
34
  # Create registers a new RoleAttachment.
35
- rpc :Create, ::V1::RoleAttachmentCreateRequest, ::V1::RoleAttachmentCreateResponse
35
+ rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
36
36
  # Get reads one RoleAttachment by ID.
37
- rpc :Get, ::V1::RoleAttachmentGetRequest, ::V1::RoleAttachmentGetResponse
37
+ rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
38
38
  # Delete removes a RoleAttachment by ID.
39
- rpc :Delete, ::V1::RoleAttachmentDeleteRequest, ::V1::RoleAttachmentDeleteResponse
39
+ rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
40
40
  # List gets a list of RoleAttachments matching a given set of criteria.
41
- rpc :List, ::V1::RoleAttachmentListRequest, ::V1::RoleAttachmentListResponse
41
+ rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -32,13 +32,13 @@ module V1
32
32
  self.service_name = "v1.RoleGrants"
33
33
 
34
34
  # Create registers a new RoleGrant.
35
- rpc :Create, ::V1::RoleGrantCreateRequest, ::V1::RoleGrantCreateResponse
35
+ rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
36
36
  # Get reads one RoleGrant by ID.
37
- rpc :Get, ::V1::RoleGrantGetRequest, ::V1::RoleGrantGetResponse
37
+ rpc :Get, RoleGrantGetRequest, RoleGrantGetResponse
38
38
  # Delete removes a RoleGrant by ID.
39
- rpc :Delete, ::V1::RoleGrantDeleteRequest, ::V1::RoleGrantDeleteResponse
39
+ rpc :Delete, RoleGrantDeleteRequest, RoleGrantDeleteResponse
40
40
  # List gets a list of RoleGrants matching a given set of criteria.
41
- rpc :List, ::V1::RoleGrantListRequest, ::V1::RoleGrantListResponse
41
+ rpc :List, RoleGrantListRequest, RoleGrantListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -33,15 +33,15 @@ module V1
33
33
  self.service_name = "v1.Roles"
34
34
 
35
35
  # Create registers a new Role.
36
- rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
36
+ rpc :Create, RoleCreateRequest, RoleCreateResponse
37
37
  # Get reads one Role by ID.
38
- rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
38
+ rpc :Get, RoleGetRequest, RoleGetResponse
39
39
  # Update patches a Role by ID.
40
- rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
40
+ rpc :Update, RoleUpdateRequest, RoleUpdateResponse
41
41
  # Delete removes a Role by ID.
42
- rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
42
+ rpc :Delete, RoleDeleteRequest, RoleDeleteResponse
43
43
  # List gets a list of Roles matching a given set of criteria.
44
- rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse
44
+ rpc :List, RoleListRequest, RoleListResponse
45
45
  end
46
46
 
47
47
  Stub = Service.rpc_stub_class
@@ -28,15 +28,15 @@ module V1
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.SecretStores"
30
30
 
31
- rpc :Create, ::V1::SecretStoreCreateRequest, ::V1::SecretStoreCreateResponse
31
+ rpc :Create, SecretStoreCreateRequest, SecretStoreCreateResponse
32
32
  # Get reads one SecretStore by ID.
33
- rpc :Get, ::V1::SecretStoreGetRequest, ::V1::SecretStoreGetResponse
33
+ rpc :Get, SecretStoreGetRequest, SecretStoreGetResponse
34
34
  # Update patches a SecretStore by ID.
35
- rpc :Update, ::V1::SecretStoreUpdateRequest, ::V1::SecretStoreUpdateResponse
35
+ rpc :Update, SecretStoreUpdateRequest, SecretStoreUpdateResponse
36
36
  # Delete removes a SecretStore by ID.
37
- rpc :Delete, ::V1::SecretStoreDeleteRequest, ::V1::SecretStoreDeleteResponse
37
+ rpc :Delete, SecretStoreDeleteRequest, SecretStoreDeleteResponse
38
38
  # List gets a list of SecretStores matching a given set of criteria.
39
- rpc :List, ::V1::SecretStoreListRequest, ::V1::SecretStoreListResponse
39
+ rpc :List, SecretStoreListRequest, SecretStoreListResponse
40
40
  end
41
41
 
42
42
  Stub = Service.rpc_stub_class
@@ -4098,6 +4098,93 @@ module SDM
4098
4098
  end
4099
4099
  end
4100
4100
 
4101
+ class SingleStore
4102
+ # Unique identifier of the Resource.
4103
+ attr_accessor :id
4104
+ # Unique human-readable name of the Resource.
4105
+ attr_accessor :name
4106
+ # True if the datasource is reachable and the credentials are valid.
4107
+ attr_accessor :healthy
4108
+ # Tags is a map of key, value pairs.
4109
+ attr_accessor :tags
4110
+ # ID of the secret store containing credentials for this resource, if any.
4111
+ attr_accessor :secret_store_id
4112
+ # A filter applied to the routing logic to pin datasource to nodes.
4113
+ attr_accessor :egress_filter
4114
+
4115
+ attr_accessor :hostname
4116
+
4117
+ attr_accessor :username
4118
+
4119
+ attr_accessor :password
4120
+
4121
+ attr_accessor :database
4122
+
4123
+ attr_accessor :port_override
4124
+
4125
+ attr_accessor :port
4126
+
4127
+ def initialize(
4128
+ id: nil,
4129
+ name: nil,
4130
+ healthy: nil,
4131
+ tags: nil,
4132
+ secret_store_id: nil,
4133
+ egress_filter: nil,
4134
+ hostname: nil,
4135
+ username: nil,
4136
+ password: nil,
4137
+ database: nil,
4138
+ port_override: nil,
4139
+ port: nil
4140
+ )
4141
+ if id != nil
4142
+ @id = id
4143
+ end
4144
+ if name != nil
4145
+ @name = name
4146
+ end
4147
+ if healthy != nil
4148
+ @healthy = healthy
4149
+ end
4150
+ if tags != nil
4151
+ @tags = tags
4152
+ end
4153
+ if secret_store_id != nil
4154
+ @secret_store_id = secret_store_id
4155
+ end
4156
+ if egress_filter != nil
4157
+ @egress_filter = egress_filter
4158
+ end
4159
+ if hostname != nil
4160
+ @hostname = hostname
4161
+ end
4162
+ if username != nil
4163
+ @username = username
4164
+ end
4165
+ if password != nil
4166
+ @password = password
4167
+ end
4168
+ if database != nil
4169
+ @database = database
4170
+ end
4171
+ if port_override != nil
4172
+ @port_override = port_override
4173
+ end
4174
+ if port != nil
4175
+ @port = port
4176
+ end
4177
+ end
4178
+
4179
+ def to_json(options = {})
4180
+ hash = {}
4181
+ self.instance_variables.each do |var|
4182
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
4183
+ end
4184
+ hash.to_json
4185
+ end
4186
+ end
4187
+
4101
4188
  class Oracle
4102
4189
  # Unique identifier of the Resource.
4103
4190
  attr_accessor :id
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "1.0.23"
16
+ VERSION = "1.0.24"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "1.0.23"
16
+ VERSION = "1.0.24"
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - strongDM Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-14 00:00:00.000000000 Z
11
+ date: 2021-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -213,6 +213,7 @@ files:
213
213
  - doc/SDM/SecretStoreUpdateResponse.html
214
214
  - doc/SDM/SecretStores.html
215
215
  - doc/SDM/Service.html
216
+ - doc/SDM/SingleStore.html
216
217
  - doc/SDM/Snowflake.html
217
218
  - doc/SDM/Sybase.html
218
219
  - doc/SDM/SybaseIQ.html