Show / Hide Table of Contents

Class ChangesResource

The "changes" collection of methods.

Inheritance
object
ChangesResource
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 ChangesResource

Constructors

ChangesResource(IClientService)

Constructs a new resource.

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

Methods

GetStartPageToken()

Gets the starting pageToken for listing future changes. For more information, see Retrieve changes.

Declaration
public virtual ChangesResource.GetStartPageTokenRequest GetStartPageToken()
Returns
Type Description
ChangesResource.GetStartPageTokenRequest

List(string)

Lists the changes for a user or shared drive. For more information, see Retrieve changes.

Declaration
public virtual ChangesResource.ListRequest List(string pageToken)
Parameters
Type Name Description
string pageToken

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.

Returns
Type Description
ChangesResource.ListRequest

Watch(Channel, string)

Subscribes to changes for a user. For more information, see Notifications for resource changes.

Declaration
public virtual ChangesResource.WatchRequest Watch(Channel body, string pageToken)
Parameters
Type Name Description
Channel body

The body of the request.

string pageToken

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.

Returns
Type Description
ChangesResource.WatchRequest
In this article
Back to top Generated by DocFX