/// <summary>Constructs a new Cancel request.</summary>
 public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.WorkflowExecutions.v1beta.Data.CancelExecutionRequest body, string name) : base(service)
 {
     Name = name;
     Body = body;
     InitParameters();
 }
 /// <summary>Cancels an execution of the given name.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="name">Required. Name of the execution to be cancelled. Format:
 /// projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}</param>
 public virtual CancelRequest Cancel(Google.Apis.WorkflowExecutions.v1beta.Data.CancelExecutionRequest body, string name)
 {
     return(new CancelRequest(service, body, name));
 }