class documentation

class VisibilityPolicy(bb.Struct): (source)

View In Hierarchy

:ivar sharing.VisibilityPolicy.policy: This is the value to submit when saving the visibility setting. :ivar sharing.VisibilityPolicy.resolved_policy: This is what the effective policy would be, if you selected this option. The resolved policy is obtained after considering external effects such as shared folder settings and team policy. This value is guaranteed to be provided. :ivar sharing.VisibilityPolicy.allowed: Whether the user is permitted to set the visibility to this policy. :ivar sharing.VisibilityPolicy.disallowed_reason: If ``allowed`` is ``False``, this will provide the reason that the user is not permitted to set the visibility to this policy.

Method __init__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable allowed Undocumented
Instance Variable disallowed_reason Undocumented
Instance Variable policy Undocumented
Instance Variable resolved_policy Undocumented
Method _process_custom_annotations Undocumented
Class Variable _has_required_fields Undocumented
Instance Variable _allowed_value Undocumented
Instance Variable _disallowed_reason_value Undocumented
Instance Variable _policy_value Undocumented
Instance Variable _resolved_policy_value Undocumented
def __init__(self, policy=None, resolved_policy=None, allowed=None, disallowed_reason=None): (source)

Undocumented

__slots__: list[str] = (source)

Undocumented

Undocumented

disallowed_reason = (source)

Undocumented

Undocumented

resolved_policy = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_has_required_fields: bool = (source)

Undocumented

_allowed_value = (source)

Undocumented

_disallowed_reason_value = (source)

Undocumented

_policy_value = (source)

Undocumented

_resolved_policy_value = (source)

Undocumented