# 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.

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: team_policies.EmmState.disabled – Emm token is disabled. team_policies.EmmState.optional – Emm token is optional. team_policies.EmmState.required – Emm token is required.
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.

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.

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: team_policies.PaperDeploymentPolicy.full – All team members have access to Paper. team_policies.PaperDeploymentPolicy.partial – Only whitelisted team members can access Paper. To see which user is whitelisted, check ‘is_paper_whitelisted’ on ‘account/info’.
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: team_policies.PaperEnabledPolicy.disabled – Paper is disabled. team_policies.PaperEnabledPolicy.enabled – Paper is enabled. team_policies.PaperEnabledPolicy.unspecified – Unspecified policy.
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.

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.

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: team_policies.SharedFolderJoinPolicy.from_team_only – Team members can only join folders shared by teammates. team_policies.SharedFolderJoinPolicy.from_anyone – Team members can join any shared folder, including those shared by users outside the team.
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: team_policies.SharedFolderMemberPolicy.team – Only a teammate can be a member of a folder shared by a team member. team_policies.SharedFolderMemberPolicy.anyone – Anyone can be a member of a folder shared by a team member.
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.

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.

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: team_policies.ShowcaseEnabledPolicy.disabled – Showcase is disabled. team_policies.ShowcaseEnabledPolicy.enabled – Showcase is enabled.
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: team_policies.ShowcaseExternalSharingPolicy.disabled – Do not allow showcases to be shared with people not on the team. team_policies.ShowcaseExternalSharingPolicy.enabled – Allow showcases to be shared with people not on the team.
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: team_policies.SmartSyncPolicy.local – The specified content will be synced as local files by default. team_policies.SmartSyncPolicy.on_demand – The specified content will be synced as on-demand files by default.
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: team_policies.SsoPolicy.disabled – Users will be able to sign in with their Dropbox credentials. team_policies.SsoPolicy.optional – Users will be able to sign in with either their Dropbox or single sign-on credentials. team_policies.SsoPolicy.required – Users will be required to sign in with their single sign-on credentials.
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: team_policies.TeamMemberPolicies.sharing – Policies governing sharing. team_policies.TeamMemberPolicies.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. team_policies.TeamMemberPolicies.office_addin – The admin policy around the Dropbox Office Add-In for this team.
__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

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: team_policies.TeamSharingPolicies.shared_folder_member_policy – Who can join folders shared by team members. team_policies.TeamSharingPolicies.shared_folder_join_policy – Which shared folders team members can join. team_policies.TeamSharingPolicies.shared_link_create_policy – Who can view shared links owned by team members.
__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.

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: team_policies.TwoStepVerificationPolicy.require_tfa_enable – Enabled require two factor authorization. team_policies.TwoStepVerificationPolicy.require_tfa_disable – Disabled require two factor authorization.
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)