strongdm 1.0.21 → 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. checksums.yaml +4 -4
  2. data/doc/LICENSE.html +5 -6
  3. data/doc/Object.html +3 -6
  4. data/doc/README_md.html +5 -6
  5. data/doc/SDM.html +3 -6
  6. data/doc/SDM/AKS.html +5 -8
  7. data/doc/SDM/AKSBasicAuth.html +5 -8
  8. data/doc/SDM/AKSServiceAccount.html +5 -8
  9. data/doc/SDM/AKSServiceAccountUserImpersonation.html +5 -8
  10. data/doc/SDM/AKSUserImpersonation.html +5 -8
  11. data/doc/SDM/AWS.html +5 -8
  12. data/doc/SDM/AWSStore.html +5 -8
  13. data/doc/SDM/AccountAttachment.html +3 -6
  14. data/doc/SDM/AccountAttachmentCreateResponse.html +3 -6
  15. data/doc/SDM/AccountAttachmentDeleteResponse.html +3 -6
  16. data/doc/SDM/AccountAttachmentGetResponse.html +3 -6
  17. data/doc/SDM/AccountAttachments.html +3 -6
  18. data/doc/SDM/AccountCreateResponse.html +3 -6
  19. data/doc/SDM/AccountDeleteResponse.html +3 -6
  20. data/doc/SDM/AccountGetResponse.html +3 -6
  21. data/doc/SDM/AccountGrant.html +3 -6
  22. data/doc/SDM/AccountGrantCreateResponse.html +3 -6
  23. data/doc/SDM/AccountGrantDeleteResponse.html +3 -6
  24. data/doc/SDM/AccountGrantGetResponse.html +3 -6
  25. data/doc/SDM/AccountGrants.html +3 -6
  26. data/doc/SDM/AccountUpdateResponse.html +3 -6
  27. data/doc/SDM/Accounts.html +3 -6
  28. data/doc/SDM/AlreadyExistsError.html +3 -6
  29. data/doc/SDM/AmazonEKS.html +5 -8
  30. data/doc/SDM/AmazonEKSUserImpersonation.html +5 -8
  31. data/doc/SDM/AmazonES.html +5 -8
  32. data/doc/SDM/AmazonMQAMQP091.html +424 -0
  33. data/doc/SDM/AmazonMQRabbitMQAMQP091.html +427 -0
  34. data/doc/SDM/Athena.html +5 -8
  35. data/doc/SDM/AuroraMysql.html +5 -8
  36. data/doc/SDM/AuroraPostgres.html +5 -8
  37. data/doc/SDM/AuthenticationError.html +3 -6
  38. data/doc/SDM/BadRequestError.html +3 -6
  39. data/doc/SDM/BigQuery.html +5 -8
  40. data/doc/SDM/Cassandra.html +5 -8
  41. data/doc/SDM/Citus.html +5 -8
  42. data/doc/SDM/Client.html +3 -6
  43. data/doc/SDM/Clustrix.html +5 -8
  44. data/doc/SDM/Cockroach.html +5 -8
  45. data/doc/SDM/ControlPanel.html +3 -6
  46. data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +3 -6
  47. data/doc/SDM/ControlPanelVerifyJWTResponse.html +3 -6
  48. data/doc/SDM/CreateResponseMetadata.html +3 -6
  49. data/doc/SDM/DB2LUW.html +5 -8
  50. data/doc/SDM/DB2i.html +5 -8
  51. data/doc/SDM/DeadlineExceededError.html +3 -6
  52. data/doc/SDM/DeleteResponseMetadata.html +3 -6
  53. data/doc/SDM/Druid.html +5 -8
  54. data/doc/SDM/DynamoDB.html +5 -8
  55. data/doc/SDM/Elastic.html +5 -8
  56. data/doc/SDM/ElasticacheRedis.html +5 -8
  57. data/doc/SDM/Gateway.html +24 -9
  58. data/doc/SDM/GetResponseMetadata.html +3 -6
  59. data/doc/SDM/GoogleGKE.html +5 -8
  60. data/doc/SDM/GoogleGKEUserImpersonation.html +5 -8
  61. data/doc/SDM/Greenplum.html +5 -8
  62. data/doc/SDM/HTTPAuth.html +5 -8
  63. data/doc/SDM/HTTPBasicAuth.html +5 -8
  64. data/doc/SDM/HTTPNoAuth.html +5 -8
  65. data/doc/SDM/InternalError.html +3 -6
  66. data/doc/SDM/Kubernetes.html +5 -8
  67. data/doc/SDM/KubernetesBasicAuth.html +5 -8
  68. data/doc/SDM/KubernetesServiceAccount.html +5 -8
  69. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +5 -8
  70. data/doc/SDM/KubernetesUserImpersonation.html +5 -8
  71. data/doc/SDM/Maria.html +5 -8
  72. data/doc/SDM/Memcached.html +5 -8
  73. data/doc/SDM/Memsql.html +5 -8
  74. data/doc/SDM/MongoHost.html +5 -8
  75. data/doc/SDM/MongoLegacyHost.html +5 -8
  76. data/doc/SDM/MongoLegacyReplicaset.html +5 -8
  77. data/doc/SDM/MongoReplicaSet.html +5 -8
  78. data/doc/SDM/Mysql.html +5 -8
  79. data/doc/SDM/NodeCreateResponse.html +5 -8
  80. data/doc/SDM/NodeDeleteResponse.html +5 -8
  81. data/doc/SDM/NodeGetResponse.html +5 -8
  82. data/doc/SDM/NodeUpdateResponse.html +5 -8
  83. data/doc/SDM/Nodes.html +3 -6
  84. data/doc/SDM/NotFoundError.html +3 -6
  85. data/doc/SDM/Oracle.html +5 -8
  86. data/doc/SDM/PermissionError.html +3 -6
  87. data/doc/SDM/Plumbing.html +1247 -498
  88. data/doc/SDM/Postgres.html +5 -8
  89. data/doc/SDM/Presto.html +5 -8
  90. data/doc/SDM/RDP.html +5 -8
  91. data/doc/SDM/RPCError.html +3 -6
  92. data/doc/SDM/RabbitMQAMQP091.html +424 -0
  93. data/doc/SDM/RateLimitError.html +3 -6
  94. data/doc/SDM/RateLimitMetadata.html +3 -6
  95. data/doc/SDM/RawTCP.html +370 -0
  96. data/doc/SDM/Redis.html +5 -8
  97. data/doc/SDM/Redshift.html +5 -8
  98. data/doc/SDM/Relay.html +24 -9
  99. data/doc/SDM/ResourceCreateResponse.html +5 -8
  100. data/doc/SDM/ResourceDeleteResponse.html +5 -8
  101. data/doc/SDM/ResourceGetResponse.html +5 -8
  102. data/doc/SDM/ResourceUpdateResponse.html +5 -8
  103. data/doc/SDM/Resources.html +3 -6
  104. data/doc/SDM/Role.html +24 -9
  105. data/doc/SDM/RoleAttachment.html +5 -8
  106. data/doc/SDM/RoleAttachmentCreateResponse.html +5 -8
  107. data/doc/SDM/RoleAttachmentDeleteResponse.html +5 -8
  108. data/doc/SDM/RoleAttachmentGetResponse.html +5 -8
  109. data/doc/SDM/RoleAttachments.html +3 -6
  110. data/doc/SDM/RoleCreateResponse.html +5 -8
  111. data/doc/SDM/RoleDeleteResponse.html +5 -8
  112. data/doc/SDM/RoleGetResponse.html +5 -8
  113. data/doc/SDM/RoleGrant.html +5 -8
  114. data/doc/SDM/RoleGrantCreateResponse.html +5 -8
  115. data/doc/SDM/RoleGrantDeleteResponse.html +5 -8
  116. data/doc/SDM/RoleGrantGetResponse.html +5 -8
  117. data/doc/SDM/RoleGrants.html +3 -6
  118. data/doc/SDM/RoleUpdateResponse.html +5 -8
  119. data/doc/SDM/Roles.html +3 -6
  120. data/doc/SDM/SQLServer.html +5 -8
  121. data/doc/SDM/SSH.html +5 -8
  122. data/doc/SDM/SSHCert.html +5 -8
  123. data/doc/SDM/SSHCustomerKey.html +5 -8
  124. data/doc/SDM/SecretStoreCreateResponse.html +5 -8
  125. data/doc/SDM/SecretStoreDeleteResponse.html +5 -8
  126. data/doc/SDM/SecretStoreGetResponse.html +5 -8
  127. data/doc/SDM/SecretStoreUpdateResponse.html +5 -8
  128. data/doc/SDM/SecretStores.html +3 -6
  129. data/doc/SDM/Service.html +3 -6
  130. data/doc/SDM/SingleStore.html +424 -0
  131. data/doc/SDM/Snowflake.html +5 -8
  132. data/doc/SDM/Sybase.html +5 -8
  133. data/doc/SDM/SybaseIQ.html +5 -8
  134. data/doc/SDM/Tag.html +3 -6
  135. data/doc/SDM/Teradata.html +5 -8
  136. data/doc/SDM/UpdateResponseMetadata.html +3 -6
  137. data/doc/SDM/User.html +3 -6
  138. data/doc/SDM/VaultTLSStore.html +5 -8
  139. data/doc/SDM/VaultTokenStore.html +5 -8
  140. data/doc/V1.html +23 -16
  141. data/doc/V1/AccessRules.html +3 -6
  142. data/doc/V1/AccessRules/Service.html +3 -6
  143. data/doc/V1/AccountAttachments.html +3 -6
  144. data/doc/V1/AccountAttachments/Service.html +3 -6
  145. data/doc/V1/AccountGrants.html +3 -6
  146. data/doc/V1/AccountGrants/Service.html +3 -6
  147. data/doc/V1/Accounts.html +3 -6
  148. data/doc/V1/Accounts/Service.html +3 -6
  149. data/doc/V1/BuildsPrivate.html +3 -6
  150. data/doc/V1/BuildsPrivate/Service.html +3 -6
  151. data/doc/V1/ControlPanel.html +3 -6
  152. data/doc/V1/ControlPanel/Service.html +3 -6
  153. data/doc/V1/DemoProvisioningRequests.html +3 -6
  154. data/doc/V1/DemoProvisioningRequests/Service.html +3 -6
  155. data/doc/V1/Nodes.html +3 -6
  156. data/doc/V1/Nodes/Service.html +3 -6
  157. data/doc/V1/Resources.html +3 -6
  158. data/doc/V1/Resources/Service.html +3 -6
  159. data/doc/V1/RoleAttachments.html +3 -6
  160. data/doc/V1/RoleAttachments/Service.html +3 -6
  161. data/doc/V1/RoleGrants.html +3 -6
  162. data/doc/V1/RoleGrants/Service.html +3 -6
  163. data/doc/V1/Roles.html +3 -6
  164. data/doc/V1/Roles/Service.html +3 -6
  165. data/doc/V1/SecretStoreHealths.html +3 -6
  166. data/doc/V1/SecretStoreHealths/Service.html +3 -6
  167. data/doc/V1/SecretStores.html +3 -6
  168. data/doc/V1/SecretStores/Service.html +3 -6
  169. data/doc/V1/Tags.html +3 -6
  170. data/doc/created.rid +49 -51
  171. data/doc/css/rdoc.css +6 -35
  172. data/doc/examples/Gemfile.html +5 -6
  173. data/doc/index.html +13 -10
  174. data/doc/js/darkfish.js +99 -22
  175. data/doc/js/navigation.js +40 -4
  176. data/doc/js/navigation.js.gz +0 -0
  177. data/doc/js/search.js +31 -32
  178. data/doc/js/search_index.js +1 -1
  179. data/doc/js/search_index.js.gz +0 -0
  180. data/doc/js/searcher.js +6 -6
  181. data/doc/js/searcher.js.gz +0 -0
  182. data/doc/lib/version.html +6 -7
  183. data/doc/strongdm_gemspec.html +3 -6
  184. data/doc/table_of_contents.html +470 -338
  185. data/lib/grpc/account_attachments_services_pb.rb +4 -4
  186. data/lib/grpc/account_grants_services_pb.rb +4 -4
  187. data/lib/grpc/accounts_pb.rb +1 -0
  188. data/lib/grpc/accounts_services_pb.rb +5 -5
  189. data/lib/grpc/control_panel_services_pb.rb +2 -2
  190. data/lib/grpc/drivers_pb.rb +61 -0
  191. data/lib/grpc/nodes_pb.rb +2 -0
  192. data/lib/grpc/nodes_services_pb.rb +5 -5
  193. data/lib/grpc/options_pb.rb +9 -13
  194. data/lib/grpc/plumbing.rb +248 -0
  195. data/lib/grpc/resources_services_pb.rb +6 -6
  196. data/lib/grpc/role_attachments_services_pb.rb +4 -4
  197. data/lib/grpc/role_grants_services_pb.rb +4 -4
  198. data/lib/grpc/roles_pb.rb +1 -0
  199. data/lib/grpc/roles_services_pb.rb +5 -5
  200. data/lib/grpc/secret_stores_services_pb.rb +5 -5
  201. data/lib/models/porcelain.rb +352 -2
  202. data/lib/version +1 -1
  203. data/lib/version.rb +1 -1
  204. metadata +21 -15
@@ -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, 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
@@ -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, 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
@@ -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, 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
data/lib/grpc/roles_pb.rb CHANGED
@@ -70,6 +70,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
70
70
  add_message "v1.Role" do
71
71
  optional :id, :string, 1
72
72
  optional :name, :string, 2
73
+ optional :access_rules, :string, 5
73
74
  optional :composite, :bool, 3
74
75
  optional :tags, :message, 4, "v1.Tags"
75
76
  end
@@ -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, 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
@@ -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, 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
@@ -717,6 +717,180 @@ module SDM
717
717
  end
718
718
  end
719
719
 
720
+ class RabbitMQAMQP091
721
+ # Unique identifier of the Resource.
722
+ attr_accessor :id
723
+ # Unique human-readable name of the Resource.
724
+ attr_accessor :name
725
+ # True if the datasource is reachable and the credentials are valid.
726
+ attr_accessor :healthy
727
+ # Tags is a map of key, value pairs.
728
+ attr_accessor :tags
729
+ # ID of the secret store containing credentials for this resource, if any.
730
+ attr_accessor :secret_store_id
731
+ # A filter applied to the routing logic to pin datasource to nodes.
732
+ attr_accessor :egress_filter
733
+
734
+ attr_accessor :hostname
735
+
736
+ attr_accessor :port_override
737
+
738
+ attr_accessor :port
739
+
740
+ attr_accessor :username
741
+
742
+ attr_accessor :password
743
+
744
+ attr_accessor :tls_required
745
+
746
+ def initialize(
747
+ id: nil,
748
+ name: nil,
749
+ healthy: nil,
750
+ tags: nil,
751
+ secret_store_id: nil,
752
+ egress_filter: nil,
753
+ hostname: nil,
754
+ port_override: nil,
755
+ port: nil,
756
+ username: nil,
757
+ password: nil,
758
+ tls_required: nil
759
+ )
760
+ if id != nil
761
+ @id = id
762
+ end
763
+ if name != nil
764
+ @name = name
765
+ end
766
+ if healthy != nil
767
+ @healthy = healthy
768
+ end
769
+ if tags != nil
770
+ @tags = tags
771
+ end
772
+ if secret_store_id != nil
773
+ @secret_store_id = secret_store_id
774
+ end
775
+ if egress_filter != nil
776
+ @egress_filter = egress_filter
777
+ end
778
+ if hostname != nil
779
+ @hostname = hostname
780
+ end
781
+ if port_override != nil
782
+ @port_override = port_override
783
+ end
784
+ if port != nil
785
+ @port = port
786
+ end
787
+ if username != nil
788
+ @username = username
789
+ end
790
+ if password != nil
791
+ @password = password
792
+ end
793
+ if tls_required != nil
794
+ @tls_required = tls_required
795
+ end
796
+ end
797
+
798
+ def to_json(options = {})
799
+ hash = {}
800
+ self.instance_variables.each do |var|
801
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
802
+ end
803
+ hash.to_json
804
+ end
805
+ end
806
+
807
+ class AmazonMQAMQP091
808
+ # Unique identifier of the Resource.
809
+ attr_accessor :id
810
+ # Unique human-readable name of the Resource.
811
+ attr_accessor :name
812
+ # True if the datasource is reachable and the credentials are valid.
813
+ attr_accessor :healthy
814
+ # Tags is a map of key, value pairs.
815
+ attr_accessor :tags
816
+ # ID of the secret store containing credentials for this resource, if any.
817
+ attr_accessor :secret_store_id
818
+ # A filter applied to the routing logic to pin datasource to nodes.
819
+ attr_accessor :egress_filter
820
+
821
+ attr_accessor :hostname
822
+
823
+ attr_accessor :port_override
824
+
825
+ attr_accessor :port
826
+
827
+ attr_accessor :username
828
+
829
+ attr_accessor :password
830
+
831
+ attr_accessor :tls_required
832
+
833
+ def initialize(
834
+ id: nil,
835
+ name: nil,
836
+ healthy: nil,
837
+ tags: nil,
838
+ secret_store_id: nil,
839
+ egress_filter: nil,
840
+ hostname: nil,
841
+ port_override: nil,
842
+ port: nil,
843
+ username: nil,
844
+ password: nil,
845
+ tls_required: nil
846
+ )
847
+ if id != nil
848
+ @id = id
849
+ end
850
+ if name != nil
851
+ @name = name
852
+ end
853
+ if healthy != nil
854
+ @healthy = healthy
855
+ end
856
+ if tags != nil
857
+ @tags = tags
858
+ end
859
+ if secret_store_id != nil
860
+ @secret_store_id = secret_store_id
861
+ end
862
+ if egress_filter != nil
863
+ @egress_filter = egress_filter
864
+ end
865
+ if hostname != nil
866
+ @hostname = hostname
867
+ end
868
+ if port_override != nil
869
+ @port_override = port_override
870
+ end
871
+ if port != nil
872
+ @port = port
873
+ end
874
+ if username != nil
875
+ @username = username
876
+ end
877
+ if password != nil
878
+ @password = password
879
+ end
880
+ if tls_required != nil
881
+ @tls_required = tls_required
882
+ end
883
+ end
884
+
885
+ def to_json(options = {})
886
+ hash = {}
887
+ self.instance_variables.each do |var|
888
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
889
+ end
890
+ hash.to_json
891
+ end
892
+ end
893
+
720
894
  class Athena
721
895
  # Unique identifier of the Resource.
722
896
  attr_accessor :id
@@ -3924,6 +4098,93 @@ module SDM
3924
4098
  end
3925
4099
  end
3926
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
+
3927
4188
  class Oracle
3928
4189
  # Unique identifier of the Resource.
3929
4190
  attr_accessor :id
@@ -4668,6 +4929,75 @@ module SDM
4668
4929
  end
4669
4930
  end
4670
4931
 
4932
+ class RawTCP
4933
+ # Unique identifier of the Resource.
4934
+ attr_accessor :id
4935
+ # Unique human-readable name of the Resource.
4936
+ attr_accessor :name
4937
+ # True if the datasource is reachable and the credentials are valid.
4938
+ attr_accessor :healthy
4939
+ # Tags is a map of key, value pairs.
4940
+ attr_accessor :tags
4941
+ # ID of the secret store containing credentials for this resource, if any.
4942
+ attr_accessor :secret_store_id
4943
+ # A filter applied to the routing logic to pin datasource to nodes.
4944
+ attr_accessor :egress_filter
4945
+
4946
+ attr_accessor :hostname
4947
+
4948
+ attr_accessor :port_override
4949
+
4950
+ attr_accessor :port
4951
+
4952
+ def initialize(
4953
+ id: nil,
4954
+ name: nil,
4955
+ healthy: nil,
4956
+ tags: nil,
4957
+ secret_store_id: nil,
4958
+ egress_filter: nil,
4959
+ hostname: nil,
4960
+ port_override: nil,
4961
+ port: nil
4962
+ )
4963
+ if id != nil
4964
+ @id = id
4965
+ end
4966
+ if name != nil
4967
+ @name = name
4968
+ end
4969
+ if healthy != nil
4970
+ @healthy = healthy
4971
+ end
4972
+ if tags != nil
4973
+ @tags = tags
4974
+ end
4975
+ if secret_store_id != nil
4976
+ @secret_store_id = secret_store_id
4977
+ end
4978
+ if egress_filter != nil
4979
+ @egress_filter = egress_filter
4980
+ end
4981
+ if hostname != nil
4982
+ @hostname = hostname
4983
+ end
4984
+ if port_override != nil
4985
+ @port_override = port_override
4986
+ end
4987
+ if port != nil
4988
+ @port = port
4989
+ end
4990
+ end
4991
+
4992
+ def to_json(options = {})
4993
+ hash = {}
4994
+ self.instance_variables.each do |var|
4995
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
4996
+ end
4997
+ hash.to_json
4998
+ end
4999
+ end
5000
+
4671
5001
  class RDP
4672
5002
  # Unique identifier of the Resource.
4673
5003
  attr_accessor :id
@@ -5739,12 +6069,16 @@ module SDM
5739
6069
  attr_accessor :state
5740
6070
  # Tags is a map of key, value pairs.
5741
6071
  attr_accessor :tags
6072
+ # GatewayFilter can be used to restrict the peering between relays and
6073
+ # gateways.
6074
+ attr_accessor :gateway_filter
5742
6075
 
5743
6076
  def initialize(
5744
6077
  id: nil,
5745
6078
  name: nil,
5746
6079
  state: nil,
5747
- tags: nil
6080
+ tags: nil,
6081
+ gateway_filter: nil
5748
6082
  )
5749
6083
  if id != nil
5750
6084
  @id = id
@@ -5758,6 +6092,9 @@ module SDM
5758
6092
  if tags != nil
5759
6093
  @tags = tags
5760
6094
  end
6095
+ if gateway_filter != nil
6096
+ @gateway_filter = gateway_filter
6097
+ end
5761
6098
  end
5762
6099
 
5763
6100
  def to_json(options = {})
@@ -5785,6 +6122,9 @@ module SDM
5785
6122
  attr_accessor :bind_address
5786
6123
  # Tags is a map of key, value pairs.
5787
6124
  attr_accessor :tags
6125
+ # GatewayFilter can be used to restrict the peering between relays and
6126
+ # gateways.
6127
+ attr_accessor :gateway_filter
5788
6128
 
5789
6129
  def initialize(
5790
6130
  id: nil,
@@ -5792,7 +6132,8 @@ module SDM
5792
6132
  state: nil,
5793
6133
  listen_address: nil,
5794
6134
  bind_address: nil,
5795
- tags: nil
6135
+ tags: nil,
6136
+ gateway_filter: nil
5796
6137
  )
5797
6138
  if id != nil
5798
6139
  @id = id
@@ -5812,6 +6153,9 @@ module SDM
5812
6153
  if tags != nil
5813
6154
  @tags = tags
5814
6155
  end
6156
+ if gateway_filter != nil
6157
+ @gateway_filter = gateway_filter
6158
+ end
5815
6159
  end
5816
6160
 
5817
6161
  def to_json(options = {})
@@ -6352,6 +6696,8 @@ module SDM
6352
6696
  attr_accessor :id
6353
6697
  # Unique human-readable name of the Role.
6354
6698
  attr_accessor :name
6699
+ # AccessRules JSON encoded access rules data.
6700
+ attr_accessor :access_rules
6355
6701
  # True if the Role is a composite role.
6356
6702
  attr_accessor :composite
6357
6703
  # Tags is a map of key, value pairs.
@@ -6360,6 +6706,7 @@ module SDM
6360
6706
  def initialize(
6361
6707
  id: nil,
6362
6708
  name: nil,
6709
+ access_rules: nil,
6363
6710
  composite: nil,
6364
6711
  tags: nil
6365
6712
  )
@@ -6369,6 +6716,9 @@ module SDM
6369
6716
  if name != nil
6370
6717
  @name = name
6371
6718
  end
6719
+ if access_rules != nil
6720
+ @access_rules = access_rules
6721
+ end
6372
6722
  if composite != nil
6373
6723
  @composite = composite
6374
6724
  end