Class DriveService
The Drive Service.
Inherited Members
Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class DriveService : BaseClientService, IClientService, IDisposable
Constructors
DriveService()
Constructs a new service.
Declaration
public DriveService()
DriveService(Initializer)
Constructs a new service.
Declaration
public DriveService(BaseClientService.Initializer initializer)
Parameters
Type | Name | Description |
---|---|---|
BaseClientService.Initializer | initializer | The service initializer. |
Fields
DiscoveryVersionUsed
The discovery version used to generate this service.
Declaration
public static DiscoveryVersion DiscoveryVersionUsed
Field Value
Type | Description |
---|---|
DiscoveryVersion |
Version
The API version.
Declaration
public const string Version = "v2"
Field Value
Type | Description |
---|---|
string |
Properties
About
Gets the About resource.
Declaration
public virtual AboutResource About { get; }
Property Value
Type | Description |
---|---|
AboutResource |
Apps
Gets the Apps resource.
Declaration
public virtual AppsResource Apps { get; }
Property Value
Type | Description |
---|---|
AppsResource |
BasePath
Gets the service base path.
Declaration
public override string BasePath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BaseUri
Gets the service base URI.
Declaration
public override string BaseUri { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BatchPath
Gets the batch base path; null
if unspecified.
Declaration
public override string BatchPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BatchUri
Gets the batch base URI; null
if unspecified.
Declaration
public override string BatchUri { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Changes
Gets the Changes resource.
Declaration
public virtual ChangesResource Changes { get; }
Property Value
Type | Description |
---|---|
ChangesResource |
Channels
Gets the Channels resource.
Declaration
public virtual ChannelsResource Channels { get; }
Property Value
Type | Description |
---|---|
ChannelsResource |
Children
Gets the Children resource.
Declaration
public virtual ChildrenResource Children { get; }
Property Value
Type | Description |
---|---|
ChildrenResource |
Comments
Gets the Comments resource.
Declaration
public virtual CommentsResource Comments { get; }
Property Value
Type | Description |
---|---|
CommentsResource |
Drives
Gets the Drives resource.
Declaration
public virtual DrivesResource Drives { get; }
Property Value
Type | Description |
---|---|
DrivesResource |
Features
Gets the service supported features.
Declaration
public override IList<string> Features { get; }
Property Value
Type | Description |
---|---|
IList<string> |
Overrides
Files
Gets the Files resource.
Declaration
public virtual FilesResource Files { get; }
Property Value
Type | Description |
---|---|
FilesResource |
Name
Gets the service name.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parents
Gets the Parents resource.
Declaration
public virtual ParentsResource Parents { get; }
Property Value
Type | Description |
---|---|
ParentsResource |
Permissions
Gets the Permissions resource.
Declaration
public virtual PermissionsResource Permissions { get; }
Property Value
Type | Description |
---|---|
PermissionsResource |
Properties
Gets the Properties resource.
Declaration
public virtual PropertiesResource Properties { get; }
Property Value
Type | Description |
---|---|
PropertiesResource |
Replies
Gets the Replies resource.
Declaration
public virtual RepliesResource Replies { get; }
Property Value
Type | Description |
---|---|
RepliesResource |
Revisions
Gets the Revisions resource.
Declaration
public virtual RevisionsResource Revisions { get; }
Property Value
Type | Description |
---|---|
RevisionsResource |
Teamdrives
Gets the Teamdrives resource.
Declaration
public virtual TeamdrivesResource Teamdrives { get; }
Property Value
Type | Description |
---|---|
TeamdrivesResource |