TimedUpdateWithBadgeIdsPermission defines the permissions for updating a timeline-based field for specific badges.

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

from message badges.TimedUpdateWithBadgeIdsPermission

Hierarchy

Constructors

Properties

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

Specifies the badge IDs involved in the transfer.

from field: repeated badges.UintRange badgeIds = 1;

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

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

from field: repeated badges.UintRange permanentlyForbiddenTimes = 3;

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

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

from field: repeated badges.UintRange permanentlyPermittedTimes = 2;

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

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

from field: repeated badges.UintRange timelineTimes = 4;

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

Methods