- 3.7.0 (latest)
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public abstract class PipelineServiceClient
Reference documentation and code samples for the Cloud AI Platform v1 API class PipelineServiceClient.
PipelineService client wrapper, for convenient use.
Derived Types
Namespace
GoogleCloudGoogle.Cloud.AIPlatformV1Assembly
Google.Cloud.AIPlatform.V1.dll
Remarks
A service for creating and managing Vertex AI's pipelines. This includes both
TrainingPipeline
resources (used for AutoML and custom training) and
PipelineJob
resources (used for Vertex AI Pipelines).
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the PipelineService service, which is a host of "aiplatform.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
string |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default PipelineService scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyListstring |
The default PipelineService scopes are:
DeletePipelineJobOperationsClient
public virtual OperationsClient DeletePipelineJobOperationsClient { get; }
The long-running operations client for DeletePipelineJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteTrainingPipelineOperationsClient
public virtual OperationsClient DeleteTrainingPipelineOperationsClient { get; }
The long-running operations client for DeleteTrainingPipeline
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual PipelineService.PipelineServiceClient GrpcClient { get; }
The underlying gRPC PipelineService client
Property Value | |
---|---|
Type | Description |
PipelineServicePipelineServiceClient |
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public virtual LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
Methods
CancelPipelineJob(CancelPipelineJobRequest, CallSettings)
public virtual void CancelPipelineJob(CancelPipelineJobRequest request, CallSettings callSettings = null)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelPipelineJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
PipelineServiceClient pipelineServiceClient = PipelineServiceClient.Create();
// Initialize request argument(s)
CancelPipelineJobRequest request = new CancelPipelineJobRequest
{
PipelineJobName = PipelineJobName.FromProjectLocationPipelineJob("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]"),
};
// Make the request
pipelineServiceClient.CancelPipelineJob(request);
CancelPipelineJob(PipelineJobName, CallSettings)
public virtual void CancelPipelineJob(PipelineJobName name, CallSettings callSettings = null)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | PipelineJobName Required. The name of the PipelineJob to cancel.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
PipelineServiceClient pipelineServiceClient = PipelineServiceClient.Create();
// Initialize request argument(s)
PipelineJobName name = PipelineJobName.FromProjectLocationPipelineJob("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]");
// Make the request
pipelineServiceClient.CancelPipelineJob(name);
CancelPipelineJob(string, CallSettings)
public virtual void CancelPipelineJob(string name, CallSettings callSettings = null)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | string Required. The name of the PipelineJob to cancel.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
PipelineServiceClient pipelineServiceClient = PipelineServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/pipelineJobs/[PIPELINE_JOB]";
// Make the request
pipelineServiceClient.CancelPipelineJob(name);
CancelPipelineJobAsync(CancelPipelineJobRequest, CallSettings)
public virtual Task CancelPipelineJobAsync(CancelPipelineJobRequest request, CallSettings callSettings = null)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelPipelineJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();
// Initialize request argument(s)
CancelPipelineJobRequest request = new CancelPipelineJobRequest
{
PipelineJobName = PipelineJobName.FromProjectLocationPipelineJob("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]"),
};
// Make the request
await pipelineServiceClient.CancelPipelineJobAsync(request);
CancelPipelineJobAsync(CancelPipelineJobRequest, CancellationToken)
public virtual Task CancelPipelineJobAsync(CancelPipelineJobRequest request, CancellationToken cancellationToken)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelPipelineJobRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();
// Initialize request argument(s)
CancelPipelineJobRequest request = new CancelPipelineJobRequest
{
PipelineJobName = PipelineJobName.FromProjectLocationPipelineJob("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]"),
};
// Make the request
await pipelineServiceClient.CancelPipelineJobAsync(request);
CancelPipelineJobAsync(PipelineJobName, CallSettings)
public virtual Task CancelPipelineJobAsync(PipelineJobName name, CallSettings callSettings = null)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | PipelineJobName Required. The name of the PipelineJob to cancel.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();
// Initialize request argument(s)
PipelineJobName name = PipelineJobName.FromProjectLocationPipelineJob("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]");
// Make the request
await pipelineServiceClient.CancelPipelineJobAsync(name);
CancelPipelineJobAsync(PipelineJobName, CancellationToken)
public virtual Task CancelPipelineJobAsync(PipelineJobName name, CancellationToken cancellationToken)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | PipelineJobName Required. The name of the PipelineJob to cancel.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();
// Initialize request argument(s)
PipelineJobName name = PipelineJobName.FromProjectLocationPipelineJob("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]");
// Make the request
await pipelineServiceClient.CancelPipelineJobAsync(name);
CancelPipelineJobAsync(string, CallSettings)
public virtual Task CancelPipelineJobAsync(string name, CallSettings callSettings = null)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | string Required. The name of the PipelineJob to cancel.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/pipelineJobs/[PIPELINE_JOB]";
// Make the request
await pipelineServiceClient.CancelPipelineJobAsync(name);
CancelPipelineJobAsync(string, CancellationToken)
public virtual Task CancelPipelineJobAsync(string name, CancellationToken cancellationToken)
Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED
, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | string Required. The name of the PipelineJob to cancel.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/pipelineJobs/[PIPELINE_JOB]";
// Make the request
await pipelineServiceClient.CancelPipelineJobAsync(name);
CancelTrainingPipeline(CancelTrainingPipelineRequest, CallSettings)
public virtual void CancelTrainingPipeline(CancelTrainingPipelineRequest request, CallSettings callSettings = null)
Cancels a TrainingPipeline.
Starts asynchronous cancellation on the TrainingPipeline. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the TrainingPipeline is not deleted; instead it becomes a pipeline with
a
[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelTrainingPipelineRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
PipelineServiceClient pipelineServiceClient = PipelineServiceClient.Create();
// Initialize request argument(s)
CancelTrainingPipelineRequest request = new CancelTrainingPipelineRequest
{
TrainingPipelineName = TrainingPipelineName.FromProjectLocationTrainingPipeline("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]"),
};
// Make the request
pipelineServiceClient.CancelTrainingPipeline(request);
CancelTrainingPipeline(TrainingPipelineName, CallSettings)
public virtual void CancelTrainingPipeline(TrainingPipelineName name, CallSettings callSettings = null)
Cancels a TrainingPipeline.
Starts asynchronous cancellation on the TrainingPipeline. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the TrainingPipeline is not deleted; instead it becomes a pipeline with
a
[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | TrainingPipelineName Required. The name of the TrainingPipeline to cancel.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
PipelineServiceClient pipelineServiceClient = PipelineServiceClient.Create();
// Initialize request argument(s)
TrainingPipelineName name = TrainingPipelineName.FromProjectLocationTrainingPipeline("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]");
// Make the request
pipelineServiceClient.CancelTrainingPipeline(name);
CancelTrainingPipeline(string, CallSettings)
public virtual void CancelTrainingPipeline(string name, CallSettings callSettings = null)
Cancels a TrainingPipeline.
Starts asynchronous cancellation on the TrainingPipeline. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the TrainingPipeline is not deleted; instead it becomes a pipeline with
a
[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
name | string Required. The name of the TrainingPipeline to cancel.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
PipelineServiceClient pipelineServiceClient = PipelineServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trainingPipelines/[TRAINING_PIPELINE]";
// Make the request
pipelineServiceClient.CancelTrainingPipeline(name);
CancelTrainingPipelineAsync(CancelTrainingPipelineRequest, CallSettings)
public virtual Task CancelTrainingPipelineAsync(CancelTrainingPipelineRequest request, CallSettings callSettings = null)
Cancels a TrainingPipeline.
Starts asynchronous cancellation on the TrainingPipeline. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the TrainingPipeline is not deleted; instead it becomes a pipeline with
a
[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelTrainingPipelineRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();
// Initialize request argument(s)
CancelTrainingPipelineRequest request = new CancelTrainingPipelineRequest
{
TrainingPipelineName = TrainingPipelineName.FromProjectLocationTrainingPipeline("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]"),
};
// Make the request
await pipelineServiceClient.CancelTrainingPipelineAsync(request);
CancelTrainingPipelineAsync(CancelTrainingPipelineRequest, CancellationToken)
public virtual Task CancelTrainingPipelineAsync(CancelTrainingPipelineRequest request, CancellationToken cancellationToken)
Cancels a TrainingPipeline.
Starts asynchronous cancellation on the TrainingPipeline. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the TrainingPipeline is not deleted; instead it becomes a pipeline with
a
[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelTrainingPipelineRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A Cancel |