Class ChangesResource
The "changes" collection of methods.
Inherited Members
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.
Declaration
public virtual ChangesResource.GetStartPageTokenRequest GetStartPageToken()
Returns
Type | Description |
---|---|
ChangesResource.GetStartPageTokenRequest |
List(string)
Lists the changes for a user or shared drive.
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.
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 |