API Reference
GoogleDriveClientOptions
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
- Constructor GoogleDriveClient.GoogleDriveClient
Constructors
public GoogleDriveClientOptions() #Methods
public static GoogleDriveClientOptions ForFileAuthoring() #GoogleDriveClientOptionsCreates an option set for an authoring workflow that only reads files created or opened by the app.
public static GoogleDriveClientOptions ForFileAuthoring(Boolean supportsAllDrives) #GoogleDriveClientOptionsCreates an option set for an authoring workflow that only reads files created or opened by the app.
Parameters
- supportsAllDrives System.Boolean
- Whether generated Drive requests declare shared-drive support.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.
268435456