strongdm 9.0.0__zip → 9.1.0__zip
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.
- {strongdm-9.0.0 → strongdm-9.1.0}/PKG-INFO +2 -2
- {strongdm-9.0.0 → strongdm-9.1.0}/setup.py +2 -2
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/client.py +1 -1
- strongdm-9.1.0/strongdm/identity_sets_pb2.py +216 -0
- strongdm-9.1.0/strongdm/identity_sets_pb2_grpc.py +223 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/models.py +149 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/plumbing.py +116 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/svc.py +101 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm.egg-info/PKG-INFO +2 -2
- strongdm-9.0.0/strongdm/identity_sets_pb2.py +0 -122
- strongdm-9.0.0/strongdm/identity_sets_pb2_grpc.py +0 -139
- {strongdm-9.0.0 → strongdm-9.1.0}/LICENSE +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/README.md +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/setup.cfg +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/__init__.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/access_request_events_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/access_requests_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/access_requests_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/access_requests_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_attachments_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_attachments_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_grants_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_grants_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_grants_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_permissions_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_resources_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_resources_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/account_resources_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/accounts_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/accounts_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/accounts_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/activities_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/activities_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflow_steps_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflows_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflows_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/constants.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/control_panel_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/control_panel_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/drivers_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/drivers_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/errors.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/identity_aliases_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/identity_aliases_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/identity_aliases_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/identity_aliases_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/identity_sets_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/identity_sets_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/nodes_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/nodes_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/nodes_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/options_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/options_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/organization_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/organization_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_group_nodes_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_group_peers_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_group_resources_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_groups_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/queries_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/queries_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identities_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identities_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/replays_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/replays_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/resources_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/resources_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/resources_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/resources_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/role_resources_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/role_resources_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/role_resources_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/roles_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/roles_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/roles_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/roles_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_store_healths_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_store_types_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_stores_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_stores_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/spec_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/spec_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/tags_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/tags_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_approvers_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_approvers_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_assignments_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_assignments_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_assignments_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_assignments_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_roles_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_roles_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflows_history_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflows_pb2.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm/workflows_pb2_grpc.py +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm.egg-info/SOURCES.txt +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm.egg-info/dependency_links.txt +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm.egg-info/requires.txt +0 -0
- {strongdm-9.0.0 → strongdm-9.1.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -5308,6 +5308,82 @@ def convert_repeated_identity_set_to_porcelain(plumbings):
|
|
5308
5308
|
]
|
5309
5309
|
|
5310
5310
|
|
5311
|
+
def convert_identity_set_create_response_to_porcelain(plumbing):
|
5312
|
+
if plumbing is None:
|
5313
|
+
return None
|
5314
|
+
porcelain = models.IdentitySetCreateResponse()
|
5315
|
+
porcelain.identity_set = convert_identity_set_to_porcelain(
|
5316
|
+
plumbing.identity_set)
|
5317
|
+
porcelain.meta = convert_create_response_metadata_to_porcelain(
|
5318
|
+
plumbing.meta)
|
5319
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
5320
|
+
plumbing.rate_limit)
|
5321
|
+
return porcelain
|
5322
|
+
|
5323
|
+
|
5324
|
+
def convert_identity_set_create_response_to_plumbing(porcelain):
|
5325
|
+
plumbing = IdentitySetCreateResponse()
|
5326
|
+
if porcelain is None:
|
5327
|
+
return plumbing
|
5328
|
+
plumbing.identity_set.CopyFrom(
|
5329
|
+
convert_identity_set_to_plumbing(porcelain.identity_set))
|
5330
|
+
plumbing.meta.CopyFrom(
|
5331
|
+
convert_create_response_metadata_to_plumbing(porcelain.meta))
|
5332
|
+
plumbing.rate_limit.CopyFrom(
|
5333
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
5334
|
+
return plumbing
|
5335
|
+
|
5336
|
+
|
5337
|
+
def convert_repeated_identity_set_create_response_to_plumbing(porcelains):
|
5338
|
+
return [
|
5339
|
+
convert_identity_set_create_response_to_plumbing(porcelain)
|
5340
|
+
for porcelain in porcelains
|
5341
|
+
]
|
5342
|
+
|
5343
|
+
|
5344
|
+
def convert_repeated_identity_set_create_response_to_porcelain(plumbings):
|
5345
|
+
return [
|
5346
|
+
convert_identity_set_create_response_to_porcelain(plumbing)
|
5347
|
+
for plumbing in plumbings
|
5348
|
+
]
|
5349
|
+
|
5350
|
+
|
5351
|
+
def convert_identity_set_delete_response_to_porcelain(plumbing):
|
5352
|
+
if plumbing is None:
|
5353
|
+
return None
|
5354
|
+
porcelain = models.IdentitySetDeleteResponse()
|
5355
|
+
porcelain.meta = convert_delete_response_metadata_to_porcelain(
|
5356
|
+
plumbing.meta)
|
5357
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
5358
|
+
plumbing.rate_limit)
|
5359
|
+
return porcelain
|
5360
|
+
|
5361
|
+
|
5362
|
+
def convert_identity_set_delete_response_to_plumbing(porcelain):
|
5363
|
+
plumbing = IdentitySetDeleteResponse()
|
5364
|
+
if porcelain is None:
|
5365
|
+
return plumbing
|
5366
|
+
plumbing.meta.CopyFrom(
|
5367
|
+
convert_delete_response_metadata_to_plumbing(porcelain.meta))
|
5368
|
+
plumbing.rate_limit.CopyFrom(
|
5369
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
5370
|
+
return plumbing
|
5371
|
+
|
5372
|
+
|
5373
|
+
def convert_repeated_identity_set_delete_response_to_plumbing(porcelains):
|
5374
|
+
return [
|
5375
|
+
convert_identity_set_delete_response_to_plumbing(porcelain)
|
5376
|
+
for porcelain in porcelains
|
5377
|
+
]
|
5378
|
+
|
5379
|
+
|
5380
|
+
def convert_repeated_identity_set_delete_response_to_porcelain(plumbings):
|
5381
|
+
return [
|
5382
|
+
convert_identity_set_delete_response_to_porcelain(plumbing)
|
5383
|
+
for plumbing in plumbings
|
5384
|
+
]
|
5385
|
+
|
5386
|
+
|
5311
5387
|
def convert_identity_set_get_response_to_porcelain(plumbing):
|
5312
5388
|
if plumbing is None:
|
5313
5389
|
return None
|
@@ -5387,6 +5463,46 @@ def convert_repeated_identity_set_history_to_porcelain(plumbings):
|
|
5387
5463
|
]
|
5388
5464
|
|
5389
5465
|
|
5466
|
+
def convert_identity_set_update_response_to_porcelain(plumbing):
|
5467
|
+
if plumbing is None:
|
5468
|
+
return None
|
5469
|
+
porcelain = models.IdentitySetUpdateResponse()
|
5470
|
+
porcelain.identity_set = convert_identity_set_to_porcelain(
|
5471
|
+
plumbing.identity_set)
|
5472
|
+
porcelain.meta = convert_update_response_metadata_to_porcelain(
|
5473
|
+
plumbing.meta)
|
5474
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(
|
5475
|
+
plumbing.rate_limit)
|
5476
|
+
return porcelain
|
5477
|
+
|
5478
|
+
|
5479
|
+
def convert_identity_set_update_response_to_plumbing(porcelain):
|
5480
|
+
plumbing = IdentitySetUpdateResponse()
|
5481
|
+
if porcelain is None:
|
5482
|
+
return plumbing
|
5483
|
+
plumbing.identity_set.CopyFrom(
|
5484
|
+
convert_identity_set_to_plumbing(porcelain.identity_set))
|
5485
|
+
plumbing.meta.CopyFrom(
|
5486
|
+
convert_update_response_metadata_to_plumbing(porcelain.meta))
|
5487
|
+
plumbing.rate_limit.CopyFrom(
|
5488
|
+
convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit))
|
5489
|
+
return plumbing
|
5490
|
+
|
5491
|
+
|
5492
|
+
def convert_repeated_identity_set_update_response_to_plumbing(porcelains):
|
5493
|
+
return [
|
5494
|
+
convert_identity_set_update_response_to_plumbing(porcelain)
|
5495
|
+
for porcelain in porcelains
|
5496
|
+
]
|
5497
|
+
|
5498
|
+
|
5499
|
+
def convert_repeated_identity_set_update_response_to_porcelain(plumbings):
|
5500
|
+
return [
|
5501
|
+
convert_identity_set_update_response_to_porcelain(plumbing)
|
5502
|
+
for plumbing in plumbings
|
5503
|
+
]
|
5504
|
+
|
5505
|
+
|
5390
5506
|
def convert_keyfactor_ssh_store_to_porcelain(plumbing):
|
5391
5507
|
if plumbing is None:
|
5392
5508
|
return None
|
@@ -2328,6 +2328,41 @@ class IdentitySets:
|
|
2328
2328
|
self.parent = client
|
2329
2329
|
self.stub = IdentitySetsStub(channel)
|
2330
2330
|
|
2331
|
+
def create(self, identity_set, timeout=None):
|
2332
|
+
'''
|
2333
|
+
Create registers a new IdentitySet.
|
2334
|
+
'''
|
2335
|
+
req = IdentitySetCreateRequest()
|
2336
|
+
|
2337
|
+
if identity_set is not None:
|
2338
|
+
req.identity_set.CopyFrom(
|
2339
|
+
plumbing.convert_identity_set_to_plumbing(identity_set))
|
2340
|
+
tries = 0
|
2341
|
+
plumbing_response = None
|
2342
|
+
while True:
|
2343
|
+
try:
|
2344
|
+
plumbing_response = self.stub.Create(
|
2345
|
+
req,
|
2346
|
+
metadata=self.parent.get_metadata('IdentitySets.Create',
|
2347
|
+
req),
|
2348
|
+
timeout=timeout)
|
2349
|
+
except Exception as e:
|
2350
|
+
if self.parent.shouldRetry(tries, e):
|
2351
|
+
tries += 1
|
2352
|
+
self.parent.jitterSleep(tries)
|
2353
|
+
continue
|
2354
|
+
raise plumbing.convert_error_to_porcelain(e) from e
|
2355
|
+
break
|
2356
|
+
|
2357
|
+
resp = models.IdentitySetCreateResponse()
|
2358
|
+
resp.identity_set = plumbing.convert_identity_set_to_porcelain(
|
2359
|
+
plumbing_response.identity_set)
|
2360
|
+
resp.meta = plumbing.convert_create_response_metadata_to_porcelain(
|
2361
|
+
plumbing_response.meta)
|
2362
|
+
resp.rate_limit = plumbing.convert_rate_limit_metadata_to_porcelain(
|
2363
|
+
plumbing_response.rate_limit)
|
2364
|
+
return resp
|
2365
|
+
|
2331
2366
|
def get(self, id, timeout=None):
|
2332
2367
|
'''
|
2333
2368
|
Get reads one IdentitySet by ID.
|
@@ -2363,6 +2398,72 @@ class IdentitySets:
|
|
2363
2398
|
plumbing_response.rate_limit)
|
2364
2399
|
return resp
|
2365
2400
|
|
2401
|
+
def update(self, identity_set, timeout=None):
|
2402
|
+
'''
|
2403
|
+
Update replaces all the fields of a IdentitySet by ID.
|
2404
|
+
'''
|
2405
|
+
req = IdentitySetUpdateRequest()
|
2406
|
+
|
2407
|
+
if identity_set is not None:
|
2408
|
+
req.identity_set.CopyFrom(
|
2409
|
+
plumbing.convert_identity_set_to_plumbing(identity_set))
|
2410
|
+
tries = 0
|
2411
|
+
plumbing_response = None
|
2412
|
+
while True:
|
2413
|
+
try:
|
2414
|
+
plumbing_response = self.stub.Update(
|
2415
|
+
req,
|
2416
|
+
metadata=self.parent.get_metadata('IdentitySets.Update',
|
2417
|
+
req),
|
2418
|
+
timeout=timeout)
|
2419
|
+
except Exception as e:
|
2420
|
+
if self.parent.shouldRetry(tries, e):
|
2421
|
+
tries += 1
|
2422
|
+
self.parent.jitterSleep(tries)
|
2423
|
+
continue
|
2424
|
+
raise plumbing.convert_error_to_porcelain(e) from e
|
2425
|
+
break
|
2426
|
+
|
2427
|
+
resp = models.IdentitySetUpdateResponse()
|
2428
|
+
resp.identity_set = plumbing.convert_identity_set_to_porcelain(
|
2429
|
+
plumbing_response.identity_set)
|
2430
|
+
resp.meta = plumbing.convert_update_response_metadata_to_porcelain(
|
2431
|
+
plumbing_response.meta)
|
2432
|
+
resp.rate_limit = plumbing.convert_rate_limit_metadata_to_porcelain(
|
2433
|
+
plumbing_response.rate_limit)
|
2434
|
+
return resp
|
2435
|
+
|
2436
|
+
def delete(self, id, timeout=None):
|
2437
|
+
'''
|
2438
|
+
Delete removes a IdentitySet by ID.
|
2439
|
+
'''
|
2440
|
+
req = IdentitySetDeleteRequest()
|
2441
|
+
|
2442
|
+
req.id = (id)
|
2443
|
+
tries = 0
|
2444
|
+
plumbing_response = None
|
2445
|
+
while True:
|
2446
|
+
try:
|
2447
|
+
plumbing_response = self.stub.Delete(
|
2448
|
+
req,
|
2449
|
+
metadata=self.parent.get_metadata('IdentitySets.Delete',
|
2450
|
+
req),
|
2451
|
+
timeout=timeout)
|
2452
|
+
except Exception as e:
|
2453
|
+
if self.parent.shouldRetry(tries, e):
|
2454
|
+
tries += 1
|
2455
|
+
self.parent.jitterSleep(tries)
|
2456
|
+
continue
|
2457
|
+
raise plumbing.convert_error_to_porcelain(e) from e
|
2458
|
+
break
|
2459
|
+
|
2460
|
+
resp = models.IdentitySetDeleteResponse()
|
2461
|
+
resp.meta = plumbing.convert_delete_response_metadata_to_porcelain(
|
2462
|
+
plumbing_response.meta)
|
2463
|
+
resp.rate_limit = plumbing.convert_rate_limit_metadata_to_porcelain(
|
2464
|
+
plumbing_response.rate_limit)
|
2465
|
+
return resp
|
2466
|
+
|
2366
2467
|
def list(self, filter, *args, timeout=None):
|
2367
2468
|
'''
|
2368
2469
|
List gets a list of IdentitySets matching a given set of criteria.
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: strongdm
|
3
|
-
Version: 9.
|
3
|
+
Version: 9.1.0
|
4
4
|
Summary: strongDM SDK for the Python programming language.
|
5
5
|
Home-page: https://github.com/strongdm/strongdm-sdk-python
|
6
6
|
Author: strongDM Team
|
7
7
|
Author-email: sdk-feedback@strongdm.com
|
8
8
|
License: apache-2.0
|
9
|
-
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v9.
|
9
|
+
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v9.1.0.tar.gz
|
10
10
|
Keywords: strongDM,sdm,api,automation,security,audit,database,server,ssh,rdp
|
11
11
|
Platform: UNKNOWN
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
@@ -1,122 +0,0 @@
|
|
1
|
-
# Copyright 2020 StrongDM Inc
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
#
|
15
|
-
# -*- coding: utf-8 -*-
|
16
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
17
|
-
# source: identity_sets.proto
|
18
|
-
"""Generated protocol buffer code."""
|
19
|
-
from google.protobuf import descriptor as _descriptor
|
20
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
21
|
-
from google.protobuf import message as _message
|
22
|
-
from google.protobuf import reflection as _reflection
|
23
|
-
from google.protobuf import symbol_database as _symbol_database
|
24
|
-
# @@protoc_insertion_point(imports)
|
25
|
-
|
26
|
-
_sym_db = _symbol_database.Default()
|
27
|
-
|
28
|
-
|
29
|
-
from . import options_pb2 as options__pb2
|
30
|
-
from . import spec_pb2 as spec__pb2
|
31
|
-
|
32
|
-
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13identity_sets.proto\x12\x02v1\x1a\roptions.proto\x1a\nspec.proto\"U\n\x15IdentitySetGetRequest\x12$\n\x04meta\x18\x01 \x01(\x0b\x32\x16.v1.GetRequestMetadata\x12\x16\n\x02id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xe3\x01\n\x16IdentitySetGetResponse\x12\x31\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.GetResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x31\n\x0cidentity_set\x18\x02 \x01(\x0b\x32\x0f.v1.IdentitySetB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"[\n\x16IdentitySetListRequest\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.ListRequestMetadata\x12\x1a\n\x06\x66ilter\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xce\x01\n\x17IdentitySetListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12\x32\n\ridentity_sets\x18\x02 \x03(\x0b\x32\x0f.v1.IdentitySetB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway\"\xac\x01\n\x0bIdentitySet\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1d\n\x04name\x18\x02 \x01(\tB\x0f\xf2\xf8\xb3\x07\n\xb0\xf3\xb3\x07\x01\xc0\xf3\xb3\x07\x01:f\xfa\xf8\xb3\x07\x61\xa8\xf3\xb3\x07\x01\xc2\xf3\xb3\x07W\xa2\xf3\xb3\x07%tf_examples/identity_set_resource.txt\xaa\xf3\xb3\x07(tf_examples/identity_set_data_source.txt2\x8a\x02\n\x0cIdentitySets\x12k\n\x03Get\x12\x19.v1.IdentitySetGetRequest\x1a\x1a.v1.IdentitySetGetResponse\"-\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x1b\xaa\xf3\xb3\x07\x16/v1/identity-sets/{id}\x12i\n\x04List\x12\x1a.v1.IdentitySetListRequest\x1a\x1b.v1.IdentitySetListResponse\"(\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x16\xaa\xf3\xb3\x07\x11/v1/identity-sets\x1a\"\xca\xf9\xb3\x07\x10\xc2\xf9\xb3\x07\x0bIdentitySet\xca\xf9\xb3\x07\x08\xd2\xf9\xb3\x07\x03ig-Bh\n\x19\x63om.strongdm.api.plumbingB\x14IdentitySetsPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
_IDENTITYSETGETREQUEST = DESCRIPTOR.message_types_by_name['IdentitySetGetRequest']
|
38
|
-
_IDENTITYSETGETRESPONSE = DESCRIPTOR.message_types_by_name['IdentitySetGetResponse']
|
39
|
-
_IDENTITYSETLISTREQUEST = DESCRIPTOR.message_types_by_name['IdentitySetListRequest']
|
40
|
-
_IDENTITYSETLISTRESPONSE = DESCRIPTOR.message_types_by_name['IdentitySetListResponse']
|
41
|
-
_IDENTITYSET = DESCRIPTOR.message_types_by_name['IdentitySet']
|
42
|
-
IdentitySetGetRequest = _reflection.GeneratedProtocolMessageType('IdentitySetGetRequest', (_message.Message,), {
|
43
|
-
'DESCRIPTOR' : _IDENTITYSETGETREQUEST,
|
44
|
-
'__module__' : 'identity_sets_pb2'
|
45
|
-
# @@protoc_insertion_point(class_scope:v1.IdentitySetGetRequest)
|
46
|
-
})
|
47
|
-
_sym_db.RegisterMessage(IdentitySetGetRequest)
|
48
|
-
|
49
|
-
IdentitySetGetResponse = _reflection.GeneratedProtocolMessageType('IdentitySetGetResponse', (_message.Message,), {
|
50
|
-
'DESCRIPTOR' : _IDENTITYSETGETRESPONSE,
|
51
|
-
'__module__' : 'identity_sets_pb2'
|
52
|
-
# @@protoc_insertion_point(class_scope:v1.IdentitySetGetResponse)
|
53
|
-
})
|
54
|
-
_sym_db.RegisterMessage(IdentitySetGetResponse)
|
55
|
-
|
56
|
-
IdentitySetListRequest = _reflection.GeneratedProtocolMessageType('IdentitySetListRequest', (_message.Message,), {
|
57
|
-
'DESCRIPTOR' : _IDENTITYSETLISTREQUEST,
|
58
|
-
'__module__' : 'identity_sets_pb2'
|
59
|
-
# @@protoc_insertion_point(class_scope:v1.IdentitySetListRequest)
|
60
|
-
})
|
61
|
-
_sym_db.RegisterMessage(IdentitySetListRequest)
|
62
|
-
|
63
|
-
IdentitySetListResponse = _reflection.GeneratedProtocolMessageType('IdentitySetListResponse', (_message.Message,), {
|
64
|
-
'DESCRIPTOR' : _IDENTITYSETLISTRESPONSE,
|
65
|
-
'__module__' : 'identity_sets_pb2'
|
66
|
-
# @@protoc_insertion_point(class_scope:v1.IdentitySetListResponse)
|
67
|
-
})
|
68
|
-
_sym_db.RegisterMessage(IdentitySetListResponse)
|
69
|
-
|
70
|
-
IdentitySet = _reflection.GeneratedProtocolMessageType('IdentitySet', (_message.Message,), {
|
71
|
-
'DESCRIPTOR' : _IDENTITYSET,
|
72
|
-
'__module__' : 'identity_sets_pb2'
|
73
|
-
# @@protoc_insertion_point(class_scope:v1.IdentitySet)
|
74
|
-
})
|
75
|
-
_sym_db.RegisterMessage(IdentitySet)
|
76
|
-
|
77
|
-
_IDENTITYSETS = DESCRIPTOR.services_by_name['IdentitySets']
|
78
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
79
|
-
|
80
|
-
DESCRIPTOR._options = None
|
81
|
-
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\024IdentitySetsPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
|
82
|
-
_IDENTITYSETGETREQUEST.fields_by_name['id']._options = None
|
83
|
-
_IDENTITYSETGETREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
84
|
-
_IDENTITYSETGETRESPONSE.fields_by_name['meta']._options = None
|
85
|
-
_IDENTITYSETGETRESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
86
|
-
_IDENTITYSETGETRESPONSE.fields_by_name['identity_set']._options = None
|
87
|
-
_IDENTITYSETGETRESPONSE.fields_by_name['identity_set']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
88
|
-
_IDENTITYSETGETRESPONSE.fields_by_name['rate_limit']._options = None
|
89
|
-
_IDENTITYSETGETRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
|
90
|
-
_IDENTITYSETGETRESPONSE._options = None
|
91
|
-
_IDENTITYSETGETRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
92
|
-
_IDENTITYSETLISTREQUEST.fields_by_name['filter']._options = None
|
93
|
-
_IDENTITYSETLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
94
|
-
_IDENTITYSETLISTRESPONSE.fields_by_name['identity_sets']._options = None
|
95
|
-
_IDENTITYSETLISTRESPONSE.fields_by_name['identity_sets']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
96
|
-
_IDENTITYSETLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
97
|
-
_IDENTITYSETLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
|
98
|
-
_IDENTITYSET.fields_by_name['id']._options = None
|
99
|
-
_IDENTITYSET.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
100
|
-
_IDENTITYSET.fields_by_name['name']._options = None
|
101
|
-
_IDENTITYSET.fields_by_name['name']._serialized_options = b'\362\370\263\007\n\260\363\263\007\001\300\363\263\007\001'
|
102
|
-
_IDENTITYSET._options = None
|
103
|
-
_IDENTITYSET._serialized_options = b'\372\370\263\007a\250\363\263\007\001\302\363\263\007W\242\363\263\007%tf_examples/identity_set_resource.txt\252\363\263\007(tf_examples/identity_set_data_source.txt'
|
104
|
-
_IDENTITYSETS._options = None
|
105
|
-
_IDENTITYSETS._serialized_options = b'\312\371\263\007\020\302\371\263\007\013IdentitySet\312\371\263\007\010\322\371\263\007\003ig-'
|
106
|
-
_IDENTITYSETS.methods_by_name['Get']._options = None
|
107
|
-
_IDENTITYSETS.methods_by_name['Get']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\033\252\363\263\007\026/v1/identity-sets/{id}'
|
108
|
-
_IDENTITYSETS.methods_by_name['List']._options = None
|
109
|
-
_IDENTITYSETS.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\026\252\363\263\007\021/v1/identity-sets'
|
110
|
-
_IDENTITYSETGETREQUEST._serialized_start=54
|
111
|
-
_IDENTITYSETGETREQUEST._serialized_end=139
|
112
|
-
_IDENTITYSETGETRESPONSE._serialized_start=142
|
113
|
-
_IDENTITYSETGETRESPONSE._serialized_end=369
|
114
|
-
_IDENTITYSETLISTREQUEST._serialized_start=371
|
115
|
-
_IDENTITYSETLISTREQUEST._serialized_end=462
|
116
|
-
_IDENTITYSETLISTRESPONSE._serialized_start=465
|
117
|
-
_IDENTITYSETLISTRESPONSE._serialized_end=671
|
118
|
-
_IDENTITYSET._serialized_start=674
|
119
|
-
_IDENTITYSET._serialized_end=846
|
120
|
-
_IDENTITYSETS._serialized_start=849
|
121
|
-
_IDENTITYSETS._serialized_end=1115
|
122
|
-
# @@protoc_insertion_point(module_scope)
|
@@ -1,139 +0,0 @@
|
|
1
|
-
# Copyright 2020 StrongDM Inc
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
#
|
15
|
-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
16
|
-
"""Client and server classes corresponding to protobuf-defined services."""
|
17
|
-
import grpc
|
18
|
-
|
19
|
-
from . import identity_sets_pb2 as identity__sets__pb2
|
20
|
-
|
21
|
-
|
22
|
-
class IdentitySetsStub(object):
|
23
|
-
"""A IdentitySet is a named grouping of Identity Aliases for Accounts.
|
24
|
-
An Account's relationship to a IdentitySet is defined via IdentityAlias objects.
|
25
|
-
"""
|
26
|
-
|
27
|
-
def __init__(self, channel):
|
28
|
-
"""Constructor.
|
29
|
-
|
30
|
-
Args:
|
31
|
-
channel: A grpc.Channel.
|
32
|
-
"""
|
33
|
-
self.Get = channel.unary_unary(
|
34
|
-
'/v1.IdentitySets/Get',
|
35
|
-
request_serializer=identity__sets__pb2.IdentitySetGetRequest.SerializeToString,
|
36
|
-
response_deserializer=identity__sets__pb2.IdentitySetGetResponse.FromString,
|
37
|
-
)
|
38
|
-
self.List = channel.unary_unary(
|
39
|
-
'/v1.IdentitySets/List',
|
40
|
-
request_serializer=identity__sets__pb2.IdentitySetListRequest.SerializeToString,
|
41
|
-
response_deserializer=identity__sets__pb2.IdentitySetListResponse.FromString,
|
42
|
-
)
|
43
|
-
|
44
|
-
|
45
|
-
class IdentitySetsServicer(object):
|
46
|
-
"""A IdentitySet is a named grouping of Identity Aliases for Accounts.
|
47
|
-
An Account's relationship to a IdentitySet is defined via IdentityAlias objects.
|
48
|
-
"""
|
49
|
-
|
50
|
-
def Get(self, request, context):
|
51
|
-
"""// Create registers a new IdentitySet.
|
52
|
-
rpc Create(IdentitySetCreateRequest) returns (IdentitySetCreateResponse) {
|
53
|
-
option (v1.method_options).method = "post";
|
54
|
-
option (v1.method_options).url = "/v1/identity-sets";
|
55
|
-
}
|
56
|
-
|
57
|
-
Get reads one IdentitySet by ID.
|
58
|
-
"""
|
59
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
60
|
-
context.set_details('Method not implemented!')
|
61
|
-
raise NotImplementedError('Method not implemented!')
|
62
|
-
|
63
|
-
def List(self, request, context):
|
64
|
-
"""// Update replaces all the fields of a IdentitySet by ID.
|
65
|
-
rpc Update(IdentitySetUpdateRequest) returns (IdentitySetUpdateResponse) {
|
66
|
-
option (v1.method_options).method = "put";
|
67
|
-
option (v1.method_options).url = "/v1/identity-sets/{id}";
|
68
|
-
}
|
69
|
-
|
70
|
-
// Delete removes a IdentitySet by ID.
|
71
|
-
rpc Delete(IdentitySetDeleteRequest) returns (IdentitySetDeleteResponse) {
|
72
|
-
option (v1.method_options).method = "delete";
|
73
|
-
option (v1.method_options).url = "/v1/identity-sets/{id}";
|
74
|
-
}
|
75
|
-
|
76
|
-
List gets a list of IdentitySets matching a given set of criteria.
|
77
|
-
"""
|
78
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
79
|
-
context.set_details('Method not implemented!')
|
80
|
-
raise NotImplementedError('Method not implemented!')
|
81
|
-
|
82
|
-
|
83
|
-
def add_IdentitySetsServicer_to_server(servicer, server):
|
84
|
-
rpc_method_handlers = {
|
85
|
-
'Get': grpc.unary_unary_rpc_method_handler(
|
86
|
-
servicer.Get,
|
87
|
-
request_deserializer=identity__sets__pb2.IdentitySetGetRequest.FromString,
|
88
|
-
response_serializer=identity__sets__pb2.IdentitySetGetResponse.SerializeToString,
|
89
|
-
),
|
90
|
-
'List': grpc.unary_unary_rpc_method_handler(
|
91
|
-
servicer.List,
|
92
|
-
request_deserializer=identity__sets__pb2.IdentitySetListRequest.FromString,
|
93
|
-
response_serializer=identity__sets__pb2.IdentitySetListResponse.SerializeToString,
|
94
|
-
),
|
95
|
-
}
|
96
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
97
|
-
'v1.IdentitySets', rpc_method_handlers)
|
98
|
-
server.add_generic_rpc_handlers((generic_handler,))
|
99
|
-
|
100
|
-
|
101
|
-
# This class is part of an EXPERIMENTAL API.
|
102
|
-
class IdentitySets(object):
|
103
|
-
"""A IdentitySet is a named grouping of Identity Aliases for Accounts.
|
104
|
-
An Account's relationship to a IdentitySet is defined via IdentityAlias objects.
|
105
|
-
"""
|
106
|
-
|
107
|
-
@staticmethod
|
108
|
-
def Get(request,
|
109
|
-
target,
|
110
|
-
options=(),
|
111
|
-
channel_credentials=None,
|
112
|
-
call_credentials=None,
|
113
|
-
insecure=False,
|
114
|
-
compression=None,
|
115
|
-
wait_for_ready=None,
|
116
|
-
timeout=None,
|
117
|
-
metadata=None):
|
118
|
-
return grpc.experimental.unary_unary(request, target, '/v1.IdentitySets/Get',
|
119
|
-
identity__sets__pb2.IdentitySetGetRequest.SerializeToString,
|
120
|
-
identity__sets__pb2.IdentitySetGetResponse.FromString,
|
121
|
-
options, channel_credentials,
|
122
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
123
|
-
|
124
|
-
@staticmethod
|
125
|
-
def List(request,
|
126
|
-
target,
|
127
|
-
options=(),
|
128
|
-
channel_credentials=None,
|
129
|
-
call_credentials=None,
|
130
|
-
insecure=False,
|
131
|
-
compression=None,
|
132
|
-
wait_for_ready=None,
|
133
|
-
timeout=None,
|
134
|
-
metadata=None):
|
135
|
-
return grpc.experimental.unary_unary(request, target, '/v1.IdentitySets/List',
|
136
|
-
identity__sets__pb2.IdentitySetListRequest.SerializeToString,
|
137
|
-
identity__sets__pb2.IdentitySetListResponse.FromString,
|
138
|
-
options, channel_credentials,
|
139
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|