Class TeamdrivesResource
The "teamdrives" collection of methods.
Inheritance
System.Object
TeamdrivesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class TeamdrivesResource
Constructors
TeamdrivesResource(IClientService)
Constructs a new resource.
Declaration
public TeamdrivesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(String)
Deprecated use drives.delete instead.
Declaration
public virtual TeamdrivesResource.DeleteRequest Delete(string teamDriveId)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.String | teamDriveId | The ID of the Team Drive |
Returns
Type | Description |
---|---|
TeamdrivesResource.GetRequest |
Insert(TeamDrive, String)
Deprecated use drives.insert instead.
Declaration
public virtual TeamdrivesResource.InsertRequest Insert(TeamDrive body, string requestId)
Parameters
Type | Name | Description |
---|---|---|
TeamDrive | body | The body of the request. |
System.String | requestId | 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.InsertRequest |
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. |
System.String | teamDriveId | The ID of the Team Drive |
Returns
Type | Description |
---|---|
TeamdrivesResource.UpdateRequest |