Class ProjectsResource.HistoriesResource
The "histories" collection of methods.
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource
Constructors
HistoriesResource(IClientService)
Constructs a new resource.
Declaration
public HistoriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Executions
Gets the Executions resource.
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource Executions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource |
Methods
Create(History, string)
Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT
- if the request is malformed - NOT_FOUND - if the containing project does not exist
Declaration
public virtual ProjectsResource.HistoriesResource.CreateRequest Create(History body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
History | body | The body of the request. |
string | projectId | A Project id. Required. |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.CreateRequest |
Get(string, string)
Gets a History. 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
Declaration
public virtual ProjectsResource.HistoriesResource.GetRequest Get(string projectId, string historyId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | A Project id. Required. |
string | historyId | A History id. Required. |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.GetRequest |
List(string)
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
Declaration
public virtual ProjectsResource.HistoriesResource.ListRequest List(string projectId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | A Project id. Required. |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ListRequest |