Class ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PatchRequest
Updates an existing Step with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal (e.g try to upload a duplicate xml file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist
Inheritance
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PatchRequest : ToolResultsBaseServiceRequest<Step>, IClientServiceRequest<Step>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Step, string, string, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Step body, string projectId, string historyId, string executionId, string stepId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Step | body | |
string | projectId | |
string | historyId | |
string | executionId | |
string | stepId |
Properties
ExecutionId
A Execution id. Required.
Declaration
[RequestParameter("executionId", RequestParameterType.Path)]
public virtual string ExecutionId { get; }
Property Value
Type | Description |
---|---|
string |
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
StepId
A Step id. Required.
Declaration
[RequestParameter("stepId", RequestParameterType.Path)]
public virtual string StepId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()