strongdm 1.0.5 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -6
- data/doc/LICENSE.html +1 -11
- data/doc/Object.html +1 -356
- data/doc/README_md.html +32 -19
- data/doc/SDM.html +1 -1
- data/doc/SDM/AKS.html +4 -58
- data/doc/SDM/AKSBasicAuth.html +3 -3
- data/doc/SDM/AKSServiceAccount.html +3 -3
- data/doc/SDM/AccountAttachment.html +4 -4
- data/doc/SDM/AccountAttachmentCreateResponse.html +3 -3
- data/doc/SDM/AccountAttachmentDeleteResponse.html +3 -3
- data/doc/SDM/AccountAttachmentGetResponse.html +3 -3
- data/doc/SDM/AccountAttachments.html +6 -8
- data/doc/SDM/AccountCreateResponse.html +3 -3
- data/doc/SDM/AccountDeleteResponse.html +3 -3
- data/doc/SDM/AccountGetResponse.html +3 -3
- data/doc/SDM/AccountGrant.html +3 -3
- data/doc/SDM/AccountGrantCreateResponse.html +3 -3
- data/doc/SDM/AccountGrantDeleteResponse.html +3 -3
- data/doc/SDM/AccountGrantGetResponse.html +3 -3
- data/doc/SDM/AccountGrants.html +6 -6
- data/doc/SDM/AccountUpdateResponse.html +3 -3
- data/doc/SDM/Accounts.html +9 -9
- data/doc/SDM/AlreadyExistsError.html +1 -1
- data/doc/SDM/AmazonEKS.html +4 -22
- data/doc/SDM/AmazonES.html +3 -3
- data/doc/SDM/Athena.html +3 -3
- data/doc/SDM/AuroraMysql.html +3 -3
- data/doc/SDM/AuroraPostgres.html +3 -3
- data/doc/SDM/AuthenticationError.html +1 -1
- data/doc/SDM/BadRequestError.html +1 -1
- data/doc/SDM/BigQuery.html +3 -3
- data/doc/SDM/Cassandra.html +3 -3
- data/doc/SDM/Citus.html +3 -3
- data/doc/SDM/Client.html +8 -8
- data/doc/SDM/Clustrix.html +3 -3
- data/doc/SDM/Cockroach.html +3 -3
- data/doc/SDM/CreateResponseMetadata.html +1 -1
- data/doc/SDM/DB2.html +2 -2
- data/doc/SDM/DB2LUW.html +391 -0
- data/doc/SDM/DB2i.html +391 -0
- data/doc/SDM/DeadlineExceededError.html +1 -1
- data/doc/SDM/DeleteResponseMetadata.html +1 -1
- data/doc/SDM/Druid.html +3 -3
- data/doc/SDM/DynamoDB.html +3 -3
- data/doc/SDM/Elastic.html +3 -3
- data/doc/SDM/ElasticacheRedis.html +3 -3
- data/doc/SDM/Gateway.html +4 -4
- data/doc/SDM/GetResponseMetadata.html +1 -1
- data/doc/SDM/GoogleGKE.html +4 -40
- data/doc/SDM/Greenplum.html +3 -3
- data/doc/SDM/HTTPAuth.html +3 -3
- data/doc/SDM/HTTPBasicAuth.html +3 -3
- data/doc/SDM/HTTPNoAuth.html +3 -3
- data/doc/SDM/InternalError.html +1 -1
- data/doc/SDM/Kubernetes.html +4 -58
- data/doc/SDM/KubernetesBasicAuth.html +3 -3
- data/doc/SDM/KubernetesServiceAccount.html +3 -3
- data/doc/SDM/Maria.html +3 -3
- data/doc/SDM/Memcached.html +3 -3
- data/doc/SDM/Memsql.html +3 -3
- data/doc/SDM/MongoHost.html +3 -3
- data/doc/SDM/MongoLegacyHost.html +3 -3
- data/doc/SDM/MongoLegacyReplicaset.html +3 -3
- data/doc/SDM/MongoReplicaSet.html +3 -3
- data/doc/SDM/Mysql.html +3 -3
- data/doc/SDM/NodeCreateResponse.html +3 -3
- data/doc/SDM/NodeDeleteResponse.html +3 -3
- data/doc/SDM/NodeGetResponse.html +3 -3
- data/doc/SDM/NodeUpdateResponse.html +3 -3
- data/doc/SDM/Nodes.html +11 -11
- data/doc/SDM/NotFoundError.html +1 -1
- data/doc/SDM/Oracle.html +3 -3
- data/doc/SDM/PermissionError.html +1 -1
- data/doc/SDM/Plumbing.html +562 -556
- data/doc/SDM/Postgres.html +3 -3
- data/doc/SDM/Presto.html +3 -3
- data/doc/SDM/RDP.html +3 -3
- data/doc/SDM/RPCError.html +1 -1
- data/doc/SDM/RateLimitError.html +1 -1
- data/doc/SDM/RateLimitMetadata.html +1 -1
- data/doc/SDM/Redis.html +3 -3
- data/doc/SDM/Redshift.html +3 -3
- data/doc/SDM/Relay.html +4 -4
- data/doc/SDM/ResourceCreateResponse.html +3 -3
- data/doc/SDM/ResourceDeleteResponse.html +3 -3
- data/doc/SDM/ResourceGetResponse.html +3 -3
- data/doc/SDM/ResourceUpdateResponse.html +3 -3
- data/doc/SDM/Resources.html +7 -7
- data/doc/SDM/Role.html +4 -4
- data/doc/SDM/RoleAttachment.html +3 -3
- data/doc/SDM/RoleAttachmentCreateResponse.html +3 -3
- data/doc/SDM/RoleAttachmentDeleteResponse.html +3 -3
- data/doc/SDM/RoleAttachmentGetResponse.html +3 -3
- data/doc/SDM/RoleAttachments.html +6 -6
- data/doc/SDM/RoleCreateResponse.html +3 -3
- data/doc/SDM/RoleDeleteResponse.html +3 -3
- data/doc/SDM/RoleGetResponse.html +3 -3
- data/doc/SDM/RoleGrant.html +3 -3
- data/doc/SDM/RoleGrantCreateResponse.html +3 -3
- data/doc/SDM/RoleGrantDeleteResponse.html +3 -3
- data/doc/SDM/RoleGrantGetResponse.html +3 -3
- data/doc/SDM/RoleGrants.html +6 -6
- data/doc/SDM/RoleUpdateResponse.html +3 -3
- data/doc/SDM/Roles.html +7 -7
- data/doc/SDM/SQLServer.html +3 -3
- data/doc/SDM/SSH.html +3 -3
- data/doc/SDM/SSHCert.html +3 -3
- data/doc/SDM/Service.html +3 -3
- data/doc/SDM/Snowflake.html +3 -3
- data/doc/SDM/Sybase.html +3 -3
- data/doc/SDM/SybaseIQ.html +3 -3
- data/doc/SDM/Teradata.html +3 -3
- data/doc/SDM/UpdateResponseMetadata.html +1 -1
- data/doc/SDM/User.html +3 -3
- data/doc/V1.html +7 -7
- data/doc/V1/AccountAttachments.html +1 -1
- data/doc/V1/AccountAttachments/Service.html +2 -2
- data/doc/V1/AccountGrants.html +1 -1
- data/doc/V1/AccountGrants/Service.html +1 -1
- data/doc/V1/Accounts.html +1 -1
- data/doc/V1/Accounts/Service.html +3 -3
- data/doc/V1/Nodes.html +1 -1
- data/doc/V1/Nodes/Service.html +5 -5
- data/doc/V1/Resources.html +1 -1
- data/doc/V1/Resources/Service.html +1 -1
- data/doc/V1/RoleAttachments.html +1 -1
- data/doc/V1/RoleAttachments/Service.html +1 -1
- data/doc/V1/RoleGrants.html +1 -1
- data/doc/V1/RoleGrants/Service.html +1 -1
- data/doc/V1/Roles.html +1 -1
- data/doc/V1/Roles/Service.html +1 -1
- data/doc/V1/Tags.html +1 -1
- data/doc/created.rid +35 -43
- data/doc/css/rdoc.css +13 -5
- data/doc/examples/Gemfile.html +1 -11
- data/doc/index.html +4 -14
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +3 -13
- data/doc/strongdm_gemspec.html +0 -8
- data/doc/table_of_contents.html +161 -186
- data/lib/grpc/account_attachments_pb.rb +0 -5
- data/lib/grpc/account_attachments_services_pb.rb +1 -1
- data/lib/grpc/accounts_services_pb.rb +3 -4
- data/lib/grpc/drivers_pb.rb +17 -12
- data/lib/grpc/nodes_services_pb.rb +3 -4
- data/lib/grpc/plumbing.rb +70 -64
- data/lib/models/porcelain.rb +81 -84
- data/lib/strongdm.rb +7 -9
- data/lib/svc.rb +7 -11
- data/lib/version +5 -5
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +1 -1
- metadata +5 -10
- data/examples/Gemfile.lock +0 -14
- data/examples/README.md +0 -5
- data/examples/okta-sync/Gemfile +0 -4
- data/examples/okta-sync/Gemfile.lock +0 -38
- data/examples/okta-sync/matchers.yml +0 -11
- data/examples/okta-sync/oktaSync.rb +0 -173
- data/examples/panicButton.rb +0 -138
@@ -26,10 +26,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
26
|
add_message "v1.AccountAttachmentCreateRequest" do
|
27
27
|
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
28
28
|
optional :account_attachment, :message, 2, "v1.AccountAttachment"
|
29
|
-
optional :options, :message, 3, "v1.AccountAttachmentCreateOptions"
|
30
|
-
end
|
31
|
-
add_message "v1.AccountAttachmentCreateOptions" do
|
32
|
-
optional :overwrite, :bool, 1
|
33
29
|
end
|
34
30
|
add_message "v1.AccountAttachmentCreateResponse" do
|
35
31
|
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
@@ -72,7 +68,6 @@ end
|
|
72
68
|
|
73
69
|
module V1
|
74
70
|
AccountAttachmentCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountAttachmentCreateRequest").msgclass
|
75
|
-
AccountAttachmentCreateOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountAttachmentCreateOptions").msgclass
|
76
71
|
AccountAttachmentCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountAttachmentCreateResponse").msgclass
|
77
72
|
AccountAttachmentGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountAttachmentGetRequest").msgclass
|
78
73
|
AccountAttachmentGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccountAttachmentGetResponse").msgclass
|
@@ -20,10 +20,9 @@ require "accounts_pb"
|
|
20
20
|
|
21
21
|
module V1
|
22
22
|
module Accounts
|
23
|
-
# Accounts are users that have access to strongDM.
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# 2. **Service users:** machines that are authneticated using a service token
|
23
|
+
# Accounts are users that have access to strongDM. There are two types of accounts:
|
24
|
+
# 1. **Users:** humans who are authenticated through username and password or SSO.
|
25
|
+
# 2. **Service Accounts:** machines that are authenticated using a service token.
|
27
26
|
class Service
|
28
27
|
include GRPC::GenericService
|
29
28
|
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -27,7 +27,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
optional :athena, :message, 100, "v1.Athena"
|
28
28
|
optional :big_query, :message, 200, "v1.BigQuery"
|
29
29
|
optional :cassandra, :message, 300, "v1.Cassandra"
|
30
|
-
optional :
|
30
|
+
optional :db_2_i, :message, 2400, "v1.DB2I"
|
31
|
+
optional :db_2_luw, :message, 2200, "v1.DB2LUW"
|
31
32
|
optional :druid, :message, 400, "v1.Druid"
|
32
33
|
optional :dynamo_db, :message, 500, "v1.DynamoDB"
|
33
34
|
optional :amazon_es, :message, 600, "v1.AmazonES"
|
@@ -107,7 +108,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
107
108
|
optional :port, :int32, 5
|
108
109
|
optional :tls_required, :bool, 6
|
109
110
|
end
|
110
|
-
add_message "v1.
|
111
|
+
add_message "v1.DB2I" do
|
112
|
+
optional :id, :string, 32768
|
113
|
+
optional :name, :string, 32769
|
114
|
+
optional :healthy, :bool, 32770
|
115
|
+
optional :tags, :message, 32771, "v1.Tags"
|
116
|
+
optional :hostname, :string, 1
|
117
|
+
optional :username, :string, 2
|
118
|
+
optional :password, :string, 3
|
119
|
+
optional :port_override, :int32, 4
|
120
|
+
optional :port, :int32, 5
|
121
|
+
optional :tls_required, :bool, 7
|
122
|
+
end
|
123
|
+
add_message "v1.DB2LUW" do
|
111
124
|
optional :id, :string, 32768
|
112
125
|
optional :name, :string, 32769
|
113
126
|
optional :healthy, :bool, 32770
|
@@ -208,11 +221,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
208
221
|
optional :hostname, :string, 1
|
209
222
|
optional :port, :int32, 2
|
210
223
|
optional :certificate_authority, :string, 3
|
211
|
-
optional :certificate_authority_filename, :string, 4
|
212
224
|
optional :client_certificate, :string, 5
|
213
|
-
optional :client_certificate_filename, :string, 6
|
214
225
|
optional :client_key, :string, 7
|
215
|
-
optional :client_key_filename, :string, 8
|
216
226
|
optional :healthcheck_namespace, :string, 9
|
217
227
|
end
|
218
228
|
add_message "v1.KubernetesBasicAuth" do
|
@@ -245,7 +255,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
245
255
|
optional :access_key, :string, 2
|
246
256
|
optional :secret_access_key, :string, 3
|
247
257
|
optional :certificate_authority, :string, 4
|
248
|
-
optional :certificate_authority_filename, :string, 5
|
249
258
|
optional :region, :string, 6
|
250
259
|
optional :cluster_name, :string, 7
|
251
260
|
optional :role_arn, :string, 8
|
@@ -258,9 +267,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
258
267
|
optional :tags, :message, 32771, "v1.Tags"
|
259
268
|
optional :endpoint, :string, 1
|
260
269
|
optional :certificate_authority, :string, 2
|
261
|
-
optional :certificate_authority_filename, :string, 3
|
262
270
|
optional :service_account_key, :string, 4
|
263
|
-
optional :service_account_key_filename, :string, 5
|
264
271
|
optional :healthcheck_namespace, :string, 6
|
265
272
|
end
|
266
273
|
add_message "v1.AKS" do
|
@@ -271,11 +278,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
271
278
|
optional :hostname, :string, 1
|
272
279
|
optional :port, :int32, 2
|
273
280
|
optional :certificate_authority, :string, 3
|
274
|
-
optional :certificate_authority_filename, :string, 4
|
275
281
|
optional :client_certificate, :string, 5
|
276
|
-
optional :client_certificate_filename, :string, 6
|
277
282
|
optional :client_key, :string, 7
|
278
|
-
optional :client_key_filename, :string, 8
|
279
283
|
optional :healthcheck_namespace, :string, 9
|
280
284
|
end
|
281
285
|
add_message "v1.AKSBasicAuth" do
|
@@ -651,7 +655,8 @@ module V1
|
|
651
655
|
Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
|
652
656
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
653
657
|
Cassandra = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cassandra").msgclass
|
654
|
-
|
658
|
+
DB2I = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2I").msgclass
|
659
|
+
DB2LUW = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2LUW").msgclass
|
655
660
|
Druid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Druid").msgclass
|
656
661
|
DynamoDB = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDB").msgclass
|
657
662
|
AmazonES = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonES").msgclass
|
@@ -20,10 +20,9 @@ require "nodes_pb"
|
|
20
20
|
|
21
21
|
module V1
|
22
22
|
module Nodes
|
23
|
-
# Nodes make up the strongDM network, and allow your users to connect securely to your resources.
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# 1. **Gateways:** a relay that also listens for connections from strongDM clients
|
23
|
+
# Nodes make up the strongDM network, and allow your users to connect securely to your resources. There are two types of nodes:
|
24
|
+
# - **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers.
|
25
|
+
# - **Relays** are used to extend the strongDM network into segmented subnets. They provide access to databases and servers but do not listen for incoming connections.
|
27
26
|
class Service
|
28
27
|
include GRPC::GenericService
|
29
28
|
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -258,40 +258,6 @@ module SDM
|
|
258
258
|
end
|
259
259
|
items
|
260
260
|
end
|
261
|
-
def self.convert_account_attachment_create_options_to_porcelain(plumbing)
|
262
|
-
if plumbing == nil
|
263
|
-
return nil
|
264
|
-
end
|
265
|
-
porcelain = AccountAttachmentCreateOptions.new()
|
266
|
-
porcelain.overwrite = (plumbing.overwrite)
|
267
|
-
porcelain
|
268
|
-
end
|
269
|
-
|
270
|
-
def self.convert_account_attachment_create_options_to_plumbing(porcelain)
|
271
|
-
if porcelain == nil
|
272
|
-
return nil
|
273
|
-
end
|
274
|
-
plumbing = V1::AccountAttachmentCreateOptions.new()
|
275
|
-
plumbing.overwrite = (porcelain.overwrite) unless porcelain.overwrite == nil
|
276
|
-
plumbing
|
277
|
-
end
|
278
|
-
def self.convert_repeated_account_attachment_create_options_to_plumbing(porcelains)
|
279
|
-
items = Array.new
|
280
|
-
porcelains.each do |porcelain|
|
281
|
-
plumbing = convert_account_attachment_create_options_to_plumbing(porcelain)
|
282
|
-
items.append(plumbing)
|
283
|
-
end
|
284
|
-
items
|
285
|
-
end
|
286
|
-
|
287
|
-
def self.convert_repeated_account_attachment_create_options_to_porcelain(plumbings)
|
288
|
-
items = Array.new
|
289
|
-
plumbings.each do |plumbing|
|
290
|
-
porcelain = convert_account_attachment_create_options_to_porcelain(plumbing)
|
291
|
-
items.append(porcelain)
|
292
|
-
end
|
293
|
-
items
|
294
|
-
end
|
295
261
|
def self.convert_account_attachment_create_response_to_porcelain(plumbing)
|
296
262
|
if plumbing == nil
|
297
263
|
return nil
|
@@ -888,8 +854,11 @@ module SDM
|
|
888
854
|
if porcelain.instance_of? Cassandra
|
889
855
|
plumbing.cassandra = convert_cassandra_to_plumbing(porcelain)
|
890
856
|
end
|
891
|
-
if porcelain.instance_of?
|
892
|
-
plumbing.
|
857
|
+
if porcelain.instance_of? DB2I
|
858
|
+
plumbing.db_2_i = convert_db_2_i_to_plumbing(porcelain)
|
859
|
+
end
|
860
|
+
if porcelain.instance_of? DB2LUW
|
861
|
+
plumbing.db_2_luw = convert_db_2_luw_to_plumbing(porcelain)
|
893
862
|
end
|
894
863
|
if porcelain.instance_of? Druid
|
895
864
|
plumbing.druid = convert_druid_to_plumbing(porcelain)
|
@@ -1036,8 +1005,11 @@ module SDM
|
|
1036
1005
|
if plumbing.cassandra != nil
|
1037
1006
|
return convert_cassandra_to_porcelain(plumbing.cassandra)
|
1038
1007
|
end
|
1039
|
-
if plumbing.
|
1040
|
-
return
|
1008
|
+
if plumbing.db_2_i != nil
|
1009
|
+
return convert_db_2_i_to_porcelain(plumbing.db_2_i)
|
1010
|
+
end
|
1011
|
+
if plumbing.db_2_luw != nil
|
1012
|
+
return convert_db_2_luw_to_porcelain(plumbing.db_2_luw)
|
1041
1013
|
end
|
1042
1014
|
if plumbing.druid != nil
|
1043
1015
|
return convert_druid_to_porcelain(plumbing.druid)
|
@@ -1338,11 +1310,63 @@ module SDM
|
|
1338
1310
|
end
|
1339
1311
|
items
|
1340
1312
|
end
|
1341
|
-
def self.
|
1313
|
+
def self.convert_db_2_i_to_porcelain(plumbing)
|
1314
|
+
if plumbing == nil
|
1315
|
+
return nil
|
1316
|
+
end
|
1317
|
+
porcelain = DB2I.new()
|
1318
|
+
porcelain.id = (plumbing.id)
|
1319
|
+
porcelain.name = (plumbing.name)
|
1320
|
+
porcelain.healthy = (plumbing.healthy)
|
1321
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1322
|
+
porcelain.hostname = (plumbing.hostname)
|
1323
|
+
porcelain.username = (plumbing.username)
|
1324
|
+
porcelain.password = (plumbing.password)
|
1325
|
+
porcelain.port_override = (plumbing.port_override)
|
1326
|
+
porcelain.port = (plumbing.port)
|
1327
|
+
porcelain.tls_required = (plumbing.tls_required)
|
1328
|
+
porcelain
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
def self.convert_db_2_i_to_plumbing(porcelain)
|
1332
|
+
if porcelain == nil
|
1333
|
+
return nil
|
1334
|
+
end
|
1335
|
+
plumbing = V1::DB2I.new()
|
1336
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1337
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1338
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1339
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1340
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1341
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1342
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1343
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1344
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1345
|
+
plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
|
1346
|
+
plumbing
|
1347
|
+
end
|
1348
|
+
def self.convert_repeated_db_2_i_to_plumbing(porcelains)
|
1349
|
+
items = Array.new
|
1350
|
+
porcelains.each do |porcelain|
|
1351
|
+
plumbing = convert_db_2_i_to_plumbing(porcelain)
|
1352
|
+
items.append(plumbing)
|
1353
|
+
end
|
1354
|
+
items
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
def self.convert_repeated_db_2_i_to_porcelain(plumbings)
|
1358
|
+
items = Array.new
|
1359
|
+
plumbings.each do |plumbing|
|
1360
|
+
porcelain = convert_db_2_i_to_porcelain(plumbing)
|
1361
|
+
items.append(porcelain)
|
1362
|
+
end
|
1363
|
+
items
|
1364
|
+
end
|
1365
|
+
def self.convert_db_2_luw_to_porcelain(plumbing)
|
1342
1366
|
if plumbing == nil
|
1343
1367
|
return nil
|
1344
1368
|
end
|
1345
|
-
porcelain =
|
1369
|
+
porcelain = DB2LUW.new()
|
1346
1370
|
porcelain.id = (plumbing.id)
|
1347
1371
|
porcelain.name = (plumbing.name)
|
1348
1372
|
porcelain.healthy = (plumbing.healthy)
|
@@ -1356,11 +1380,11 @@ module SDM
|
|
1356
1380
|
porcelain
|
1357
1381
|
end
|
1358
1382
|
|
1359
|
-
def self.
|
1383
|
+
def self.convert_db_2_luw_to_plumbing(porcelain)
|
1360
1384
|
if porcelain == nil
|
1361
1385
|
return nil
|
1362
1386
|
end
|
1363
|
-
plumbing = V1::
|
1387
|
+
plumbing = V1::DB2LUW.new()
|
1364
1388
|
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1365
1389
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1366
1390
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
@@ -1373,19 +1397,19 @@ module SDM
|
|
1373
1397
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1374
1398
|
plumbing
|
1375
1399
|
end
|
1376
|
-
def self.
|
1400
|
+
def self.convert_repeated_db_2_luw_to_plumbing(porcelains)
|
1377
1401
|
items = Array.new
|
1378
1402
|
porcelains.each do |porcelain|
|
1379
|
-
plumbing =
|
1403
|
+
plumbing = convert_db_2_luw_to_plumbing(porcelain)
|
1380
1404
|
items.append(plumbing)
|
1381
1405
|
end
|
1382
1406
|
items
|
1383
1407
|
end
|
1384
1408
|
|
1385
|
-
def self.
|
1409
|
+
def self.convert_repeated_db_2_luw_to_porcelain(plumbings)
|
1386
1410
|
items = Array.new
|
1387
1411
|
plumbings.each do |plumbing|
|
1388
|
-
porcelain =
|
1412
|
+
porcelain = convert_db_2_luw_to_porcelain(plumbing)
|
1389
1413
|
items.append(porcelain)
|
1390
1414
|
end
|
1391
1415
|
items
|
@@ -1760,11 +1784,8 @@ module SDM
|
|
1760
1784
|
porcelain.hostname = (plumbing.hostname)
|
1761
1785
|
porcelain.port = (plumbing.port)
|
1762
1786
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
1763
|
-
porcelain.certificate_authority_filename = (plumbing.certificate_authority_filename)
|
1764
1787
|
porcelain.client_certificate = (plumbing.client_certificate)
|
1765
|
-
porcelain.client_certificate_filename = (plumbing.client_certificate_filename)
|
1766
1788
|
porcelain.client_key = (plumbing.client_key)
|
1767
|
-
porcelain.client_key_filename = (plumbing.client_key_filename)
|
1768
1789
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
1769
1790
|
porcelain
|
1770
1791
|
end
|
@@ -1781,11 +1802,8 @@ module SDM
|
|
1781
1802
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1782
1803
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1783
1804
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
1784
|
-
plumbing.certificate_authority_filename = (porcelain.certificate_authority_filename) unless porcelain.certificate_authority_filename == nil
|
1785
1805
|
plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == nil
|
1786
|
-
plumbing.client_certificate_filename = (porcelain.client_certificate_filename) unless porcelain.client_certificate_filename == nil
|
1787
1806
|
plumbing.client_key = (porcelain.client_key) unless porcelain.client_key == nil
|
1788
|
-
plumbing.client_key_filename = (porcelain.client_key_filename) unless porcelain.client_key_filename == nil
|
1789
1807
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
1790
1808
|
plumbing
|
1791
1809
|
end
|
@@ -1917,7 +1935,6 @@ module SDM
|
|
1917
1935
|
porcelain.access_key = (plumbing.access_key)
|
1918
1936
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1919
1937
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
1920
|
-
porcelain.certificate_authority_filename = (plumbing.certificate_authority_filename)
|
1921
1938
|
porcelain.region = (plumbing.region)
|
1922
1939
|
porcelain.cluster_name = (plumbing.cluster_name)
|
1923
1940
|
porcelain.role_arn = (plumbing.role_arn)
|
@@ -1938,7 +1955,6 @@ module SDM
|
|
1938
1955
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1939
1956
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1940
1957
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
1941
|
-
plumbing.certificate_authority_filename = (porcelain.certificate_authority_filename) unless porcelain.certificate_authority_filename == nil
|
1942
1958
|
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
1943
1959
|
plumbing.cluster_name = (porcelain.cluster_name) unless porcelain.cluster_name == nil
|
1944
1960
|
plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
|
@@ -1973,9 +1989,7 @@ module SDM
|
|
1973
1989
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1974
1990
|
porcelain.endpoint = (plumbing.endpoint)
|
1975
1991
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
1976
|
-
porcelain.certificate_authority_filename = (plumbing.certificate_authority_filename)
|
1977
1992
|
porcelain.service_account_key = (plumbing.service_account_key)
|
1978
|
-
porcelain.service_account_key_filename = (plumbing.service_account_key_filename)
|
1979
1993
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
1980
1994
|
porcelain
|
1981
1995
|
end
|
@@ -1991,9 +2005,7 @@ module SDM
|
|
1991
2005
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1992
2006
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
1993
2007
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
1994
|
-
plumbing.certificate_authority_filename = (porcelain.certificate_authority_filename) unless porcelain.certificate_authority_filename == nil
|
1995
2008
|
plumbing.service_account_key = (porcelain.service_account_key) unless porcelain.service_account_key == nil
|
1996
|
-
plumbing.service_account_key_filename = (porcelain.service_account_key_filename) unless porcelain.service_account_key_filename == nil
|
1997
2009
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
1998
2010
|
plumbing
|
1999
2011
|
end
|
@@ -2026,11 +2038,8 @@ module SDM
|
|
2026
2038
|
porcelain.hostname = (plumbing.hostname)
|
2027
2039
|
porcelain.port = (plumbing.port)
|
2028
2040
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2029
|
-
porcelain.certificate_authority_filename = (plumbing.certificate_authority_filename)
|
2030
2041
|
porcelain.client_certificate = (plumbing.client_certificate)
|
2031
|
-
porcelain.client_certificate_filename = (plumbing.client_certificate_filename)
|
2032
2042
|
porcelain.client_key = (plumbing.client_key)
|
2033
|
-
porcelain.client_key_filename = (plumbing.client_key_filename)
|
2034
2043
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
2035
2044
|
porcelain
|
2036
2045
|
end
|
@@ -2047,11 +2056,8 @@ module SDM
|
|
2047
2056
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2048
2057
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2049
2058
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
2050
|
-
plumbing.certificate_authority_filename = (porcelain.certificate_authority_filename) unless porcelain.certificate_authority_filename == nil
|
2051
2059
|
plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == nil
|
2052
|
-
plumbing.client_certificate_filename = (porcelain.client_certificate_filename) unless porcelain.client_certificate_filename == nil
|
2053
2060
|
plumbing.client_key = (porcelain.client_key) unless porcelain.client_key == nil
|
2054
|
-
plumbing.client_key_filename = (porcelain.client_key_filename) unless porcelain.client_key_filename == nil
|
2055
2061
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
2056
2062
|
plumbing
|
2057
2063
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -115,29 +115,6 @@ module SDM
|
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
-
# AccountAttachmentCreateOptions specifies extra options for creating an
|
119
|
-
# AccountAttachment.
|
120
|
-
class AccountAttachmentCreateOptions
|
121
|
-
# Overwrite clears all account grants before the attachment.
|
122
|
-
attr_accessor :overwrite
|
123
|
-
|
124
|
-
def initialize(
|
125
|
-
overwrite: nil
|
126
|
-
)
|
127
|
-
if overwrite != nil
|
128
|
-
@overwrite = overwrite
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
def to_json(options = {})
|
133
|
-
hash = {}
|
134
|
-
self.instance_variables.each do |var|
|
135
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
136
|
-
end
|
137
|
-
hash.to_json
|
138
|
-
end
|
139
|
-
end
|
140
|
-
|
141
118
|
# AccountAttachmentCreateResponse reports how the AccountAttachments were created in the system.
|
142
119
|
class AccountAttachmentCreateResponse
|
143
120
|
# Reserved for future use.
|
@@ -234,7 +211,7 @@ module SDM
|
|
234
211
|
end
|
235
212
|
end
|
236
213
|
|
237
|
-
# AccountAttachments assign an account to a role.
|
214
|
+
# AccountAttachments assign an account to a role or composite role.
|
238
215
|
class AccountAttachment
|
239
216
|
# Unique identifier of the AccountAttachment.
|
240
217
|
attr_accessor :id
|
@@ -857,7 +834,82 @@ module SDM
|
|
857
834
|
end
|
858
835
|
end
|
859
836
|
|
860
|
-
class
|
837
|
+
class DB2I
|
838
|
+
# Unique identifier of the Resource.
|
839
|
+
attr_accessor :id
|
840
|
+
# Unique human-readable name of the Resource.
|
841
|
+
attr_accessor :name
|
842
|
+
# True if the datasource is reachable and the credentials are valid.
|
843
|
+
attr_accessor :healthy
|
844
|
+
# Tags is a map of key, value pairs.
|
845
|
+
attr_accessor :tags
|
846
|
+
|
847
|
+
attr_accessor :hostname
|
848
|
+
|
849
|
+
attr_accessor :username
|
850
|
+
|
851
|
+
attr_accessor :password
|
852
|
+
|
853
|
+
attr_accessor :port_override
|
854
|
+
|
855
|
+
attr_accessor :port
|
856
|
+
|
857
|
+
attr_accessor :tls_required
|
858
|
+
|
859
|
+
def initialize(
|
860
|
+
id: nil,
|
861
|
+
name: nil,
|
862
|
+
healthy: nil,
|
863
|
+
tags: nil,
|
864
|
+
hostname: nil,
|
865
|
+
username: nil,
|
866
|
+
password: nil,
|
867
|
+
port_override: nil,
|
868
|
+
port: nil,
|
869
|
+
tls_required: nil
|
870
|
+
)
|
871
|
+
if id != nil
|
872
|
+
@id = id
|
873
|
+
end
|
874
|
+
if name != nil
|
875
|
+
@name = name
|
876
|
+
end
|
877
|
+
if healthy != nil
|
878
|
+
@healthy = healthy
|
879
|
+
end
|
880
|
+
if tags != nil
|
881
|
+
@tags = tags
|
882
|
+
end
|
883
|
+
if hostname != nil
|
884
|
+
@hostname = hostname
|
885
|
+
end
|
886
|
+
if username != nil
|
887
|
+
@username = username
|
888
|
+
end
|
889
|
+
if password != nil
|
890
|
+
@password = password
|
891
|
+
end
|
892
|
+
if port_override != nil
|
893
|
+
@port_override = port_override
|
894
|
+
end
|
895
|
+
if port != nil
|
896
|
+
@port = port
|
897
|
+
end
|
898
|
+
if tls_required != nil
|
899
|
+
@tls_required = tls_required
|
900
|
+
end
|
901
|
+
end
|
902
|
+
|
903
|
+
def to_json(options = {})
|
904
|
+
hash = {}
|
905
|
+
self.instance_variables.each do |var|
|
906
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
907
|
+
end
|
908
|
+
hash.to_json
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
912
|
+
class DB2LUW
|
861
913
|
# Unique identifier of the Resource.
|
862
914
|
attr_accessor :id
|
863
915
|
# Unique human-readable name of the Resource.
|
@@ -1455,16 +1507,10 @@ module SDM
|
|
1455
1507
|
|
1456
1508
|
attr_accessor :certificate_authority
|
1457
1509
|
|
1458
|
-
attr_accessor :certificate_authority_filename
|
1459
|
-
|
1460
1510
|
attr_accessor :client_certificate
|
1461
1511
|
|
1462
|
-
attr_accessor :client_certificate_filename
|
1463
|
-
|
1464
1512
|
attr_accessor :client_key
|
1465
1513
|
|
1466
|
-
attr_accessor :client_key_filename
|
1467
|
-
|
1468
1514
|
attr_accessor :healthcheck_namespace
|
1469
1515
|
|
1470
1516
|
def initialize(
|
@@ -1475,11 +1521,8 @@ module SDM
|
|
1475
1521
|
hostname: nil,
|
1476
1522
|
port: nil,
|
1477
1523
|
certificate_authority: nil,
|
1478
|
-
certificate_authority_filename: nil,
|
1479
1524
|
client_certificate: nil,
|
1480
|
-
client_certificate_filename: nil,
|
1481
1525
|
client_key: nil,
|
1482
|
-
client_key_filename: nil,
|
1483
1526
|
healthcheck_namespace: nil
|
1484
1527
|
)
|
1485
1528
|
if id != nil
|
@@ -1503,21 +1546,12 @@ module SDM
|
|
1503
1546
|
if certificate_authority != nil
|
1504
1547
|
@certificate_authority = certificate_authority
|
1505
1548
|
end
|
1506
|
-
if certificate_authority_filename != nil
|
1507
|
-
@certificate_authority_filename = certificate_authority_filename
|
1508
|
-
end
|
1509
1549
|
if client_certificate != nil
|
1510
1550
|
@client_certificate = client_certificate
|
1511
1551
|
end
|
1512
|
-
if client_certificate_filename != nil
|
1513
|
-
@client_certificate_filename = client_certificate_filename
|
1514
|
-
end
|
1515
1552
|
if client_key != nil
|
1516
1553
|
@client_key = client_key
|
1517
1554
|
end
|
1518
|
-
if client_key_filename != nil
|
1519
|
-
@client_key_filename = client_key_filename
|
1520
|
-
end
|
1521
1555
|
if healthcheck_namespace != nil
|
1522
1556
|
@healthcheck_namespace = healthcheck_namespace
|
1523
1557
|
end
|
@@ -1682,8 +1716,6 @@ module SDM
|
|
1682
1716
|
|
1683
1717
|
attr_accessor :certificate_authority
|
1684
1718
|
|
1685
|
-
attr_accessor :certificate_authority_filename
|
1686
|
-
|
1687
1719
|
attr_accessor :region
|
1688
1720
|
|
1689
1721
|
attr_accessor :cluster_name
|
@@ -1701,7 +1733,6 @@ module SDM
|
|
1701
1733
|
access_key: nil,
|
1702
1734
|
secret_access_key: nil,
|
1703
1735
|
certificate_authority: nil,
|
1704
|
-
certificate_authority_filename: nil,
|
1705
1736
|
region: nil,
|
1706
1737
|
cluster_name: nil,
|
1707
1738
|
role_arn: nil,
|
@@ -1731,9 +1762,6 @@ module SDM
|
|
1731
1762
|
if certificate_authority != nil
|
1732
1763
|
@certificate_authority = certificate_authority
|
1733
1764
|
end
|
1734
|
-
if certificate_authority_filename != nil
|
1735
|
-
@certificate_authority_filename = certificate_authority_filename
|
1736
|
-
end
|
1737
1765
|
if region != nil
|
1738
1766
|
@region = region
|
1739
1767
|
end
|
@@ -1771,12 +1799,8 @@ module SDM
|
|
1771
1799
|
|
1772
1800
|
attr_accessor :certificate_authority
|
1773
1801
|
|
1774
|
-
attr_accessor :certificate_authority_filename
|
1775
|
-
|
1776
1802
|
attr_accessor :service_account_key
|
1777
1803
|
|
1778
|
-
attr_accessor :service_account_key_filename
|
1779
|
-
|
1780
1804
|
attr_accessor :healthcheck_namespace
|
1781
1805
|
|
1782
1806
|
def initialize(
|
@@ -1786,9 +1810,7 @@ module SDM
|
|
1786
1810
|
tags: nil,
|
1787
1811
|
endpoint: nil,
|
1788
1812
|
certificate_authority: nil,
|
1789
|
-
certificate_authority_filename: nil,
|
1790
1813
|
service_account_key: nil,
|
1791
|
-
service_account_key_filename: nil,
|
1792
1814
|
healthcheck_namespace: nil
|
1793
1815
|
)
|
1794
1816
|
if id != nil
|
@@ -1809,15 +1831,9 @@ module SDM
|
|
1809
1831
|
if certificate_authority != nil
|
1810
1832
|
@certificate_authority = certificate_authority
|
1811
1833
|
end
|
1812
|
-
if certificate_authority_filename != nil
|
1813
|
-
@certificate_authority_filename = certificate_authority_filename
|
1814
|
-
end
|
1815
1834
|
if service_account_key != nil
|
1816
1835
|
@service_account_key = service_account_key
|
1817
1836
|
end
|
1818
|
-
if service_account_key_filename != nil
|
1819
|
-
@service_account_key_filename = service_account_key_filename
|
1820
|
-
end
|
1821
1837
|
if healthcheck_namespace != nil
|
1822
1838
|
@healthcheck_namespace = healthcheck_namespace
|
1823
1839
|
end
|
@@ -1848,16 +1864,10 @@ module SDM
|
|
1848
1864
|
|
1849
1865
|
attr_accessor :certificate_authority
|
1850
1866
|
|
1851
|
-
attr_accessor :certificate_authority_filename
|
1852
|
-
|
1853
1867
|
attr_accessor :client_certificate
|
1854
1868
|
|
1855
|
-
attr_accessor :client_certificate_filename
|
1856
|
-
|
1857
1869
|
attr_accessor :client_key
|
1858
1870
|
|
1859
|
-
attr_accessor :client_key_filename
|
1860
|
-
|
1861
1871
|
attr_accessor :healthcheck_namespace
|
1862
1872
|
|
1863
1873
|
def initialize(
|
@@ -1868,11 +1878,8 @@ module SDM
|
|
1868
1878
|
hostname: nil,
|
1869
1879
|
port: nil,
|
1870
1880
|
certificate_authority: nil,
|
1871
|
-
certificate_authority_filename: nil,
|
1872
1881
|
client_certificate: nil,
|
1873
|
-
client_certificate_filename: nil,
|
1874
1882
|
client_key: nil,
|
1875
|
-
client_key_filename: nil,
|
1876
1883
|
healthcheck_namespace: nil
|
1877
1884
|
)
|
1878
1885
|
if id != nil
|
@@ -1896,21 +1903,12 @@ module SDM
|
|
1896
1903
|
if certificate_authority != nil
|
1897
1904
|
@certificate_authority = certificate_authority
|
1898
1905
|
end
|
1899
|
-
if certificate_authority_filename != nil
|
1900
|
-
@certificate_authority_filename = certificate_authority_filename
|
1901
|
-
end
|
1902
1906
|
if client_certificate != nil
|
1903
1907
|
@client_certificate = client_certificate
|
1904
1908
|
end
|
1905
|
-
if client_certificate_filename != nil
|
1906
|
-
@client_certificate_filename = client_certificate_filename
|
1907
|
-
end
|
1908
1909
|
if client_key != nil
|
1909
1910
|
@client_key = client_key
|
1910
1911
|
end
|
1911
|
-
if client_key_filename != nil
|
1912
|
-
@client_key_filename = client_key_filename
|
1913
|
-
end
|
1914
1912
|
if healthcheck_namespace != nil
|
1915
1913
|
@healthcheck_namespace = healthcheck_namespace
|
1916
1914
|
end
|
@@ -4347,7 +4345,7 @@ module SDM
|
|
4347
4345
|
class Relay
|
4348
4346
|
# Unique identifier of the Relay.
|
4349
4347
|
attr_accessor :id
|
4350
|
-
# Unique human-readable name of the Relay. Generated if not provided on create.
|
4348
|
+
# Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
4351
4349
|
attr_accessor :name
|
4352
4350
|
# The current state of the relay. One of: "new", "verifying_restart",
|
4353
4351
|
# "awaiting_restart", "restarting", "started", "stopped", "dead",
|
@@ -4389,7 +4387,7 @@ module SDM
|
|
4389
4387
|
class Gateway
|
4390
4388
|
# Unique identifier of the Gateway.
|
4391
4389
|
attr_accessor :id
|
4392
|
-
# Unique human-readable name of the Gateway. Generated if not provided on create.
|
4390
|
+
# Unique human-readable name of the Gateway. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
4393
4391
|
attr_accessor :name
|
4394
4392
|
# The current state of the gateway. One of: "new", "verifying_restart",
|
4395
4393
|
# "restarting", "started", "stopped", "dead", "unknown"
|
@@ -4796,8 +4794,7 @@ module SDM
|
|
4796
4794
|
end
|
4797
4795
|
end
|
4798
4796
|
|
4799
|
-
# A RoleGrant connects a resource to a role, granting members of the role
|
4800
|
-
# access to that resource.
|
4797
|
+
# A RoleGrant connects a resource to a role, granting members of the role access to that resource.
|
4801
4798
|
class RoleGrant
|
4802
4799
|
# Unique identifier of the RoleGrant.
|
4803
4800
|
attr_accessor :id
|
@@ -4963,7 +4960,7 @@ module SDM
|
|
4963
4960
|
end
|
4964
4961
|
end
|
4965
4962
|
|
4966
|
-
# A Role is a collection of
|
4963
|
+
# A Role is a collection of access grants, and typically corresponds to a team, Active Directory OU, or other organizational unit. Users are granted access to resources by assigning them to roles.
|
4967
4964
|
class Role
|
4968
4965
|
# Unique identifier of the Role.
|
4969
4966
|
attr_accessor :id
|