strongdm 1.0.17 → 1.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/doc/SDM/AKS.html +21 -3
  3. data/doc/SDM/AKSBasicAuth.html +21 -3
  4. data/doc/SDM/AKSServiceAccount.html +21 -3
  5. data/doc/SDM/AKSServiceAccountUserImpersonation.html +391 -0
  6. data/doc/SDM/AKSUserImpersonation.html +427 -0
  7. data/doc/SDM/AWS.html +21 -3
  8. data/doc/SDM/AWSStore.html +2 -2
  9. data/doc/SDM/AmazonEKS.html +21 -3
  10. data/doc/SDM/AmazonEKSUserImpersonation.html +481 -0
  11. data/doc/SDM/AmazonES.html +21 -3
  12. data/doc/SDM/AmazonMQAMQP091.html +427 -0
  13. data/doc/SDM/AmazonMQRabbitMQAMQP091.html +427 -0
  14. data/doc/SDM/Athena.html +21 -3
  15. data/doc/SDM/AuroraMysql.html +21 -3
  16. data/doc/SDM/AuroraPostgres.html +21 -3
  17. data/doc/SDM/BigQuery.html +21 -3
  18. data/doc/SDM/Cassandra.html +21 -3
  19. data/doc/SDM/Citus.html +21 -3
  20. data/doc/SDM/Clustrix.html +21 -3
  21. data/doc/SDM/Cockroach.html +21 -3
  22. data/doc/SDM/ControlPanel.html +62 -0
  23. data/doc/SDM/ControlPanelVerifyJWTResponse.html +267 -0
  24. data/doc/SDM/DB2LUW.html +21 -3
  25. data/doc/SDM/DB2i.html +21 -3
  26. data/doc/SDM/Druid.html +21 -3
  27. data/doc/SDM/DynamoDB.html +21 -3
  28. data/doc/SDM/Elastic.html +21 -3
  29. data/doc/SDM/ElasticacheRedis.html +21 -3
  30. data/doc/SDM/Gateway.html +21 -3
  31. data/doc/SDM/GoogleGKE.html +21 -3
  32. data/doc/SDM/GoogleGKEUserImpersonation.html +391 -0
  33. data/doc/SDM/Greenplum.html +21 -3
  34. data/doc/SDM/HTTPAuth.html +21 -3
  35. data/doc/SDM/HTTPBasicAuth.html +21 -3
  36. data/doc/SDM/HTTPNoAuth.html +21 -3
  37. data/doc/SDM/Kubernetes.html +21 -3
  38. data/doc/SDM/KubernetesBasicAuth.html +21 -3
  39. data/doc/SDM/KubernetesServiceAccount.html +21 -3
  40. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +391 -0
  41. data/doc/SDM/KubernetesUserImpersonation.html +427 -0
  42. data/doc/SDM/Maria.html +21 -3
  43. data/doc/SDM/Memcached.html +21 -3
  44. data/doc/SDM/Memsql.html +21 -3
  45. data/doc/SDM/MongoHost.html +21 -3
  46. data/doc/SDM/MongoLegacyHost.html +21 -3
  47. data/doc/SDM/MongoLegacyReplicaset.html +21 -3
  48. data/doc/SDM/MongoReplicaSet.html +21 -3
  49. data/doc/SDM/Mysql.html +21 -3
  50. data/doc/SDM/NodeCreateResponse.html +2 -2
  51. data/doc/SDM/NodeDeleteResponse.html +2 -2
  52. data/doc/SDM/NodeGetResponse.html +2 -2
  53. data/doc/SDM/NodeUpdateResponse.html +2 -2
  54. data/doc/SDM/Nodes.html +6 -6
  55. data/doc/SDM/Oracle.html +21 -3
  56. data/doc/SDM/Plumbing.html +3707 -1755
  57. data/doc/SDM/Postgres.html +21 -3
  58. data/doc/SDM/Presto.html +21 -3
  59. data/doc/SDM/RDP.html +21 -3
  60. data/doc/SDM/RabbitMQAMQP091.html +427 -0
  61. data/doc/SDM/Redis.html +21 -3
  62. data/doc/SDM/Redshift.html +21 -3
  63. data/doc/SDM/Relay.html +21 -3
  64. data/doc/SDM/ResourceCreateResponse.html +2 -2
  65. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  66. data/doc/SDM/ResourceGetResponse.html +2 -2
  67. data/doc/SDM/ResourceUpdateResponse.html +2 -2
  68. data/doc/SDM/Resources.html +7 -7
  69. data/doc/SDM/Role.html +2 -2
  70. data/doc/SDM/RoleAttachment.html +2 -2
  71. data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
  72. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  73. data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
  74. data/doc/SDM/RoleAttachments.html +5 -5
  75. data/doc/SDM/RoleCreateResponse.html +2 -2
  76. data/doc/SDM/RoleDeleteResponse.html +2 -2
  77. data/doc/SDM/RoleGetResponse.html +2 -2
  78. data/doc/SDM/RoleGrant.html +2 -2
  79. data/doc/SDM/RoleGrantCreateResponse.html +2 -2
  80. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  81. data/doc/SDM/RoleGrantGetResponse.html +2 -2
  82. data/doc/SDM/RoleGrants.html +5 -5
  83. data/doc/SDM/RoleUpdateResponse.html +2 -2
  84. data/doc/SDM/Roles.html +6 -6
  85. data/doc/SDM/SQLServer.html +21 -3
  86. data/doc/SDM/SSH.html +21 -3
  87. data/doc/SDM/SSHCert.html +21 -3
  88. data/doc/SDM/SSHCustomerKey.html +427 -0
  89. data/doc/SDM/SecretStoreCreateResponse.html +2 -2
  90. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  91. data/doc/SDM/SecretStoreGetResponse.html +2 -2
  92. data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
  93. data/doc/SDM/SecretStores.html +6 -6
  94. data/doc/SDM/Snowflake.html +21 -3
  95. data/doc/SDM/Sybase.html +21 -3
  96. data/doc/SDM/SybaseIQ.html +21 -3
  97. data/doc/SDM/Teradata.html +21 -3
  98. data/doc/SDM/VaultTLSStore.html +2 -2
  99. data/doc/SDM/VaultTokenStore.html +2 -2
  100. data/doc/V1.html +60 -0
  101. data/doc/V1/Permissions/Service.html +119 -0
  102. data/doc/created.rid +52 -48
  103. data/doc/index.html +20 -0
  104. data/doc/js/search_index.js +1 -1
  105. data/doc/js/search_index.js.gz +0 -0
  106. data/doc/lib/version.html +1 -1
  107. data/doc/strongdm_gemspec.html +1 -1
  108. data/doc/table_of_contents.html +825 -470
  109. data/lib/grpc/accounts_pb.rb +1 -0
  110. data/lib/grpc/control_panel_pb.rb +11 -0
  111. data/lib/grpc/control_panel_services_pb.rb +2 -0
  112. data/lib/grpc/drivers_pb.rb +190 -0
  113. data/lib/grpc/nodes_pb.rb +2 -0
  114. data/lib/grpc/options_pb.rb +6 -1
  115. data/lib/grpc/plumbing.rb +692 -1
  116. data/lib/grpc/spec_pb.rb +1 -0
  117. data/lib/models/porcelain.rb +1197 -90
  118. data/lib/svc.rb +30 -0
  119. data/lib/version +1 -1
  120. data/lib/version.rb +1 -1
  121. metadata +15 -5
  122. data/lib/grpc/demo_provisioning_requests_pb.rb +0 -93
  123. data/lib/grpc/demo_provisioning_requests_services_pb.rb +0 -49
data/lib/grpc/spec_pb.rb CHANGED
@@ -58,6 +58,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
58
58
  optional :cursor, :string, 1
59
59
  optional :page, :int32, 2
60
60
  optional :limit, :int32, 3
61
+ optional :order_by, :string, 4
61
62
  end
62
63
  add_message "v1.ListResponseMetadata" do
63
64
  optional :next_cursor, :string, 1
@@ -683,6 +683,214 @@ module SDM
683
683
  end
684
684
  end
685
685
 
686
+ # ControlPanelVerifyJWTResponse reports whether x-sdm-token is valid.
687
+ class ControlPanelVerifyJWTResponse
688
+ # Reserved for future use.
689
+ attr_accessor :meta
690
+ # Reports if the given token is valid.
691
+ attr_accessor :valid
692
+ # Rate limit information.
693
+ attr_accessor :rate_limit
694
+
695
+ def initialize(
696
+ meta: nil,
697
+ valid: nil,
698
+ rate_limit: nil
699
+ )
700
+ if meta != nil
701
+ @meta = meta
702
+ end
703
+ if valid != nil
704
+ @valid = valid
705
+ end
706
+ if rate_limit != nil
707
+ @rate_limit = rate_limit
708
+ end
709
+ end
710
+
711
+ def to_json(options = {})
712
+ hash = {}
713
+ self.instance_variables.each do |var|
714
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
715
+ end
716
+ hash.to_json
717
+ end
718
+ end
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
+
686
894
  class Athena
687
895
  # Unique identifier of the Resource.
688
896
  attr_accessor :id
@@ -694,6 +902,8 @@ module SDM
694
902
  attr_accessor :tags
695
903
  # ID of the secret store containing credentials for this resource, if any.
696
904
  attr_accessor :secret_store_id
905
+ # A filter applied to the routing logic to pin datasource to nodes.
906
+ attr_accessor :egress_filter
697
907
 
698
908
  attr_accessor :access_key
699
909
 
@@ -715,6 +925,7 @@ module SDM
715
925
  healthy: nil,
716
926
  tags: nil,
717
927
  secret_store_id: nil,
928
+ egress_filter: nil,
718
929
  access_key: nil,
719
930
  secret_access_key: nil,
720
931
  output: nil,
@@ -738,6 +949,9 @@ module SDM
738
949
  if secret_store_id != nil
739
950
  @secret_store_id = secret_store_id
740
951
  end
952
+ if egress_filter != nil
953
+ @egress_filter = egress_filter
954
+ end
741
955
  if access_key != nil
742
956
  @access_key = access_key
743
957
  end
@@ -781,6 +995,8 @@ module SDM
781
995
  attr_accessor :tags
782
996
  # ID of the secret store containing credentials for this resource, if any.
783
997
  attr_accessor :secret_store_id
998
+ # A filter applied to the routing logic to pin datasource to nodes.
999
+ attr_accessor :egress_filter
784
1000
 
785
1001
  attr_accessor :access_key
786
1002
 
@@ -798,6 +1014,7 @@ module SDM
798
1014
  healthy: nil,
799
1015
  tags: nil,
800
1016
  secret_store_id: nil,
1017
+ egress_filter: nil,
801
1018
  access_key: nil,
802
1019
  secret_access_key: nil,
803
1020
  healthcheck_region: nil,
@@ -819,6 +1036,9 @@ module SDM
819
1036
  if secret_store_id != nil
820
1037
  @secret_store_id = secret_store_id
821
1038
  end
1039
+ if egress_filter != nil
1040
+ @egress_filter = egress_filter
1041
+ end
822
1042
  if access_key != nil
823
1043
  @access_key = access_key
824
1044
  end
@@ -856,6 +1076,8 @@ module SDM
856
1076
  attr_accessor :tags
857
1077
  # ID of the secret store containing credentials for this resource, if any.
858
1078
  attr_accessor :secret_store_id
1079
+ # A filter applied to the routing logic to pin datasource to nodes.
1080
+ attr_accessor :egress_filter
859
1081
 
860
1082
  attr_accessor :private_key
861
1083
 
@@ -873,6 +1095,7 @@ module SDM
873
1095
  healthy: nil,
874
1096
  tags: nil,
875
1097
  secret_store_id: nil,
1098
+ egress_filter: nil,
876
1099
  private_key: nil,
877
1100
  project: nil,
878
1101
  port_override: nil,
@@ -894,6 +1117,9 @@ module SDM
894
1117
  if secret_store_id != nil
895
1118
  @secret_store_id = secret_store_id
896
1119
  end
1120
+ if egress_filter != nil
1121
+ @egress_filter = egress_filter
1122
+ end
897
1123
  if private_key != nil
898
1124
  @private_key = private_key
899
1125
  end
@@ -931,6 +1157,8 @@ module SDM
931
1157
  attr_accessor :tags
932
1158
  # ID of the secret store containing credentials for this resource, if any.
933
1159
  attr_accessor :secret_store_id
1160
+ # A filter applied to the routing logic to pin datasource to nodes.
1161
+ attr_accessor :egress_filter
934
1162
 
935
1163
  attr_accessor :hostname
936
1164
 
@@ -950,6 +1178,7 @@ module SDM
950
1178
  healthy: nil,
951
1179
  tags: nil,
952
1180
  secret_store_id: nil,
1181
+ egress_filter: nil,
953
1182
  hostname: nil,
954
1183
  username: nil,
955
1184
  password: nil,
@@ -972,6 +1201,9 @@ module SDM
972
1201
  if secret_store_id != nil
973
1202
  @secret_store_id = secret_store_id
974
1203
  end
1204
+ if egress_filter != nil
1205
+ @egress_filter = egress_filter
1206
+ end
975
1207
  if hostname != nil
976
1208
  @hostname = hostname
977
1209
  end
@@ -1012,6 +1244,8 @@ module SDM
1012
1244
  attr_accessor :tags
1013
1245
  # ID of the secret store containing credentials for this resource, if any.
1014
1246
  attr_accessor :secret_store_id
1247
+ # A filter applied to the routing logic to pin datasource to nodes.
1248
+ attr_accessor :egress_filter
1015
1249
 
1016
1250
  attr_accessor :hostname
1017
1251
 
@@ -1031,6 +1265,7 @@ module SDM
1031
1265
  healthy: nil,
1032
1266
  tags: nil,
1033
1267
  secret_store_id: nil,
1268
+ egress_filter: nil,
1034
1269
  hostname: nil,
1035
1270
  username: nil,
1036
1271
  password: nil,
@@ -1053,6 +1288,9 @@ module SDM
1053
1288
  if secret_store_id != nil
1054
1289
  @secret_store_id = secret_store_id
1055
1290
  end
1291
+ if egress_filter != nil
1292
+ @egress_filter = egress_filter
1293
+ end
1056
1294
  if hostname != nil
1057
1295
  @hostname = hostname
1058
1296
  end
@@ -1093,6 +1331,8 @@ module SDM
1093
1331
  attr_accessor :tags
1094
1332
  # ID of the secret store containing credentials for this resource, if any.
1095
1333
  attr_accessor :secret_store_id
1334
+ # A filter applied to the routing logic to pin datasource to nodes.
1335
+ attr_accessor :egress_filter
1096
1336
 
1097
1337
  attr_accessor :hostname
1098
1338
 
@@ -1112,6 +1352,7 @@ module SDM
1112
1352
  healthy: nil,
1113
1353
  tags: nil,
1114
1354
  secret_store_id: nil,
1355
+ egress_filter: nil,
1115
1356
  hostname: nil,
1116
1357
  username: nil,
1117
1358
  password: nil,
@@ -1134,6 +1375,9 @@ module SDM
1134
1375
  if secret_store_id != nil
1135
1376
  @secret_store_id = secret_store_id
1136
1377
  end
1378
+ if egress_filter != nil
1379
+ @egress_filter = egress_filter
1380
+ end
1137
1381
  if hostname != nil
1138
1382
  @hostname = hostname
1139
1383
  end
@@ -1174,6 +1418,8 @@ module SDM
1174
1418
  attr_accessor :tags
1175
1419
  # ID of the secret store containing credentials for this resource, if any.
1176
1420
  attr_accessor :secret_store_id
1421
+ # A filter applied to the routing logic to pin datasource to nodes.
1422
+ attr_accessor :egress_filter
1177
1423
 
1178
1424
  attr_accessor :hostname
1179
1425
 
@@ -1191,6 +1437,7 @@ module SDM
1191
1437
  healthy: nil,
1192
1438
  tags: nil,
1193
1439
  secret_store_id: nil,
1440
+ egress_filter: nil,
1194
1441
  hostname: nil,
1195
1442
  port_override: nil,
1196
1443
  username: nil,
@@ -1212,6 +1459,9 @@ module SDM
1212
1459
  if secret_store_id != nil
1213
1460
  @secret_store_id = secret_store_id
1214
1461
  end
1462
+ if egress_filter != nil
1463
+ @egress_filter = egress_filter
1464
+ end
1215
1465
  if hostname != nil
1216
1466
  @hostname = hostname
1217
1467
  end
@@ -1249,6 +1499,8 @@ module SDM
1249
1499
  attr_accessor :tags
1250
1500
  # ID of the secret store containing credentials for this resource, if any.
1251
1501
  attr_accessor :secret_store_id
1502
+ # A filter applied to the routing logic to pin datasource to nodes.
1503
+ attr_accessor :egress_filter
1252
1504
 
1253
1505
  attr_accessor :access_key
1254
1506
 
@@ -1270,6 +1522,7 @@ module SDM
1270
1522
  healthy: nil,
1271
1523
  tags: nil,
1272
1524
  secret_store_id: nil,
1525
+ egress_filter: nil,
1273
1526
  access_key: nil,
1274
1527
  secret_access_key: nil,
1275
1528
  region: nil,
@@ -1293,6 +1546,9 @@ module SDM
1293
1546
  if secret_store_id != nil
1294
1547
  @secret_store_id = secret_store_id
1295
1548
  end
1549
+ if egress_filter != nil
1550
+ @egress_filter = egress_filter
1551
+ end
1296
1552
  if access_key != nil
1297
1553
  @access_key = access_key
1298
1554
  end
@@ -1336,6 +1592,8 @@ module SDM
1336
1592
  attr_accessor :tags
1337
1593
  # ID of the secret store containing credentials for this resource, if any.
1338
1594
  attr_accessor :secret_store_id
1595
+ # A filter applied to the routing logic to pin datasource to nodes.
1596
+ attr_accessor :egress_filter
1339
1597
 
1340
1598
  attr_accessor :region
1341
1599
 
@@ -1357,6 +1615,7 @@ module SDM
1357
1615
  healthy: nil,
1358
1616
  tags: nil,
1359
1617
  secret_store_id: nil,
1618
+ egress_filter: nil,
1360
1619
  region: nil,
1361
1620
  secret_access_key: nil,
1362
1621
  endpoint: nil,
@@ -1380,6 +1639,9 @@ module SDM
1380
1639
  if secret_store_id != nil
1381
1640
  @secret_store_id = secret_store_id
1382
1641
  end
1642
+ if egress_filter != nil
1643
+ @egress_filter = egress_filter
1644
+ end
1383
1645
  if region != nil
1384
1646
  @region = region
1385
1647
  end
@@ -1423,6 +1685,8 @@ module SDM
1423
1685
  attr_accessor :tags
1424
1686
  # ID of the secret store containing credentials for this resource, if any.
1425
1687
  attr_accessor :secret_store_id
1688
+ # A filter applied to the routing logic to pin datasource to nodes.
1689
+ attr_accessor :egress_filter
1426
1690
 
1427
1691
  attr_accessor :hostname
1428
1692
 
@@ -1442,6 +1706,7 @@ module SDM
1442
1706
  healthy: nil,
1443
1707
  tags: nil,
1444
1708
  secret_store_id: nil,
1709
+ egress_filter: nil,
1445
1710
  hostname: nil,
1446
1711
  username: nil,
1447
1712
  password: nil,
@@ -1464,6 +1729,9 @@ module SDM
1464
1729
  if secret_store_id != nil
1465
1730
  @secret_store_id = secret_store_id
1466
1731
  end
1732
+ if egress_filter != nil
1733
+ @egress_filter = egress_filter
1734
+ end
1467
1735
  if hostname != nil
1468
1736
  @hostname = hostname
1469
1737
  end
@@ -1504,6 +1772,8 @@ module SDM
1504
1772
  attr_accessor :tags
1505
1773
  # ID of the secret store containing credentials for this resource, if any.
1506
1774
  attr_accessor :secret_store_id
1775
+ # A filter applied to the routing logic to pin datasource to nodes.
1776
+ attr_accessor :egress_filter
1507
1777
 
1508
1778
  attr_accessor :url
1509
1779
 
@@ -1525,6 +1795,7 @@ module SDM
1525
1795
  healthy: nil,
1526
1796
  tags: nil,
1527
1797
  secret_store_id: nil,
1798
+ egress_filter: nil,
1528
1799
  url: nil,
1529
1800
  healthcheck_path: nil,
1530
1801
  username: nil,
@@ -1548,6 +1819,9 @@ module SDM
1548
1819
  if secret_store_id != nil
1549
1820
  @secret_store_id = secret_store_id
1550
1821
  end
1822
+ if egress_filter != nil
1823
+ @egress_filter = egress_filter
1824
+ end
1551
1825
  if url != nil
1552
1826
  @url = url
1553
1827
  end
@@ -1591,6 +1865,8 @@ module SDM
1591
1865
  attr_accessor :tags
1592
1866
  # ID of the secret store containing credentials for this resource, if any.
1593
1867
  attr_accessor :secret_store_id
1868
+ # A filter applied to the routing logic to pin datasource to nodes.
1869
+ attr_accessor :egress_filter
1594
1870
 
1595
1871
  attr_accessor :url
1596
1872
 
@@ -1608,6 +1884,7 @@ module SDM
1608
1884
  healthy: nil,
1609
1885
  tags: nil,
1610
1886
  secret_store_id: nil,
1887
+ egress_filter: nil,
1611
1888
  url: nil,
1612
1889
  healthcheck_path: nil,
1613
1890
  headers_blacklist: nil,
@@ -1629,6 +1906,9 @@ module SDM
1629
1906
  if secret_store_id != nil
1630
1907
  @secret_store_id = secret_store_id
1631
1908
  end
1909
+ if egress_filter != nil
1910
+ @egress_filter = egress_filter
1911
+ end
1632
1912
  if url != nil
1633
1913
  @url = url
1634
1914
  end
@@ -1666,6 +1946,8 @@ module SDM
1666
1946
  attr_accessor :tags
1667
1947
  # ID of the secret store containing credentials for this resource, if any.
1668
1948
  attr_accessor :secret_store_id
1949
+ # A filter applied to the routing logic to pin datasource to nodes.
1950
+ attr_accessor :egress_filter
1669
1951
 
1670
1952
  attr_accessor :url
1671
1953
 
@@ -1685,6 +1967,7 @@ module SDM
1685
1967
  healthy: nil,
1686
1968
  tags: nil,
1687
1969
  secret_store_id: nil,
1970
+ egress_filter: nil,
1688
1971
  url: nil,
1689
1972
  healthcheck_path: nil,
1690
1973
  auth_header: nil,
@@ -1707,6 +1990,9 @@ module SDM
1707
1990
  if secret_store_id != nil
1708
1991
  @secret_store_id = secret_store_id
1709
1992
  end
1993
+ if egress_filter != nil
1994
+ @egress_filter = egress_filter
1995
+ end
1710
1996
  if url != nil
1711
1997
  @url = url
1712
1998
  end
@@ -1747,6 +2033,8 @@ module SDM
1747
2033
  attr_accessor :tags
1748
2034
  # ID of the secret store containing credentials for this resource, if any.
1749
2035
  attr_accessor :secret_store_id
2036
+ # A filter applied to the routing logic to pin datasource to nodes.
2037
+ attr_accessor :egress_filter
1750
2038
 
1751
2039
  attr_accessor :hostname
1752
2040
 
@@ -1766,6 +2054,7 @@ module SDM
1766
2054
  healthy: nil,
1767
2055
  tags: nil,
1768
2056
  secret_store_id: nil,
2057
+ egress_filter: nil,
1769
2058
  hostname: nil,
1770
2059
  port: nil,
1771
2060
  certificate_authority: nil,
@@ -1788,6 +2077,9 @@ module SDM
1788
2077
  if secret_store_id != nil
1789
2078
  @secret_store_id = secret_store_id
1790
2079
  end
2080
+ if egress_filter != nil
2081
+ @egress_filter = egress_filter
2082
+ end
1791
2083
  if hostname != nil
1792
2084
  @hostname = hostname
1793
2085
  end
@@ -1817,7 +2109,7 @@ module SDM
1817
2109
  end
1818
2110
  end
1819
2111
 
1820
- class KubernetesBasicAuth
2112
+ class KubernetesUserImpersonation
1821
2113
  # Unique identifier of the Resource.
1822
2114
  attr_accessor :id
1823
2115
  # Unique human-readable name of the Resource.
@@ -1828,14 +2120,18 @@ module SDM
1828
2120
  attr_accessor :tags
1829
2121
  # ID of the secret store containing credentials for this resource, if any.
1830
2122
  attr_accessor :secret_store_id
2123
+ # A filter applied to the routing logic to pin datasource to nodes.
2124
+ attr_accessor :egress_filter
1831
2125
 
1832
2126
  attr_accessor :hostname
1833
2127
 
1834
2128
  attr_accessor :port
1835
2129
 
1836
- attr_accessor :username
2130
+ attr_accessor :certificate_authority
1837
2131
 
1838
- attr_accessor :password
2132
+ attr_accessor :client_certificate
2133
+
2134
+ attr_accessor :client_key
1839
2135
 
1840
2136
  attr_accessor :healthcheck_namespace
1841
2137
 
@@ -1845,10 +2141,12 @@ module SDM
1845
2141
  healthy: nil,
1846
2142
  tags: nil,
1847
2143
  secret_store_id: nil,
2144
+ egress_filter: nil,
1848
2145
  hostname: nil,
1849
2146
  port: nil,
1850
- username: nil,
1851
- password: nil,
2147
+ certificate_authority: nil,
2148
+ client_certificate: nil,
2149
+ client_key: nil,
1852
2150
  healthcheck_namespace: nil
1853
2151
  )
1854
2152
  if id != nil
@@ -1866,17 +2164,23 @@ module SDM
1866
2164
  if secret_store_id != nil
1867
2165
  @secret_store_id = secret_store_id
1868
2166
  end
2167
+ if egress_filter != nil
2168
+ @egress_filter = egress_filter
2169
+ end
1869
2170
  if hostname != nil
1870
2171
  @hostname = hostname
1871
2172
  end
1872
2173
  if port != nil
1873
2174
  @port = port
1874
2175
  end
1875
- if username != nil
1876
- @username = username
2176
+ if certificate_authority != nil
2177
+ @certificate_authority = certificate_authority
1877
2178
  end
1878
- if password != nil
1879
- @password = password
2179
+ if client_certificate != nil
2180
+ @client_certificate = client_certificate
2181
+ end
2182
+ if client_key != nil
2183
+ @client_key = client_key
1880
2184
  end
1881
2185
  if healthcheck_namespace != nil
1882
2186
  @healthcheck_namespace = healthcheck_namespace
@@ -1892,7 +2196,7 @@ module SDM
1892
2196
  end
1893
2197
  end
1894
2198
 
1895
- class KubernetesServiceAccount
2199
+ class KubernetesBasicAuth
1896
2200
  # Unique identifier of the Resource.
1897
2201
  attr_accessor :id
1898
2202
  # Unique human-readable name of the Resource.
@@ -1903,12 +2207,16 @@ module SDM
1903
2207
  attr_accessor :tags
1904
2208
  # ID of the secret store containing credentials for this resource, if any.
1905
2209
  attr_accessor :secret_store_id
2210
+ # A filter applied to the routing logic to pin datasource to nodes.
2211
+ attr_accessor :egress_filter
1906
2212
 
1907
2213
  attr_accessor :hostname
1908
2214
 
1909
2215
  attr_accessor :port
1910
2216
 
1911
- attr_accessor :token
2217
+ attr_accessor :username
2218
+
2219
+ attr_accessor :password
1912
2220
 
1913
2221
  attr_accessor :healthcheck_namespace
1914
2222
 
@@ -1918,9 +2226,524 @@ module SDM
1918
2226
  healthy: nil,
1919
2227
  tags: nil,
1920
2228
  secret_store_id: nil,
2229
+ egress_filter: nil,
1921
2230
  hostname: nil,
1922
2231
  port: nil,
1923
- token: nil,
2232
+ username: nil,
2233
+ password: nil,
2234
+ healthcheck_namespace: nil
2235
+ )
2236
+ if id != nil
2237
+ @id = id
2238
+ end
2239
+ if name != nil
2240
+ @name = name
2241
+ end
2242
+ if healthy != nil
2243
+ @healthy = healthy
2244
+ end
2245
+ if tags != nil
2246
+ @tags = tags
2247
+ end
2248
+ if secret_store_id != nil
2249
+ @secret_store_id = secret_store_id
2250
+ end
2251
+ if egress_filter != nil
2252
+ @egress_filter = egress_filter
2253
+ end
2254
+ if hostname != nil
2255
+ @hostname = hostname
2256
+ end
2257
+ if port != nil
2258
+ @port = port
2259
+ end
2260
+ if username != nil
2261
+ @username = username
2262
+ end
2263
+ if password != nil
2264
+ @password = password
2265
+ end
2266
+ if healthcheck_namespace != nil
2267
+ @healthcheck_namespace = healthcheck_namespace
2268
+ end
2269
+ end
2270
+
2271
+ def to_json(options = {})
2272
+ hash = {}
2273
+ self.instance_variables.each do |var|
2274
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
2275
+ end
2276
+ hash.to_json
2277
+ end
2278
+ end
2279
+
2280
+ class KubernetesServiceAccount
2281
+ # Unique identifier of the Resource.
2282
+ attr_accessor :id
2283
+ # Unique human-readable name of the Resource.
2284
+ attr_accessor :name
2285
+ # True if the datasource is reachable and the credentials are valid.
2286
+ attr_accessor :healthy
2287
+ # Tags is a map of key, value pairs.
2288
+ attr_accessor :tags
2289
+ # ID of the secret store containing credentials for this resource, if any.
2290
+ attr_accessor :secret_store_id
2291
+ # A filter applied to the routing logic to pin datasource to nodes.
2292
+ attr_accessor :egress_filter
2293
+
2294
+ attr_accessor :hostname
2295
+
2296
+ attr_accessor :port
2297
+
2298
+ attr_accessor :token
2299
+
2300
+ attr_accessor :healthcheck_namespace
2301
+
2302
+ def initialize(
2303
+ id: nil,
2304
+ name: nil,
2305
+ healthy: nil,
2306
+ tags: nil,
2307
+ secret_store_id: nil,
2308
+ egress_filter: nil,
2309
+ hostname: nil,
2310
+ port: nil,
2311
+ token: nil,
2312
+ healthcheck_namespace: nil
2313
+ )
2314
+ if id != nil
2315
+ @id = id
2316
+ end
2317
+ if name != nil
2318
+ @name = name
2319
+ end
2320
+ if healthy != nil
2321
+ @healthy = healthy
2322
+ end
2323
+ if tags != nil
2324
+ @tags = tags
2325
+ end
2326
+ if secret_store_id != nil
2327
+ @secret_store_id = secret_store_id
2328
+ end
2329
+ if egress_filter != nil
2330
+ @egress_filter = egress_filter
2331
+ end
2332
+ if hostname != nil
2333
+ @hostname = hostname
2334
+ end
2335
+ if port != nil
2336
+ @port = port
2337
+ end
2338
+ if token != nil
2339
+ @token = token
2340
+ end
2341
+ if healthcheck_namespace != nil
2342
+ @healthcheck_namespace = healthcheck_namespace
2343
+ end
2344
+ end
2345
+
2346
+ def to_json(options = {})
2347
+ hash = {}
2348
+ self.instance_variables.each do |var|
2349
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
2350
+ end
2351
+ hash.to_json
2352
+ end
2353
+ end
2354
+
2355
+ class KubernetesServiceAccountUserImpersonation
2356
+ # Unique identifier of the Resource.
2357
+ attr_accessor :id
2358
+ # Unique human-readable name of the Resource.
2359
+ attr_accessor :name
2360
+ # True if the datasource is reachable and the credentials are valid.
2361
+ attr_accessor :healthy
2362
+ # Tags is a map of key, value pairs.
2363
+ attr_accessor :tags
2364
+ # ID of the secret store containing credentials for this resource, if any.
2365
+ attr_accessor :secret_store_id
2366
+ # A filter applied to the routing logic to pin datasource to nodes.
2367
+ attr_accessor :egress_filter
2368
+
2369
+ attr_accessor :hostname
2370
+
2371
+ attr_accessor :port
2372
+
2373
+ attr_accessor :token
2374
+
2375
+ attr_accessor :healthcheck_namespace
2376
+
2377
+ def initialize(
2378
+ id: nil,
2379
+ name: nil,
2380
+ healthy: nil,
2381
+ tags: nil,
2382
+ secret_store_id: nil,
2383
+ egress_filter: nil,
2384
+ hostname: nil,
2385
+ port: nil,
2386
+ token: nil,
2387
+ healthcheck_namespace: nil
2388
+ )
2389
+ if id != nil
2390
+ @id = id
2391
+ end
2392
+ if name != nil
2393
+ @name = name
2394
+ end
2395
+ if healthy != nil
2396
+ @healthy = healthy
2397
+ end
2398
+ if tags != nil
2399
+ @tags = tags
2400
+ end
2401
+ if secret_store_id != nil
2402
+ @secret_store_id = secret_store_id
2403
+ end
2404
+ if egress_filter != nil
2405
+ @egress_filter = egress_filter
2406
+ end
2407
+ if hostname != nil
2408
+ @hostname = hostname
2409
+ end
2410
+ if port != nil
2411
+ @port = port
2412
+ end
2413
+ if token != nil
2414
+ @token = token
2415
+ end
2416
+ if healthcheck_namespace != nil
2417
+ @healthcheck_namespace = healthcheck_namespace
2418
+ end
2419
+ end
2420
+
2421
+ def to_json(options = {})
2422
+ hash = {}
2423
+ self.instance_variables.each do |var|
2424
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
2425
+ end
2426
+ hash.to_json
2427
+ end
2428
+ end
2429
+
2430
+ class AmazonEKS
2431
+ # Unique identifier of the Resource.
2432
+ attr_accessor :id
2433
+ # Unique human-readable name of the Resource.
2434
+ attr_accessor :name
2435
+ # True if the datasource is reachable and the credentials are valid.
2436
+ attr_accessor :healthy
2437
+ # Tags is a map of key, value pairs.
2438
+ attr_accessor :tags
2439
+ # ID of the secret store containing credentials for this resource, if any.
2440
+ attr_accessor :secret_store_id
2441
+ # A filter applied to the routing logic to pin datasource to nodes.
2442
+ attr_accessor :egress_filter
2443
+
2444
+ attr_accessor :endpoint
2445
+
2446
+ attr_accessor :access_key
2447
+
2448
+ attr_accessor :secret_access_key
2449
+
2450
+ attr_accessor :certificate_authority
2451
+
2452
+ attr_accessor :region
2453
+
2454
+ attr_accessor :cluster_name
2455
+
2456
+ attr_accessor :role_arn
2457
+
2458
+ attr_accessor :role_external_id
2459
+
2460
+ attr_accessor :healthcheck_namespace
2461
+
2462
+ def initialize(
2463
+ id: nil,
2464
+ name: nil,
2465
+ healthy: nil,
2466
+ tags: nil,
2467
+ secret_store_id: nil,
2468
+ egress_filter: nil,
2469
+ endpoint: nil,
2470
+ access_key: nil,
2471
+ secret_access_key: nil,
2472
+ certificate_authority: nil,
2473
+ region: nil,
2474
+ cluster_name: nil,
2475
+ role_arn: nil,
2476
+ role_external_id: nil,
2477
+ healthcheck_namespace: nil
2478
+ )
2479
+ if id != nil
2480
+ @id = id
2481
+ end
2482
+ if name != nil
2483
+ @name = name
2484
+ end
2485
+ if healthy != nil
2486
+ @healthy = healthy
2487
+ end
2488
+ if tags != nil
2489
+ @tags = tags
2490
+ end
2491
+ if secret_store_id != nil
2492
+ @secret_store_id = secret_store_id
2493
+ end
2494
+ if egress_filter != nil
2495
+ @egress_filter = egress_filter
2496
+ end
2497
+ if endpoint != nil
2498
+ @endpoint = endpoint
2499
+ end
2500
+ if access_key != nil
2501
+ @access_key = access_key
2502
+ end
2503
+ if secret_access_key != nil
2504
+ @secret_access_key = secret_access_key
2505
+ end
2506
+ if certificate_authority != nil
2507
+ @certificate_authority = certificate_authority
2508
+ end
2509
+ if region != nil
2510
+ @region = region
2511
+ end
2512
+ if cluster_name != nil
2513
+ @cluster_name = cluster_name
2514
+ end
2515
+ if role_arn != nil
2516
+ @role_arn = role_arn
2517
+ end
2518
+ if role_external_id != nil
2519
+ @role_external_id = role_external_id
2520
+ end
2521
+ if healthcheck_namespace != nil
2522
+ @healthcheck_namespace = healthcheck_namespace
2523
+ end
2524
+ end
2525
+
2526
+ def to_json(options = {})
2527
+ hash = {}
2528
+ self.instance_variables.each do |var|
2529
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
2530
+ end
2531
+ hash.to_json
2532
+ end
2533
+ end
2534
+
2535
+ class AmazonEKSUserImpersonation
2536
+ # Unique identifier of the Resource.
2537
+ attr_accessor :id
2538
+ # Unique human-readable name of the Resource.
2539
+ attr_accessor :name
2540
+ # True if the datasource is reachable and the credentials are valid.
2541
+ attr_accessor :healthy
2542
+ # Tags is a map of key, value pairs.
2543
+ attr_accessor :tags
2544
+ # ID of the secret store containing credentials for this resource, if any.
2545
+ attr_accessor :secret_store_id
2546
+ # A filter applied to the routing logic to pin datasource to nodes.
2547
+ attr_accessor :egress_filter
2548
+
2549
+ attr_accessor :endpoint
2550
+
2551
+ attr_accessor :access_key
2552
+
2553
+ attr_accessor :secret_access_key
2554
+
2555
+ attr_accessor :certificate_authority
2556
+
2557
+ attr_accessor :region
2558
+
2559
+ attr_accessor :cluster_name
2560
+
2561
+ attr_accessor :role_arn
2562
+
2563
+ attr_accessor :role_external_id
2564
+
2565
+ attr_accessor :healthcheck_namespace
2566
+
2567
+ def initialize(
2568
+ id: nil,
2569
+ name: nil,
2570
+ healthy: nil,
2571
+ tags: nil,
2572
+ secret_store_id: nil,
2573
+ egress_filter: nil,
2574
+ endpoint: nil,
2575
+ access_key: nil,
2576
+ secret_access_key: nil,
2577
+ certificate_authority: nil,
2578
+ region: nil,
2579
+ cluster_name: nil,
2580
+ role_arn: nil,
2581
+ role_external_id: nil,
2582
+ healthcheck_namespace: nil
2583
+ )
2584
+ if id != nil
2585
+ @id = id
2586
+ end
2587
+ if name != nil
2588
+ @name = name
2589
+ end
2590
+ if healthy != nil
2591
+ @healthy = healthy
2592
+ end
2593
+ if tags != nil
2594
+ @tags = tags
2595
+ end
2596
+ if secret_store_id != nil
2597
+ @secret_store_id = secret_store_id
2598
+ end
2599
+ if egress_filter != nil
2600
+ @egress_filter = egress_filter
2601
+ end
2602
+ if endpoint != nil
2603
+ @endpoint = endpoint
2604
+ end
2605
+ if access_key != nil
2606
+ @access_key = access_key
2607
+ end
2608
+ if secret_access_key != nil
2609
+ @secret_access_key = secret_access_key
2610
+ end
2611
+ if certificate_authority != nil
2612
+ @certificate_authority = certificate_authority
2613
+ end
2614
+ if region != nil
2615
+ @region = region
2616
+ end
2617
+ if cluster_name != nil
2618
+ @cluster_name = cluster_name
2619
+ end
2620
+ if role_arn != nil
2621
+ @role_arn = role_arn
2622
+ end
2623
+ if role_external_id != nil
2624
+ @role_external_id = role_external_id
2625
+ end
2626
+ if healthcheck_namespace != nil
2627
+ @healthcheck_namespace = healthcheck_namespace
2628
+ end
2629
+ end
2630
+
2631
+ def to_json(options = {})
2632
+ hash = {}
2633
+ self.instance_variables.each do |var|
2634
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
2635
+ end
2636
+ hash.to_json
2637
+ end
2638
+ end
2639
+
2640
+ class GoogleGKE
2641
+ # Unique identifier of the Resource.
2642
+ attr_accessor :id
2643
+ # Unique human-readable name of the Resource.
2644
+ attr_accessor :name
2645
+ # True if the datasource is reachable and the credentials are valid.
2646
+ attr_accessor :healthy
2647
+ # Tags is a map of key, value pairs.
2648
+ attr_accessor :tags
2649
+ # ID of the secret store containing credentials for this resource, if any.
2650
+ attr_accessor :secret_store_id
2651
+ # A filter applied to the routing logic to pin datasource to nodes.
2652
+ attr_accessor :egress_filter
2653
+
2654
+ attr_accessor :endpoint
2655
+
2656
+ attr_accessor :certificate_authority
2657
+
2658
+ attr_accessor :service_account_key
2659
+
2660
+ attr_accessor :healthcheck_namespace
2661
+
2662
+ def initialize(
2663
+ id: nil,
2664
+ name: nil,
2665
+ healthy: nil,
2666
+ tags: nil,
2667
+ secret_store_id: nil,
2668
+ egress_filter: nil,
2669
+ endpoint: nil,
2670
+ certificate_authority: nil,
2671
+ service_account_key: nil,
2672
+ healthcheck_namespace: nil
2673
+ )
2674
+ if id != nil
2675
+ @id = id
2676
+ end
2677
+ if name != nil
2678
+ @name = name
2679
+ end
2680
+ if healthy != nil
2681
+ @healthy = healthy
2682
+ end
2683
+ if tags != nil
2684
+ @tags = tags
2685
+ end
2686
+ if secret_store_id != nil
2687
+ @secret_store_id = secret_store_id
2688
+ end
2689
+ if egress_filter != nil
2690
+ @egress_filter = egress_filter
2691
+ end
2692
+ if endpoint != nil
2693
+ @endpoint = endpoint
2694
+ end
2695
+ if certificate_authority != nil
2696
+ @certificate_authority = certificate_authority
2697
+ end
2698
+ if service_account_key != nil
2699
+ @service_account_key = service_account_key
2700
+ end
2701
+ if healthcheck_namespace != nil
2702
+ @healthcheck_namespace = healthcheck_namespace
2703
+ end
2704
+ end
2705
+
2706
+ def to_json(options = {})
2707
+ hash = {}
2708
+ self.instance_variables.each do |var|
2709
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
2710
+ end
2711
+ hash.to_json
2712
+ end
2713
+ end
2714
+
2715
+ class GoogleGKEUserImpersonation
2716
+ # Unique identifier of the Resource.
2717
+ attr_accessor :id
2718
+ # Unique human-readable name of the Resource.
2719
+ attr_accessor :name
2720
+ # True if the datasource is reachable and the credentials are valid.
2721
+ attr_accessor :healthy
2722
+ # Tags is a map of key, value pairs.
2723
+ attr_accessor :tags
2724
+ # ID of the secret store containing credentials for this resource, if any.
2725
+ attr_accessor :secret_store_id
2726
+ # A filter applied to the routing logic to pin datasource to nodes.
2727
+ attr_accessor :egress_filter
2728
+
2729
+ attr_accessor :endpoint
2730
+
2731
+ attr_accessor :certificate_authority
2732
+
2733
+ attr_accessor :service_account_key
2734
+
2735
+ attr_accessor :healthcheck_namespace
2736
+
2737
+ def initialize(
2738
+ id: nil,
2739
+ name: nil,
2740
+ healthy: nil,
2741
+ tags: nil,
2742
+ secret_store_id: nil,
2743
+ egress_filter: nil,
2744
+ endpoint: nil,
2745
+ certificate_authority: nil,
2746
+ service_account_key: nil,
1924
2747
  healthcheck_namespace: nil
1925
2748
  )
1926
2749
  if id != nil
@@ -1938,14 +2761,17 @@ module SDM
1938
2761
  if secret_store_id != nil
1939
2762
  @secret_store_id = secret_store_id
1940
2763
  end
1941
- if hostname != nil
1942
- @hostname = hostname
2764
+ if egress_filter != nil
2765
+ @egress_filter = egress_filter
1943
2766
  end
1944
- if port != nil
1945
- @port = port
2767
+ if endpoint != nil
2768
+ @endpoint = endpoint
1946
2769
  end
1947
- if token != nil
1948
- @token = token
2770
+ if certificate_authority != nil
2771
+ @certificate_authority = certificate_authority
2772
+ end
2773
+ if service_account_key != nil
2774
+ @service_account_key = service_account_key
1949
2775
  end
1950
2776
  if healthcheck_namespace != nil
1951
2777
  @healthcheck_namespace = healthcheck_namespace
@@ -1961,7 +2787,7 @@ module SDM
1961
2787
  end
1962
2788
  end
1963
2789
 
1964
- class AmazonEKS
2790
+ class AKS
1965
2791
  # Unique identifier of the Resource.
1966
2792
  attr_accessor :id
1967
2793
  # Unique human-readable name of the Resource.
@@ -1972,22 +2798,18 @@ module SDM
1972
2798
  attr_accessor :tags
1973
2799
  # ID of the secret store containing credentials for this resource, if any.
1974
2800
  attr_accessor :secret_store_id
2801
+ # A filter applied to the routing logic to pin datasource to nodes.
2802
+ attr_accessor :egress_filter
1975
2803
 
1976
- attr_accessor :endpoint
1977
-
1978
- attr_accessor :access_key
2804
+ attr_accessor :hostname
1979
2805
 
1980
- attr_accessor :secret_access_key
2806
+ attr_accessor :port
1981
2807
 
1982
2808
  attr_accessor :certificate_authority
1983
2809
 
1984
- attr_accessor :region
1985
-
1986
- attr_accessor :cluster_name
1987
-
1988
- attr_accessor :role_arn
2810
+ attr_accessor :client_certificate
1989
2811
 
1990
- attr_accessor :role_external_id
2812
+ attr_accessor :client_key
1991
2813
 
1992
2814
  attr_accessor :healthcheck_namespace
1993
2815
 
@@ -1997,14 +2819,12 @@ module SDM
1997
2819
  healthy: nil,
1998
2820
  tags: nil,
1999
2821
  secret_store_id: nil,
2000
- endpoint: nil,
2001
- access_key: nil,
2002
- secret_access_key: nil,
2822
+ egress_filter: nil,
2823
+ hostname: nil,
2824
+ port: nil,
2003
2825
  certificate_authority: nil,
2004
- region: nil,
2005
- cluster_name: nil,
2006
- role_arn: nil,
2007
- role_external_id: nil,
2826
+ client_certificate: nil,
2827
+ client_key: nil,
2008
2828
  healthcheck_namespace: nil
2009
2829
  )
2010
2830
  if id != nil
@@ -2022,29 +2842,23 @@ module SDM
2022
2842
  if secret_store_id != nil
2023
2843
  @secret_store_id = secret_store_id
2024
2844
  end
2025
- if endpoint != nil
2026
- @endpoint = endpoint
2845
+ if egress_filter != nil
2846
+ @egress_filter = egress_filter
2027
2847
  end
2028
- if access_key != nil
2029
- @access_key = access_key
2848
+ if hostname != nil
2849
+ @hostname = hostname
2030
2850
  end
2031
- if secret_access_key != nil
2032
- @secret_access_key = secret_access_key
2851
+ if port != nil
2852
+ @port = port
2033
2853
  end
2034
2854
  if certificate_authority != nil
2035
2855
  @certificate_authority = certificate_authority
2036
2856
  end
2037
- if region != nil
2038
- @region = region
2039
- end
2040
- if cluster_name != nil
2041
- @cluster_name = cluster_name
2042
- end
2043
- if role_arn != nil
2044
- @role_arn = role_arn
2857
+ if client_certificate != nil
2858
+ @client_certificate = client_certificate
2045
2859
  end
2046
- if role_external_id != nil
2047
- @role_external_id = role_external_id
2860
+ if client_key != nil
2861
+ @client_key = client_key
2048
2862
  end
2049
2863
  if healthcheck_namespace != nil
2050
2864
  @healthcheck_namespace = healthcheck_namespace
@@ -2060,7 +2874,7 @@ module SDM
2060
2874
  end
2061
2875
  end
2062
2876
 
2063
- class GoogleGKE
2877
+ class AKSUserImpersonation
2064
2878
  # Unique identifier of the Resource.
2065
2879
  attr_accessor :id
2066
2880
  # Unique human-readable name of the Resource.
@@ -2071,12 +2885,18 @@ module SDM
2071
2885
  attr_accessor :tags
2072
2886
  # ID of the secret store containing credentials for this resource, if any.
2073
2887
  attr_accessor :secret_store_id
2888
+ # A filter applied to the routing logic to pin datasource to nodes.
2889
+ attr_accessor :egress_filter
2074
2890
 
2075
- attr_accessor :endpoint
2891
+ attr_accessor :hostname
2892
+
2893
+ attr_accessor :port
2076
2894
 
2077
2895
  attr_accessor :certificate_authority
2078
2896
 
2079
- attr_accessor :service_account_key
2897
+ attr_accessor :client_certificate
2898
+
2899
+ attr_accessor :client_key
2080
2900
 
2081
2901
  attr_accessor :healthcheck_namespace
2082
2902
 
@@ -2086,9 +2906,12 @@ module SDM
2086
2906
  healthy: nil,
2087
2907
  tags: nil,
2088
2908
  secret_store_id: nil,
2089
- endpoint: nil,
2909
+ egress_filter: nil,
2910
+ hostname: nil,
2911
+ port: nil,
2090
2912
  certificate_authority: nil,
2091
- service_account_key: nil,
2913
+ client_certificate: nil,
2914
+ client_key: nil,
2092
2915
  healthcheck_namespace: nil
2093
2916
  )
2094
2917
  if id != nil
@@ -2106,14 +2929,23 @@ module SDM
2106
2929
  if secret_store_id != nil
2107
2930
  @secret_store_id = secret_store_id
2108
2931
  end
2109
- if endpoint != nil
2110
- @endpoint = endpoint
2932
+ if egress_filter != nil
2933
+ @egress_filter = egress_filter
2934
+ end
2935
+ if hostname != nil
2936
+ @hostname = hostname
2937
+ end
2938
+ if port != nil
2939
+ @port = port
2111
2940
  end
2112
2941
  if certificate_authority != nil
2113
2942
  @certificate_authority = certificate_authority
2114
2943
  end
2115
- if service_account_key != nil
2116
- @service_account_key = service_account_key
2944
+ if client_certificate != nil
2945
+ @client_certificate = client_certificate
2946
+ end
2947
+ if client_key != nil
2948
+ @client_key = client_key
2117
2949
  end
2118
2950
  if healthcheck_namespace != nil
2119
2951
  @healthcheck_namespace = healthcheck_namespace
@@ -2129,7 +2961,7 @@ module SDM
2129
2961
  end
2130
2962
  end
2131
2963
 
2132
- class AKS
2964
+ class AKSBasicAuth
2133
2965
  # Unique identifier of the Resource.
2134
2966
  attr_accessor :id
2135
2967
  # Unique human-readable name of the Resource.
@@ -2140,16 +2972,16 @@ module SDM
2140
2972
  attr_accessor :tags
2141
2973
  # ID of the secret store containing credentials for this resource, if any.
2142
2974
  attr_accessor :secret_store_id
2975
+ # A filter applied to the routing logic to pin datasource to nodes.
2976
+ attr_accessor :egress_filter
2143
2977
 
2144
2978
  attr_accessor :hostname
2145
2979
 
2146
2980
  attr_accessor :port
2147
2981
 
2148
- attr_accessor :certificate_authority
2149
-
2150
- attr_accessor :client_certificate
2982
+ attr_accessor :username
2151
2983
 
2152
- attr_accessor :client_key
2984
+ attr_accessor :password
2153
2985
 
2154
2986
  attr_accessor :healthcheck_namespace
2155
2987
 
@@ -2159,11 +2991,11 @@ module SDM
2159
2991
  healthy: nil,
2160
2992
  tags: nil,
2161
2993
  secret_store_id: nil,
2994
+ egress_filter: nil,
2162
2995
  hostname: nil,
2163
2996
  port: nil,
2164
- certificate_authority: nil,
2165
- client_certificate: nil,
2166
- client_key: nil,
2997
+ username: nil,
2998
+ password: nil,
2167
2999
  healthcheck_namespace: nil
2168
3000
  )
2169
3001
  if id != nil
@@ -2181,20 +3013,20 @@ module SDM
2181
3013
  if secret_store_id != nil
2182
3014
  @secret_store_id = secret_store_id
2183
3015
  end
3016
+ if egress_filter != nil
3017
+ @egress_filter = egress_filter
3018
+ end
2184
3019
  if hostname != nil
2185
3020
  @hostname = hostname
2186
3021
  end
2187
3022
  if port != nil
2188
3023
  @port = port
2189
3024
  end
2190
- if certificate_authority != nil
2191
- @certificate_authority = certificate_authority
2192
- end
2193
- if client_certificate != nil
2194
- @client_certificate = client_certificate
3025
+ if username != nil
3026
+ @username = username
2195
3027
  end
2196
- if client_key != nil
2197
- @client_key = client_key
3028
+ if password != nil
3029
+ @password = password
2198
3030
  end
2199
3031
  if healthcheck_namespace != nil
2200
3032
  @healthcheck_namespace = healthcheck_namespace
@@ -2210,7 +3042,7 @@ module SDM
2210
3042
  end
2211
3043
  end
2212
3044
 
2213
- class AKSBasicAuth
3045
+ class AKSServiceAccount
2214
3046
  # Unique identifier of the Resource.
2215
3047
  attr_accessor :id
2216
3048
  # Unique human-readable name of the Resource.
@@ -2221,14 +3053,14 @@ module SDM
2221
3053
  attr_accessor :tags
2222
3054
  # ID of the secret store containing credentials for this resource, if any.
2223
3055
  attr_accessor :secret_store_id
3056
+ # A filter applied to the routing logic to pin datasource to nodes.
3057
+ attr_accessor :egress_filter
2224
3058
 
2225
3059
  attr_accessor :hostname
2226
3060
 
2227
3061
  attr_accessor :port
2228
3062
 
2229
- attr_accessor :username
2230
-
2231
- attr_accessor :password
3063
+ attr_accessor :token
2232
3064
 
2233
3065
  attr_accessor :healthcheck_namespace
2234
3066
 
@@ -2238,10 +3070,10 @@ module SDM
2238
3070
  healthy: nil,
2239
3071
  tags: nil,
2240
3072
  secret_store_id: nil,
3073
+ egress_filter: nil,
2241
3074
  hostname: nil,
2242
3075
  port: nil,
2243
- username: nil,
2244
- password: nil,
3076
+ token: nil,
2245
3077
  healthcheck_namespace: nil
2246
3078
  )
2247
3079
  if id != nil
@@ -2259,17 +3091,17 @@ module SDM
2259
3091
  if secret_store_id != nil
2260
3092
  @secret_store_id = secret_store_id
2261
3093
  end
3094
+ if egress_filter != nil
3095
+ @egress_filter = egress_filter
3096
+ end
2262
3097
  if hostname != nil
2263
3098
  @hostname = hostname
2264
3099
  end
2265
3100
  if port != nil
2266
3101
  @port = port
2267
3102
  end
2268
- if username != nil
2269
- @username = username
2270
- end
2271
- if password != nil
2272
- @password = password
3103
+ if token != nil
3104
+ @token = token
2273
3105
  end
2274
3106
  if healthcheck_namespace != nil
2275
3107
  @healthcheck_namespace = healthcheck_namespace
@@ -2285,7 +3117,7 @@ module SDM
2285
3117
  end
2286
3118
  end
2287
3119
 
2288
- class AKSServiceAccount
3120
+ class AKSServiceAccountUserImpersonation
2289
3121
  # Unique identifier of the Resource.
2290
3122
  attr_accessor :id
2291
3123
  # Unique human-readable name of the Resource.
@@ -2296,6 +3128,8 @@ module SDM
2296
3128
  attr_accessor :tags
2297
3129
  # ID of the secret store containing credentials for this resource, if any.
2298
3130
  attr_accessor :secret_store_id
3131
+ # A filter applied to the routing logic to pin datasource to nodes.
3132
+ attr_accessor :egress_filter
2299
3133
 
2300
3134
  attr_accessor :hostname
2301
3135
 
@@ -2311,6 +3145,7 @@ module SDM
2311
3145
  healthy: nil,
2312
3146
  tags: nil,
2313
3147
  secret_store_id: nil,
3148
+ egress_filter: nil,
2314
3149
  hostname: nil,
2315
3150
  port: nil,
2316
3151
  token: nil,
@@ -2331,6 +3166,9 @@ module SDM
2331
3166
  if secret_store_id != nil
2332
3167
  @secret_store_id = secret_store_id
2333
3168
  end
3169
+ if egress_filter != nil
3170
+ @egress_filter = egress_filter
3171
+ end
2334
3172
  if hostname != nil
2335
3173
  @hostname = hostname
2336
3174
  end
@@ -2365,6 +3203,8 @@ module SDM
2365
3203
  attr_accessor :tags
2366
3204
  # ID of the secret store containing credentials for this resource, if any.
2367
3205
  attr_accessor :secret_store_id
3206
+ # A filter applied to the routing logic to pin datasource to nodes.
3207
+ attr_accessor :egress_filter
2368
3208
 
2369
3209
  attr_accessor :hostname
2370
3210
 
@@ -2378,6 +3218,7 @@ module SDM
2378
3218
  healthy: nil,
2379
3219
  tags: nil,
2380
3220
  secret_store_id: nil,
3221
+ egress_filter: nil,
2381
3222
  hostname: nil,
2382
3223
  port_override: nil,
2383
3224
  port: nil
@@ -2397,6 +3238,9 @@ module SDM
2397
3238
  if secret_store_id != nil
2398
3239
  @secret_store_id = secret_store_id
2399
3240
  end
3241
+ if egress_filter != nil
3242
+ @egress_filter = egress_filter
3243
+ end
2400
3244
  if hostname != nil
2401
3245
  @hostname = hostname
2402
3246
  end
@@ -2428,6 +3272,8 @@ module SDM
2428
3272
  attr_accessor :tags
2429
3273
  # ID of the secret store containing credentials for this resource, if any.
2430
3274
  attr_accessor :secret_store_id
3275
+ # A filter applied to the routing logic to pin datasource to nodes.
3276
+ attr_accessor :egress_filter
2431
3277
 
2432
3278
  attr_accessor :hostname
2433
3279
 
@@ -2451,6 +3297,7 @@ module SDM
2451
3297
  healthy: nil,
2452
3298
  tags: nil,
2453
3299
  secret_store_id: nil,
3300
+ egress_filter: nil,
2454
3301
  hostname: nil,
2455
3302
  auth_database: nil,
2456
3303
  port_override: nil,
@@ -2475,6 +3322,9 @@ module SDM
2475
3322
  if secret_store_id != nil
2476
3323
  @secret_store_id = secret_store_id
2477
3324
  end
3325
+ if egress_filter != nil
3326
+ @egress_filter = egress_filter
3327
+ end
2478
3328
  if hostname != nil
2479
3329
  @hostname = hostname
2480
3330
  end
@@ -2521,6 +3371,8 @@ module SDM
2521
3371
  attr_accessor :tags
2522
3372
  # ID of the secret store containing credentials for this resource, if any.
2523
3373
  attr_accessor :secret_store_id
3374
+ # A filter applied to the routing logic to pin datasource to nodes.
3375
+ attr_accessor :egress_filter
2524
3376
 
2525
3377
  attr_accessor :hostname
2526
3378
 
@@ -2546,6 +3398,7 @@ module SDM
2546
3398
  healthy: nil,
2547
3399
  tags: nil,
2548
3400
  secret_store_id: nil,
3401
+ egress_filter: nil,
2549
3402
  hostname: nil,
2550
3403
  auth_database: nil,
2551
3404
  port_override: nil,
@@ -2571,6 +3424,9 @@ module SDM
2571
3424
  if secret_store_id != nil
2572
3425
  @secret_store_id = secret_store_id
2573
3426
  end
3427
+ if egress_filter != nil
3428
+ @egress_filter = egress_filter
3429
+ end
2574
3430
  if hostname != nil
2575
3431
  @hostname = hostname
2576
3432
  end
@@ -2620,6 +3476,8 @@ module SDM
2620
3476
  attr_accessor :tags
2621
3477
  # ID of the secret store containing credentials for this resource, if any.
2622
3478
  attr_accessor :secret_store_id
3479
+ # A filter applied to the routing logic to pin datasource to nodes.
3480
+ attr_accessor :egress_filter
2623
3481
 
2624
3482
  attr_accessor :hostname
2625
3483
 
@@ -2641,6 +3499,7 @@ module SDM
2641
3499
  healthy: nil,
2642
3500
  tags: nil,
2643
3501
  secret_store_id: nil,
3502
+ egress_filter: nil,
2644
3503
  hostname: nil,
2645
3504
  auth_database: nil,
2646
3505
  port_override: nil,
@@ -2664,6 +3523,9 @@ module SDM
2664
3523
  if secret_store_id != nil
2665
3524
  @secret_store_id = secret_store_id
2666
3525
  end
3526
+ if egress_filter != nil
3527
+ @egress_filter = egress_filter
3528
+ end
2667
3529
  if hostname != nil
2668
3530
  @hostname = hostname
2669
3531
  end
@@ -2707,6 +3569,8 @@ module SDM
2707
3569
  attr_accessor :tags
2708
3570
  # ID of the secret store containing credentials for this resource, if any.
2709
3571
  attr_accessor :secret_store_id
3572
+ # A filter applied to the routing logic to pin datasource to nodes.
3573
+ attr_accessor :egress_filter
2710
3574
 
2711
3575
  attr_accessor :hostname
2712
3576
 
@@ -2732,6 +3596,7 @@ module SDM
2732
3596
  healthy: nil,
2733
3597
  tags: nil,
2734
3598
  secret_store_id: nil,
3599
+ egress_filter: nil,
2735
3600
  hostname: nil,
2736
3601
  auth_database: nil,
2737
3602
  port_override: nil,
@@ -2757,6 +3622,9 @@ module SDM
2757
3622
  if secret_store_id != nil
2758
3623
  @secret_store_id = secret_store_id
2759
3624
  end
3625
+ if egress_filter != nil
3626
+ @egress_filter = egress_filter
3627
+ end
2760
3628
  if hostname != nil
2761
3629
  @hostname = hostname
2762
3630
  end
@@ -2806,6 +3674,8 @@ module SDM
2806
3674
  attr_accessor :tags
2807
3675
  # ID of the secret store containing credentials for this resource, if any.
2808
3676
  attr_accessor :secret_store_id
3677
+ # A filter applied to the routing logic to pin datasource to nodes.
3678
+ attr_accessor :egress_filter
2809
3679
 
2810
3680
  attr_accessor :hostname
2811
3681
 
@@ -2825,6 +3695,7 @@ module SDM
2825
3695
  healthy: nil,
2826
3696
  tags: nil,
2827
3697
  secret_store_id: nil,
3698
+ egress_filter: nil,
2828
3699
  hostname: nil,
2829
3700
  username: nil,
2830
3701
  password: nil,
@@ -2847,6 +3718,9 @@ module SDM
2847
3718
  if secret_store_id != nil
2848
3719
  @secret_store_id = secret_store_id
2849
3720
  end
3721
+ if egress_filter != nil
3722
+ @egress_filter = egress_filter
3723
+ end
2850
3724
  if hostname != nil
2851
3725
  @hostname = hostname
2852
3726
  end
@@ -2887,6 +3761,8 @@ module SDM
2887
3761
  attr_accessor :tags
2888
3762
  # ID of the secret store containing credentials for this resource, if any.
2889
3763
  attr_accessor :secret_store_id
3764
+ # A filter applied to the routing logic to pin datasource to nodes.
3765
+ attr_accessor :egress_filter
2890
3766
 
2891
3767
  attr_accessor :hostname
2892
3768
 
@@ -2906,6 +3782,7 @@ module SDM
2906
3782
  healthy: nil,
2907
3783
  tags: nil,
2908
3784
  secret_store_id: nil,
3785
+ egress_filter: nil,
2909
3786
  hostname: nil,
2910
3787
  username: nil,
2911
3788
  password: nil,
@@ -2928,6 +3805,9 @@ module SDM
2928
3805
  if secret_store_id != nil
2929
3806
  @secret_store_id = secret_store_id
2930
3807
  end
3808
+ if egress_filter != nil
3809
+ @egress_filter = egress_filter
3810
+ end
2931
3811
  if hostname != nil
2932
3812
  @hostname = hostname
2933
3813
  end
@@ -2968,6 +3848,8 @@ module SDM
2968
3848
  attr_accessor :tags
2969
3849
  # ID of the secret store containing credentials for this resource, if any.
2970
3850
  attr_accessor :secret_store_id
3851
+ # A filter applied to the routing logic to pin datasource to nodes.
3852
+ attr_accessor :egress_filter
2971
3853
 
2972
3854
  attr_accessor :hostname
2973
3855
 
@@ -2987,6 +3869,7 @@ module SDM
2987
3869
  healthy: nil,
2988
3870
  tags: nil,
2989
3871
  secret_store_id: nil,
3872
+ egress_filter: nil,
2990
3873
  hostname: nil,
2991
3874
  username: nil,
2992
3875
  password: nil,
@@ -3009,6 +3892,9 @@ module SDM
3009
3892
  if secret_store_id != nil
3010
3893
  @secret_store_id = secret_store_id
3011
3894
  end
3895
+ if egress_filter != nil
3896
+ @egress_filter = egress_filter
3897
+ end
3012
3898
  if hostname != nil
3013
3899
  @hostname = hostname
3014
3900
  end
@@ -3049,6 +3935,8 @@ module SDM
3049
3935
  attr_accessor :tags
3050
3936
  # ID of the secret store containing credentials for this resource, if any.
3051
3937
  attr_accessor :secret_store_id
3938
+ # A filter applied to the routing logic to pin datasource to nodes.
3939
+ attr_accessor :egress_filter
3052
3940
 
3053
3941
  attr_accessor :hostname
3054
3942
 
@@ -3068,6 +3956,7 @@ module SDM
3068
3956
  healthy: nil,
3069
3957
  tags: nil,
3070
3958
  secret_store_id: nil,
3959
+ egress_filter: nil,
3071
3960
  hostname: nil,
3072
3961
  username: nil,
3073
3962
  password: nil,
@@ -3090,6 +3979,9 @@ module SDM
3090
3979
  if secret_store_id != nil
3091
3980
  @secret_store_id = secret_store_id
3092
3981
  end
3982
+ if egress_filter != nil
3983
+ @egress_filter = egress_filter
3984
+ end
3093
3985
  if hostname != nil
3094
3986
  @hostname = hostname
3095
3987
  end
@@ -3130,6 +4022,8 @@ module SDM
3130
4022
  attr_accessor :tags
3131
4023
  # ID of the secret store containing credentials for this resource, if any.
3132
4024
  attr_accessor :secret_store_id
4025
+ # A filter applied to the routing logic to pin datasource to nodes.
4026
+ attr_accessor :egress_filter
3133
4027
 
3134
4028
  attr_accessor :hostname
3135
4029
 
@@ -3149,6 +4043,7 @@ module SDM
3149
4043
  healthy: nil,
3150
4044
  tags: nil,
3151
4045
  secret_store_id: nil,
4046
+ egress_filter: nil,
3152
4047
  hostname: nil,
3153
4048
  username: nil,
3154
4049
  password: nil,
@@ -3171,6 +4066,9 @@ module SDM
3171
4066
  if secret_store_id != nil
3172
4067
  @secret_store_id = secret_store_id
3173
4068
  end
4069
+ if egress_filter != nil
4070
+ @egress_filter = egress_filter
4071
+ end
3174
4072
  if hostname != nil
3175
4073
  @hostname = hostname
3176
4074
  end
@@ -3211,6 +4109,8 @@ module SDM
3211
4109
  attr_accessor :tags
3212
4110
  # ID of the secret store containing credentials for this resource, if any.
3213
4111
  attr_accessor :secret_store_id
4112
+ # A filter applied to the routing logic to pin datasource to nodes.
4113
+ attr_accessor :egress_filter
3214
4114
 
3215
4115
  attr_accessor :hostname
3216
4116
 
@@ -3232,6 +4132,7 @@ module SDM
3232
4132
  healthy: nil,
3233
4133
  tags: nil,
3234
4134
  secret_store_id: nil,
4135
+ egress_filter: nil,
3235
4136
  hostname: nil,
3236
4137
  username: nil,
3237
4138
  password: nil,
@@ -3255,6 +4156,9 @@ module SDM
3255
4156
  if secret_store_id != nil
3256
4157
  @secret_store_id = secret_store_id
3257
4158
  end
4159
+ if egress_filter != nil
4160
+ @egress_filter = egress_filter
4161
+ end
3258
4162
  if hostname != nil
3259
4163
  @hostname = hostname
3260
4164
  end
@@ -3298,6 +4202,8 @@ module SDM
3298
4202
  attr_accessor :tags
3299
4203
  # ID of the secret store containing credentials for this resource, if any.
3300
4204
  attr_accessor :secret_store_id
4205
+ # A filter applied to the routing logic to pin datasource to nodes.
4206
+ attr_accessor :egress_filter
3301
4207
 
3302
4208
  attr_accessor :hostname
3303
4209
 
@@ -3319,6 +4225,7 @@ module SDM
3319
4225
  healthy: nil,
3320
4226
  tags: nil,
3321
4227
  secret_store_id: nil,
4228
+ egress_filter: nil,
3322
4229
  hostname: nil,
3323
4230
  username: nil,
3324
4231
  password: nil,
@@ -3342,6 +4249,9 @@ module SDM
3342
4249
  if secret_store_id != nil
3343
4250
  @secret_store_id = secret_store_id
3344
4251
  end
4252
+ if egress_filter != nil
4253
+ @egress_filter = egress_filter
4254
+ end
3345
4255
  if hostname != nil
3346
4256
  @hostname = hostname
3347
4257
  end
@@ -3385,6 +4295,8 @@ module SDM
3385
4295
  attr_accessor :tags
3386
4296
  # ID of the secret store containing credentials for this resource, if any.
3387
4297
  attr_accessor :secret_store_id
4298
+ # A filter applied to the routing logic to pin datasource to nodes.
4299
+ attr_accessor :egress_filter
3388
4300
 
3389
4301
  attr_accessor :hostname
3390
4302
 
@@ -3406,6 +4318,7 @@ module SDM
3406
4318
  healthy: nil,
3407
4319
  tags: nil,
3408
4320
  secret_store_id: nil,
4321
+ egress_filter: nil,
3409
4322
  hostname: nil,
3410
4323
  username: nil,
3411
4324
  password: nil,
@@ -3429,6 +4342,9 @@ module SDM
3429
4342
  if secret_store_id != nil
3430
4343
  @secret_store_id = secret_store_id
3431
4344
  end
4345
+ if egress_filter != nil
4346
+ @egress_filter = egress_filter
4347
+ end
3432
4348
  if hostname != nil
3433
4349
  @hostname = hostname
3434
4350
  end
@@ -3472,6 +4388,8 @@ module SDM
3472
4388
  attr_accessor :tags
3473
4389
  # ID of the secret store containing credentials for this resource, if any.
3474
4390
  attr_accessor :secret_store_id
4391
+ # A filter applied to the routing logic to pin datasource to nodes.
4392
+ attr_accessor :egress_filter
3475
4393
 
3476
4394
  attr_accessor :hostname
3477
4395
 
@@ -3493,6 +4411,7 @@ module SDM
3493
4411
  healthy: nil,
3494
4412
  tags: nil,
3495
4413
  secret_store_id: nil,
4414
+ egress_filter: nil,
3496
4415
  hostname: nil,
3497
4416
  username: nil,
3498
4417
  password: nil,
@@ -3516,6 +4435,9 @@ module SDM
3516
4435
  if secret_store_id != nil
3517
4436
  @secret_store_id = secret_store_id
3518
4437
  end
4438
+ if egress_filter != nil
4439
+ @egress_filter = egress_filter
4440
+ end
3519
4441
  if hostname != nil
3520
4442
  @hostname = hostname
3521
4443
  end
@@ -3559,6 +4481,8 @@ module SDM
3559
4481
  attr_accessor :tags
3560
4482
  # ID of the secret store containing credentials for this resource, if any.
3561
4483
  attr_accessor :secret_store_id
4484
+ # A filter applied to the routing logic to pin datasource to nodes.
4485
+ attr_accessor :egress_filter
3562
4486
 
3563
4487
  attr_accessor :hostname
3564
4488
 
@@ -3580,6 +4504,7 @@ module SDM
3580
4504
  healthy: nil,
3581
4505
  tags: nil,
3582
4506
  secret_store_id: nil,
4507
+ egress_filter: nil,
3583
4508
  hostname: nil,
3584
4509
  username: nil,
3585
4510
  password: nil,
@@ -3603,6 +4528,9 @@ module SDM
3603
4528
  if secret_store_id != nil
3604
4529
  @secret_store_id = secret_store_id
3605
4530
  end
4531
+ if egress_filter != nil
4532
+ @egress_filter = egress_filter
4533
+ end
3606
4534
  if hostname != nil
3607
4535
  @hostname = hostname
3608
4536
  end
@@ -3646,6 +4574,8 @@ module SDM
3646
4574
  attr_accessor :tags
3647
4575
  # ID of the secret store containing credentials for this resource, if any.
3648
4576
  attr_accessor :secret_store_id
4577
+ # A filter applied to the routing logic to pin datasource to nodes.
4578
+ attr_accessor :egress_filter
3649
4579
 
3650
4580
  attr_accessor :hostname
3651
4581
 
@@ -3667,6 +4597,7 @@ module SDM
3667
4597
  healthy: nil,
3668
4598
  tags: nil,
3669
4599
  secret_store_id: nil,
4600
+ egress_filter: nil,
3670
4601
  hostname: nil,
3671
4602
  username: nil,
3672
4603
  password: nil,
@@ -3690,6 +4621,9 @@ module SDM
3690
4621
  if secret_store_id != nil
3691
4622
  @secret_store_id = secret_store_id
3692
4623
  end
4624
+ if egress_filter != nil
4625
+ @egress_filter = egress_filter
4626
+ end
3693
4627
  if hostname != nil
3694
4628
  @hostname = hostname
3695
4629
  end
@@ -3733,6 +4667,8 @@ module SDM
3733
4667
  attr_accessor :tags
3734
4668
  # ID of the secret store containing credentials for this resource, if any.
3735
4669
  attr_accessor :secret_store_id
4670
+ # A filter applied to the routing logic to pin datasource to nodes.
4671
+ attr_accessor :egress_filter
3736
4672
 
3737
4673
  attr_accessor :hostname
3738
4674
 
@@ -3754,6 +4690,7 @@ module SDM
3754
4690
  healthy: nil,
3755
4691
  tags: nil,
3756
4692
  secret_store_id: nil,
4693
+ egress_filter: nil,
3757
4694
  hostname: nil,
3758
4695
  username: nil,
3759
4696
  password: nil,
@@ -3777,6 +4714,9 @@ module SDM
3777
4714
  if secret_store_id != nil
3778
4715
  @secret_store_id = secret_store_id
3779
4716
  end
4717
+ if egress_filter != nil
4718
+ @egress_filter = egress_filter
4719
+ end
3780
4720
  if hostname != nil
3781
4721
  @hostname = hostname
3782
4722
  end
@@ -3820,6 +4760,8 @@ module SDM
3820
4760
  attr_accessor :tags
3821
4761
  # ID of the secret store containing credentials for this resource, if any.
3822
4762
  attr_accessor :secret_store_id
4763
+ # A filter applied to the routing logic to pin datasource to nodes.
4764
+ attr_accessor :egress_filter
3823
4765
 
3824
4766
  attr_accessor :hostname
3825
4767
 
@@ -3841,6 +4783,7 @@ module SDM
3841
4783
  healthy: nil,
3842
4784
  tags: nil,
3843
4785
  secret_store_id: nil,
4786
+ egress_filter: nil,
3844
4787
  hostname: nil,
3845
4788
  password: nil,
3846
4789
  database: nil,
@@ -3864,6 +4807,9 @@ module SDM
3864
4807
  if secret_store_id != nil
3865
4808
  @secret_store_id = secret_store_id
3866
4809
  end
4810
+ if egress_filter != nil
4811
+ @egress_filter = egress_filter
4812
+ end
3867
4813
  if hostname != nil
3868
4814
  @hostname = hostname
3869
4815
  end
@@ -3907,6 +4853,8 @@ module SDM
3907
4853
  attr_accessor :tags
3908
4854
  # ID of the secret store containing credentials for this resource, if any.
3909
4855
  attr_accessor :secret_store_id
4856
+ # A filter applied to the routing logic to pin datasource to nodes.
4857
+ attr_accessor :egress_filter
3910
4858
 
3911
4859
  attr_accessor :hostname
3912
4860
 
@@ -3924,6 +4872,7 @@ module SDM
3924
4872
  healthy: nil,
3925
4873
  tags: nil,
3926
4874
  secret_store_id: nil,
4875
+ egress_filter: nil,
3927
4876
  hostname: nil,
3928
4877
  username: nil,
3929
4878
  password: nil,
@@ -3945,6 +4894,9 @@ module SDM
3945
4894
  if secret_store_id != nil
3946
4895
  @secret_store_id = secret_store_id
3947
4896
  end
4897
+ if egress_filter != nil
4898
+ @egress_filter = egress_filter
4899
+ end
3948
4900
  if hostname != nil
3949
4901
  @hostname = hostname
3950
4902
  end
@@ -3982,6 +4934,8 @@ module SDM
3982
4934
  attr_accessor :tags
3983
4935
  # ID of the secret store containing credentials for this resource, if any.
3984
4936
  attr_accessor :secret_store_id
4937
+ # A filter applied to the routing logic to pin datasource to nodes.
4938
+ attr_accessor :egress_filter
3985
4939
 
3986
4940
  attr_accessor :hostname
3987
4941
 
@@ -3997,6 +4951,7 @@ module SDM
3997
4951
  healthy: nil,
3998
4952
  tags: nil,
3999
4953
  secret_store_id: nil,
4954
+ egress_filter: nil,
4000
4955
  hostname: nil,
4001
4956
  port_override: nil,
4002
4957
  password: nil,
@@ -4017,6 +4972,9 @@ module SDM
4017
4972
  if secret_store_id != nil
4018
4973
  @secret_store_id = secret_store_id
4019
4974
  end
4975
+ if egress_filter != nil
4976
+ @egress_filter = egress_filter
4977
+ end
4020
4978
  if hostname != nil
4021
4979
  @hostname = hostname
4022
4980
  end
@@ -4051,6 +5009,8 @@ module SDM
4051
5009
  attr_accessor :tags
4052
5010
  # ID of the secret store containing credentials for this resource, if any.
4053
5011
  attr_accessor :secret_store_id
5012
+ # A filter applied to the routing logic to pin datasource to nodes.
5013
+ attr_accessor :egress_filter
4054
5014
 
4055
5015
  attr_accessor :hostname
4056
5016
 
@@ -4068,6 +5028,7 @@ module SDM
4068
5028
  healthy: nil,
4069
5029
  tags: nil,
4070
5030
  secret_store_id: nil,
5031
+ egress_filter: nil,
4071
5032
  hostname: nil,
4072
5033
  port_override: nil,
4073
5034
  password: nil,
@@ -4089,6 +5050,9 @@ module SDM
4089
5050
  if secret_store_id != nil
4090
5051
  @secret_store_id = secret_store_id
4091
5052
  end
5053
+ if egress_filter != nil
5054
+ @egress_filter = egress_filter
5055
+ end
4092
5056
  if hostname != nil
4093
5057
  @hostname = hostname
4094
5058
  end
@@ -4126,6 +5090,8 @@ module SDM
4126
5090
  attr_accessor :tags
4127
5091
  # ID of the secret store containing credentials for this resource, if any.
4128
5092
  attr_accessor :secret_store_id
5093
+ # A filter applied to the routing logic to pin datasource to nodes.
5094
+ attr_accessor :egress_filter
4129
5095
 
4130
5096
  attr_accessor :hostname
4131
5097
 
@@ -4145,6 +5111,7 @@ module SDM
4145
5111
  healthy: nil,
4146
5112
  tags: nil,
4147
5113
  secret_store_id: nil,
5114
+ egress_filter: nil,
4148
5115
  hostname: nil,
4149
5116
  username: nil,
4150
5117
  password: nil,
@@ -4167,6 +5134,9 @@ module SDM
4167
5134
  if secret_store_id != nil
4168
5135
  @secret_store_id = secret_store_id
4169
5136
  end
5137
+ if egress_filter != nil
5138
+ @egress_filter = egress_filter
5139
+ end
4170
5140
  if hostname != nil
4171
5141
  @hostname = hostname
4172
5142
  end
@@ -4207,6 +5177,8 @@ module SDM
4207
5177
  attr_accessor :tags
4208
5178
  # ID of the secret store containing credentials for this resource, if any.
4209
5179
  attr_accessor :secret_store_id
5180
+ # A filter applied to the routing logic to pin datasource to nodes.
5181
+ attr_accessor :egress_filter
4210
5182
 
4211
5183
  attr_accessor :hostname
4212
5184
 
@@ -4230,6 +5202,7 @@ module SDM
4230
5202
  healthy: nil,
4231
5203
  tags: nil,
4232
5204
  secret_store_id: nil,
5205
+ egress_filter: nil,
4233
5206
  hostname: nil,
4234
5207
  username: nil,
4235
5208
  password: nil,
@@ -4254,6 +5227,9 @@ module SDM
4254
5227
  if secret_store_id != nil
4255
5228
  @secret_store_id = secret_store_id
4256
5229
  end
5230
+ if egress_filter != nil
5231
+ @egress_filter = egress_filter
5232
+ end
4257
5233
  if hostname != nil
4258
5234
  @hostname = hostname
4259
5235
  end
@@ -4300,6 +5276,8 @@ module SDM
4300
5276
  attr_accessor :tags
4301
5277
  # ID of the secret store containing credentials for this resource, if any.
4302
5278
  attr_accessor :secret_store_id
5279
+ # A filter applied to the routing logic to pin datasource to nodes.
5280
+ attr_accessor :egress_filter
4303
5281
 
4304
5282
  attr_accessor :hostname
4305
5283
 
@@ -4319,6 +5297,7 @@ module SDM
4319
5297
  healthy: nil,
4320
5298
  tags: nil,
4321
5299
  secret_store_id: nil,
5300
+ egress_filter: nil,
4322
5301
  hostname: nil,
4323
5302
  username: nil,
4324
5303
  port: nil,
@@ -4341,6 +5320,9 @@ module SDM
4341
5320
  if secret_store_id != nil
4342
5321
  @secret_store_id = secret_store_id
4343
5322
  end
5323
+ if egress_filter != nil
5324
+ @egress_filter = egress_filter
5325
+ end
4344
5326
  if hostname != nil
4345
5327
  @hostname = hostname
4346
5328
  end
@@ -4381,6 +5363,89 @@ module SDM
4381
5363
  attr_accessor :tags
4382
5364
  # ID of the secret store containing credentials for this resource, if any.
4383
5365
  attr_accessor :secret_store_id
5366
+ # A filter applied to the routing logic to pin datasource to nodes.
5367
+ attr_accessor :egress_filter
5368
+
5369
+ attr_accessor :hostname
5370
+
5371
+ attr_accessor :username
5372
+
5373
+ attr_accessor :port
5374
+
5375
+ attr_accessor :port_forwarding
5376
+
5377
+ attr_accessor :allow_deprecated_key_exchanges
5378
+
5379
+ def initialize(
5380
+ id: nil,
5381
+ name: nil,
5382
+ healthy: nil,
5383
+ tags: nil,
5384
+ secret_store_id: nil,
5385
+ egress_filter: nil,
5386
+ hostname: nil,
5387
+ username: nil,
5388
+ port: nil,
5389
+ port_forwarding: nil,
5390
+ allow_deprecated_key_exchanges: nil
5391
+ )
5392
+ if id != nil
5393
+ @id = id
5394
+ end
5395
+ if name != nil
5396
+ @name = name
5397
+ end
5398
+ if healthy != nil
5399
+ @healthy = healthy
5400
+ end
5401
+ if tags != nil
5402
+ @tags = tags
5403
+ end
5404
+ if secret_store_id != nil
5405
+ @secret_store_id = secret_store_id
5406
+ end
5407
+ if egress_filter != nil
5408
+ @egress_filter = egress_filter
5409
+ end
5410
+ if hostname != nil
5411
+ @hostname = hostname
5412
+ end
5413
+ if username != nil
5414
+ @username = username
5415
+ end
5416
+ if port != nil
5417
+ @port = port
5418
+ end
5419
+ if port_forwarding != nil
5420
+ @port_forwarding = port_forwarding
5421
+ end
5422
+ if allow_deprecated_key_exchanges != nil
5423
+ @allow_deprecated_key_exchanges = allow_deprecated_key_exchanges
5424
+ end
5425
+ end
5426
+
5427
+ def to_json(options = {})
5428
+ hash = {}
5429
+ self.instance_variables.each do |var|
5430
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5431
+ end
5432
+ hash.to_json
5433
+ end
5434
+ end
5435
+
5436
+ class SSHCustomerKey
5437
+ # Unique identifier of the Resource.
5438
+ attr_accessor :id
5439
+ # Unique human-readable name of the Resource.
5440
+ attr_accessor :name
5441
+ # True if the datasource is reachable and the credentials are valid.
5442
+ attr_accessor :healthy
5443
+ # Tags is a map of key, value pairs.
5444
+ attr_accessor :tags
5445
+ # ID of the secret store containing credentials for this resource, if any.
5446
+ attr_accessor :secret_store_id
5447
+ # A filter applied to the routing logic to pin datasource to nodes.
5448
+ attr_accessor :egress_filter
4384
5449
 
4385
5450
  attr_accessor :hostname
4386
5451
 
@@ -4388,6 +5453,8 @@ module SDM
4388
5453
 
4389
5454
  attr_accessor :port
4390
5455
 
5456
+ attr_accessor :private_key
5457
+
4391
5458
  attr_accessor :port_forwarding
4392
5459
 
4393
5460
  attr_accessor :allow_deprecated_key_exchanges
@@ -4398,9 +5465,11 @@ module SDM
4398
5465
  healthy: nil,
4399
5466
  tags: nil,
4400
5467
  secret_store_id: nil,
5468
+ egress_filter: nil,
4401
5469
  hostname: nil,
4402
5470
  username: nil,
4403
5471
  port: nil,
5472
+ private_key: nil,
4404
5473
  port_forwarding: nil,
4405
5474
  allow_deprecated_key_exchanges: nil
4406
5475
  )
@@ -4419,6 +5488,9 @@ module SDM
4419
5488
  if secret_store_id != nil
4420
5489
  @secret_store_id = secret_store_id
4421
5490
  end
5491
+ if egress_filter != nil
5492
+ @egress_filter = egress_filter
5493
+ end
4422
5494
  if hostname != nil
4423
5495
  @hostname = hostname
4424
5496
  end
@@ -4428,6 +5500,9 @@ module SDM
4428
5500
  if port != nil
4429
5501
  @port = port
4430
5502
  end
5503
+ if private_key != nil
5504
+ @private_key = private_key
5505
+ end
4431
5506
  if port_forwarding != nil
4432
5507
  @port_forwarding = port_forwarding
4433
5508
  end
@@ -4456,6 +5531,8 @@ module SDM
4456
5531
  attr_accessor :tags
4457
5532
  # ID of the secret store containing credentials for this resource, if any.
4458
5533
  attr_accessor :secret_store_id
5534
+ # A filter applied to the routing logic to pin datasource to nodes.
5535
+ attr_accessor :egress_filter
4459
5536
 
4460
5537
  attr_accessor :hostname
4461
5538
 
@@ -4473,6 +5550,7 @@ module SDM
4473
5550
  healthy: nil,
4474
5551
  tags: nil,
4475
5552
  secret_store_id: nil,
5553
+ egress_filter: nil,
4476
5554
  hostname: nil,
4477
5555
  username: nil,
4478
5556
  port_override: nil,
@@ -4494,6 +5572,9 @@ module SDM
4494
5572
  if secret_store_id != nil
4495
5573
  @secret_store_id = secret_store_id
4496
5574
  end
5575
+ if egress_filter != nil
5576
+ @egress_filter = egress_filter
5577
+ end
4497
5578
  if hostname != nil
4498
5579
  @hostname = hostname
4499
5580
  end
@@ -4531,6 +5612,8 @@ module SDM
4531
5612
  attr_accessor :tags
4532
5613
  # ID of the secret store containing credentials for this resource, if any.
4533
5614
  attr_accessor :secret_store_id
5615
+ # A filter applied to the routing logic to pin datasource to nodes.
5616
+ attr_accessor :egress_filter
4534
5617
 
4535
5618
  attr_accessor :hostname
4536
5619
 
@@ -4548,6 +5631,7 @@ module SDM
4548
5631
  healthy: nil,
4549
5632
  tags: nil,
4550
5633
  secret_store_id: nil,
5634
+ egress_filter: nil,
4551
5635
  hostname: nil,
4552
5636
  username: nil,
4553
5637
  port_override: nil,
@@ -4569,6 +5653,9 @@ module SDM
4569
5653
  if secret_store_id != nil
4570
5654
  @secret_store_id = secret_store_id
4571
5655
  end
5656
+ if egress_filter != nil
5657
+ @egress_filter = egress_filter
5658
+ end
4572
5659
  if hostname != nil
4573
5660
  @hostname = hostname
4574
5661
  end
@@ -4606,6 +5693,8 @@ module SDM
4606
5693
  attr_accessor :tags
4607
5694
  # ID of the secret store containing credentials for this resource, if any.
4608
5695
  attr_accessor :secret_store_id
5696
+ # A filter applied to the routing logic to pin datasource to nodes.
5697
+ attr_accessor :egress_filter
4609
5698
 
4610
5699
  attr_accessor :hostname
4611
5700
 
@@ -4623,6 +5712,7 @@ module SDM
4623
5712
  healthy: nil,
4624
5713
  tags: nil,
4625
5714
  secret_store_id: nil,
5715
+ egress_filter: nil,
4626
5716
  hostname: nil,
4627
5717
  username: nil,
4628
5718
  password: nil,
@@ -4644,6 +5734,9 @@ module SDM
4644
5734
  if secret_store_id != nil
4645
5735
  @secret_store_id = secret_store_id
4646
5736
  end
5737
+ if egress_filter != nil
5738
+ @egress_filter = egress_filter
5739
+ end
4647
5740
  if hostname != nil
4648
5741
  @hostname = hostname
4649
5742
  end
@@ -4820,12 +5913,16 @@ module SDM
4820
5913
  attr_accessor :state
4821
5914
  # Tags is a map of key, value pairs.
4822
5915
  attr_accessor :tags
5916
+ # GatewayFilter can be used to restrict the peering between relays and
5917
+ # gateways.
5918
+ attr_accessor :gateway_filter
4823
5919
 
4824
5920
  def initialize(
4825
5921
  id: nil,
4826
5922
  name: nil,
4827
5923
  state: nil,
4828
- tags: nil
5924
+ tags: nil,
5925
+ gateway_filter: nil
4829
5926
  )
4830
5927
  if id != nil
4831
5928
  @id = id
@@ -4839,6 +5936,9 @@ module SDM
4839
5936
  if tags != nil
4840
5937
  @tags = tags
4841
5938
  end
5939
+ if gateway_filter != nil
5940
+ @gateway_filter = gateway_filter
5941
+ end
4842
5942
  end
4843
5943
 
4844
5944
  def to_json(options = {})
@@ -4866,6 +5966,9 @@ module SDM
4866
5966
  attr_accessor :bind_address
4867
5967
  # Tags is a map of key, value pairs.
4868
5968
  attr_accessor :tags
5969
+ # GatewayFilter can be used to restrict the peering between relays and
5970
+ # gateways.
5971
+ attr_accessor :gateway_filter
4869
5972
 
4870
5973
  def initialize(
4871
5974
  id: nil,
@@ -4873,7 +5976,8 @@ module SDM
4873
5976
  state: nil,
4874
5977
  listen_address: nil,
4875
5978
  bind_address: nil,
4876
- tags: nil
5979
+ tags: nil,
5980
+ gateway_filter: nil
4877
5981
  )
4878
5982
  if id != nil
4879
5983
  @id = id
@@ -4893,6 +5997,9 @@ module SDM
4893
5997
  if tags != nil
4894
5998
  @tags = tags
4895
5999
  end
6000
+ if gateway_filter != nil
6001
+ @gateway_filter = gateway_filter
6002
+ end
4896
6003
  end
4897
6004
 
4898
6005
  def to_json(options = {})