Table of Contents

Class TeamdrivesResource

Namespace
Google.Apis.Drive.v3
Assembly
Google.Apis.Drive.v3.dll

The "teamdrives" collection of methods.

public class TeamdrivesResource
Inheritance
TeamdrivesResource
Inherited Members

Constructors

TeamdrivesResource(IClientService)

Constructs a new resource.

public TeamdrivesResource(IClientService service)

Parameters

service IClientService

Methods

Create(TeamDrive, string)

Deprecated use drives.create instead.

public virtual TeamdrivesResource.CreateRequest Create(TeamDrive body, string requestId)

Parameters

body TeamDrive

The body of the request.

requestId string

An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned.

Returns

TeamdrivesResource.CreateRequest

Delete(string)

Deprecated use drives.delete instead.

public virtual TeamdrivesResource.DeleteRequest Delete(string teamDriveId)

Parameters

teamDriveId string

The ID of the Team Drive

Returns

TeamdrivesResource.DeleteRequest

Get(string)

Deprecated use drives.get instead.

public virtual TeamdrivesResource.GetRequest Get(string teamDriveId)

Parameters

teamDriveId string

The ID of the Team Drive

Returns

TeamdrivesResource.GetRequest

List()

Deprecated use drives.list instead.

public virtual TeamdrivesResource.ListRequest List()

Returns

TeamdrivesResource.ListRequest

Update(TeamDrive, string)

Deprecated use drives.update instead

public virtual TeamdrivesResource.UpdateRequest Update(TeamDrive body, string teamDriveId)

Parameters

body TeamDrive

The body of the request.

teamDriveId string

The ID of the Team Drive

Returns

TeamdrivesResource.UpdateRequest