@@ -371,10 +371,34 @@ class MetaOrigin(str, Enum):
371
371
372
372
STRING_ENV_VARS : list [STRING_ENV_VARS_TYPE ] = list (get_args (STRING_ENV_VARS_TYPE ))
373
373
374
- COMMA_SEPARATED_LIST_ENV_VARS_TYPE = Literal [
375
- ActorEnvVars .BUILD_TAGS ,
376
- ]
374
+ COMMA_SEPARATED_LIST_ENV_VARS_TYPE = Literal [ActorEnvVars .BUILD_TAGS ,]
377
375
378
376
COMMA_SEPARATED_LIST_ENV_VARS : list [COMMA_SEPARATED_LIST_ENV_VARS_TYPE ] = list (
379
377
get_args (COMMA_SEPARATED_LIST_ENV_VARS_TYPE )
380
378
)
379
+
380
+
381
+ class StorageGeneralAccess (str , Enum ):
382
+ """Storage setting determining how others can access the storage.
383
+
384
+ This setting overrides the user setting of the storage owner.
385
+ """
386
+
387
+ #: Only signed-in users with explicit access can read this storage.
388
+ RESTRICTED = 'RESTRICTED'
389
+ #: Anyone with a link or the unique storage ID can read this storage.
390
+ ANYONE_WITH_ID_CAN_READ = 'ANYONE_WITH_ID_CAN_READ'
391
+ #: Anyone with a link, ID, or storage name can read this storage.
392
+ ANYONE_WITH_NAME_CAN_READ = 'ANYONE_WITH_NAME_CAN_READ'
393
+
394
+
395
+ class RunGeneralAccess (str , Enum ):
396
+ """Run setting determining how others can access the run.
397
+
398
+ This setting overrides the user setting of the run owner.
399
+ """
400
+
401
+ #: Only signed-in users with explicit access can read this run.
402
+ RESTRICTED = 'RESTRICTED'
403
+ #: Anyone with a link or the unique run ID can read this run.
404
+ ANYONE_WITH_ID_CAN_READ = 'ANYONE_WITH_ID_CAN_READ'
0 commit comments