Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleDriveClientOptions

Namespace OfficeIMO.GoogleWorkspace.Drive
Assembly OfficeIMO.GoogleWorkspace.Drive
Source revision 33d062b583cb with working tree changes
Modifiers sealed

OAuth scopes, shared-drive behavior, and download limits for GoogleDriveClient.

Inheritance

  • Object
  • GoogleDriveClientOptions

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public GoogleDriveClientOptions() #

Methods

ForFileAuthoring 2 overloads
public static GoogleDriveClientOptions ForFileAuthoring() #
Returns: GoogleDriveClientOptions

Creates an option set for an authoring workflow that only reads files created or opened by the app.

public static GoogleDriveClientOptions ForFileAuthoring(Boolean supportsAllDrives) #
Returns: GoogleDriveClientOptions

Creates an option set for an authoring workflow that only reads files created or opened by the app.

Parameters

supportsAllDrives System.Boolean requiredposition: 0
Whether generated Drive requests declare shared-drive support.

Properties

public IReadOnlyList<String> ReadScopes { get; set; } #

Gets or sets OAuth scopes used by read operations.

public IReadOnlyList<String> WriteScopes { get; set; } #

Gets or sets OAuth scopes used by mutation operations.

public Boolean SupportsAllDrives { get; set; } #

Gets or sets whether requests include shared-drive support. The default is true.

public Int64 MaxDownloadBytes { get; set; } #

Gets or sets the maximum response body accepted by download operations.

Fields

public const Int64 DefaultMaxDownloadBytes #

Default maximum buffered or file download size: 256 MiB.

Value: 268435456