strongdm 1.0.31 → 1.0.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) 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-760024d2d3e635c44bfe6b54af80a8b21674032d.idx +0 -0
  10. data/.git/objects/pack/{pack-156dc2dc5f58228a26c86e1e423b177043b93423.pack → pack-760024d2d3e635c44bfe6b54af80a8b21674032d.pack} +0 -0
  11. data/.git/packed-refs +3 -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 +2 -2
  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 +2 -2
  29. data/doc/SDM/DocumentDBReplicaSet.html +2 -2
  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/Mysql.html +2 -2
  56. data/doc/SDM/Neptune.html +2 -2
  57. data/doc/SDM/NeptuneIAM.html +2 -2
  58. data/doc/SDM/NodeCreateResponse.html +2 -2
  59. data/doc/SDM/NodeDeleteResponse.html +2 -2
  60. data/doc/SDM/NodeGetResponse.html +2 -2
  61. data/doc/SDM/NodeUpdateResponse.html +2 -2
  62. data/doc/SDM/Oracle.html +2 -2
  63. data/doc/SDM/Plumbing.html +765 -377
  64. data/doc/SDM/Postgres.html +2 -2
  65. data/doc/SDM/Presto.html +2 -2
  66. data/doc/SDM/RDP.html +2 -2
  67. data/doc/SDM/RabbitMQAMQP091.html +2 -2
  68. data/doc/SDM/RateLimitMetadata.html +2 -2
  69. data/doc/SDM/RawTCP.html +2 -2
  70. data/doc/SDM/Redis.html +2 -2
  71. data/doc/SDM/Redshift.html +2 -2
  72. data/doc/SDM/Relay.html +2 -2
  73. data/doc/SDM/ResourceCreateResponse.html +2 -2
  74. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  75. data/doc/SDM/ResourceGetResponse.html +2 -2
  76. data/doc/SDM/ResourceUpdateResponse.html +2 -2
  77. data/doc/SDM/Role.html +2 -2
  78. data/doc/SDM/RoleAttachment.html +2 -2
  79. data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
  80. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  81. data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
  82. data/doc/SDM/RoleCreateResponse.html +2 -2
  83. data/doc/SDM/RoleDeleteResponse.html +2 -2
  84. data/doc/SDM/RoleGetResponse.html +2 -2
  85. data/doc/SDM/RoleGrant.html +2 -2
  86. data/doc/SDM/RoleGrantCreateResponse.html +2 -2
  87. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  88. data/doc/SDM/RoleGrantGetResponse.html +2 -2
  89. data/doc/SDM/RoleUpdateResponse.html +2 -2
  90. data/doc/SDM/SQLServer.html +2 -2
  91. data/doc/SDM/SSH.html +2 -2
  92. data/doc/SDM/SSHCert.html +2 -2
  93. data/doc/SDM/SSHCustomerKey.html +2 -2
  94. data/doc/SDM/SecretStoreCreateResponse.html +2 -2
  95. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  96. data/doc/SDM/SecretStoreGetResponse.html +2 -2
  97. data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
  98. data/doc/SDM/Service.html +2 -2
  99. data/doc/SDM/SingleStore.html +2 -2
  100. data/doc/SDM/Snowflake.html +2 -2
  101. data/doc/SDM/Sybase.html +2 -2
  102. data/doc/SDM/SybaseIQ.html +2 -2
  103. data/doc/SDM/Tag.html +2 -2
  104. data/doc/SDM/Teradata.html +2 -2
  105. data/doc/SDM/UpdateResponseMetadata.html +2 -2
  106. data/doc/SDM/User.html +2 -2
  107. data/doc/SDM/VaultTLSStore.html +2 -2
  108. data/doc/SDM/VaultTokenStore.html +2 -2
  109. data/doc/V1/AccountAttachments/Service.html +1 -1
  110. data/doc/V1/AccountGrants/Service.html +1 -1
  111. data/doc/V1/Accounts/Service.html +1 -1
  112. data/doc/V1/ControlPanel/Service.html +1 -1
  113. data/doc/V1/Nodes/Service.html +1 -1
  114. data/doc/V1/Resources/Service.html +1 -1
  115. data/doc/V1/RoleAttachments/Service.html +1 -1
  116. data/doc/V1/RoleGrants/Service.html +1 -1
  117. data/doc/V1/Roles/Service.html +1 -1
  118. data/doc/V1/SecretStores/Service.html +1 -1
  119. data/doc/V1.html +6 -0
  120. data/doc/created.rid +37 -37
  121. data/doc/index.html +3 -0
  122. data/doc/js/navigation.js.gz +0 -0
  123. data/doc/js/search_index.js +1 -1
  124. data/doc/js/search_index.js.gz +0 -0
  125. data/doc/js/searcher.js.gz +0 -0
  126. data/doc/lib/version.html +1 -1
  127. data/doc/table_of_contents.html +643 -544
  128. data/lib/grpc/account_attachments_services_pb.rb +5 -5
  129. data/lib/grpc/account_grants_services_pb.rb +5 -5
  130. data/lib/grpc/accounts_services_pb.rb +6 -6
  131. data/lib/grpc/control_panel_services_pb.rb +3 -3
  132. data/lib/grpc/drivers_pb.rb +38 -0
  133. data/lib/grpc/nodes_services_pb.rb +6 -6
  134. data/lib/grpc/plumbing.rb +166 -0
  135. data/lib/grpc/resources_services_pb.rb +7 -7
  136. data/lib/grpc/role_attachments_services_pb.rb +5 -5
  137. data/lib/grpc/role_grants_services_pb.rb +5 -5
  138. data/lib/grpc/roles_services_pb.rb +6 -6
  139. data/lib/grpc/secret_stores_services_pb.rb +6 -6
  140. data/lib/models/porcelain.rb +199 -0
  141. data/lib/strongdm.rb +1 -1
  142. data/lib/version +1 -1
  143. data/lib/version.rb +1 -1
  144. metadata +7 -4
  145. data/.git/objects/pack/pack-156dc2dc5f58228a26c86e1e423b177043b93423.idx +0 -0
@@ -1607,6 +1607,142 @@ module SDM
1607
1607
  end
1608
1608
  end
1609
1609
 
1610
+ class Azure
1611
+ attr_accessor :app_id
1612
+ # A filter applied to the routing logic to pin datasource to nodes.
1613
+ attr_accessor :egress_filter
1614
+ # True if the datasource is reachable and the credentials are valid.
1615
+ attr_accessor :healthy
1616
+ # Unique identifier of the Resource.
1617
+ attr_accessor :id
1618
+ # Unique human-readable name of the Resource.
1619
+ attr_accessor :name
1620
+
1621
+ attr_accessor :password
1622
+ # ID of the secret store containing credentials for this resource, if any.
1623
+ attr_accessor :secret_store_id
1624
+ # Tags is a map of key, value pairs.
1625
+ attr_accessor :tags
1626
+
1627
+ attr_accessor :tenant_id
1628
+
1629
+ def initialize(
1630
+ app_id: nil,
1631
+ egress_filter: nil,
1632
+ healthy: nil,
1633
+ id: nil,
1634
+ name: nil,
1635
+ password: nil,
1636
+ secret_store_id: nil,
1637
+ tags: nil,
1638
+ tenant_id: nil
1639
+ )
1640
+ if app_id != nil
1641
+ @app_id = app_id
1642
+ end
1643
+ if egress_filter != nil
1644
+ @egress_filter = egress_filter
1645
+ end
1646
+ if healthy != nil
1647
+ @healthy = healthy
1648
+ end
1649
+ if id != nil
1650
+ @id = id
1651
+ end
1652
+ if name != nil
1653
+ @name = name
1654
+ end
1655
+ if password != nil
1656
+ @password = password
1657
+ end
1658
+ if secret_store_id != nil
1659
+ @secret_store_id = secret_store_id
1660
+ end
1661
+ if tags != nil
1662
+ @tags = tags
1663
+ end
1664
+ if tenant_id != nil
1665
+ @tenant_id = tenant_id
1666
+ end
1667
+ end
1668
+
1669
+ def to_json(options = {})
1670
+ hash = {}
1671
+ self.instance_variables.each do |var|
1672
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
1673
+ end
1674
+ hash.to_json
1675
+ end
1676
+ end
1677
+
1678
+ class AzureCertificate
1679
+ attr_accessor :app_id
1680
+
1681
+ attr_accessor :client_certificate
1682
+ # A filter applied to the routing logic to pin datasource to nodes.
1683
+ attr_accessor :egress_filter
1684
+ # True if the datasource is reachable and the credentials are valid.
1685
+ attr_accessor :healthy
1686
+ # Unique identifier of the Resource.
1687
+ attr_accessor :id
1688
+ # Unique human-readable name of the Resource.
1689
+ attr_accessor :name
1690
+ # ID of the secret store containing credentials for this resource, if any.
1691
+ attr_accessor :secret_store_id
1692
+ # Tags is a map of key, value pairs.
1693
+ attr_accessor :tags
1694
+
1695
+ attr_accessor :tenant_id
1696
+
1697
+ def initialize(
1698
+ app_id: nil,
1699
+ client_certificate: nil,
1700
+ egress_filter: nil,
1701
+ healthy: nil,
1702
+ id: nil,
1703
+ name: nil,
1704
+ secret_store_id: nil,
1705
+ tags: nil,
1706
+ tenant_id: nil
1707
+ )
1708
+ if app_id != nil
1709
+ @app_id = app_id
1710
+ end
1711
+ if client_certificate != nil
1712
+ @client_certificate = client_certificate
1713
+ end
1714
+ if egress_filter != nil
1715
+ @egress_filter = egress_filter
1716
+ end
1717
+ if healthy != nil
1718
+ @healthy = healthy
1719
+ end
1720
+ if id != nil
1721
+ @id = id
1722
+ end
1723
+ if name != nil
1724
+ @name = name
1725
+ end
1726
+ if secret_store_id != nil
1727
+ @secret_store_id = secret_store_id
1728
+ end
1729
+ if tags != nil
1730
+ @tags = tags
1731
+ end
1732
+ if tenant_id != nil
1733
+ @tenant_id = tenant_id
1734
+ end
1735
+ end
1736
+
1737
+ def to_json(options = {})
1738
+ hash = {}
1739
+ self.instance_variables.each do |var|
1740
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
1741
+ end
1742
+ hash.to_json
1743
+ end
1744
+ end
1745
+
1610
1746
  class AzurePostgres
1611
1747
  attr_accessor :database
1612
1748
  # A filter applied to the routing logic to pin datasource to nodes.
@@ -2927,6 +3063,69 @@ module SDM
2927
3063
  end
2928
3064
  end
2929
3065
 
3066
+ class GCP
3067
+ # A filter applied to the routing logic to pin datasource to nodes.
3068
+ attr_accessor :egress_filter
3069
+ # True if the datasource is reachable and the credentials are valid.
3070
+ attr_accessor :healthy
3071
+ # Unique identifier of the Resource.
3072
+ attr_accessor :id
3073
+
3074
+ attr_accessor :keyfile
3075
+ # Unique human-readable name of the Resource.
3076
+ attr_accessor :name
3077
+
3078
+ attr_accessor :scopes
3079
+ # ID of the secret store containing credentials for this resource, if any.
3080
+ attr_accessor :secret_store_id
3081
+ # Tags is a map of key, value pairs.
3082
+ attr_accessor :tags
3083
+
3084
+ def initialize(
3085
+ egress_filter: nil,
3086
+ healthy: nil,
3087
+ id: nil,
3088
+ keyfile: nil,
3089
+ name: nil,
3090
+ scopes: nil,
3091
+ secret_store_id: nil,
3092
+ tags: nil
3093
+ )
3094
+ if egress_filter != nil
3095
+ @egress_filter = egress_filter
3096
+ end
3097
+ if healthy != nil
3098
+ @healthy = healthy
3099
+ end
3100
+ if id != nil
3101
+ @id = id
3102
+ end
3103
+ if keyfile != nil
3104
+ @keyfile = keyfile
3105
+ end
3106
+ if name != nil
3107
+ @name = name
3108
+ end
3109
+ if scopes != nil
3110
+ @scopes = scopes
3111
+ end
3112
+ if secret_store_id != nil
3113
+ @secret_store_id = secret_store_id
3114
+ end
3115
+ if tags != nil
3116
+ @tags = tags
3117
+ end
3118
+ end
3119
+
3120
+ def to_json(options = {})
3121
+ hash = {}
3122
+ self.instance_variables.each do |var|
3123
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
3124
+ end
3125
+ hash.to_json
3126
+ end
3127
+ end
3128
+
2930
3129
  # Gateway represents a StrongDM CLI installation running in gateway mode.
2931
3130
  class Gateway
2932
3131
  # The hostname/port tuple which the gateway daemon will bind to.
data/lib/strongdm.rb CHANGED
@@ -23,7 +23,7 @@ DEFAULT_MAX_RETRIES = 3
23
23
  DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
24
24
  DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
25
25
  API_VERSION = "2021-08-23"
26
- USER_AGENT = "strongdm-sdk-ruby/1.0.31"
26
+ USER_AGENT = "strongdm-sdk-ruby/1.0.32"
27
27
 
28
28
  module SDM
29
29
 
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "1.0.31"
16
+ VERSION = "1.0.32"
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.31"
16
+ VERSION = "1.0.32"
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.31
4
+ version: 1.0.32
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-12-01 00:00:00.000000000 Z
11
+ date: 2021-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -81,8 +81,8 @@ files:
81
81
  - "./.git/logs/refs/heads/development"
82
82
  - "./.git/logs/refs/heads/master"
83
83
  - "./.git/logs/refs/remotes/origin/HEAD"
84
- - "./.git/objects/pack/pack-156dc2dc5f58228a26c86e1e423b177043b93423.idx"
85
- - "./.git/objects/pack/pack-156dc2dc5f58228a26c86e1e423b177043b93423.pack"
84
+ - "./.git/objects/pack/pack-760024d2d3e635c44bfe6b54af80a8b21674032d.idx"
85
+ - "./.git/objects/pack/pack-760024d2d3e635c44bfe6b54af80a8b21674032d.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/development"
88
88
  - "./.git/refs/heads/master"
@@ -124,6 +124,8 @@ files:
124
124
  - "./doc/SDM/AuroraMysql.html"
125
125
  - "./doc/SDM/AuroraPostgres.html"
126
126
  - "./doc/SDM/AuthenticationError.html"
127
+ - "./doc/SDM/Azure.html"
128
+ - "./doc/SDM/AzureCertificate.html"
127
129
  - "./doc/SDM/AzurePostgres.html"
128
130
  - "./doc/SDM/BadRequestError.html"
129
131
  - "./doc/SDM/BigQuery.html"
@@ -146,6 +148,7 @@ files:
146
148
  - "./doc/SDM/DynamoDB.html"
147
149
  - "./doc/SDM/Elastic.html"
148
150
  - "./doc/SDM/ElasticacheRedis.html"
151
+ - "./doc/SDM/GCP.html"
149
152
  - "./doc/SDM/Gateway.html"
150
153
  - "./doc/SDM/GetResponseMetadata.html"
151
154
  - "./doc/SDM/GoogleGKE.html"