TimedUpdatePermission defines the permissions for updating a timeline-based field.

Ex: If you want to lock the ability to update the collection's metadata for timelineTimes 1/1/2020 - 1/1/2021, you could set the combination (TimelineTimes: [1/1/2020 - 1/1/2021]) to always be forbidden.

from message badges.TimedUpdatePermission

Hierarchy

Constructors

Properties

permanentlyForbiddenTimes: proto.badges.UintRange[] = []

Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.

from field: repeated badges.UintRange permanentlyForbiddenTimes = 2;

permanentlyPermittedTimes: proto.badges.UintRange[] = []

Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.

from field: repeated badges.UintRange permanentlyPermittedTimes = 1;

timelineTimes: proto.badges.UintRange[] = []

Specifies the times when the timeline-based field is a specific value.

from field: repeated badges.UintRange timelineTimes = 3;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "badges.TimedUpdatePermission" = "badges.TimedUpdatePermission"

Methods