pub fn granted_for(action: &str, granted: &[String]) -> bool
Whether granted (full scope URLs, or bare names) covers action. gmail.metadata can’t search or read bodies, so it covers list_labels alone.
granted
action
gmail.metadata
list_labels