Skip to main content

drive_read

Function drive_read 

Source
pub async fn drive_read<G: GoogleHttp, O: OAuthHttp, S: TokenSecrets>(
    deps: &CallDeps<'_, G, O, S>,
    def: &AgentDefinition,
    action: &str,
    args: &DriveArgs,
    account: Option<&str>,
    now: DateTime<Utc>,
) -> Result<Value, String>
Expand description

A Drive read action for agent def. pick_files is not one of them (the handler asks the person); everything else is a request to Google and a trimmed answer.