Class TeamdrivesResource
The "teamdrives" collection of methods.
Inherited Members
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 |
---|---|---|
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 |
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. |
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.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. |
string | teamDriveId | The ID of the Team Drive |
Returns
Type | Description |
---|---|
TeamdrivesResource.UpdateRequest |