v2.d.ts 25.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864
/**
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { GaxiosPromise } from 'gaxios';
import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library';
import { APIRequestContext, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common';
export declare namespace driveactivity_v2 {
    interface Options extends GlobalOptions {
        version: 'v2';
    }
    interface StandardParameters {
        /**
         * V1 error format.
         */
        '$.xgafv'?: string;
        /**
         * OAuth access token.
         */
        access_token?: string;
        /**
         * Data format for response.
         */
        alt?: string;
        /**
         * JSONP
         */
        callback?: string;
        /**
         * Selector specifying which fields to include in a partial response.
         */
        fields?: string;
        /**
         * API key. Your API key identifies your project and provides you with API
         * access, quota, and reports. Required unless you provide an OAuth 2.0
         * token.
         */
        key?: string;
        /**
         * OAuth 2.0 token for the current user.
         */
        oauth_token?: string;
        /**
         * Returns response with indentations and line breaks.
         */
        prettyPrint?: boolean;
        /**
         * Available to use for quota purposes for server-side applications. Can be
         * any arbitrary string assigned to a user, but should not exceed 40
         * characters.
         */
        quotaUser?: string;
        /**
         * Legacy upload protocol for media (e.g. "media", "multipart").
         */
        uploadType?: string;
        /**
         * Upload protocol for media (e.g. "raw", "multipart").
         */
        upload_protocol?: string;
    }
    /**
     * Drive Activity API
     *
     * Provides a historical view of activity in Google Drive.
     *
     * @example
     * const {google} = require('googleapis');
     * const driveactivity = google.driveactivity('v2');
     *
     * @namespace driveactivity
     * @type {Function}
     * @version v2
     * @variation v2
     * @param {object=} options Options for Driveactivity
     */
    class Driveactivity {
        context: APIRequestContext;
        activity: Resource$Activity;
        constructor(options: GlobalOptions, google?: GoogleConfigurable);
    }
    /**
     * Information about the action.
     */
    interface Schema$Action {
        /**
         * The actor responsible for this action (or empty if all actors are
         * responsible).
         */
        actor?: Schema$Actor;
        /**
         * The type and detailed information about the action.
         */
        detail?: Schema$ActionDetail;
        /**
         * The target this action affects (or empty if affecting all targets). This
         * represents the state of the target immediately after this action
         * occurred.
         */
        target?: Schema$Target;
        /**
         * The action occurred over this time range.
         */
        timeRange?: Schema$TimeRange;
        /**
         * The action occurred at this specific time.
         */
        timestamp?: string;
    }
    /**
     * Data describing the type and additional information of an action.
     */
    interface Schema$ActionDetail {
        /**
         * A change about comments was made.
         */
        comment?: Schema$Comment;
        /**
         * An object was created.
         */
        create?: Schema$Create;
        /**
         * An object was deleted.
         */
        delete?: Schema$Delete;
        /**
         * A change happened in data leak prevention status.
         */
        dlpChange?: Schema$DataLeakPreventionChange;
        /**
         * An object was edited.
         */
        edit?: Schema$Edit;
        /**
         * An object was moved.
         */
        move?: Schema$Move;
        /**
         * The permission on an object was changed.
         */
        permissionChange?: Schema$PermissionChange;
        /**
         * An object was referenced in an application outside of Drive/Docs.
         */
        reference?: Schema$ApplicationReference;
        /**
         * An object was renamed.
         */
        rename?: Schema$Rename;
        /**
         * A deleted object was restored.
         */
        restore?: Schema$Restore;
        /**
         * Settings were changed.
         */
        settingsChange?: Schema$SettingsChange;
    }
    /**
     * The actor of a Drive activity.
     */
    interface Schema$Actor {
        /**
         * An administrator.
         */
        administrator?: Schema$Administrator;
        /**
         * An anonymous user.
         */
        anonymous?: Schema$AnonymousUser;
        /**
         * An account acting on behalf of another.
         */
        impersonation?: Schema$Impersonation;
        /**
         * A non-user actor (i.e. system triggered).
         */
        system?: Schema$SystemEvent;
        /**
         * An end user.
         */
        user?: Schema$User;
    }
    /**
     * Empty message representing an administrator.
     */
    interface Schema$Administrator {
    }
    /**
     * Empty message representing an anonymous user or indicating the
     * authenticated user should be anonymized.
     */
    interface Schema$AnonymousUser {
    }
    /**
     * Represents any user (including a logged out user).
     */
    interface Schema$Anyone {
    }
    /**
     * Activity in applications other than Drive.
     */
    interface Schema$ApplicationReference {
        /**
         * The reference type corresponding to this event.
         */
        type?: string;
    }
    /**
     * A comment with an assignment.
     */
    interface Schema$Assignment {
        /**
         * The sub-type of this event.
         */
        subtype?: string;
    }
    /**
     * A change about comments on an object.
     */
    interface Schema$Comment {
        /**
         * A change on an assignment.
         */
        assignment?: Schema$Assignment;
        /**
         * Users who are mentioned in this comment.
         */
        mentionedUsers?: Schema$User[];
        /**
         * A change on a regular posted comment.
         */
        post?: Schema$Post;
        /**
         * A change on a suggestion.
         */
        suggestion?: Schema$Suggestion;
    }
    /**
     * 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.
     */
    interface Schema$ConsolidationStrategy {
        /**
         * The individual activities are consolidated using the legacy strategy.
         */
        legacy?: Schema$Legacy;
        /**
         * The individual activities are not consolidated.
         */
        none?: Schema$NoConsolidation;
    }
    /**
     * An object was created by copying an existing object.
     */
    interface Schema$Copy {
        /**
         * The the original object.
         */
        originalObject?: Schema$TargetReference;
    }
    /**
     * An object was created.
     */
    interface Schema$Create {
        /**
         * If present, indicates the object was created by copying an existing Drive
         * object.
         */
        copy?: Schema$Copy;
        /**
         * If present, indicates the object was newly created (e.g. as a blank
         * document), not derived from a Drive object or external object.
         */
        new?: Schema$New;
        /**
         * If present, indicates the object originated externally and was uploaded
         * to Drive.
         */
        upload?: Schema$Upload;
    }
    /**
     * A change in the object's data leak prevention status.
     */
    interface Schema$DataLeakPreventionChange {
        /**
         * The type of Data Leak Prevention (DLP) change.
         */
        type?: string;
    }
    /**
     * An object was deleted.
     */
    interface Schema$Delete {
        /**
         * The type of delete action taken.
         */
        type?: string;
    }
    /**
     * A user whose account has since been deleted.
     */
    interface Schema$DeletedUser {
    }
    /**
     * Information about a domain.
     */
    interface Schema$Domain {
        /**
         * An opaque string used to identify this domain.
         */
        legacyId?: string;
        /**
         * The name of the domain, e.g. "google.com".
         */
        name?: string;
    }
    /**
     * 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.
     */
    interface Schema$DriveActivity {
        /**
         * Details on all actions in this activity.
         */
        actions?: Schema$Action[];
        /**
         * All actor(s) responsible for the activity.
         */
        actors?: Schema$Actor[];
        /**
         * Key information about the primary action for this activity. This is
         * either representative, or the most important, of all actions in the
         * activity, according to the ConsolidationStrategy in the request.
         */
        primaryActionDetail?: Schema$ActionDetail;
        /**
         * All Drive objects this activity is about (e.g. file, folder, Team Drive).
         * This represents the state of the target immediately after the actions
         * occurred.
         */
        targets?: Schema$Target[];
        /**
         * The activity occurred over this time range.
         */
        timeRange?: Schema$TimeRange;
        /**
         * The activity occurred at this specific time.
         */
        timestamp?: string;
    }
    /**
     * A Drive item, such as a file or folder.
     */
    interface Schema$DriveItem {
        /**
         * The Drive item is a file.
         */
        file?: Schema$File;
        /**
         * The Drive item is a folder.
         */
        folder?: Schema$Folder;
        /**
         * The MIME type of the Drive item.  See
         * https://developers.google.com/drive/v3/web/mime-types.
         */
        mimeType?: string;
        /**
         * The target Drive item. The format is "items/ITEM_ID".
         */
        name?: string;
        /**
         * Information about the owner of this Drive item.
         */
        owner?: Schema$Owner;
        /**
         * The title of the Drive item.
         */
        title?: string;
    }
    /**
     * A lightweight reference to a Drive item, such as a file or folder.
     */
    interface Schema$DriveItemReference {
        /**
         * The Drive item is a file.
         */
        file?: Schema$File;
        /**
         * The Drive item is a folder.
         */
        folder?: Schema$Folder;
        /**
         * The target Drive item. The format is "items/ITEM_ID".
         */
        name?: string;
        /**
         * The title of the Drive item.
         */
        title?: string;
    }
    /**
     * An empty message indicating an object was edited.
     */
    interface Schema$Edit {
    }
    /**
     * A Drive item which is a file.
     */
    interface Schema$File {
    }
    /**
     * A comment on a file.
     */
    interface Schema$FileComment {
        /**
         * The comment in the discussion thread. This identifier is an opaque string
         * compatible with the Drive API; see
         * https://developers.google.com/drive/v3/reference/comments/get
         */
        legacyCommentId?: string;
        /**
         * The discussion thread to which the comment was added. This identifier is
         * an opaque string compatible with the Drive API and references the first
         * comment in a discussion; see
         * https://developers.google.com/drive/v3/reference/comments/get
         */
        legacyDiscussionId?: string;
        /**
         * The link to the discussion thread containing this comment, for example,
         * "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID".
         */
        linkToDiscussion?: string;
        /**
         * The Drive item containing this comment.
         */
        parent?: Schema$DriveItem;
    }
    /**
     * A Drive item which is a folder.
     */
    interface Schema$Folder {
        /**
         * The type of Drive folder.
         */
        type?: string;
    }
    /**
     * Information about a group.
     */
    interface Schema$Group {
        /**
         * The email address of the group.
         */
        email?: string;
        /**
         * The title of the group.
         */
        title?: string;
    }
    /**
     * Information about an impersonation, where an admin acts on behalf of an end
     * user. Information about the acting admin is not currently available.
     */
    interface Schema$Impersonation {
        /**
         * The impersonated user.
         */
        impersonatedUser?: Schema$User;
    }
    /**
     * A known user.
     */
    interface Schema$KnownUser {
        /**
         * True if this is the user making the request.
         */
        isCurrentUser?: boolean;
        /**
         * The identifier for this user that can be used with the People API to get
         * more information. The format is "people/ACCOUNT_ID". See
         * https://developers.google.com/people/.
         */
        personName?: string;
    }
    /**
     * 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.
     */
    interface Schema$Legacy {
    }
    /**
     * An object was moved.
     */
    interface Schema$Move {
        /**
         * The added parent object(s).
         */
        addedParents?: Schema$TargetReference[];
        /**
         * The removed parent object(s).
         */
        removedParents?: Schema$TargetReference[];
    }
    /**
     * An object was created from scratch.
     */
    interface Schema$New {
    }
    /**
     * A strategy which does no consolidation of individual activities.
     */
    interface Schema$NoConsolidation {
    }
    /**
     * Information about the owner of a Drive item.
     */
    interface Schema$Owner {
        /**
         * The domain of the Drive item owner.
         */
        domain?: Schema$Domain;
        /**
         * The Team Drive that owns the Drive item.
         */
        teamDrive?: Schema$TeamDriveReference;
        /**
         * The user that owns the Drive item.
         */
        user?: Schema$User;
    }
    /**
     * The permission setting of an object.
     */
    interface Schema$Permission {
        /**
         * If true, the item can be discovered (e.g. in the user's "Shared
         * with me" collection) without needing a link to the item.
         */
        allowDiscovery?: boolean;
        /**
         * If set, this permission applies to anyone, even logged out users.
         */
        anyone?: Schema$Anyone;
        /**
         * The domain to whom this permission applies.
         */
        domain?: Schema$Domain;
        /**
         * The group to whom this permission applies.
         */
        group?: Schema$Group;
        /**
         * Indicates the <a
         * href="/drive/web/manage-sharing#roles">Google Drive
         * permissions role</a>. The role determines a user's ability to
         * read, write, and comment on items.
         */
        role?: string;
        /**
         * The user to whom this permission applies.
         */
        user?: Schema$User;
    }
    /**
     * A change of the permission setting on an item.
     */
    interface Schema$PermissionChange {
        /**
         * The set of permissions added by this change.
         */
        addedPermissions?: Schema$Permission[];
        /**
         * The set of permissions removed by this change.
         */
        removedPermissions?: Schema$Permission[];
    }
    /**
     * A regular posted comment.
     */
    interface Schema$Post {
        /**
         * The sub-type of this event.
         */
        subtype?: string;
    }
    /**
     * The request message for querying Drive activity.
     */
    interface Schema$QueryDriveActivityRequest {
        /**
         * Return activities for this Drive folder and all children and descendants.
         * The format is "items/ITEM_ID".
         */
        ancestorName?: string;
        /**
         * Details on how to consolidate related actions that make up the activity.
         * If not set, then related actions will not be consolidated.
         */
        consolidationStrategy?: Schema$ConsolidationStrategy;
        /**
         * The filtering for items returned from this query request. The format of
         * the filter string is a sequence of expressions, joined by an optional
         * "AND", where each expression is of the form "field
         * operator value".  Supported fields:    - <tt>time</tt>:
         * Uses numerical operators on date values either in     terms of
         * milliseconds since Jan 1, 1970 or in RFC 3339 format.     Examples: -
         * <tt>time > 1452409200000 AND time <= 1492812924310</tt>
         * - <tt>time >= "2016-01-10T01:02:03-05:00"</tt>
         * - <tt>detail.action_detail_case</tt>: Uses the
         * "has" operator (:) and     either a singular value or a list of
         * allowed action types enclosed in     parentheses.     Examples:       -
         * <tt>detail.action_detail_case: RENAME</tt>       -
         * <tt>detail.action_detail_case:(CREATE UPLOAD)</tt>       -
         * <tt>-detail.action_detail_case:MOVE</tt>
         */
        filter?: string;
        /**
         * Return activities for this Drive item. The format is
         * "items/ITEM_ID".
         */
        itemName?: string;
        /**
         * The requested number of activity to return. If not set, a default value
         * will be used.
         */
        pageSize?: number;
        /**
         * The next_page_token value returned from a previous QueryDriveActivity
         * request, if any.
         */
        pageToken?: string;
    }
    /**
     * Response message for querying Drive activity.
     */
    interface Schema$QueryDriveActivityResponse {
        /**
         * List of activity requested.
         */
        activities?: Schema$DriveActivity[];
        /**
         * Token to retrieve the next page of results, or empty if there are no more
         * results in the list.
         */
        nextPageToken?: string;
    }
    /**
     * An object was renamed.
     */
    interface Schema$Rename {
        /**
         * The new title of the drive object.
         */
        newTitle?: string;
        /**
         * The previous title of the drive object.
         */
        oldTitle?: string;
    }
    /**
     * A deleted object was restored.
     */
    interface Schema$Restore {
        /**
         * The type of restore action taken.
         */
        type?: string;
    }
    /**
     * Information about restriction policy changes to a feature.
     */
    interface Schema$RestrictionChange {
        /**
         * The feature which had a change in restriction policy.
         */
        feature?: string;
        /**
         * The restriction in place after the change.
         */
        newRestriction?: string;
    }
    /**
     * Information about settings changes.
     */
    interface Schema$SettingsChange {
        /**
         * The set of changes made to restrictions.
         */
        restrictionChanges?: Schema$RestrictionChange[];
    }
    /**
     * A suggestion.
     */
    interface Schema$Suggestion {
        /**
         * The sub-type of this event.
         */
        subtype?: string;
    }
    /**
     * Event triggered by system operations instead of end users.
     */
    interface Schema$SystemEvent {
        /**
         * The type of the system event that may triggered activity.
         */
        type?: string;
    }
    /**
     * Information about the target of activity.
     */
    interface Schema$Target {
        /**
         * The target is a Drive item.
         */
        driveItem?: Schema$DriveItem;
        /**
         * The target is a comment on a Drive file.
         */
        fileComment?: Schema$FileComment;
        /**
         * The target is a Team Drive.
         */
        teamDrive?: Schema$TeamDrive;
    }
    /**
     * A lightweight reference to the target of activity.
     */
    interface Schema$TargetReference {
        /**
         * The target is a Drive item.
         */
        driveItem?: Schema$DriveItemReference;
        /**
         * The target is a Team Drive.
         */
        teamDrive?: Schema$TeamDriveReference;
    }
    /**
     * Information about a Team Drive.
     */
    interface Schema$TeamDrive {
        /**
         * The resource name of the Team Drive. The format is
         * "teamDrives/TEAM_DRIVE_ID".
         */
        name?: string;
        /**
         * The root of this Team Drive.
         */
        root?: Schema$DriveItem;
        /**
         * The title of the Team Drive.
         */
        title?: string;
    }
    /**
     * A lightweight reference to a Team Drive.
     */
    interface Schema$TeamDriveReference {
        /**
         * The resource name of the Team Drive. The format is
         * "teamDrives/TEAM_DRIVE_ID".
         */
        name?: string;
        /**
         * The title of the Team Drive.
         */
        title?: string;
    }
    /**
     * Information about time ranges.
     */
    interface Schema$TimeRange {
        /**
         * The end of the time range.
         */
        endTime?: string;
        /**
         * The start of the time range.
         */
        startTime?: string;
    }
    /**
     * A user about whom nothing is currently known.
     */
    interface Schema$UnknownUser {
    }
    /**
     * An object was uploaded into Drive.
     */
    interface Schema$Upload {
    }
    /**
     * Information about an end user.
     */
    interface Schema$User {
        /**
         * A user whose account has since been deleted.
         */
        deletedUser?: Schema$DeletedUser;
        /**
         * A known user.
         */
        knownUser?: Schema$KnownUser;
        /**
         * A user about whom nothing is currently known.
         */
        unknownUser?: Schema$UnknownUser;
    }
    class Resource$Activity {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * driveactivity.activity.query
         * @desc Query past activity in Google Drive.
         * @alias driveactivity.activity.query
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {().QueryDriveActivityRequest} params.resource Request body data
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        query(params?: Params$Resource$Activity$Query, options?: MethodOptions): GaxiosPromise<Schema$QueryDriveActivityResponse>;
        query(params: Params$Resource$Activity$Query, options: MethodOptions | BodyResponseCallback<Schema$QueryDriveActivityResponse>, callback: BodyResponseCallback<Schema$QueryDriveActivityResponse>): void;
        query(params: Params$Resource$Activity$Query, callback: BodyResponseCallback<Schema$QueryDriveActivityResponse>): void;
        query(callback: BodyResponseCallback<Schema$QueryDriveActivityResponse>): void;
    }
    interface Params$Resource$Activity$Query extends StandardParameters {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * Request body metadata
         */
        requestBody?: Schema$QueryDriveActivityRequest;
    }
}