Class ProjectsResource.HistoriesResource.ExecutionsResource
The "executions" collection of methods.
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource.ExecutionsResource
Constructors
ExecutionsResource(IClientService)
Constructs a new resource.
Declaration
public ExecutionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Clusters
Gets the Clusters resource.
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.ClustersResource Clusters { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.ClustersResource |
Environments
Gets the Environments resource.
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.EnvironmentsResource Environments { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.EnvironmentsResource |
Steps
Gets the Steps resource.
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource Steps { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource |
Methods
Create(Execution, string, string)
Creates an Execution. The returned Execution 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 History does not exist
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.CreateRequest Create(Execution body, string projectId, string historyId)
Parameters
Type | Name | Description |
---|---|---|
Execution | body | The body of the request. |
string | projectId | A Project id. Required. |
string | historyId | A History id. Required. |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.CreateRequest |
Get(string, string, string)
Gets an Execution. 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 Execution does not exist
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.GetRequest Get(string projectId, string historyId, string executionId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | A Project id. Required. |
string | historyId | A History id. Required. |
string | executionId | An Execution id. Required. |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.GetRequest |
List(string, string)
Lists Executions for a given History. The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_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 containing History does not exist
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.ListRequest List(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.ExecutionsResource.ListRequest |
Patch(Execution, string, string, string)
Updates an existing Execution with the supplied partial entity. 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 - FAILED_PRECONDITION - if the requested state transition is illegal - NOT_FOUND - if the containing History does not exist
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.PatchRequest Patch(Execution body, string projectId, string historyId, string executionId)
Parameters
Type | Name | Description |
---|---|---|
Execution | body | The body of the request. |
string | projectId | A Project id. Required. |
string | historyId | Required. |
string | executionId | Required. |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.PatchRequest |