mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-01 06:44:01 +01:00
68 lines
18 KiB
HTML
68 lines
18 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `api` mod in crate `google_driveactivity2`."><meta name="keywords" content="rust, rustlang, rust-lang, api"><title>google_driveactivity2::api - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../google_driveactivity2/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module api</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class="location"><a href="../index.html">google_driveactivity2</a></p><div id="sidebar-vars" data-name="api" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">google_driveactivity2</a>::<wbr><a class="mod" href="">api</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/google_driveactivity2/api.rs.html#1-1387" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||
<table><tr class="module-item"><td><a class="struct" href="struct.Action.html" title="google_driveactivity2::api::Action struct">Action</a></td><td class="docblock-short"><p>Information about the action.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ActionDetail.html" title="google_driveactivity2::api::ActionDetail struct">ActionDetail</a></td><td class="docblock-short"><p>Data describing the type and additional information of an action.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ActivityMethods.html" title="google_driveactivity2::api::ActivityMethods struct">ActivityMethods</a></td><td class="docblock-short"><p>A builder providing access to all methods supported on <em>activity</em> resources.
|
||
It is not used directly, but through the <code>DriveActivityHub</code> hub.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ActivityQueryCall.html" title="google_driveactivity2::api::ActivityQueryCall struct">ActivityQueryCall</a></td><td class="docblock-short"><p>Query past activity in Google Drive.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Actor.html" title="google_driveactivity2::api::Actor struct">Actor</a></td><td class="docblock-short"><p>The actor of a Drive activity.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Administrator.html" title="google_driveactivity2::api::Administrator struct">Administrator</a></td><td class="docblock-short"><p>Empty message representing an administrator.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnonymousUser.html" title="google_driveactivity2::api::AnonymousUser struct">AnonymousUser</a></td><td class="docblock-short"><p>Empty message representing an anonymous user or indicating the authenticated user should be anonymized.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Anyone.html" title="google_driveactivity2::api::Anyone struct">Anyone</a></td><td class="docblock-short"><p>Represents any user (including a logged out user).</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ApplicationReference.html" title="google_driveactivity2::api::ApplicationReference struct">ApplicationReference</a></td><td class="docblock-short"><p>Activity in applications other than Drive.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Assignment.html" title="google_driveactivity2::api::Assignment struct">Assignment</a></td><td class="docblock-short"><p>A comment with an assignment.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Comment.html" title="google_driveactivity2::api::Comment struct">Comment</a></td><td class="docblock-short"><p>A change about comments on an object.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ConsolidationStrategy.html" title="google_driveactivity2::api::ConsolidationStrategy struct">ConsolidationStrategy</a></td><td class="docblock-short"><p>How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Copy.html" title="google_driveactivity2::api::Copy struct">Copy</a></td><td class="docblock-short"><p>An object was created by copying an existing object.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Create.html" title="google_driveactivity2::api::Create struct">Create</a></td><td class="docblock-short"><p>An object was created.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DataLeakPreventionChange.html" title="google_driveactivity2::api::DataLeakPreventionChange struct">DataLeakPreventionChange</a></td><td class="docblock-short"><p>A change in the object's data leak prevention status.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Delete.html" title="google_driveactivity2::api::Delete struct">Delete</a></td><td class="docblock-short"><p>An object was deleted.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DeletedUser.html" title="google_driveactivity2::api::DeletedUser struct">DeletedUser</a></td><td class="docblock-short"><p>A user whose account has since been deleted.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Domain.html" title="google_driveactivity2::api::Domain struct">Domain</a></td><td class="docblock-short"><p>Information about a domain.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Drive.html" title="google_driveactivity2::api::Drive struct">Drive</a></td><td class="docblock-short"><p>Information about a shared drive.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DriveActivity.html" title="google_driveactivity2::api::DriveActivity struct">DriveActivity</a></td><td class="docblock-short"><p>A single Drive activity comprising one or more Actions by one or more Actors on one or more Targets. Some Action groupings occur spontaneously, such as moving an item into a shared folder triggering a permission change. Other groupings of related Actions, such as multiple Actors editing one item or moving multiple files into a new folder, are controlled by the selection of a ConsolidationStrategy in the QueryDriveActivityRequest.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DriveActivityHub.html" title="google_driveactivity2::api::DriveActivityHub struct">DriveActivityHub</a></td><td class="docblock-short"><p>Central instance to access all DriveActivityHub related resource activities</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DriveFile.html" title="google_driveactivity2::api::DriveFile struct">DriveFile</a></td><td class="docblock-short"><p>A Drive item which is a file.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DriveFolder.html" title="google_driveactivity2::api::DriveFolder struct">DriveFolder</a></td><td class="docblock-short"><p>A Drive item which is a folder.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DriveItem.html" title="google_driveactivity2::api::DriveItem struct">DriveItem</a></td><td class="docblock-short"><p>A Drive item, such as a file or folder.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DriveItemReference.html" title="google_driveactivity2::api::DriveItemReference struct">DriveItemReference</a></td><td class="docblock-short"><p>A lightweight reference to a Drive item, such as a file or folder.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DriveReference.html" title="google_driveactivity2::api::DriveReference struct">DriveReference</a></td><td class="docblock-short"><p>A lightweight reference to a shared drive.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Edit.html" title="google_driveactivity2::api::Edit struct">Edit</a></td><td class="docblock-short"><p>An empty message indicating an object was edited.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.File.html" title="google_driveactivity2::api::File struct">File</a></td><td class="docblock-short"><p>This item is deprecated; please see <code>DriveFile</code> instead.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.FileComment.html" title="google_driveactivity2::api::FileComment struct">FileComment</a></td><td class="docblock-short"><p>A comment on a file.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Folder.html" title="google_driveactivity2::api::Folder struct">Folder</a></td><td class="docblock-short"><p>This item is deprecated; please see <code>DriveFolder</code> instead.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Group.html" title="google_driveactivity2::api::Group struct">Group</a></td><td class="docblock-short"><p>Information about a group.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Impersonation.html" title="google_driveactivity2::api::Impersonation struct">Impersonation</a></td><td class="docblock-short"><p>Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.KnownUser.html" title="google_driveactivity2::api::KnownUser struct">KnownUser</a></td><td class="docblock-short"><p>A known user.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Legacy.html" title="google_driveactivity2::api::Legacy struct">Legacy</a></td><td class="docblock-short"><p>A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Move.html" title="google_driveactivity2::api::Move struct">Move</a></td><td class="docblock-short"><p>An object was moved.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.New.html" title="google_driveactivity2::api::New struct">New</a></td><td class="docblock-short"><p>An object was created from scratch.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.NoConsolidation.html" title="google_driveactivity2::api::NoConsolidation struct">NoConsolidation</a></td><td class="docblock-short"><p>A strategy which does no consolidation of individual activities.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Owner.html" title="google_driveactivity2::api::Owner struct">Owner</a></td><td class="docblock-short"><p>Information about the owner of a Drive item.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Permission.html" title="google_driveactivity2::api::Permission struct">Permission</a></td><td class="docblock-short"><p>The permission setting of an object.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.PermissionChange.html" title="google_driveactivity2::api::PermissionChange struct">PermissionChange</a></td><td class="docblock-short"><p>A change of the permission setting on an item.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Post.html" title="google_driveactivity2::api::Post struct">Post</a></td><td class="docblock-short"><p>A regular posted comment.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.QueryDriveActivityRequest.html" title="google_driveactivity2::api::QueryDriveActivityRequest struct">QueryDriveActivityRequest</a></td><td class="docblock-short"><p>The request message for querying Drive activity.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.QueryDriveActivityResponse.html" title="google_driveactivity2::api::QueryDriveActivityResponse struct">QueryDriveActivityResponse</a></td><td class="docblock-short"><p>Response message for querying Drive activity.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Rename.html" title="google_driveactivity2::api::Rename struct">Rename</a></td><td class="docblock-short"><p>An object was renamed.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Restore.html" title="google_driveactivity2::api::Restore struct">Restore</a></td><td class="docblock-short"><p>A deleted object was restored.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.RestrictionChange.html" title="google_driveactivity2::api::RestrictionChange struct">RestrictionChange</a></td><td class="docblock-short"><p>Information about restriction policy changes to a feature.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.SettingsChange.html" title="google_driveactivity2::api::SettingsChange struct">SettingsChange</a></td><td class="docblock-short"><p>Information about settings changes.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Suggestion.html" title="google_driveactivity2::api::Suggestion struct">Suggestion</a></td><td class="docblock-short"><p>A suggestion.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.SystemEvent.html" title="google_driveactivity2::api::SystemEvent struct">SystemEvent</a></td><td class="docblock-short"><p>Event triggered by system operations instead of end users.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Target.html" title="google_driveactivity2::api::Target struct">Target</a></td><td class="docblock-short"><p>Information about the target of activity.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TargetReference.html" title="google_driveactivity2::api::TargetReference struct">TargetReference</a></td><td class="docblock-short"><p>A lightweight reference to the target of activity.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TeamDrive.html" title="google_driveactivity2::api::TeamDrive struct">TeamDrive</a></td><td class="docblock-short"><p>This item is deprecated; please see <code>Drive</code> instead.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TeamDriveReference.html" title="google_driveactivity2::api::TeamDriveReference struct">TeamDriveReference</a></td><td class="docblock-short"><p>This item is deprecated; please see <code>DriveReference</code> instead.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TimeRange.html" title="google_driveactivity2::api::TimeRange struct">TimeRange</a></td><td class="docblock-short"><p>Information about time ranges.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.UnknownUser.html" title="google_driveactivity2::api::UnknownUser struct">UnknownUser</a></td><td class="docblock-short"><p>A user about whom nothing is currently known.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Upload.html" title="google_driveactivity2::api::Upload struct">Upload</a></td><td class="docblock-short"><p>An object was uploaded into Drive.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.User.html" title="google_driveactivity2::api::User struct">User</a></td><td class="docblock-short"><p>Information about an end user.</p>
|
||
</td></tr></table><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2>
|
||
<table><tr class="module-item"><td><a class="enum" href="enum.Scope.html" title="google_driveactivity2::api::Scope enum">Scope</a></td><td class="docblock-short"><p>Identifies the an OAuth2 authorization scope.
|
||
A scope is needed when requesting an
|
||
<a href="https://developers.google.com/youtube/v3/guides/authentication">authorization token</a>.</p>
|
||
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_driveactivity2"></div>
|
||
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |