From 6f17c099737ed6ac28ca206bc194e6d21dba6338 Mon Sep 17 00:00:00 2001 From: "dropbox-sdk-updater[bot]" <306210582+dropbox-sdk-updater[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 06:03:36 +0000 Subject: [PATCH] Automated Spec Update 81dbdd6e7cb174bc2f74c6d3e02b6d37d2292c7b Automated update of the API specification Co-authored-by: dropbox-spec-updater[bot] <306253022+dropbox-spec-updater[bot]@users.noreply.github.com> --- dropbox/sharing.py | 17 +++++++++++++++++ spec | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dropbox/sharing.py b/dropbox/sharing.py index 41c21e3..e143542 100644 --- a/dropbox/sharing.py +++ b/dropbox/sharing.py @@ -4596,6 +4596,10 @@ class LinkAudience(bb.Union): password is required to access the link. Login is not required. :ivar LinkAudience.members: Field is deprecated. Link is accessible only by members of the content. + :ivar LinkAudience.public_logged_in_only: + Link is accessible only by signed-in Dropbox users. This audience is + currently read-only through API v2: API v2 write methods reject requests + that set it. """ _catch_all = "other" @@ -4610,6 +4614,8 @@ class LinkAudience(bb.Union): # Attribute is overwritten below the class definition members = None # Attribute is overwritten below the class definition + public_logged_in_only = None + # Attribute is overwritten below the class definition other = None def is_public(self): @@ -4652,6 +4658,14 @@ def is_members(self): """ return self._tag == "members" + def is_public_logged_in_only(self): + """ + Check if the union tag is ``public_logged_in_only``. + + :rtype: bool + """ + return self._tag == "public_logged_in_only" + def is_other(self): """ Check if the union tag is ``other``. @@ -13747,6 +13761,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): LinkAudience._no_one_validator = bv.Void() LinkAudience._password_validator = bv.Void() LinkAudience._members_validator = bv.Void() +LinkAudience._public_logged_in_only_validator = bv.Void() LinkAudience._other_validator = bv.Void() LinkAudience._tagmap = { "public": LinkAudience._public_validator, @@ -13754,6 +13769,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): "no_one": LinkAudience._no_one_validator, "password": LinkAudience._password_validator, "members": LinkAudience._members_validator, + "public_logged_in_only": LinkAudience._public_logged_in_only_validator, "other": LinkAudience._other_validator, } @@ -13762,6 +13778,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): LinkAudience.no_one = LinkAudience("no_one") LinkAudience.password = LinkAudience("password") LinkAudience.members = LinkAudience("members") +LinkAudience.public_logged_in_only = LinkAudience("public_logged_in_only") LinkAudience.other = LinkAudience("other") VisibilityPolicyDisallowedReason._delete_and_recreate_validator = bv.Void() diff --git a/spec b/spec index 3f06f3f..81dbdd6 160000 --- a/spec +++ b/spec @@ -1 +1 @@ -Subproject commit 3f06f3f85201cd17cfe67701525ca1bd2dade8b2 +Subproject commit 81dbdd6e7cb174bc2f74c6d3e02b6d37d2292c7b