dropbox.team_policies – Team Policies
- class dropbox.team_policies.CameraUploadsPolicyState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
CameraUploadsPolicyState.disabled – Background camera uploads are disabled.
CameraUploadsPolicyState.enabled – Background camera uploads are allowed.
- 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.ComputerBackupPolicyState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
ComputerBackupPolicyState.disabled – Computer Backup feature is disabled.
ComputerBackupPolicyState.enabled – Computer Backup feature is enabled.
ComputerBackupPolicyState.default – Computer Backup defaults to ON for SSB teams, and OFF for Enterprise teams.
- default = ComputerBackupPolicyState('default', None)
- disabled = ComputerBackupPolicyState('disabled', None)
- enabled = ComputerBackupPolicyState('enabled', None)
- is_default()
Check if the union tag is
default.- Return type:
bool
- 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 = ComputerBackupPolicyState('other', None)
- class dropbox.team_policies.DefaultLinkExpirationDaysPolicy(tag, value=None)
Bases:
UnionPolicy governing default expiration date for new links shared outside the team.
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 correspondingget_*method.- Variables:
DefaultLinkExpirationDaysPolicy.none – New links shared outside the team default to no expiration date.
DefaultLinkExpirationDaysPolicy.day_1 – New links shared outside the team default to expire in one day.
DefaultLinkExpirationDaysPolicy.day_3 – New links shared outside the team default to expire in three days.
DefaultLinkExpirationDaysPolicy.day_7 – New links shared outside the team default to expire in seven days.
DefaultLinkExpirationDaysPolicy.day_30 – New links shared outside the team default to expire in 30 days.
DefaultLinkExpirationDaysPolicy.day_90 – New links shared outside the team default to expire in 90 days.
DefaultLinkExpirationDaysPolicy.day_180 – New links shared outside the team default to expire in 180 days.
DefaultLinkExpirationDaysPolicy.year_1 – New links shared outside the team default to expire in 365 days.
- day_1 = DefaultLinkExpirationDaysPolicy('day_1', None)
- day_180 = DefaultLinkExpirationDaysPolicy('day_180', None)
- day_3 = DefaultLinkExpirationDaysPolicy('day_3', None)
- day_30 = DefaultLinkExpirationDaysPolicy('day_30', None)
- day_7 = DefaultLinkExpirationDaysPolicy('day_7', None)
- day_90 = DefaultLinkExpirationDaysPolicy('day_90', None)
- is_day_1()
Check if the union tag is
day_1.- Return type:
bool
- is_day_180()
Check if the union tag is
day_180.- Return type:
bool
- is_day_3()
Check if the union tag is
day_3.- Return type:
bool
- is_day_30()
Check if the union tag is
day_30.- Return type:
bool
- is_day_7()
Check if the union tag is
day_7.- Return type:
bool
- is_day_90()
Check if the union tag is
day_90.- Return type:
bool
- is_none()
Check if the union tag is
none.- Return type:
bool
- is_other()
Check if the union tag is
other.- Return type:
bool
- is_year_1()
Check if the union tag is
year_1.- Return type:
bool
- none = DefaultLinkExpirationDaysPolicy('none', None)
- other = DefaultLinkExpirationDaysPolicy('other', None)
- year_1 = DefaultLinkExpirationDaysPolicy('year_1', None)
- class dropbox.team_policies.EmmState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
EmmState.disabled – Emm token is disabled.
EmmState.optional – Emm token is optional.
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.EnforceLinkPasswordPolicy(tag, value=None)
Bases:
UnionPolicy governing whether new links shared outside the team require passwords.
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 correspondingget_*method.- Variables:
EnforceLinkPasswordPolicy.optional – New links shared outside the team do not require passwords.
EnforceLinkPasswordPolicy.required – New links shared outside the team require passwords.
- 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 = EnforceLinkPasswordPolicy('optional', None)
- other = EnforceLinkPasswordPolicy('other', None)
- required = EnforceLinkPasswordPolicy('required', None)
- class dropbox.team_policies.ExternalDriveBackupPolicyState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
ExternalDriveBackupPolicyState.disabled – External Drive Backup feature is disabled.
ExternalDriveBackupPolicyState.enabled – External Drive Backup feature is enabled.
ExternalDriveBackupPolicyState.default – External Drive Backup default value based on team tier.
- default = ExternalDriveBackupPolicyState('default', None)
- disabled = ExternalDriveBackupPolicyState('disabled', None)
- enabled = ExternalDriveBackupPolicyState('enabled', None)
- is_default()
Check if the union tag is
default.- Return type:
bool
- 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 = ExternalDriveBackupPolicyState('other', None)
- class dropbox.team_policies.FileLockingPolicyState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
FileLockingPolicyState.disabled – File locking feature is disabled.
FileLockingPolicyState.enabled – File locking feature is allowed.
- disabled = FileLockingPolicyState('disabled', None)
- enabled = FileLockingPolicyState('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 = FileLockingPolicyState('other', None)
- class dropbox.team_policies.FileProviderMigrationPolicyState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
FileProviderMigrationPolicyState.disabled – Team admin has opted out of File Provider Migration for team members.
FileProviderMigrationPolicyState.enabled – Team admin has not opted out of File Provider Migration for team members.
FileProviderMigrationPolicyState.default – Team admin has default value based on team tier.
FileProviderMigrationPolicyState.immediate – Team admin has chosen to do File Provider Migration immediately for the team.
- default = FileProviderMigrationPolicyState('default', None)
- disabled = FileProviderMigrationPolicyState('disabled', None)
- enabled = FileProviderMigrationPolicyState('enabled', None)
- immediate = FileProviderMigrationPolicyState('immediate', None)
- is_default()
Check if the union tag is
default.- Return type:
bool
- 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_immediate()
Check if the union tag is
immediate.- Return type:
bool
- is_other()
Check if the union tag is
other.- Return type:
bool
- other = FileProviderMigrationPolicyState('other', None)
- class dropbox.team_policies.GroupCreation(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
GroupCreation.admins_and_members – Team admins and members can create groups.
GroupCreation.admins_only – Only team admins can create groups.
- 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:
UnionThis 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 correspondingget_*method.- Variables:
OfficeAddInPolicy.disabled – Office Add-In is disabled.
OfficeAddInPolicy.enabled – Office Add-In is enabled.
- 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.PaperDefaultFolderPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
PaperDefaultFolderPolicy.everyone_in_team – Everyone in team will be the default option when creating a folder in Paper.
PaperDefaultFolderPolicy.invite_only – Invite only will be the default option when creating a folder in Paper.
- everyone_in_team = PaperDefaultFolderPolicy('everyone_in_team', None)
- invite_only = PaperDefaultFolderPolicy('invite_only', None)
- is_everyone_in_team()
Check if the union tag is
everyone_in_team.- Return type:
bool
- is_invite_only()
Check if the union tag is
invite_only.- Return type:
bool
- is_other()
Check if the union tag is
other.- Return type:
bool
- other = PaperDefaultFolderPolicy('other', None)
- class dropbox.team_policies.PaperDeploymentPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
PaperDeploymentPolicy.full – All team members have access to Paper.
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.PaperDesktopPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
PaperDesktopPolicy.disabled – Do not allow team members to use Paper Desktop.
PaperDesktopPolicy.enabled – Allow team members to use Paper Desktop.
- disabled = PaperDesktopPolicy('disabled', None)
- enabled = PaperDesktopPolicy('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 = PaperDesktopPolicy('other', None)
- class dropbox.team_policies.PaperEnabledPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
PaperEnabledPolicy.disabled – Paper is disabled.
PaperEnabledPolicy.enabled – Paper is enabled.
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.PasswordControlMode(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
PasswordControlMode.disabled – Password is disabled.
PasswordControlMode.enabled – Password is enabled.
- disabled = PasswordControlMode('disabled', None)
- enabled = PasswordControlMode('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 = PasswordControlMode('other', None)
- class dropbox.team_policies.PasswordStrengthPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
PasswordStrengthPolicy.minimal_requirements – User passwords will not adhere to a password strength policy.
PasswordStrengthPolicy.moderate_password – User passwords will adhere to the strong password strength policy. Note that product surfaces refer to this as the strong policy but the value must be kept as is for backwards compatability.
PasswordStrengthPolicy.strong_password – User passwords will adhere to the very strong password strength policy. Note that product surfaces refer to this as the very strong policy but the value must be kept as is for backwards compatability.
- 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:
UnionThis 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 correspondingget_*method.- Variables:
RolloutMethod.unlink_all – Unlink all.
RolloutMethod.unlink_most_inactive – Unlink devices with the most inactivity.
RolloutMethod.add_member_to_exceptions – Add member to Exceptions.
- 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
- is_unlink_all()
Check if the union tag is
unlink_all.- Return type:
bool
- is_unlink_most_inactive()
Check if the union tag is
unlink_most_inactive.- Return type:
bool
- unlink_all = RolloutMethod('unlink_all', None)
- unlink_most_inactive = RolloutMethod('unlink_most_inactive', None)
Bases:
UnionPolicy governing whether shared folder membership is required to access 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 correspondingget_*method.- Variables:
SharedFolderBlanketLinkRestrictionPolicy.members – Only members of shared folders can access folder content via shared link.
SharedFolderBlanketLinkRestrictionPolicy.anyone – Anyone can access folder content via shared link.
Check if the union tag is
anyone.- Return type:
bool
Check if the union tag is
members.- Return type:
bool
Check if the union tag is
other.- Return type:
bool
Bases:
UnionPolicy 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 correspondingget_*method.- Variables:
SharedFolderJoinPolicy.from_team_only – Team members can only join folders shared by teammates.
SharedFolderJoinPolicy.from_anyone – Team members can join any shared folder, including those shared by users outside the team.
Check if the union tag is
from_anyone.- Return type:
bool
Check if the union tag is
from_team_only.- Return type:
bool
Check if the union tag is
other.- Return type:
bool
Bases:
UnionPolicy 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 correspondingget_*method.- Variables:
SharedFolderMemberPolicy.team – Only a teammate can be a member of a folder shared by a team member.
SharedFolderMemberPolicy.anyone – Anyone can be a member of a folder shared by a team member.
SharedFolderMemberPolicy.team_and_approved – Only a teammate and approved people can be a member of a folder shared by a team member.
Check if the union tag is
anyone.- Return type:
bool
Check if the union tag is
other.- Return type:
bool
Check if the union tag is
team.- Return type:
bool
Check if the union tag is
team_and_approved.- Return type:
bool
Bases:
UnionPolicy 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 correspondingget_*method.- Variables:
SharedLinkCreatePolicy.default_public – By default, anyone can access newly created shared links. No login will be required to access the shared links unless overridden.
SharedLinkCreatePolicy.default_team_only – By default, only members of the same team can access newly created shared links. Login will be required to access the shared links unless overridden.
SharedLinkCreatePolicy.team_only – Only members of the same team can access all shared links. Login will be required to access all shared links.
SharedLinkCreatePolicy.default_no_one – Only people invited can access newly created links. Login will be required to access the shared links unless overridden.
Check if the union tag is
default_no_one.- Return type:
bool
Check if the union tag is
default_public.- Return type:
bool
Check if the union tag is
default_team_only.- Return type:
bool
Check if the union tag is
other.- Return type:
bool
Check if the union tag is
team_only.- Return type:
bool
Bases:
UnionThis 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 correspondingget_*method.- Variables:
SharedLinkDefaultPermissionsPolicy.default – No team default. Member defaults used instead.
SharedLinkDefaultPermissionsPolicy.edit – Default to edit when creating new sharing links
SharedLinkDefaultPermissionsPolicy.view – Default to view-only when creating new sharing links
Check if the union tag is
default.- Return type:
bool
Check if the union tag is
edit.- Return type:
bool
Check if the union tag is
other.- Return type:
bool
Check if the union tag is
view.- Return type:
bool
- class dropbox.team_policies.ShowcaseDownloadPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
ShowcaseDownloadPolicy.disabled – Do not allow files to be downloaded from Showcases.
ShowcaseDownloadPolicy.enabled – Allow files to be downloaded from Showcases.
- 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:
UnionThis 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 correspondingget_*method.- Variables:
ShowcaseEnabledPolicy.disabled – Showcase is disabled.
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:
UnionThis 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 correspondingget_*method.- Variables:
ShowcaseExternalSharingPolicy.disabled – Do not allow showcases to be shared with people not on the team.
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:
UnionThis 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 correspondingget_*method.- Variables:
SmartSyncPolicy.local – The specified content will be synced as local files by default.
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.SmarterSmartSyncPolicyState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
SmarterSmartSyncPolicyState.disabled – Smarter Smart Sync feature is disabled.
SmarterSmartSyncPolicyState.enabled – Smarter Smart Sync feature is enabled.
- disabled = SmarterSmartSyncPolicyState('disabled', None)
- enabled = SmarterSmartSyncPolicyState('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 = SmarterSmartSyncPolicyState('other', None)
- class dropbox.team_policies.SsoPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
SsoPolicy.disabled – Users will be able to sign in with their Dropbox credentials.
SsoPolicy.optional – Users will be able to sign in with either their Dropbox or single sign-on credentials.
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.SuggestMembersPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
SuggestMembersPolicy.disabled – Suggest members is disabled.
SuggestMembersPolicy.enabled – Suggest members is enabled.
- disabled = SuggestMembersPolicy('disabled', None)
- enabled = SuggestMembersPolicy('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 = SuggestMembersPolicy('other', None)
- class dropbox.team_policies.TeamMemberPolicies(sharing=None, emm_state=None, office_addin=None, suggest_members_policy=None, top_level_content_policy=None)
Bases:
StructPolicies governing team members.
- Variables:
TeamMemberPolicies.sharing – Policies governing sharing.
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.
TeamMemberPolicies.office_addin – The admin policy around the Dropbox Office Add-In for this team.
TeamMemberPolicies.suggest_members_policy – The team policy on if teammembers are allowed to suggest users for admins to invite to the team.
TeamMemberPolicies.top_level_content_policy – Policy for deciding whether members can edit team folders at the top level of the team space.
- __init__(sharing=None, emm_state=None, office_addin=None, suggest_members_policy=None, top_level_content_policy=None)
- emm_state
- office_addin
- sharing
- suggest_members_policy
- top_level_content_policy
- class dropbox.team_policies.TeamSharingPolicies(shared_folder_member_policy=None, shared_folder_join_policy=None, shared_link_create_policy=None, group_creation_policy=None, shared_folder_link_restriction_policy=None, enforce_link_password_policy=None, default_link_expiration_days_policy=None, shared_link_default_permissions_policy=None)
Bases:
StructPolicies governing sharing within and outside of the team.
- Variables:
TeamSharingPolicies.shared_folder_member_policy – Who can join folders shared by team members.
TeamSharingPolicies.shared_folder_join_policy – Which shared folders team members can join.
TeamSharingPolicies.shared_link_create_policy – Who can view shared links owned by team members.
TeamSharingPolicies.group_creation_policy – Who can create groups.
TeamSharingPolicies.shared_folder_link_restriction_policy – Who can view links to content in shared folders.
TeamSharingPolicies.enforce_link_password_policy – If passwords are required for new links shared outside the team.
TeamSharingPolicies.default_link_expiration_days_policy – Default expiration date for new links shared outside the team.
TeamSharingPolicies.shared_link_default_permissions_policy – Default access level for new links shared by team members.
- __init__(shared_folder_member_policy=None, shared_folder_join_policy=None, shared_link_create_policy=None, group_creation_policy=None, shared_folder_link_restriction_policy=None, enforce_link_password_policy=None, default_link_expiration_days_policy=None, shared_link_default_permissions_policy=None)
- default_link_expiration_days_policy
- enforce_link_password_policy
- group_creation_policy
- class dropbox.team_policies.TopLevelContentPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
TopLevelContentPolicy.admin_only – Only admins can edit team folders at the top level of the team space.
TopLevelContentPolicy.everyone – Everyone on the team can edit team folders at the top level of the team space.
- admin_only = TopLevelContentPolicy('admin_only', None)
- everyone = TopLevelContentPolicy('everyone', None)
- is_admin_only()
Check if the union tag is
admin_only.- Return type:
bool
- is_everyone()
Check if the union tag is
everyone.- Return type:
bool
- is_other()
Check if the union tag is
other.- Return type:
bool
- other = TopLevelContentPolicy('other', None)
- class dropbox.team_policies.TwoStepVerificationPolicy(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
TwoStepVerificationPolicy.require_tfa_enable – Enabled require two factor authorization.
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)
- class dropbox.team_policies.TwoStepVerificationState(tag, value=None)
Bases:
UnionThis 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 correspondingget_*method.- Variables:
TwoStepVerificationState.required – Enabled require two factor authorization.
TwoStepVerificationState.optional – Optional require two factor authorization.
TwoStepVerificationState.disabled – Disabled require two factor authorization.
- disabled = TwoStepVerificationState('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 = TwoStepVerificationState('optional', None)
- other = TwoStepVerificationState('other', None)
- required = TwoStepVerificationState('required', None)