Class ProjectsResource.LocationsResource.WorkflowsResource.TriggerPubsubExecutionRequest
Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification.
Inheritance
ProjectsResource.LocationsResource.WorkflowsResource.TriggerPubsubExecutionRequest
Inherited Members
Namespace: Google.Apis.WorkflowExecutions.v1
Assembly: Google.Apis.WorkflowExecutions.v1.dll
Syntax
public class ProjectsResource.LocationsResource.WorkflowsResource.TriggerPubsubExecutionRequest : WorkflowExecutionsBaseServiceRequest<Execution>, IClientServiceRequest<Execution>, IClientServiceRequest
Constructors
TriggerPubsubExecutionRequest(IClientService, TriggerPubsubExecutionRequest, string)
Constructs a new TriggerPubsubExecution request.
Declaration
public TriggerPubsubExecutionRequest(IClientService service, TriggerPubsubExecutionRequest body, string workflow)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TriggerPubsubExecutionRequest | body | |
string | workflow |
Properties
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Workflow
Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow}
Declaration
[RequestParameter("workflow", RequestParameterType.Path)]
public virtual string Workflow { 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 TriggerPubsubExecution parameter list.
Declaration
protected override void InitParameters()