Class ProjectsResource.LocationsResource.PipelinesResource.PatchRequest
Updates a pipeline. If successful, the updated Pipeline is returned. Returns NOT_FOUND
if the
pipeline doesn't exist. If UpdatePipeline does not return successfully, you can retry the
UpdatePipeline request until you receive a successful response.
Inheritance
ProjectsResource.LocationsResource.PipelinesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Datapipelines.v1
Assembly: Google.Apis.Datapipelines.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PipelinesResource.PatchRequest : DatapipelinesBaseServiceRequest<GoogleCloudDatapipelinesV1Pipeline>, IClientServiceRequest<GoogleCloudDatapipelinesV1Pipeline>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatapipelinesV1Pipeline, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatapipelinesV1Pipeline body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatapipelinesV1Pipeline | 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.GoogleCloudDatapipelinesV1Pipeline>.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.GoogleCloudDatapipelinesV1Pipeline>.MethodName
Name
The pipeline name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID
. * PROJECT_ID
can contain
letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), and periods (.). For more
information, see Identifying
projects.
LOCATION_ID
is the canonical ID for the pipeline's location. The list of available locations can be obtained by callinggoogle.cloud.location.Locations.ListLocations
. Note that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in App Engine regions. *PIPELINE_ID
is the ID of the pipeline. Must be unique for the selected project and location.
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.GoogleCloudDatapipelinesV1Pipeline>.RestPath
UpdateMask
The list of fields to be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
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.GoogleCloudDatapipelinesV1Pipeline>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()