dropbox.team_policies – Team Policies

class dropbox.team_policies.CameraUploadsPolicyState(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = CameraUploadsPolicyState('disabled', None)
enabled = CameraUploadsPolicyState('enabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_enabled()

Check if the union tag is enabled.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
other = CameraUploadsPolicyState('other', None)
class dropbox.team_policies.EmmState(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = EmmState('disabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_optional()

Check if the union tag is optional.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_required()

Check if the union tag is required.

Return type:bool
optional = EmmState('optional', None)
other = EmmState('other', None)
required = EmmState('required', None)
class dropbox.team_policies.GroupCreation(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
admins_and_members = GroupCreation('admins_and_members', None)
admins_only = GroupCreation('admins_only', None)
is_admins_and_members()

Check if the union tag is admins_and_members.

Return type:bool
is_admins_only()

Check if the union tag is admins_only.

Return type:bool
class dropbox.team_policies.OfficeAddInPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = OfficeAddInPolicy('disabled', None)
enabled = OfficeAddInPolicy('enabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_enabled()

Check if the union tag is enabled.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
other = OfficeAddInPolicy('other', None)
class dropbox.team_policies.PaperDeploymentPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
full = PaperDeploymentPolicy('full', None)
is_full()

Check if the union tag is full.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_partial()

Check if the union tag is partial.

Return type:bool
other = PaperDeploymentPolicy('other', None)
partial = PaperDeploymentPolicy('partial', None)
class dropbox.team_policies.PaperEnabledPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = PaperEnabledPolicy('disabled', None)
enabled = PaperEnabledPolicy('enabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_enabled()

Check if the union tag is enabled.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_unspecified()

Check if the union tag is unspecified.

Return type:bool
other = PaperEnabledPolicy('other', None)
unspecified = PaperEnabledPolicy('unspecified', None)
class dropbox.team_policies.PasswordStrengthPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
is_minimal_requirements()

Check if the union tag is minimal_requirements.

Return type:bool
is_moderate_password()

Check if the union tag is moderate_password.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_strong_password()

Check if the union tag is strong_password.

Return type:bool
minimal_requirements = PasswordStrengthPolicy('minimal_requirements', None)
moderate_password = PasswordStrengthPolicy('moderate_password', None)
other = PasswordStrengthPolicy('other', None)
strong_password = PasswordStrengthPolicy('strong_password', None)
class dropbox.team_policies.RolloutMethod(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
add_member_to_exceptions = RolloutMethod('add_member_to_exceptions', None)
is_add_member_to_exceptions()

Check if the union tag is add_member_to_exceptions.

Return type:bool

Check if the union tag is unlink_all.

Return type:bool

Check if the union tag is unlink_most_inactive.

Return type:bool
class dropbox.team_policies.SharedFolderJoinPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

Policy governing which shared folders a team member can join.

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
from_anyone = SharedFolderJoinPolicy('from_anyone', None)
from_team_only = SharedFolderJoinPolicy('from_team_only', None)
is_from_anyone()

Check if the union tag is from_anyone.

Return type:bool
is_from_team_only()

Check if the union tag is from_team_only.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
other = SharedFolderJoinPolicy('other', None)
class dropbox.team_policies.SharedFolderMemberPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

Policy governing who can be a member of a folder shared by a team member.

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
anyone = SharedFolderMemberPolicy('anyone', None)
is_anyone()

Check if the union tag is anyone.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_team()

Check if the union tag is team.

Return type:bool
other = SharedFolderMemberPolicy('other', None)
team = SharedFolderMemberPolicy('team', None)
class dropbox.team_policies.SharedLinkCreatePolicy(tag, value=None)

Bases: dropbox.stone_base.Union

Policy governing the visibility of shared links. This policy can apply to newly created shared links, or all shared links.

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
default_public = SharedLinkCreatePolicy('default_public', None)
default_team_only = SharedLinkCreatePolicy('default_team_only', None)
is_default_public()

Check if the union tag is default_public.

Return type:bool
is_default_team_only()

Check if the union tag is default_team_only.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_team_only()

Check if the union tag is team_only.

Return type:bool
other = SharedLinkCreatePolicy('other', None)
team_only = SharedLinkCreatePolicy('team_only', None)
class dropbox.team_policies.ShowcaseDownloadPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = ShowcaseDownloadPolicy('disabled', None)
enabled = ShowcaseDownloadPolicy('enabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_enabled()

Check if the union tag is enabled.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
other = ShowcaseDownloadPolicy('other', None)
class dropbox.team_policies.ShowcaseEnabledPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = ShowcaseEnabledPolicy('disabled', None)
enabled = ShowcaseEnabledPolicy('enabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_enabled()

Check if the union tag is enabled.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
other = ShowcaseEnabledPolicy('other', None)
class dropbox.team_policies.ShowcaseExternalSharingPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = ShowcaseExternalSharingPolicy('disabled', None)
enabled = ShowcaseExternalSharingPolicy('enabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_enabled()

Check if the union tag is enabled.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
other = ShowcaseExternalSharingPolicy('other', None)
class dropbox.team_policies.SmartSyncPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
is_local()

Check if the union tag is local.

Return type:bool
is_on_demand()

Check if the union tag is on_demand.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
local = SmartSyncPolicy('local', None)
on_demand = SmartSyncPolicy('on_demand', None)
other = SmartSyncPolicy('other', None)
class dropbox.team_policies.SsoPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
disabled = SsoPolicy('disabled', None)
is_disabled()

Check if the union tag is disabled.

Return type:bool
is_optional()

Check if the union tag is optional.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_required()

Check if the union tag is required.

Return type:bool
optional = SsoPolicy('optional', None)
other = SsoPolicy('other', None)
required = SsoPolicy('required', None)
class dropbox.team_policies.TeamMemberPolicies(sharing=None, emm_state=None, office_addin=None)

Bases: dropbox.stone_base.Struct

Policies governing team members.

Variables:
__init__(sharing=None, emm_state=None, office_addin=None)

x.__init__(…) initializes x; see help(type(x)) for signature

emm_state

This describes the Enterprise Mobility Management (EMM) state for this team. This information can be used to understand if an organization is integrating with a third-party EMM vendor to further manage and apply restrictions upon the team’s Dropbox usage on mobile devices. This is a new feature and in the future we’ll be adding more new fields and additional documentation.

Return type:team_policies.EmmState
office_addin

The admin policy around the Dropbox Office Add-In for this team.

Return type:team_policies.OfficeAddInPolicy
sharing

Policies governing sharing.

Return type:team_policies.TeamSharingPolicies
class dropbox.team_policies.TeamSharingPolicies(shared_folder_member_policy=None, shared_folder_join_policy=None, shared_link_create_policy=None)

Bases: dropbox.stone_base.Struct

Policies governing sharing within and outside of the team.

Variables:
__init__(shared_folder_member_policy=None, shared_folder_join_policy=None, shared_link_create_policy=None)

x.__init__(…) initializes x; see help(type(x)) for signature

shared_folder_join_policy

Which shared folders team members can join.

Return type:team_policies.SharedFolderJoinPolicy
shared_folder_member_policy

Who can join folders shared by team members.

Return type:team_policies.SharedFolderMemberPolicy

Who can view shared links owned by team members.

Return type:team_policies.SharedLinkCreatePolicy
class dropbox.team_policies.TwoStepVerificationPolicy(tag, value=None)

Bases: dropbox.stone_base.Union

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

Variables:
is_other()

Check if the union tag is other.

Return type:bool
is_require_tfa_disable()

Check if the union tag is require_tfa_disable.

Return type:bool
is_require_tfa_enable()

Check if the union tag is require_tfa_enable.

Return type:bool
other = TwoStepVerificationPolicy('other', None)
require_tfa_disable = TwoStepVerificationPolicy('require_tfa_disable', None)
require_tfa_enable = TwoStepVerificationPolicy('require_tfa_enable', None)