Show / Hide Table of Contents

Class ChangesResource.ListRequest

Lists the changes for a user or shared drive.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ChangeList>
DriveBaseServiceRequest<ChangeList>
ChangesResource.ListRequest
Implements
IClientServiceRequest<ChangeList>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<ChangeList>.Alt
DriveBaseServiceRequest<ChangeList>.Fields
DriveBaseServiceRequest<ChangeList>.Key
DriveBaseServiceRequest<ChangeList>.OauthToken
DriveBaseServiceRequest<ChangeList>.PrettyPrint
DriveBaseServiceRequest<ChangeList>.QuotaUser
DriveBaseServiceRequest<ChangeList>.UserIp
ClientServiceRequest<ChangeList>.Execute()
ClientServiceRequest<ChangeList>.ExecuteAsStream()
ClientServiceRequest<ChangeList>.ExecuteAsync()
ClientServiceRequest<ChangeList>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ChangeList>.ExecuteAsStreamAsync()
ClientServiceRequest<ChangeList>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ChangeList>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ChangeList>.GenerateRequestUri()
ClientServiceRequest<ChangeList>.GetBody()
ClientServiceRequest<ChangeList>.GetDefaultETagAction(String)
ClientServiceRequest<ChangeList>.ETagAction
ClientServiceRequest<ChangeList>.ModifyRequest
ClientServiceRequest<ChangeList>.ValidateParameters
ClientServiceRequest<ChangeList>.RequestParameters
ClientServiceRequest<ChangeList>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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 ListRequest : DriveBaseServiceRequest<ChangeList>, IClientServiceRequest<ChangeList>, IClientServiceRequest

Constructors

ListRequest(IClientService)

Constructs a new List request.

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

Properties

DriveId

The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.

Declaration
[RequestParameter("driveId", RequestParameterType.Query)]
public virtual string DriveId { get; set; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.ChangeList>.HttpMethod

IncludeCorpusRemovals

Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

Declaration
[RequestParameter("includeCorpusRemovals", RequestParameterType.Query)]
public virtual bool? IncludeCorpusRemovals { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IncludeDeleted

Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

Declaration
[RequestParameter("includeDeleted", RequestParameterType.Query)]
public virtual bool? IncludeDeleted { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IncludeItemsFromAllDrives

Whether both My Drive and shared drive items should be included in results.

Declaration
[RequestParameter("includeItemsFromAllDrives", RequestParameterType.Query)]
public virtual bool? IncludeItemsFromAllDrives { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IncludeLabels

A comma-separated list of IDs of labels to include in the labelInfo part of the response.

Declaration
[RequestParameter("includeLabels", RequestParameterType.Query)]
public virtual string IncludeLabels { get; set; }
Property Value
Type Description
System.String

IncludePermissionsForView

Specifies which additional view's permissions to include in the response. Only 'published' is supported.

Declaration
[RequestParameter("includePermissionsForView", RequestParameterType.Query)]
public virtual string IncludePermissionsForView { get; set; }
Property Value
Type Description
System.String

IncludeSubscribed

Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive are omitted from the result.

Declaration
[RequestParameter("includeSubscribed", RequestParameterType.Query)]
public virtual bool? IncludeSubscribed { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IncludeTeamDriveItems

Deprecated use includeItemsFromAllDrives instead.

Declaration
[RequestParameter("includeTeamDriveItems", RequestParameterType.Query)]
public virtual bool? IncludeTeamDriveItems { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

MaxResults

Maximum number of changes to return.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.ChangeList>.MethodName

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.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.ChangeList>.RestPath

Spaces

A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.

Declaration
[RequestParameter("spaces", RequestParameterType.Query)]
public virtual string Spaces { get; set; }
Property Value
Type Description
System.String

StartChangeId

Deprecated - use pageToken instead.

Declaration
[RequestParameter("startChangeId", RequestParameterType.Query)]
public virtual long? StartChangeId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

SupportsAllDrives

Whether the requesting application supports both My Drives and shared drives.

Declaration
[RequestParameter("supportsAllDrives", RequestParameterType.Query)]
public virtual bool? SupportsAllDrives { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

SupportsTeamDrives

Deprecated use supportsAllDrives instead.

Declaration
[RequestParameter("supportsTeamDrives", RequestParameterType.Query)]
public virtual bool? SupportsTeamDrives { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

TeamDriveId

Deprecated use driveId instead.

Declaration
[RequestParameter("teamDriveId", RequestParameterType.Query)]
public virtual string TeamDriveId { get; set; }
Property Value
Type Description
System.String

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Drive.v2.DriveBaseServiceRequest<Google.Apis.Drive.v2.Data.ChangeList>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX