Show / Hide Table of Contents

Class TeamdrivesResource

The "teamdrives" collection of methods.

Inheritance
object
TeamdrivesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class TeamdrivesResource

Constructors

TeamdrivesResource(IClientService)

Constructs a new resource.

Declaration
public TeamdrivesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(TeamDrive, string)

Deprecated: Use drives.create instead.

Declaration
public virtual TeamdrivesResource.CreateRequest Create(TeamDrive body, string requestId)
Parameters
Type Name Description
TeamDrive body

The body of the request.

string requestId

Required. 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
Type Description
TeamdrivesResource.CreateRequest

Delete(string)

Deprecated: Use drives.delete instead.

Declaration
public virtual TeamdrivesResource.DeleteRequest Delete(string teamDriveId)
Parameters
Type Name Description
string teamDriveId

The ID of the Team Drive

Returns
Type Description
TeamdrivesResource.DeleteRequest

Get(string)

Deprecated: Use drives.get instead.

Declaration
public virtual TeamdrivesResource.GetRequest Get(string teamDriveId)
Parameters
Type Name Description
string teamDriveId

The ID of the Team Drive

Returns
Type Description
TeamdrivesResource.GetRequest

List()

Deprecated: Use drives.list instead.

Declaration
public virtual TeamdrivesResource.ListRequest List()
Returns
Type Description
TeamdrivesResource.ListRequest

Update(TeamDrive, string)

Deprecated: Use drives.update instead.

Declaration
public virtual TeamdrivesResource.UpdateRequest Update(TeamDrive body, string teamDriveId)
Parameters
Type Name Description
TeamDrive body

The body of the request.

string teamDriveId

The ID of the Team Drive

Returns
Type Description
TeamdrivesResource.UpdateRequest
In this article
Back to top Generated by DocFX