Class ProjectsResource.LocationsResource.PipelinesResource.RunRequest
Creates a job for the specified pipeline directly. You can use this method when the internal scheduler is not configured and you want to trigger the job directly or through an external system. Returns a "NOT_FOUND" error if the pipeline doesn't exist. Returns a "FORBIDDEN" error if the user doesn't have permission to access the pipeline or run jobs for the pipeline.
Inheritance
ProjectsResource.LocationsResource.PipelinesResource.RunRequest
Implements
Inherited Members
Namespace: Google.Apis.Datapipelines.v1
Assembly: Google.Apis.Datapipelines.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PipelinesResource.RunRequest : DatapipelinesBaseServiceRequest<GoogleCloudDatapipelinesV1RunPipelineResponse>, IClientServiceRequest<GoogleCloudDatapipelinesV1RunPipelineResponse>, IClientServiceRequest
Constructors
RunRequest(IClientService, GoogleCloudDatapipelinesV1RunPipelineRequest, string)
Constructs a new Run request.
Declaration
public RunRequest(IClientService service, GoogleCloudDatapipelinesV1RunPipelineRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatapipelinesV1RunPipelineRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datapipelines.v1.Data.GoogleCloudDatapipelinesV1RunPipelineResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datapipelines.v1.Data.GoogleCloudDatapipelinesV1RunPipelineResponse>.MethodName
Name
Required. The pipeline name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
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.Datapipelines.v1.Data.GoogleCloudDatapipelinesV1RunPipelineResponse>.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.Datapipelines.v1.Data.GoogleCloudDatapipelinesV1RunPipelineResponse>.GetBody()
InitParameters()
Initializes Run parameter list.
Declaration
protected override void InitParameters()