Class DriveSource
Configuration for importing a document directly from Google Drive.
Implements
Inherited Members
Namespace: Google.Apis.DeepReview.v1.Data
Assembly: Google.Apis.DeepReview.v1.dll
Syntax
public class DriveSource : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileId
Required. Immutable. The Google Drive file ID (e.g. "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"). For
Google Drive shortcuts, callers must pass the resolved target file's file_id and resource_key.
Declaration
[JsonProperty("fileId")]
public virtual string FileId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResourceKey
Optional. Input only. Immutable. Resource key (^[a-zA-Z0-9_-]{1,128}$) required to access certain older
link-shared Google Drive files returned by the Google Drive Picker (for shortcuts, pass the resolved target
file's resource key). Never persisted in database records or returned in Document resources (see companion
field resource_key_set, AIP-147).
Declaration
[JsonProperty("resourceKey")]
public virtual string ResourceKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResourceKeySet
Output only. Indicates whether a resource key was provided for this Drive source.
Declaration
[JsonProperty("resourceKeySet")]
public virtual bool? ResourceKeySet { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
RevisionId
Optional. Input only. Immutable. Specific revision ID to import (defaults to latest head revision).
Declaration
[JsonProperty("revisionId")]
public virtual string RevisionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |