Class ProjectsResource.HistoriesResource.ExecutionsResource.CreateRequest
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
Inheritance
ProjectsResource.HistoriesResource.ExecutionsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource.ExecutionsResource.CreateRequest : ToolResultsBaseServiceRequest<Execution>, IClientServiceRequest<Execution>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Execution, string, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Execution body, string projectId, string historyId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Execution | body | |
string | projectId | |
string | historyId |
Properties
HistoryId
A History id. Required.
Declaration
[RequestParameter("historyId", RequestParameterType.Path)]
public virtual string HistoryId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ToolResults.v1beta3.Data.Execution>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ToolResults.v1beta3.Data.Execution>.MethodName
ProjectId
A Project id. Required.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RequestId
A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ToolResults.v1beta3.Data.Execution>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ToolResults.v1beta3.Data.Execution>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()