drive
v2
|
Insert media upload which supports resumable upload. More...
Public Types | |
enum | AltEnum { AltEnum.Json } |
Data format for the response. More... | |
enum | VisibilityEnum { VisibilityEnum.DEFAULT__, VisibilityEnum.PRIVATE__ } |
The visibility of the new file. This parameter is only relevant when convert=false. More... | |
Public Member Functions | |
InsertMediaUpload (Google.Apis.Services.IClientService service, Google.Apis.Drive.v2.Data.File body, System.IO.Stream stream, string contentType) | |
Constructs a new Insert media upload instance. More... | |
Properties | |
virtual System.Nullable< AltEnum > | Alt [get, set] |
Data format for the response. More... | |
virtual string | Fields [get, set] |
Selector specifying which fields to include in a partial response. More... | |
virtual string | Key [get, set] |
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. More... | |
virtual string | OauthToken [get, set] |
OAuth 2.0 token for the current user. More... | |
virtual System.Nullable< bool > | PrettyPrint [get, set] |
Returns response with indentations and line breaks. More... | |
virtual string | QuotaUser [get, set] |
An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More... | |
virtual string | UserIp [get, set] |
Deprecated. Please use quotaUser instead. More... | |
virtual System.Nullable< bool > | Convert [get, set] |
Whether to convert this file to the corresponding Google Docs format. More... | |
virtual System.Nullable< bool > | EnforceSingleParent [get, set] |
Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. Requests that specify more than one parent will fail. More... | |
virtual System.Nullable< bool > | Ocr [get, set] |
Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads. More... | |
virtual string | OcrLanguage [get, set] |
If ocr is true, hints at the language to use. Valid values are BCP 47 codes. More... | |
virtual System.Nullable< bool > | Pinned [get, set] |
Whether to pin the head revision of the uploaded file. A file can have a maximum of 200 pinned revisions. More... | |
virtual System.Nullable< bool > | SupportsAllDrives [get, set] |
Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives. More... | |
virtual System.Nullable< bool > | SupportsTeamDrives [get, set] |
Deprecated use supportsAllDrives instead. More... | |
virtual string | TimedTextLanguage [get, set] |
The language of the timed text. More... | |
virtual string | TimedTextTrackName [get, set] |
The timed text track name. More... | |
virtual System.Nullable< bool > | UseContentAsIndexableText [get, set] |
Whether to use the content as indexable text. More... | |
virtual System.Nullable< VisibilityEnum > | Visibility [get, set] |
The visibility of the new file. This parameter is only relevant when convert=false. More... | |
Insert media upload which supports resumable upload.
Data format for the response.
Enumerator | |
---|---|
Json | Responses with Content-Type of application/json |
|
inline |
Constructs a new Insert media upload instance.
|
getset |
Data format for the response.
[default: json]
|
getset |
Whether to convert this file to the corresponding Google Docs format.
[default: false]
|
getset |
Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. Requests that specify more than one parent will fail.
[default: false]
|
getset |
Selector specifying which fields to include in a partial response.
|
getset |
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.
|
getset |
OAuth 2.0 token for the current user.
|
getset |
Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
[default: false]
|
getset |
If ocr is true, hints at the language to use. Valid values are BCP 47 codes.
|
getset |
Whether to pin the head revision of the uploaded file. A file can have a maximum of 200 pinned revisions.
[default: false]
|
getset |
Returns response with indentations and line breaks.
[default: true]
|
getset |
An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
|
getset |
Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
[default: false]
|
getset |
Deprecated use supportsAllDrives instead.
[default: false]
|
getset |
The language of the timed text.
|
getset |
The timed text track name.
|
getset |
Whether to use the content as indexable text.
[default: false]
|
getset |
Deprecated. Please use quotaUser instead.
|
getset |
The visibility of the new file. This parameter is only relevant when convert=false.
[default: DEFAULT]