strongdm 2.6.4 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-9605cb63890b5fed001c49e509929945ac427bf0.idx → pack-cff8d23303f23ddc9aaecebd2f8583a0433ef442.idx} +0 -0
- data/.git/objects/pack/{pack-9605cb63890b5fed001c49e509929945ac427bf0.pack → pack-cff8d23303f23ddc9aaecebd2f8583a0433ef442.pack} +0 -0
- data/.git/packed-refs +5 -2
- data/.git/refs/heads/master +1 -1
- data/.yardopts +1 -0
- data/README.md +13 -10
- data/lib/grpc/drivers_pb.rb +41 -0
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +283 -305
- data/lib/grpc/roles_pb.rb +0 -1
- data/lib/grpc/secret_store_types_pb.rb +25 -0
- data/lib/models/porcelain.rb +272 -245
- data/lib/strongdm.rb +5 -21
- data/lib/svc.rb +5 -330
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -8
- data/lib/grpc/role_attachments_pb.rb +0 -77
- data/lib/grpc/role_attachments_services_pb.rb +0 -56
- data/lib/grpc/role_grants_pb.rb +0 -77
- data/lib/grpc/role_grants_services_pb.rb +0 -56
@@ -25,6 +25,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
25
|
oneof :secret_store do
|
26
26
|
optional :aws, :message, 3, "v1.AWSStore"
|
27
27
|
optional :azure, :message, 101, "v1.AzureStore"
|
28
|
+
optional :cyberark_conjur, :message, 301, "v1.CyberarkConjurStore"
|
29
|
+
optional :cyberark_pam_experimental, :message, 302, "v1.CyberarkPAMExperimentalStore"
|
30
|
+
optional :delinea, :message, 2900, "v1.DelineaStore"
|
28
31
|
optional :gcp, :message, 201, "v1.GCPStore"
|
29
32
|
optional :vault_app_role, :message, 4, "v1.VaultAppRoleStore"
|
30
33
|
optional :vault_tls, :message, 1, "v1.VaultTLSStore"
|
@@ -43,6 +46,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
43
46
|
optional :vault_uri, :string, 3
|
44
47
|
optional :tags, :message, 32771, "v1.Tags"
|
45
48
|
end
|
49
|
+
add_message "v1.CyberarkConjurStore" do
|
50
|
+
optional :id, :string, 1
|
51
|
+
optional :name, :string, 2
|
52
|
+
optional :appURL, :string, 3
|
53
|
+
optional :tags, :message, 32771, "v1.Tags"
|
54
|
+
end
|
55
|
+
add_message "v1.CyberarkPAMExperimentalStore" do
|
56
|
+
optional :id, :string, 1
|
57
|
+
optional :name, :string, 2
|
58
|
+
optional :appURL, :string, 3
|
59
|
+
optional :tags, :message, 32771, "v1.Tags"
|
60
|
+
end
|
61
|
+
add_message "v1.DelineaStore" do
|
62
|
+
optional :id, :string, 1
|
63
|
+
optional :name, :string, 2
|
64
|
+
optional :server_url, :string, 3
|
65
|
+
optional :tenant_name, :string, 4
|
66
|
+
optional :tags, :message, 32771, "v1.Tags"
|
67
|
+
end
|
46
68
|
add_message "v1.GCPStore" do
|
47
69
|
optional :id, :string, 1
|
48
70
|
optional :name, :string, 2
|
@@ -80,6 +102,9 @@ module V1
|
|
80
102
|
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
81
103
|
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
82
104
|
AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
|
105
|
+
CyberarkConjurStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkConjurStore").msgclass
|
106
|
+
CyberarkPAMExperimentalStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMExperimentalStore").msgclass
|
107
|
+
DelineaStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DelineaStore").msgclass
|
83
108
|
GCPStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPStore").msgclass
|
84
109
|
VaultAppRoleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleStore").msgclass
|
85
110
|
VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
|
data/lib/models/porcelain.rb
CHANGED
@@ -429,6 +429,169 @@ module SDM
|
|
429
429
|
end
|
430
430
|
end
|
431
431
|
|
432
|
+
# AWSConsole is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
433
|
+
class AWSConsole
|
434
|
+
# Bind interface
|
435
|
+
attr_accessor :bind_interface
|
436
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
437
|
+
attr_accessor :egress_filter
|
438
|
+
|
439
|
+
attr_accessor :enable_env_variables
|
440
|
+
# True if the datasource is reachable and the credentials are valid.
|
441
|
+
attr_accessor :healthy
|
442
|
+
# Unique identifier of the Resource.
|
443
|
+
attr_accessor :id
|
444
|
+
# Unique human-readable name of the Resource.
|
445
|
+
attr_accessor :name
|
446
|
+
|
447
|
+
attr_accessor :port_override
|
448
|
+
|
449
|
+
attr_accessor :region
|
450
|
+
|
451
|
+
attr_accessor :remote_identity_group_id
|
452
|
+
|
453
|
+
attr_accessor :remote_identity_healthcheck_username
|
454
|
+
|
455
|
+
attr_accessor :role_arn
|
456
|
+
|
457
|
+
attr_accessor :role_external_id
|
458
|
+
# ID of the secret store containing credentials for this resource, if any.
|
459
|
+
attr_accessor :secret_store_id
|
460
|
+
|
461
|
+
attr_accessor :session_expiry
|
462
|
+
|
463
|
+
attr_accessor :subdomain
|
464
|
+
# Tags is a map of key, value pairs.
|
465
|
+
attr_accessor :tags
|
466
|
+
|
467
|
+
def initialize(
|
468
|
+
bind_interface: nil,
|
469
|
+
egress_filter: nil,
|
470
|
+
enable_env_variables: nil,
|
471
|
+
healthy: nil,
|
472
|
+
id: nil,
|
473
|
+
name: nil,
|
474
|
+
port_override: nil,
|
475
|
+
region: nil,
|
476
|
+
remote_identity_group_id: nil,
|
477
|
+
remote_identity_healthcheck_username: nil,
|
478
|
+
role_arn: nil,
|
479
|
+
role_external_id: nil,
|
480
|
+
secret_store_id: nil,
|
481
|
+
session_expiry: nil,
|
482
|
+
subdomain: nil,
|
483
|
+
tags: nil
|
484
|
+
)
|
485
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
486
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
487
|
+
@enable_env_variables = enable_env_variables == nil ? false : enable_env_variables
|
488
|
+
@healthy = healthy == nil ? false : healthy
|
489
|
+
@id = id == nil ? "" : id
|
490
|
+
@name = name == nil ? "" : name
|
491
|
+
@port_override = port_override == nil ? 0 : port_override
|
492
|
+
@region = region == nil ? "" : region
|
493
|
+
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
494
|
+
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
495
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
496
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
497
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
498
|
+
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
499
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
500
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
501
|
+
end
|
502
|
+
|
503
|
+
def to_json(options = {})
|
504
|
+
hash = {}
|
505
|
+
self.instance_variables.each do |var|
|
506
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
507
|
+
end
|
508
|
+
hash.to_json
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
# AWSConsoleStaticKeyPair is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
513
|
+
class AWSConsoleStaticKeyPair
|
514
|
+
attr_accessor :access_key
|
515
|
+
# Bind interface
|
516
|
+
attr_accessor :bind_interface
|
517
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
518
|
+
attr_accessor :egress_filter
|
519
|
+
# True if the datasource is reachable and the credentials are valid.
|
520
|
+
attr_accessor :healthy
|
521
|
+
# Unique identifier of the Resource.
|
522
|
+
attr_accessor :id
|
523
|
+
# Unique human-readable name of the Resource.
|
524
|
+
attr_accessor :name
|
525
|
+
|
526
|
+
attr_accessor :port_override
|
527
|
+
|
528
|
+
attr_accessor :region
|
529
|
+
|
530
|
+
attr_accessor :remote_identity_group_id
|
531
|
+
|
532
|
+
attr_accessor :remote_identity_healthcheck_username
|
533
|
+
|
534
|
+
attr_accessor :role_arn
|
535
|
+
|
536
|
+
attr_accessor :role_external_id
|
537
|
+
|
538
|
+
attr_accessor :secret_access_key
|
539
|
+
# ID of the secret store containing credentials for this resource, if any.
|
540
|
+
attr_accessor :secret_store_id
|
541
|
+
|
542
|
+
attr_accessor :session_expiry
|
543
|
+
|
544
|
+
attr_accessor :subdomain
|
545
|
+
# Tags is a map of key, value pairs.
|
546
|
+
attr_accessor :tags
|
547
|
+
|
548
|
+
def initialize(
|
549
|
+
access_key: nil,
|
550
|
+
bind_interface: nil,
|
551
|
+
egress_filter: nil,
|
552
|
+
healthy: nil,
|
553
|
+
id: nil,
|
554
|
+
name: nil,
|
555
|
+
port_override: nil,
|
556
|
+
region: nil,
|
557
|
+
remote_identity_group_id: nil,
|
558
|
+
remote_identity_healthcheck_username: nil,
|
559
|
+
role_arn: nil,
|
560
|
+
role_external_id: nil,
|
561
|
+
secret_access_key: nil,
|
562
|
+
secret_store_id: nil,
|
563
|
+
session_expiry: nil,
|
564
|
+
subdomain: nil,
|
565
|
+
tags: nil
|
566
|
+
)
|
567
|
+
@access_key = access_key == nil ? "" : access_key
|
568
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
569
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
570
|
+
@healthy = healthy == nil ? false : healthy
|
571
|
+
@id = id == nil ? "" : id
|
572
|
+
@name = name == nil ? "" : name
|
573
|
+
@port_override = port_override == nil ? 0 : port_override
|
574
|
+
@region = region == nil ? "" : region
|
575
|
+
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
576
|
+
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
577
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
578
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
579
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
580
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
581
|
+
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
582
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
583
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
584
|
+
end
|
585
|
+
|
586
|
+
def to_json(options = {})
|
587
|
+
hash = {}
|
588
|
+
self.instance_variables.each do |var|
|
589
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
590
|
+
end
|
591
|
+
hash.to_json
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
432
595
|
class AWSStore
|
433
596
|
# Unique identifier of the SecretStore.
|
434
597
|
attr_accessor :id
|
@@ -655,17 +818,15 @@ module SDM
|
|
655
818
|
|
656
819
|
# AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
|
657
820
|
class AccountGrant
|
658
|
-
# The account
|
821
|
+
# The account ID of this AccountGrant.
|
659
822
|
attr_accessor :account_id
|
660
823
|
# Unique identifier of the AccountGrant.
|
661
824
|
attr_accessor :id
|
662
|
-
# The resource
|
825
|
+
# The resource ID of this AccountGrant.
|
663
826
|
attr_accessor :resource_id
|
664
|
-
# The timestamp when the resource will be granted.
|
665
|
-
# and end_at must be defined together, or not defined at all.
|
827
|
+
# The timestamp when the resource will be granted. When creating an AccountGrant, if this field is not specified, it will default to the current time.
|
666
828
|
attr_accessor :start_from
|
667
|
-
# The timestamp when the resource grant will expire.
|
668
|
-
# start_at and end_at must be defined together, or not defined at all.
|
829
|
+
# The timestamp when the resource grant will expire.
|
669
830
|
attr_accessor :valid_until
|
670
831
|
|
671
832
|
def initialize(
|
@@ -1930,6 +2091,68 @@ module SDM
|
|
1930
2091
|
end
|
1931
2092
|
end
|
1932
2093
|
|
2094
|
+
# CyberarkConjurStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
2095
|
+
class CyberarkConjurStore
|
2096
|
+
attr_accessor :appurl
|
2097
|
+
# Unique identifier of the SecretStore.
|
2098
|
+
attr_accessor :id
|
2099
|
+
# Unique human-readable name of the SecretStore.
|
2100
|
+
attr_accessor :name
|
2101
|
+
# Tags is a map of key, value pairs.
|
2102
|
+
attr_accessor :tags
|
2103
|
+
|
2104
|
+
def initialize(
|
2105
|
+
appurl: nil,
|
2106
|
+
id: nil,
|
2107
|
+
name: nil,
|
2108
|
+
tags: nil
|
2109
|
+
)
|
2110
|
+
@appurl = appurl == nil ? "" : appurl
|
2111
|
+
@id = id == nil ? "" : id
|
2112
|
+
@name = name == nil ? "" : name
|
2113
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
def to_json(options = {})
|
2117
|
+
hash = {}
|
2118
|
+
self.instance_variables.each do |var|
|
2119
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2120
|
+
end
|
2121
|
+
hash.to_json
|
2122
|
+
end
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
# CyberarkPAMExperimentalStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
2126
|
+
class CyberarkPAMExperimentalStore
|
2127
|
+
attr_accessor :appurl
|
2128
|
+
# Unique identifier of the SecretStore.
|
2129
|
+
attr_accessor :id
|
2130
|
+
# Unique human-readable name of the SecretStore.
|
2131
|
+
attr_accessor :name
|
2132
|
+
# Tags is a map of key, value pairs.
|
2133
|
+
attr_accessor :tags
|
2134
|
+
|
2135
|
+
def initialize(
|
2136
|
+
appurl: nil,
|
2137
|
+
id: nil,
|
2138
|
+
name: nil,
|
2139
|
+
tags: nil
|
2140
|
+
)
|
2141
|
+
@appurl = appurl == nil ? "" : appurl
|
2142
|
+
@id = id == nil ? "" : id
|
2143
|
+
@name = name == nil ? "" : name
|
2144
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
def to_json(options = {})
|
2148
|
+
hash = {}
|
2149
|
+
self.instance_variables.each do |var|
|
2150
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2151
|
+
end
|
2152
|
+
hash.to_json
|
2153
|
+
end
|
2154
|
+
end
|
2155
|
+
|
1933
2156
|
class DB2I
|
1934
2157
|
# Bind interface
|
1935
2158
|
attr_accessor :bind_interface
|
@@ -2078,6 +2301,42 @@ module SDM
|
|
2078
2301
|
end
|
2079
2302
|
end
|
2080
2303
|
|
2304
|
+
# DelineaStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
2305
|
+
class DelineaStore
|
2306
|
+
# Unique identifier of the SecretStore.
|
2307
|
+
attr_accessor :id
|
2308
|
+
# Unique human-readable name of the SecretStore.
|
2309
|
+
attr_accessor :name
|
2310
|
+
|
2311
|
+
attr_accessor :server_url
|
2312
|
+
# Tags is a map of key, value pairs.
|
2313
|
+
attr_accessor :tags
|
2314
|
+
|
2315
|
+
attr_accessor :tenant_name
|
2316
|
+
|
2317
|
+
def initialize(
|
2318
|
+
id: nil,
|
2319
|
+
name: nil,
|
2320
|
+
server_url: nil,
|
2321
|
+
tags: nil,
|
2322
|
+
tenant_name: nil
|
2323
|
+
)
|
2324
|
+
@id = id == nil ? "" : id
|
2325
|
+
@name = name == nil ? "" : name
|
2326
|
+
@server_url = server_url == nil ? "" : server_url
|
2327
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2328
|
+
@tenant_name = tenant_name == nil ? "" : tenant_name
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
def to_json(options = {})
|
2332
|
+
hash = {}
|
2333
|
+
self.instance_variables.each do |var|
|
2334
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2335
|
+
end
|
2336
|
+
hash.to_json
|
2337
|
+
end
|
2338
|
+
end
|
2339
|
+
|
2081
2340
|
class DocumentDBHost
|
2082
2341
|
attr_accessor :auth_database
|
2083
2342
|
# Bind interface
|
@@ -3368,6 +3627,7 @@ module SDM
|
|
3368
3627
|
end
|
3369
3628
|
end
|
3370
3629
|
|
3630
|
+
# MTLSMysql is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
3371
3631
|
class MTLSMysql
|
3372
3632
|
# Bind interface
|
3373
3633
|
attr_accessor :bind_interface
|
@@ -3727,6 +3987,7 @@ module SDM
|
|
3727
3987
|
end
|
3728
3988
|
end
|
3729
3989
|
|
3990
|
+
# MongoHost is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
3730
3991
|
class MongoHost
|
3731
3992
|
attr_accessor :auth_database
|
3732
3993
|
# Bind interface
|
@@ -3949,6 +4210,7 @@ module SDM
|
|
3949
4210
|
end
|
3950
4211
|
end
|
3951
4212
|
|
4213
|
+
# MongoReplicaSet is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
3952
4214
|
class MongoReplicaSet
|
3953
4215
|
attr_accessor :auth_database
|
3954
4216
|
# Bind interface
|
@@ -4027,6 +4289,7 @@ module SDM
|
|
4027
4289
|
end
|
4028
4290
|
end
|
4029
4291
|
|
4292
|
+
# MongoShardedCluster is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
4030
4293
|
class MongoShardedCluster
|
4031
4294
|
attr_accessor :auth_database
|
4032
4295
|
# Bind interface
|
@@ -4403,6 +4666,7 @@ module SDM
|
|
4403
4666
|
end
|
4404
4667
|
end
|
4405
4668
|
|
4669
|
+
# Oracle is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
4406
4670
|
class Oracle
|
4407
4671
|
# Bind interface
|
4408
4672
|
attr_accessor :bind_interface
|
@@ -5318,11 +5582,6 @@ module SDM
|
|
5318
5582
|
class Role
|
5319
5583
|
# AccessRules is a list of access rules defining the resources this Role has access to.
|
5320
5584
|
attr_accessor :access_rules
|
5321
|
-
# Composite is true if the Role is a composite role.
|
5322
|
-
#
|
5323
|
-
# Deprecated: composite roles are deprecated, use multi-role via
|
5324
|
-
# AccountAttachments instead.
|
5325
|
-
attr_accessor :composite
|
5326
5585
|
# Unique identifier of the Role.
|
5327
5586
|
attr_accessor :id
|
5328
5587
|
# Unique human-readable name of the Role.
|
@@ -5332,13 +5591,11 @@ module SDM
|
|
5332
5591
|
|
5333
5592
|
def initialize(
|
5334
5593
|
access_rules: nil,
|
5335
|
-
composite: nil,
|
5336
5594
|
id: nil,
|
5337
5595
|
name: nil,
|
5338
5596
|
tags: nil
|
5339
5597
|
)
|
5340
5598
|
@access_rules = access_rules == nil ? SDM::_porcelain_zero_value_access_rules() : access_rules
|
5341
|
-
@composite = composite == nil ? false : composite
|
5342
5599
|
@id = id == nil ? "" : id
|
5343
5600
|
@name = name == nil ? "" : name
|
5344
5601
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
@@ -5353,122 +5610,6 @@ module SDM
|
|
5353
5610
|
end
|
5354
5611
|
end
|
5355
5612
|
|
5356
|
-
# A RoleAttachment assigns a role to a composite role.
|
5357
|
-
#
|
5358
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
5359
|
-
class RoleAttachment
|
5360
|
-
# The id of the attached role of this RoleAttachment.
|
5361
|
-
attr_accessor :attached_role_id
|
5362
|
-
# The id of the composite role of this RoleAttachment.
|
5363
|
-
attr_accessor :composite_role_id
|
5364
|
-
# Unique identifier of the RoleAttachment.
|
5365
|
-
attr_accessor :id
|
5366
|
-
|
5367
|
-
def initialize(
|
5368
|
-
attached_role_id: nil,
|
5369
|
-
composite_role_id: nil,
|
5370
|
-
id: nil
|
5371
|
-
)
|
5372
|
-
@attached_role_id = attached_role_id == nil ? "" : attached_role_id
|
5373
|
-
@composite_role_id = composite_role_id == nil ? "" : composite_role_id
|
5374
|
-
@id = id == nil ? "" : id
|
5375
|
-
end
|
5376
|
-
|
5377
|
-
def to_json(options = {})
|
5378
|
-
hash = {}
|
5379
|
-
self.instance_variables.each do |var|
|
5380
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5381
|
-
end
|
5382
|
-
hash.to_json
|
5383
|
-
end
|
5384
|
-
end
|
5385
|
-
|
5386
|
-
# RoleAttachmentCreateResponse reports how the RoleAttachments were created in the system.
|
5387
|
-
#
|
5388
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
5389
|
-
class RoleAttachmentCreateResponse
|
5390
|
-
# Reserved for future use.
|
5391
|
-
attr_accessor :meta
|
5392
|
-
# Rate limit information.
|
5393
|
-
attr_accessor :rate_limit
|
5394
|
-
# The created RoleAttachment.
|
5395
|
-
attr_accessor :role_attachment
|
5396
|
-
|
5397
|
-
def initialize(
|
5398
|
-
meta: nil,
|
5399
|
-
rate_limit: nil,
|
5400
|
-
role_attachment: nil
|
5401
|
-
)
|
5402
|
-
@meta = meta == nil ? nil : meta
|
5403
|
-
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5404
|
-
@role_attachment = role_attachment == nil ? nil : role_attachment
|
5405
|
-
end
|
5406
|
-
|
5407
|
-
def to_json(options = {})
|
5408
|
-
hash = {}
|
5409
|
-
self.instance_variables.each do |var|
|
5410
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5411
|
-
end
|
5412
|
-
hash.to_json
|
5413
|
-
end
|
5414
|
-
end
|
5415
|
-
|
5416
|
-
# RoleAttachmentDeleteResponse returns information about a RoleAttachment that was deleted.
|
5417
|
-
#
|
5418
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
5419
|
-
class RoleAttachmentDeleteResponse
|
5420
|
-
# Reserved for future use.
|
5421
|
-
attr_accessor :meta
|
5422
|
-
# Rate limit information.
|
5423
|
-
attr_accessor :rate_limit
|
5424
|
-
|
5425
|
-
def initialize(
|
5426
|
-
meta: nil,
|
5427
|
-
rate_limit: nil
|
5428
|
-
)
|
5429
|
-
@meta = meta == nil ? nil : meta
|
5430
|
-
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5431
|
-
end
|
5432
|
-
|
5433
|
-
def to_json(options = {})
|
5434
|
-
hash = {}
|
5435
|
-
self.instance_variables.each do |var|
|
5436
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5437
|
-
end
|
5438
|
-
hash.to_json
|
5439
|
-
end
|
5440
|
-
end
|
5441
|
-
|
5442
|
-
# RoleAttachmentGetResponse returns a requested RoleAttachment.
|
5443
|
-
#
|
5444
|
-
# Deprecated: use multi-role via AccountAttachments instead.
|
5445
|
-
class RoleAttachmentGetResponse
|
5446
|
-
# Reserved for future use.
|
5447
|
-
attr_accessor :meta
|
5448
|
-
# Rate limit information.
|
5449
|
-
attr_accessor :rate_limit
|
5450
|
-
# The requested RoleAttachment.
|
5451
|
-
attr_accessor :role_attachment
|
5452
|
-
|
5453
|
-
def initialize(
|
5454
|
-
meta: nil,
|
5455
|
-
rate_limit: nil,
|
5456
|
-
role_attachment: nil
|
5457
|
-
)
|
5458
|
-
@meta = meta == nil ? nil : meta
|
5459
|
-
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5460
|
-
@role_attachment = role_attachment == nil ? nil : role_attachment
|
5461
|
-
end
|
5462
|
-
|
5463
|
-
def to_json(options = {})
|
5464
|
-
hash = {}
|
5465
|
-
self.instance_variables.each do |var|
|
5466
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5467
|
-
end
|
5468
|
-
hash.to_json
|
5469
|
-
end
|
5470
|
-
end
|
5471
|
-
|
5472
5613
|
# RoleCreateResponse reports how the Roles were created in the system. It can
|
5473
5614
|
# communicate partial successes or failures.
|
5474
5615
|
class RoleCreateResponse
|
@@ -5550,122 +5691,6 @@ module SDM
|
|
5550
5691
|
end
|
5551
5692
|
end
|
5552
5693
|
|
5553
|
-
# A RoleGrant connects a resource to a role, granting members of the role access to that resource.
|
5554
|
-
#
|
5555
|
-
# Deprecated: use Role access rules instead.
|
5556
|
-
class RoleGrant
|
5557
|
-
# Unique identifier of the RoleGrant.
|
5558
|
-
attr_accessor :id
|
5559
|
-
# The id of the resource of this RoleGrant.
|
5560
|
-
attr_accessor :resource_id
|
5561
|
-
# The id of the attached role of this RoleGrant.
|
5562
|
-
attr_accessor :role_id
|
5563
|
-
|
5564
|
-
def initialize(
|
5565
|
-
id: nil,
|
5566
|
-
resource_id: nil,
|
5567
|
-
role_id: nil
|
5568
|
-
)
|
5569
|
-
@id = id == nil ? "" : id
|
5570
|
-
@resource_id = resource_id == nil ? "" : resource_id
|
5571
|
-
@role_id = role_id == nil ? "" : role_id
|
5572
|
-
end
|
5573
|
-
|
5574
|
-
def to_json(options = {})
|
5575
|
-
hash = {}
|
5576
|
-
self.instance_variables.each do |var|
|
5577
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5578
|
-
end
|
5579
|
-
hash.to_json
|
5580
|
-
end
|
5581
|
-
end
|
5582
|
-
|
5583
|
-
# RoleGrantCreateResponse reports how the RoleGrants were created in the system.
|
5584
|
-
#
|
5585
|
-
# Deprecated: use Role access rules instead.
|
5586
|
-
class RoleGrantCreateResponse
|
5587
|
-
# Reserved for future use.
|
5588
|
-
attr_accessor :meta
|
5589
|
-
# Rate limit information.
|
5590
|
-
attr_accessor :rate_limit
|
5591
|
-
# The created RoleGrant.
|
5592
|
-
attr_accessor :role_grant
|
5593
|
-
|
5594
|
-
def initialize(
|
5595
|
-
meta: nil,
|
5596
|
-
rate_limit: nil,
|
5597
|
-
role_grant: nil
|
5598
|
-
)
|
5599
|
-
@meta = meta == nil ? nil : meta
|
5600
|
-
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5601
|
-
@role_grant = role_grant == nil ? nil : role_grant
|
5602
|
-
end
|
5603
|
-
|
5604
|
-
def to_json(options = {})
|
5605
|
-
hash = {}
|
5606
|
-
self.instance_variables.each do |var|
|
5607
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5608
|
-
end
|
5609
|
-
hash.to_json
|
5610
|
-
end
|
5611
|
-
end
|
5612
|
-
|
5613
|
-
# RoleGrantDeleteResponse returns information about a RoleGrant that was deleted.
|
5614
|
-
#
|
5615
|
-
# Deprecated: use Role access rules instead.
|
5616
|
-
class RoleGrantDeleteResponse
|
5617
|
-
# Reserved for future use.
|
5618
|
-
attr_accessor :meta
|
5619
|
-
# Rate limit information.
|
5620
|
-
attr_accessor :rate_limit
|
5621
|
-
|
5622
|
-
def initialize(
|
5623
|
-
meta: nil,
|
5624
|
-
rate_limit: nil
|
5625
|
-
)
|
5626
|
-
@meta = meta == nil ? nil : meta
|
5627
|
-
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5628
|
-
end
|
5629
|
-
|
5630
|
-
def to_json(options = {})
|
5631
|
-
hash = {}
|
5632
|
-
self.instance_variables.each do |var|
|
5633
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5634
|
-
end
|
5635
|
-
hash.to_json
|
5636
|
-
end
|
5637
|
-
end
|
5638
|
-
|
5639
|
-
# RoleGrantGetResponse returns a requested RoleGrant.
|
5640
|
-
#
|
5641
|
-
# Deprecated: use Role access rules instead.
|
5642
|
-
class RoleGrantGetResponse
|
5643
|
-
# Reserved for future use.
|
5644
|
-
attr_accessor :meta
|
5645
|
-
# Rate limit information.
|
5646
|
-
attr_accessor :rate_limit
|
5647
|
-
# The requested RoleGrant.
|
5648
|
-
attr_accessor :role_grant
|
5649
|
-
|
5650
|
-
def initialize(
|
5651
|
-
meta: nil,
|
5652
|
-
rate_limit: nil,
|
5653
|
-
role_grant: nil
|
5654
|
-
)
|
5655
|
-
@meta = meta == nil ? nil : meta
|
5656
|
-
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5657
|
-
@role_grant = role_grant == nil ? nil : role_grant
|
5658
|
-
end
|
5659
|
-
|
5660
|
-
def to_json(options = {})
|
5661
|
-
hash = {}
|
5662
|
-
self.instance_variables.each do |var|
|
5663
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5664
|
-
end
|
5665
|
-
hash.to_json
|
5666
|
-
end
|
5667
|
-
end
|
5668
|
-
|
5669
5694
|
# RoleUpdateResponse returns the fields of a Role after it has been updated by
|
5670
5695
|
# a RoleUpdateRequest.
|
5671
5696
|
class RoleUpdateResponse
|
@@ -6650,9 +6675,11 @@ module SDM
|
|
6650
6675
|
end
|
6651
6676
|
end
|
6652
6677
|
|
6678
|
+
# @private
|
6653
6679
|
def self._porcelain_zero_value_tags()
|
6654
6680
|
{}
|
6655
6681
|
end
|
6682
|
+
# @private
|
6656
6683
|
def self._porcelain_zero_value_access_rules()
|
6657
6684
|
[]
|
6658
6685
|
end
|