📝 docs(rule_processor): clarify Gmail API scope requirement
- refine the documentation for batch_delete and call_batch_delete functions - specify the exact `https://mail.google.com/` scope needed
This commit is contained in:
committed by
Jeremiah Russell
parent
cc57a6aec8
commit
afe798dae0
@@ -304,7 +304,7 @@ pub trait RuleProcessor {
|
|||||||
///
|
///
|
||||||
/// # Gmail API Requirements
|
/// # Gmail API Requirements
|
||||||
///
|
///
|
||||||
/// Requires the `https://mail.google.com/` scope or broader.
|
/// Requires the `https://mail.google.com/` scope.
|
||||||
fn batch_delete(&mut self) -> impl std::future::Future<Output = Result<()>> + Send;
|
fn batch_delete(&mut self) -> impl std::future::Future<Output = Result<()>> + Send;
|
||||||
|
|
||||||
/// Calls the Gmail API to move a slice of the prepared messages to the Gmail
|
/// Calls the Gmail API to move a slice of the prepared messages to the Gmail
|
||||||
@@ -356,7 +356,7 @@ pub trait RuleProcessor {
|
|||||||
///
|
///
|
||||||
/// # Gmail API Requirements
|
/// # Gmail API Requirements
|
||||||
///
|
///
|
||||||
/// Requires the `https://mail.google.com/` scope or broader.
|
/// Requires the `https://mail.google.com/` scope.
|
||||||
fn call_batch_delete(
|
fn call_batch_delete(
|
||||||
&self,
|
&self,
|
||||||
ids: &[String],
|
ids: &[String],
|
||||||
|
|||||||
Reference in New Issue
Block a user