Interface IGroupExistenceCheck
Whether the groups a trigger is put into exist (resource-groups, Membership in Several Groups: every named group SHALL exist). WorkManagerGroupCheck asks the WorkManager, which keeps the groups.
public interface IGroupExistenceCheck
Methods
EnsureExistAsync(IReadOnlyCollection<string>, CancellationToken)
Throws, for the first of groups that does not exist,
FAILED_PRECONDITION with reason GroupNotFound
and the group as resource; for one being deleted, reason
Deleting.
Task EnsureExistAsync(IReadOnlyCollection<string> groups, CancellationToken cancellationToken)
Parameters
groupsIReadOnlyCollection<string>cancellationTokenCancellationToken