strongdm 5.0.2 → 5.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/.git/ORIG_HEAD +1 -1
  3. data/.git/index +0 -0
  4. data/.git/logs/HEAD +3 -3
  5. data/.git/logs/refs/heads/master +2 -2
  6. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  7. data/.git/objects/pack/{pack-4e5f48ff9f2249cddedded686470b0e6771a3eda.idx → pack-2dcb8f5e9524621a23dd2fa6ac2812460ba47945.idx} +0 -0
  8. data/.git/objects/pack/{pack-4e5f48ff9f2249cddedded686470b0e6771a3eda.pack → pack-2dcb8f5e9524621a23dd2fa6ac2812460ba47945.pack} +0 -0
  9. data/.git/packed-refs +4 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/constants.rb +8 -0
  12. data/lib/grpc/access_request_events_history_pb.rb +1 -0
  13. data/lib/grpc/access_request_events_history_services_pb.rb +2 -2
  14. data/lib/grpc/access_requests_history_pb.rb +1 -0
  15. data/lib/grpc/access_requests_history_services_pb.rb +2 -2
  16. data/lib/grpc/access_requests_pb.rb +1 -0
  17. data/lib/grpc/access_requests_services_pb.rb +2 -2
  18. data/lib/grpc/account_attachments_history_pb.rb +1 -0
  19. data/lib/grpc/account_attachments_history_services_pb.rb +2 -2
  20. data/lib/grpc/account_attachments_pb.rb +1 -0
  21. data/lib/grpc/account_attachments_services_pb.rb +5 -5
  22. data/lib/grpc/account_grants_history_pb.rb +1 -0
  23. data/lib/grpc/account_grants_history_services_pb.rb +2 -2
  24. data/lib/grpc/account_grants_pb.rb +1 -0
  25. data/lib/grpc/account_grants_services_pb.rb +5 -5
  26. data/lib/grpc/account_permissions_pb.rb +1 -0
  27. data/lib/grpc/account_permissions_services_pb.rb +2 -2
  28. data/lib/grpc/account_resources_history_pb.rb +1 -0
  29. data/lib/grpc/account_resources_history_services_pb.rb +2 -2
  30. data/lib/grpc/account_resources_pb.rb +1 -0
  31. data/lib/grpc/account_resources_services_pb.rb +2 -2
  32. data/lib/grpc/accounts_history_pb.rb +1 -0
  33. data/lib/grpc/accounts_history_services_pb.rb +2 -2
  34. data/lib/grpc/accounts_pb.rb +1 -0
  35. data/lib/grpc/accounts_services_pb.rb +6 -6
  36. data/lib/grpc/activities_pb.rb +1 -0
  37. data/lib/grpc/activities_services_pb.rb +3 -3
  38. data/lib/grpc/control_panel_pb.rb +1 -0
  39. data/lib/grpc/control_panel_services_pb.rb +3 -3
  40. data/lib/grpc/drivers_pb.rb +3 -0
  41. data/lib/grpc/nodes_history_pb.rb +1 -0
  42. data/lib/grpc/nodes_history_services_pb.rb +2 -2
  43. data/lib/grpc/nodes_pb.rb +14 -0
  44. data/lib/grpc/nodes_services_pb.rb +6 -6
  45. data/lib/grpc/options_pb.rb +2 -0
  46. data/lib/grpc/organization_history_pb.rb +1 -0
  47. data/lib/grpc/organization_history_services_pb.rb +2 -2
  48. data/lib/grpc/peering_group_nodes_pb.rb +1 -0
  49. data/lib/grpc/peering_group_nodes_services_pb.rb +5 -5
  50. data/lib/grpc/peering_group_peers_pb.rb +1 -0
  51. data/lib/grpc/peering_group_peers_services_pb.rb +5 -5
  52. data/lib/grpc/peering_group_resources_pb.rb +1 -0
  53. data/lib/grpc/peering_group_resources_services_pb.rb +5 -5
  54. data/lib/grpc/peering_groups_pb.rb +1 -0
  55. data/lib/grpc/peering_groups_services_pb.rb +5 -5
  56. data/lib/grpc/plumbing.rb +4 -0
  57. data/lib/grpc/queries_pb.rb +1 -0
  58. data/lib/grpc/queries_services_pb.rb +2 -2
  59. data/lib/grpc/remote_identities_history_pb.rb +1 -0
  60. data/lib/grpc/remote_identities_history_services_pb.rb +2 -2
  61. data/lib/grpc/remote_identities_pb.rb +1 -0
  62. data/lib/grpc/remote_identities_services_pb.rb +6 -6
  63. data/lib/grpc/remote_identity_groups_history_pb.rb +1 -0
  64. data/lib/grpc/remote_identity_groups_history_services_pb.rb +2 -2
  65. data/lib/grpc/remote_identity_groups_pb.rb +1 -0
  66. data/lib/grpc/remote_identity_groups_services_pb.rb +3 -3
  67. data/lib/grpc/replays_pb.rb +1 -0
  68. data/lib/grpc/replays_services_pb.rb +2 -2
  69. data/lib/grpc/resources_history_pb.rb +1 -0
  70. data/lib/grpc/resources_history_services_pb.rb +2 -2
  71. data/lib/grpc/resources_pb.rb +1 -0
  72. data/lib/grpc/resources_services_pb.rb +7 -7
  73. data/lib/grpc/role_resources_history_pb.rb +1 -0
  74. data/lib/grpc/role_resources_history_services_pb.rb +2 -2
  75. data/lib/grpc/role_resources_pb.rb +1 -0
  76. data/lib/grpc/role_resources_services_pb.rb +2 -2
  77. data/lib/grpc/roles_history_pb.rb +1 -0
  78. data/lib/grpc/roles_history_services_pb.rb +2 -2
  79. data/lib/grpc/roles_pb.rb +1 -0
  80. data/lib/grpc/roles_services_pb.rb +6 -6
  81. data/lib/grpc/secret_store_types_pb.rb +1 -0
  82. data/lib/grpc/secret_stores_history_pb.rb +1 -0
  83. data/lib/grpc/secret_stores_history_services_pb.rb +2 -2
  84. data/lib/grpc/secret_stores_pb.rb +1 -0
  85. data/lib/grpc/secret_stores_services_pb.rb +6 -6
  86. data/lib/grpc/spec_pb.rb +1 -0
  87. data/lib/grpc/tags_pb.rb +1 -0
  88. data/lib/grpc/workflow_approvers_history_pb.rb +1 -0
  89. data/lib/grpc/workflow_approvers_history_services_pb.rb +2 -2
  90. data/lib/grpc/workflow_approvers_pb.rb +1 -0
  91. data/lib/grpc/workflow_approvers_services_pb.rb +5 -5
  92. data/lib/grpc/workflow_assignments_history_pb.rb +1 -0
  93. data/lib/grpc/workflow_assignments_history_services_pb.rb +2 -2
  94. data/lib/grpc/workflow_assignments_pb.rb +1 -0
  95. data/lib/grpc/workflow_assignments_services_pb.rb +2 -2
  96. data/lib/grpc/workflow_roles_history_pb.rb +1 -0
  97. data/lib/grpc/workflow_roles_history_services_pb.rb +2 -2
  98. data/lib/grpc/workflow_roles_pb.rb +1 -0
  99. data/lib/grpc/workflow_roles_services_pb.rb +5 -5
  100. data/lib/grpc/workflows_history_pb.rb +1 -0
  101. data/lib/grpc/workflows_history_services_pb.rb +2 -2
  102. data/lib/grpc/workflows_pb.rb +1 -0
  103. data/lib/grpc/workflows_services_pb.rb +6 -6
  104. data/lib/models/porcelain.rb +8 -2
  105. data/lib/strongdm.rb +1 -1
  106. data/lib/version +1 -1
  107. data/lib/version.rb +1 -1
  108. metadata +5 -5
@@ -24,22 +24,22 @@ module V1
24
24
  # - **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers.
25
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.
26
26
  class Service
27
- include GRPC::GenericService
27
+ include ::GRPC::GenericService
28
28
 
29
29
  self.marshal_class_method = :encode
30
30
  self.unmarshal_class_method = :decode
31
31
  self.service_name = "v1.Nodes"
32
32
 
33
33
  # Create registers a new Node.
34
- rpc :Create, V1::NodeCreateRequest, V1::NodeCreateResponse
34
+ rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
35
35
  # Get reads one Node by ID.
36
- rpc :Get, V1::NodeGetRequest, V1::NodeGetResponse
36
+ rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
37
37
  # Update replaces all the fields of a Node by ID.
38
- rpc :Update, V1::NodeUpdateRequest, V1::NodeUpdateResponse
38
+ rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
39
39
  # Delete removes a Node by ID.
40
- rpc :Delete, V1::NodeDeleteRequest, V1::NodeDeleteResponse
40
+ rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
41
41
  # List gets a list of Nodes matching a given set of criteria.
42
- rpc :List, V1::NodeListRequest, V1::NodeListResponse
42
+ rpc :List, ::V1::NodeListRequest, ::V1::NodeListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -17,6 +17,8 @@
17
17
 
18
18
  require "google/protobuf"
19
19
 
20
+ require "google/protobuf/descriptor_pb"
21
+
20
22
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
23
  add_file("options.proto", :syntax => :proto3) do
22
24
  add_message "v1.FileOptions" do
@@ -21,6 +21,7 @@ require "google/protobuf/duration_pb"
21
21
  require "google/protobuf/timestamp_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("organization_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.OrganizationHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module OrganizationHistory
23
23
  # OrganizationHistory records all changes to the state of an Organization.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.OrganizationHistory"
30
30
 
31
31
  # List gets a list of OrganizationHistory records matching a given set of criteria.
32
- rpc :List, V1::OrganizationHistoryListRequest, V1::OrganizationHistoryListResponse
32
+ rpc :List, ::V1::OrganizationHistoryListRequest, ::V1::OrganizationHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("peering_group_nodes.proto", :syntax => :proto3) do
24
25
  add_message "v1.PeeringGroupNodeCreateRequest" do
@@ -22,20 +22,20 @@ module V1
22
22
  module PeeringGroupNodes
23
23
  # PeeringGroupNodes provides the building blocks necessary to obtain attach a node to a peering group.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.PeeringGroupNodes"
30
30
 
31
31
  # Create attaches a Node to a PeeringGroup
32
- rpc :Create, V1::PeeringGroupNodeCreateRequest, V1::PeeringGroupNodeCreateResponse
32
+ rpc :Create, ::V1::PeeringGroupNodeCreateRequest, ::V1::PeeringGroupNodeCreateResponse
33
33
  # Delete detaches a Node to a PeeringGroup.
34
- rpc :Delete, V1::PeeringGroupNodeDeleteRequest, V1::PeeringGroupNodeDeleteResponse
34
+ rpc :Delete, ::V1::PeeringGroupNodeDeleteRequest, ::V1::PeeringGroupNodeDeleteResponse
35
35
  # Get reads the information of one peering group to node attachment.
36
- rpc :Get, V1::PeeringGroupNodeGetRequest, V1::PeeringGroupNodeGetResponse
36
+ rpc :Get, ::V1::PeeringGroupNodeGetRequest, ::V1::PeeringGroupNodeGetResponse
37
37
  # List gets a list of peering group node attachments.
38
- rpc :List, V1::PeeringGroupNodeListRequest, V1::PeeringGroupNodeListResponse
38
+ rpc :List, ::V1::PeeringGroupNodeListRequest, ::V1::PeeringGroupNodeListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("peering_group_peers.proto", :syntax => :proto3) do
24
25
  add_message "v1.PeeringGroupPeerCreateRequest" do
@@ -22,20 +22,20 @@ module V1
22
22
  module PeeringGroupPeers
23
23
  # PeeringGroupPeers provides the building blocks necessary to link two peering groups.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.PeeringGroupPeers"
30
30
 
31
31
  # Create links two peering groups.
32
- rpc :Create, V1::PeeringGroupPeerCreateRequest, V1::PeeringGroupPeerCreateResponse
32
+ rpc :Create, ::V1::PeeringGroupPeerCreateRequest, ::V1::PeeringGroupPeerCreateResponse
33
33
  # Delete unlinks two peering groups.
34
- rpc :Delete, V1::PeeringGroupPeerDeleteRequest, V1::PeeringGroupPeerDeleteResponse
34
+ rpc :Delete, ::V1::PeeringGroupPeerDeleteRequest, ::V1::PeeringGroupPeerDeleteResponse
35
35
  # Get reads the information of one peering group link.
36
- rpc :Get, V1::PeeringGroupPeerGetRequest, V1::PeeringGroupPeerGetResponse
36
+ rpc :Get, ::V1::PeeringGroupPeerGetRequest, ::V1::PeeringGroupPeerGetResponse
37
37
  # List gets a list of peering group links.
38
- rpc :List, V1::PeeringGroupPeerListRequest, V1::PeeringGroupPeerListResponse
38
+ rpc :List, ::V1::PeeringGroupPeerListRequest, ::V1::PeeringGroupPeerListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("peering_group_resources.proto", :syntax => :proto3) do
24
25
  add_message "v1.PeeringGroupResourceCreateRequest" do
@@ -22,20 +22,20 @@ module V1
22
22
  module PeeringGroupResources
23
23
  # PeeringGroupResources provides the building blocks necessary to obtain attach a resource to a peering group.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.PeeringGroupResources"
30
30
 
31
31
  # Create attaches a Resource to a PeeringGroup
32
- rpc :Create, V1::PeeringGroupResourceCreateRequest, V1::PeeringGroupResourceCreateResponse
32
+ rpc :Create, ::V1::PeeringGroupResourceCreateRequest, ::V1::PeeringGroupResourceCreateResponse
33
33
  # Delete detaches a Resource to a PeeringGroup
34
- rpc :Delete, V1::PeeringGroupResourceDeleteRequest, V1::PeeringGroupResourceDeleteResponse
34
+ rpc :Delete, ::V1::PeeringGroupResourceDeleteRequest, ::V1::PeeringGroupResourceDeleteResponse
35
35
  # Get reads the information of one peering group to resource attachment.
36
- rpc :Get, V1::PeeringGroupResourceGetRequest, V1::PeeringGroupResourceGetResponse
36
+ rpc :Get, ::V1::PeeringGroupResourceGetRequest, ::V1::PeeringGroupResourceGetResponse
37
37
  # List gets a list of peering group resource attachments.
38
- rpc :List, V1::PeeringGroupResourceListRequest, V1::PeeringGroupResourceListResponse
38
+ rpc :List, ::V1::PeeringGroupResourceListRequest, ::V1::PeeringGroupResourceListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("peering_groups.proto", :syntax => :proto3) do
24
25
  add_message "v1.PeeringGroupCreateRequest" do
@@ -22,20 +22,20 @@ module V1
22
22
  module PeeringGroups
23
23
  # PeeringGroups provides the building blocks necessary to obtain explicit network topology and routing.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.PeeringGroups"
30
30
 
31
31
  # Create registers a new PeeringGroup.
32
- rpc :Create, V1::PeeringGroupCreateRequest, V1::PeeringGroupCreateResponse
32
+ rpc :Create, ::V1::PeeringGroupCreateRequest, ::V1::PeeringGroupCreateResponse
33
33
  # Delete removes a PeeringGroup by ID.
34
- rpc :Delete, V1::PeeringGroupDeleteRequest, V1::PeeringGroupDeleteResponse
34
+ rpc :Delete, ::V1::PeeringGroupDeleteRequest, ::V1::PeeringGroupDeleteResponse
35
35
  # Get reads one PeeringGroup by ID. It will load all its dependencies.
36
- rpc :Get, V1::PeeringGroupGetRequest, V1::PeeringGroupGetResponse
36
+ rpc :Get, ::V1::PeeringGroupGetRequest, ::V1::PeeringGroupGetResponse
37
37
  # List gets a list of Peering Groups.
38
- rpc :List, V1::PeeringGroupListRequest, V1::PeeringGroupListResponse
38
+ rpc :List, ::V1::PeeringGroupListRequest, ::V1::PeeringGroupListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
data/lib/grpc/plumbing.rb CHANGED
@@ -2503,6 +2503,7 @@ module SDM
2503
2503
  porcelain.port = (plumbing.port)
2504
2504
  porcelain.port_override = (plumbing.port_override)
2505
2505
  porcelain.region = (plumbing.region)
2506
+ porcelain.role_assumption_arn = (plumbing.role_assumption_arn)
2506
2507
  porcelain.secret_store_id = (plumbing.secret_store_id)
2507
2508
  porcelain.subdomain = (plumbing.subdomain)
2508
2509
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -2526,6 +2527,7 @@ module SDM
2526
2527
  plumbing.port = (porcelain.port)
2527
2528
  plumbing.port_override = (porcelain.port_override)
2528
2529
  plumbing.region = (porcelain.region)
2530
+ plumbing.role_assumption_arn = (porcelain.role_assumption_arn)
2529
2531
  plumbing.secret_store_id = (porcelain.secret_store_id)
2530
2532
  plumbing.subdomain = (porcelain.subdomain)
2531
2533
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
@@ -7044,6 +7046,7 @@ module SDM
7044
7046
  porcelain.port = (plumbing.port)
7045
7047
  porcelain.port_override = (plumbing.port_override)
7046
7048
  porcelain.region = (plumbing.region)
7049
+ porcelain.role_assumption_arn = (plumbing.role_assumption_arn)
7047
7050
  porcelain.secret_store_id = (plumbing.secret_store_id)
7048
7051
  porcelain.subdomain = (plumbing.subdomain)
7049
7052
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -7067,6 +7070,7 @@ module SDM
7067
7070
  plumbing.port = (porcelain.port)
7068
7071
  plumbing.port_override = (porcelain.port_override)
7069
7072
  plumbing.region = (porcelain.region)
7073
+ plumbing.role_assumption_arn = (porcelain.role_assumption_arn)
7070
7074
  plumbing.secret_store_id = (porcelain.secret_store_id)
7071
7075
  plumbing.subdomain = (porcelain.subdomain)
7072
7076
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
@@ -22,6 +22,7 @@ require "google/protobuf/timestamp_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
24
  require "tags_pb"
25
+
25
26
  Google::Protobuf::DescriptorPool.generated_pool.build do
26
27
  add_file("queries.proto", :syntax => :proto3) do
27
28
  add_message "v1.QueryListRequest" do
@@ -24,14 +24,14 @@ module V1
24
24
  # Long-running SSH, RDP, or Kubernetes interactive sessions also count as queries.
25
25
  # The Queries service is read-only.
26
26
  class Service
27
- include GRPC::GenericService
27
+ include ::GRPC::GenericService
28
28
 
29
29
  self.marshal_class_method = :encode
30
30
  self.unmarshal_class_method = :decode
31
31
  self.service_name = "v1.Queries"
32
32
 
33
33
  # List gets a list of Queries matching a given set of criteria.
34
- rpc :List, V1::QueryListRequest, V1::QueryListResponse
34
+ rpc :List, ::V1::QueryListRequest, ::V1::QueryListResponse
35
35
  end
36
36
 
37
37
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "remote_identities_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("remote_identities_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.RemoteIdentityHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module RemoteIdentitiesHistory
23
23
  # RemoteIdentitiesHistory records all changes to the state of a RemoteIdentity.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.RemoteIdentitiesHistory"
30
30
 
31
31
  # List gets a list of RemoteIdentityHistory records matching a given set of criteria.
32
- rpc :List, V1::RemoteIdentityHistoryListRequest, V1::RemoteIdentityHistoryListResponse
32
+ rpc :List, ::V1::RemoteIdentityHistoryListRequest, ::V1::RemoteIdentityHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("remote_identities.proto", :syntax => :proto3) do
24
25
  add_message "v1.RemoteIdentityCreateRequest" do
@@ -22,22 +22,22 @@ module V1
22
22
  module RemoteIdentities
23
23
  # RemoteIdentities assign a resource directly to an account, giving the account the permission to connect to that resource.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.RemoteIdentities"
30
30
 
31
31
  # Create registers a new RemoteIdentity.
32
- rpc :Create, V1::RemoteIdentityCreateRequest, V1::RemoteIdentityCreateResponse
32
+ rpc :Create, ::V1::RemoteIdentityCreateRequest, ::V1::RemoteIdentityCreateResponse
33
33
  # Get reads one RemoteIdentity by ID.
34
- rpc :Get, V1::RemoteIdentityGetRequest, V1::RemoteIdentityGetResponse
34
+ rpc :Get, ::V1::RemoteIdentityGetRequest, ::V1::RemoteIdentityGetResponse
35
35
  # Update replaces all the fields of a RemoteIdentity by ID.
36
- rpc :Update, V1::RemoteIdentityUpdateRequest, V1::RemoteIdentityUpdateResponse
36
+ rpc :Update, ::V1::RemoteIdentityUpdateRequest, ::V1::RemoteIdentityUpdateResponse
37
37
  # Delete removes a RemoteIdentity by ID.
38
- rpc :Delete, V1::RemoteIdentityDeleteRequest, V1::RemoteIdentityDeleteResponse
38
+ rpc :Delete, ::V1::RemoteIdentityDeleteRequest, ::V1::RemoteIdentityDeleteResponse
39
39
  # List gets a list of RemoteIdentities matching a given set of criteria.
40
- rpc :List, V1::RemoteIdentityListRequest, V1::RemoteIdentityListResponse
40
+ rpc :List, ::V1::RemoteIdentityListRequest, ::V1::RemoteIdentityListResponse
41
41
  end
42
42
 
43
43
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "remote_identity_groups_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("remote_identity_groups_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.RemoteIdentityGroupHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module RemoteIdentityGroupsHistory
23
23
  # RemoteIdentityGroupsHistory records all changes to the state of a RemoteIdentityGroup.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.RemoteIdentityGroupsHistory"
30
30
 
31
31
  # List gets a list of RemoteIdentityGroupHistory records matching a given set of criteria.
32
- rpc :List, V1::RemoteIdentityGroupHistoryListRequest, V1::RemoteIdentityGroupHistoryListResponse
32
+ rpc :List, ::V1::RemoteIdentityGroupHistoryListRequest, ::V1::RemoteIdentityGroupHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("remote_identity_groups.proto", :syntax => :proto3) do
24
25
  add_message "v1.RemoteIdentityGroupGetRequest" do
@@ -23,7 +23,7 @@ module V1
23
23
  # A RemoteIdentityGroup is a named grouping of Remote Identities for Accounts.
24
24
  # An Account's relationship to a RemoteIdentityGroup is defined via RemoteIdentity objects.
25
25
  class Service
26
- include GRPC::GenericService
26
+ include ::GRPC::GenericService
27
27
 
28
28
  self.marshal_class_method = :encode
29
29
  self.unmarshal_class_method = :decode
@@ -36,7 +36,7 @@ module V1
36
36
  # }
37
37
  #
38
38
  # Get reads one RemoteIdentityGroup by ID.
39
- rpc :Get, V1::RemoteIdentityGroupGetRequest, V1::RemoteIdentityGroupGetResponse
39
+ rpc :Get, ::V1::RemoteIdentityGroupGetRequest, ::V1::RemoteIdentityGroupGetResponse
40
40
  # // Update replaces all the fields of a RemoteIdentityGroup by ID.
41
41
  # rpc Update(RemoteIdentityGroupUpdateRequest) returns (RemoteIdentityGroupUpdateResponse) {
42
42
  # option (v1.method_options).method = "put";
@@ -50,7 +50,7 @@ module V1
50
50
  # }
51
51
  #
52
52
  # List gets a list of RemoteIdentityGroups matching a given set of criteria.
53
- rpc :List, V1::RemoteIdentityGroupListRequest, V1::RemoteIdentityGroupListResponse
53
+ rpc :List, ::V1::RemoteIdentityGroupListRequest, ::V1::RemoteIdentityGroupListResponse
54
54
  end
55
55
 
56
56
  Stub = Service.rpc_stub_class
@@ -20,6 +20,7 @@ require "google/protobuf"
20
20
  require "google/protobuf/duration_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
+
23
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  add_file("replays.proto", :syntax => :proto3) do
25
26
  add_message "v1.ReplayListRequest" do
@@ -23,14 +23,14 @@ module V1
23
23
  # A Replay captures the data transferred over a long-running SSH, RDP, or Kubernetes interactive session
24
24
  # (otherwise referred to as a query). The Replays service is read-only.
25
25
  class Service
26
- include GRPC::GenericService
26
+ include ::GRPC::GenericService
27
27
 
28
28
  self.marshal_class_method = :encode
29
29
  self.unmarshal_class_method = :decode
30
30
  self.service_name = "v1.Replays"
31
31
 
32
32
  # List gets a list of ReplayChunks for the Query ID specified by the filter criteria.
33
- rpc :List, V1::ReplayListRequest, V1::ReplayListResponse
33
+ rpc :List, ::V1::ReplayListRequest, ::V1::ReplayListResponse
34
34
  end
35
35
 
36
36
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "drivers_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("resources_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.ResourceHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module ResourcesHistory
23
23
  # ResourcesHistory records all changes to the state of a Resource.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.ResourcesHistory"
30
30
 
31
31
  # List gets a list of ResourceHistory records matching a given set of criteria.
32
- rpc :List, V1::ResourceHistoryListRequest, V1::ResourceHistoryListResponse
32
+ rpc :List, ::V1::ResourceHistoryListRequest, ::V1::ResourceHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "options_pb"
21
21
  require "spec_pb"
22
22
  require "drivers_pb"
23
23
  require "tags_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("resources.proto", :syntax => :proto3) do
26
27
  add_message "v1.ResourceCreateRequest" do
@@ -23,24 +23,24 @@ module V1
23
23
  # Resources are databases, servers, clusters, websites, or clouds that strongDM
24
24
  # delegates access to.
25
25
  class Service
26
- include GRPC::GenericService
26
+ include ::GRPC::GenericService
27
27
 
28
28
  self.marshal_class_method = :encode
29
29
  self.unmarshal_class_method = :decode
30
30
  self.service_name = "v1.Resources"
31
31
 
32
32
  # EnumerateTags gets a list of the filter matching tags.
33
- rpc :EnumerateTags, V1::EnumerateTagsRequest, V1::EnumerateTagsResponse
33
+ rpc :EnumerateTags, ::V1::EnumerateTagsRequest, ::V1::EnumerateTagsResponse
34
34
  # Create registers a new Resource.
35
- rpc :Create, V1::ResourceCreateRequest, V1::ResourceCreateResponse
35
+ rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
36
36
  # Get reads one Resource by ID.
37
- rpc :Get, V1::ResourceGetRequest, V1::ResourceGetResponse
37
+ rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
38
38
  # Update replaces all the fields of a Resource by ID.
39
- rpc :Update, V1::ResourceUpdateRequest, V1::ResourceUpdateResponse
39
+ rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
40
40
  # Delete removes a Resource by ID.
41
- rpc :Delete, V1::ResourceDeleteRequest, V1::ResourceDeleteResponse
41
+ rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
42
42
  # List gets a list of Resources matching a given set of criteria.
43
- rpc :List, V1::ResourceListRequest, V1::ResourceListResponse
43
+ rpc :List, ::V1::ResourceListRequest, ::V1::ResourceListResponse
44
44
  end
45
45
 
46
46
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "role_resources_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("role_resources_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.RoleResourceHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module RoleResourcesHistory
23
23
  # RoleResourcesHistory records all changes to the state of a RoleResource.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.RoleResourcesHistory"
30
30
 
31
31
  # List gets a list of RoleResourceHistory records matching a given set of criteria.
32
- rpc :List, V1::RoleResourceHistoryListRequest, V1::RoleResourceHistoryListResponse
32
+ rpc :List, ::V1::RoleResourceHistoryListRequest, ::V1::RoleResourceHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
@@ -20,6 +20,7 @@ require "google/protobuf"
20
20
  require "google/protobuf/timestamp_pb"
21
21
  require "options_pb"
22
22
  require "spec_pb"
23
+
23
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  add_file("role_resources.proto", :syntax => :proto3) do
25
26
  add_message "v1.RoleResourceListRequest" do
@@ -23,14 +23,14 @@ module V1
23
23
  # RoleResources enumerates the resources to which roles have access.
24
24
  # The RoleResources service is read-only.
25
25
  class Service
26
- include GRPC::GenericService
26
+ include ::GRPC::GenericService
27
27
 
28
28
  self.marshal_class_method = :encode
29
29
  self.unmarshal_class_method = :decode
30
30
  self.service_name = "v1.RoleResources"
31
31
 
32
32
  # List gets a list of RoleResource records matching a given set of criteria.
33
- rpc :List, V1::RoleResourceListRequest, V1::RoleResourceListResponse
33
+ rpc :List, ::V1::RoleResourceListRequest, ::V1::RoleResourceListResponse
34
34
  end
35
35
 
36
36
  Stub = Service.rpc_stub_class
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "roles_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("roles_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.RoleHistoryListRequest" do
@@ -22,14 +22,14 @@ module V1
22
22
  module RolesHistory
23
23
  # RolesHistory records all changes to the state of a Role.
24
24
  class Service
25
- include GRPC::GenericService
25
+ include ::GRPC::GenericService
26
26
 
27
27
  self.marshal_class_method = :encode
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.RolesHistory"
30
30
 
31
31
  # List gets a list of RoleHistory records matching a given set of criteria.
32
- rpc :List, V1::RoleHistoryListRequest, V1::RoleHistoryListResponse
32
+ rpc :List, ::V1::RoleHistoryListRequest, ::V1::RoleHistoryListResponse
33
33
  end
34
34
 
35
35
  Stub = Service.rpc_stub_class
data/lib/grpc/roles_pb.rb CHANGED
@@ -20,6 +20,7 @@ require "google/protobuf"
20
20
  require "options_pb"
21
21
  require "spec_pb"
22
22
  require "tags_pb"
23
+
23
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  add_file("roles.proto", :syntax => :proto3) do
25
26
  add_message "v1.RoleCreateRequest" do
@@ -24,22 +24,22 @@ module V1
24
24
  # of the Role have access to. An Account can be a member of multiple Roles via
25
25
  # AccountAttachments.
26
26
  class Service
27
- include GRPC::GenericService
27
+ include ::GRPC::GenericService
28
28
 
29
29
  self.marshal_class_method = :encode
30
30
  self.unmarshal_class_method = :decode
31
31
  self.service_name = "v1.Roles"
32
32
 
33
33
  # Create registers a new Role.
34
- rpc :Create, V1::RoleCreateRequest, V1::RoleCreateResponse
34
+ rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
35
35
  # Get reads one Role by ID.
36
- rpc :Get, V1::RoleGetRequest, V1::RoleGetResponse
36
+ rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
37
37
  # Update replaces all the fields of a Role by ID.
38
- rpc :Update, V1::RoleUpdateRequest, V1::RoleUpdateResponse
38
+ rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
39
39
  # Delete removes a Role by ID.
40
- rpc :Delete, V1::RoleDeleteRequest, V1::RoleDeleteResponse
40
+ rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
41
41
  # List gets a list of Roles matching a given set of criteria.
42
- rpc :List, V1::RoleListRequest, V1::RoleListResponse
42
+ rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -19,6 +19,7 @@ require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
21
  require "tags_pb"
22
+
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("secret_store_types.proto", :syntax => :proto3) do
24
25
  add_message "v1.SecretStore" do
@@ -21,6 +21,7 @@ require "google/protobuf/timestamp_pb"
21
21
  require "secret_store_types_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("secret_stores_history.proto", :syntax => :proto3) do
26
27
  add_message "v1.SecretStoreHistoryListRequest" do