Пример #1
0
 /// <summary>Constructs a new TriggerPubsubExecution request.</summary>
 public TriggerPubsubExecutionRequest(Google.Apis.Services.IClientService service, Google.Apis.WorkflowExecutions.v1.Data.TriggerPubsubExecutionRequest body, string workflow) : base(service)
 {
     Workflow = workflow;
     Body     = body;
     InitParameters();
 }
Пример #2
0
 /// <summary>
 /// Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push
 /// notification.
 /// </summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="workflow">
 /// Required. Name of the workflow for which an execution should be created. Format:
 /// projects/{project}/locations/{location}/workflows/{workflow}
 /// </param>
 public virtual TriggerPubsubExecutionRequest TriggerPubsubExecution(Google.Apis.WorkflowExecutions.v1.Data.TriggerPubsubExecutionRequest body, string workflow)
 {
     return(new TriggerPubsubExecutionRequest(service, body, workflow));
 }