Skip to main content

decentriq_platform.archv2.release_policy_builder

Classes​

AllowedComputeContext​

AllowedComputeContext(
*args,
**kwargs,
)

A ProtocolMessage

Ancestors (in MRO)

  • google._upb._message.Message
  • google.protobuf.message.Message

DcrComputeContext​

DcrComputeContext(
*args,
**kwargs,
)

A ProtocolMessage

Ancestors (in MRO)

  • google._upb._message.Message
  • google.protobuf.message.Message

ReleasePolicy​

ReleasePolicy(
*args,
**kwargs,
)

A ProtocolMessage

Ancestors (in MRO)

  • google._upb._message.Message
  • google.protobuf.message.Message

ReleasePolicyBuilder​

ReleasePolicyBuilder(
client: Client,
dcr_id: str,
manifest_hash: str,
)

Initialise an instance of the ReleasePolicyBuilder.

Parameters:

  • client: Client object.
  • dcr_id: Unique identifier of the DataRoom.
  • manifest_hash: Unique identifier of the dataset for which the policy will be created.

build​

def build(
self,
) ‑> release_policy_pb2.ReleasePolicy

Build a release policy.

Returns:

  • policy_id: Unique identifier of the release policy.

with_target_leaf_node_name​

def with_target_leaf_node_name(
self,
leaf_node_name: str,
) ‑> Self

Set the target leaf node name.

Parameters:

  • leaf_node_name: Name of the leaf node.

ReleasePolicyV0​

ReleasePolicyV0(
*args,
**kwargs,
)

A ProtocolMessage

Ancestors (in MRO)

  • google._upb._message.Message
  • google.protobuf.message.Message

SecretSource​

SecretSource(
*args,
**kwargs,
)

A ProtocolMessage

Ancestors (in MRO)

  • google._upb._message.Message
  • google.protobuf.message.Message

SecretStoreSource​

SecretStoreSource(
*args,
**kwargs,
)

A ProtocolMessage

Ancestors (in MRO)

  • google._upb._message.Message
  • google.protobuf.message.Message