Class ProjectsResource.HistoriesResource.ListRequest
Lists Histories for a given Project. The histories are sorted by modification time in descending order. The history_id key will be used to order the history with the same modification time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project
- INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist
Inheritance
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource.ListRequest : ToolResultsBaseServiceRequest<ListHistoriesResponse>, IClientServiceRequest<ListHistoriesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId |
Properties
FilterByName
If set, only return histories with the given name. Optional.
Declaration
[RequestParameter("filterByName", RequestParameterType.Query)]
public virtual string FilterByName { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of Histories to fetch. Default value: 20. The server will use this default if the field is not set or has a value of 0. Any value greater than 100 will be treated as 100. Optional.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A continuation token to resume the query at the next item. Optional.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
A Project id. Required.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()