Class ChangesResource
The "changes" collection of methods.
Inheritance
System.Object
ChangesResource
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.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 |
---|---|---|
System.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. |
System.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 |