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.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.1.0 1.0.0

    public abstract class CloudDeployClient

Reference documentation and code samples for the Google Cloud Deploy v1 API class CloudDeployClient.

CloudDeploy client wrapper, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CloudDeployClient

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Derived Types

[CloudDeployClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClientImpl.md.txt)

## Namespace

[Google.Cloud.Deploy.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.md.txt)

## Assembly

Google.Cloud.Deploy.V1.dll

## Remarks

CloudDeploy service creates and manages Continuous Delivery operations
on Google Cloud Platform via Skaffold (<https://skaffold.dev>).

## Properties

### CreateAutomationOperationsClient

    public virtual OperationsClient CreateAutomationOperationsClient { get; }

The long-running operations client for `CreateAutomation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateCustomTargetTypeOperationsClient

    public virtual OperationsClient CreateCustomTargetTypeOperationsClient { get; }

The long-running operations client for `CreateCustomTargetType`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateDeliveryPipelineOperationsClient

    public virtual OperationsClient CreateDeliveryPipelineOperationsClient { get; }

The long-running operations client for `CreateDeliveryPipeline`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateDeployPolicyOperationsClient

    public virtual OperationsClient CreateDeployPolicyOperationsClient { get; }

The long-running operations client for `CreateDeployPolicy`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateReleaseOperationsClient

    public virtual OperationsClient CreateReleaseOperationsClient { get; }

The long-running operations client for `CreateRelease`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateRolloutOperationsClient

    public virtual OperationsClient CreateRolloutOperationsClient { get; }

The long-running operations client for `CreateRollout`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateTargetOperationsClient

    public virtual OperationsClient CreateTargetOperationsClient { get; }

The long-running operations client for `CreateTarget`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the CloudDeploy service, which is a host of "clouddeploy.googleapis.com" and a port
of 443.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default CloudDeploy scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IReadOnlyListstring` |   |

**Remarks** The default CloudDeploy scopes are:

- <https://www.googleapis.com/auth/cloud-platform>

<br />

### DeleteAutomationOperationsClient

    public virtual OperationsClient DeleteAutomationOperationsClient { get; }

The long-running operations client for `DeleteAutomation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DeleteCustomTargetTypeOperationsClient

    public virtual OperationsClient DeleteCustomTargetTypeOperationsClient { get; }

The long-running operations client for `DeleteCustomTargetType`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DeleteDeliveryPipelineOperationsClient

    public virtual OperationsClient DeleteDeliveryPipelineOperationsClient { get; }

The long-running operations client for `DeleteDeliveryPipeline`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DeleteDeployPolicyOperationsClient

    public virtual OperationsClient DeleteDeployPolicyOperationsClient { get; }

The long-running operations client for `DeleteDeployPolicy`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DeleteTargetOperationsClient

    public virtual OperationsClient DeleteTargetOperationsClient { get; }

The long-running operations client for `DeleteTarget`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### GrpcClient

    public virtual CloudDeploy.CloudDeployClient GrpcClient { get; }

The underlying gRPC CloudDeploy client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CloudDeployCloudDeployClient` |   |

### IAMPolicyClient

    public virtual IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyClient` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.md.txt) 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` |   |

### UpdateAutomationOperationsClient

    public virtual OperationsClient UpdateAutomationOperationsClient { get; }

The long-running operations client for `UpdateAutomation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### UpdateCustomTargetTypeOperationsClient

    public virtual OperationsClient UpdateCustomTargetTypeOperationsClient { get; }

The long-running operations client for `UpdateCustomTargetType`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### UpdateDeliveryPipelineOperationsClient

    public virtual OperationsClient UpdateDeliveryPipelineOperationsClient { get; }

The long-running operations client for `UpdateDeliveryPipeline`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### UpdateDeployPolicyOperationsClient

    public virtual OperationsClient UpdateDeployPolicyOperationsClient { get; }

The long-running operations client for `UpdateDeployPolicy`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### UpdateTargetOperationsClient

    public virtual OperationsClient UpdateTargetOperationsClient { get; }

The long-running operations client for `UpdateTarget`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

## Methods

### AbandonRelease(AbandonReleaseRequest, CallSettings)

    public virtual AbandonReleaseResponse AbandonRelease(AbandonReleaseRequest request, CallSettings callSettings = null)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `AbandonReleaseRequest` 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** |
| `AbandonReleaseResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
AbandonReleaseRequest request = new AbandonReleaseRequest
{
    ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
};
// Make the request
AbandonReleaseResponse response = cloudDeployClient.AbandonRelease(request);
```

### AbandonRelease(ReleaseName, CallSettings)

    public virtual AbandonReleaseResponse AbandonRelease(ReleaseName name, CallSettings callSettings = null)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReleaseName` Required. Name of the Release. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AbandonReleaseResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
AbandonReleaseResponse response = cloudDeployClient.AbandonRelease(name);
```

### AbandonRelease(string, CallSettings)

    public virtual AbandonReleaseResponse AbandonRelease(string name, CallSettings callSettings = null)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Release. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AbandonReleaseResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
AbandonReleaseResponse response = cloudDeployClient.AbandonRelease(name);
```

### AbandonReleaseAsync(AbandonReleaseRequest, CallSettings)

    public virtual Task<AbandonReleaseResponse> AbandonReleaseAsync(AbandonReleaseRequest request, CallSettings callSettings = null)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `AbandonReleaseRequest` 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** |
| `TaskAbandonReleaseResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AbandonReleaseRequest request = new AbandonReleaseRequest
{
    ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
};
// Make the request
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(request);
```

### AbandonReleaseAsync(AbandonReleaseRequest, CancellationToken)

    public virtual Task<AbandonReleaseResponse> AbandonReleaseAsync(AbandonReleaseRequest request, CancellationToken cancellationToken)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `AbandonReleaseRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAbandonReleaseResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AbandonReleaseRequest request = new AbandonReleaseRequest
{
    ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
};
// Make the request
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(request);
```

### AbandonReleaseAsync(ReleaseName, CallSettings)

    public virtual Task<AbandonReleaseResponse> AbandonReleaseAsync(ReleaseName name, CallSettings callSettings = null)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReleaseName` Required. Name of the Release. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAbandonReleaseResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(name);
```

### AbandonReleaseAsync(ReleaseName, CancellationToken)

    public virtual Task<AbandonReleaseResponse> AbandonReleaseAsync(ReleaseName name, CancellationToken cancellationToken)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReleaseName` Required. Name of the Release. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAbandonReleaseResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(name);
```

### AbandonReleaseAsync(string, CallSettings)

    public virtual Task<AbandonReleaseResponse> AbandonReleaseAsync(string name, CallSettings callSettings = null)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Release. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAbandonReleaseResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(name);
```

### AbandonReleaseAsync(string, CancellationToken)

    public virtual Task<AbandonReleaseResponse> AbandonReleaseAsync(string name, CancellationToken cancellationToken)

Abandons a Release in the Delivery Pipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Release. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAbandonReleaseResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(name);
```

### AdvanceRollout(AdvanceRolloutRequest, CallSettings)

    public virtual AdvanceRolloutResponse AdvanceRollout(AdvanceRolloutRequest request, CallSettings callSettings = null)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `AdvanceRolloutRequest` 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** |
| `AdvanceRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
AdvanceRolloutRequest request = new AdvanceRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
AdvanceRolloutResponse response = cloudDeployClient.AdvanceRollout(request);
```

### AdvanceRollout(RolloutName, string, CallSettings)

    public virtual AdvanceRolloutResponse AdvanceRollout(RolloutName name, string phaseId, CallSettings callSettings = null)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID to advance the `Rollout` to. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AdvanceRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
// Make the request
AdvanceRolloutResponse response = cloudDeployClient.AdvanceRollout(name, phaseId);
```

### AdvanceRollout(string, string, CallSettings)

    public virtual AdvanceRolloutResponse AdvanceRollout(string name, string phaseId, CallSettings callSettings = null)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID to advance the `Rollout` to. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AdvanceRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
// Make the request
AdvanceRolloutResponse response = cloudDeployClient.AdvanceRollout(name, phaseId);
```

### AdvanceRolloutAsync(AdvanceRolloutRequest, CallSettings)

    public virtual Task<AdvanceRolloutResponse> AdvanceRolloutAsync(AdvanceRolloutRequest request, CallSettings callSettings = null)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `AdvanceRolloutRequest` 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** |
| `TaskAdvanceRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AdvanceRolloutRequest request = new AdvanceRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(request);
```

### AdvanceRolloutAsync(AdvanceRolloutRequest, CancellationToken)

    public virtual Task<AdvanceRolloutResponse> AdvanceRolloutAsync(AdvanceRolloutRequest request, CancellationToken cancellationToken)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `AdvanceRolloutRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAdvanceRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AdvanceRolloutRequest request = new AdvanceRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(request);
```

### AdvanceRolloutAsync(RolloutName, string, CallSettings)

    public virtual Task<AdvanceRolloutResponse> AdvanceRolloutAsync(RolloutName name, string phaseId, CallSettings callSettings = null)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID to advance the `Rollout` to. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAdvanceRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
// Make the request
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(name, phaseId);
```

### AdvanceRolloutAsync(RolloutName, string, CancellationToken)

    public virtual Task<AdvanceRolloutResponse> AdvanceRolloutAsync(RolloutName name, string phaseId, CancellationToken cancellationToken)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID to advance the `Rollout` to. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAdvanceRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
// Make the request
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(name, phaseId);
```

### AdvanceRolloutAsync(string, string, CallSettings)

    public virtual Task<AdvanceRolloutResponse> AdvanceRolloutAsync(string name, string phaseId, CallSettings callSettings = null)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID to advance the `Rollout` to. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAdvanceRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
// Make the request
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(name, phaseId);
```

### AdvanceRolloutAsync(string, string, CancellationToken)

    public virtual Task<AdvanceRolloutResponse> AdvanceRolloutAsync(string name, string phaseId, CancellationToken cancellationToken)

Advances a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID to advance the `Rollout` to. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAdvanceRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
// Make the request
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(name, phaseId);
```

### ApproveRollout(ApproveRolloutRequest, CallSettings)

    public virtual ApproveRolloutResponse ApproveRollout(ApproveRolloutRequest request, CallSettings callSettings = null)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ApproveRolloutRequest` 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** |
| `ApproveRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ApproveRolloutRequest request = new ApproveRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    Approved = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
ApproveRolloutResponse response = cloudDeployClient.ApproveRollout(request);
```

### ApproveRollout(RolloutName, CallSettings)

    public virtual ApproveRolloutResponse ApproveRollout(RolloutName name, CallSettings callSettings = null)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ApproveRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
ApproveRolloutResponse response = cloudDeployClient.ApproveRollout(name);
```

### ApproveRollout(string, CallSettings)

    public virtual ApproveRolloutResponse ApproveRollout(string name, CallSettings callSettings = null)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ApproveRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
ApproveRolloutResponse response = cloudDeployClient.ApproveRollout(name);
```

### ApproveRolloutAsync(ApproveRolloutRequest, CallSettings)

    public virtual Task<ApproveRolloutResponse> ApproveRolloutAsync(ApproveRolloutRequest request, CallSettings callSettings = null)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ApproveRolloutRequest` 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** |
| `TaskApproveRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ApproveRolloutRequest request = new ApproveRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    Approved = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
ApproveRolloutResponse response = await cloudDeployClient.ApproveRolloutAsync(request);
```

### ApproveRolloutAsync(ApproveRolloutRequest, CancellationToken)

    public virtual Task<ApproveRolloutResponse> ApproveRolloutAsync(ApproveRolloutRequest request, CancellationToken cancellationToken)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ApproveRolloutRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskApproveRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ApproveRolloutRequest request = new ApproveRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    Approved = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
ApproveRolloutResponse response = await cloudDeployClient.ApproveRolloutAsync(request);
```

### ApproveRolloutAsync(RolloutName, CallSettings)

    public virtual Task<ApproveRolloutResponse> ApproveRolloutAsync(RolloutName name, CallSettings callSettings = null)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskApproveRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
ApproveRolloutResponse response = await cloudDeployClient.ApproveRolloutAsync(name);
```

### ApproveRolloutAsync(RolloutName, CancellationToken)

    public virtual Task<ApproveRolloutResponse> ApproveRolloutAsync(RolloutName name, CancellationToken cancellationToken)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskApproveRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
ApproveRolloutResponse response = await cloudDeployClient.ApproveRolloutAsync(name);
```

### ApproveRolloutAsync(string, CallSettings)

    public virtual Task<ApproveRolloutResponse> ApproveRolloutAsync(string name, CallSettings callSettings = null)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskApproveRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
ApproveRolloutResponse response = await cloudDeployClient.ApproveRolloutAsync(name);
```

### ApproveRolloutAsync(string, CancellationToken)

    public virtual Task<ApproveRolloutResponse> ApproveRolloutAsync(string name, CancellationToken cancellationToken)

Approves a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskApproveRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
ApproveRolloutResponse response = await cloudDeployClient.ApproveRolloutAsync(name);
```

### CancelAutomationRun(AutomationRunName, CallSettings)

    public virtual CancelAutomationRunResponse CancelAutomationRun(AutomationRunName name, CallSettings callSettings = null)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationRunName` Required. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CancelAutomationRunResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
AutomationRunName name = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]");
// Make the request
CancelAutomationRunResponse response = cloudDeployClient.CancelAutomationRun(name);
```

### CancelAutomationRun(CancelAutomationRunRequest, CallSettings)

    public virtual CancelAutomationRunResponse CancelAutomationRun(CancelAutomationRunRequest request, CallSettings callSettings = null)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelAutomationRunRequest` 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** |
| `CancelAutomationRunResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CancelAutomationRunRequest request = new CancelAutomationRunRequest
{
    AutomationRunName = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]"),
};
// Make the request
CancelAutomationRunResponse response = cloudDeployClient.CancelAutomationRun(request);
```

### CancelAutomationRun(string, CallSettings)

    public virtual CancelAutomationRunResponse CancelAutomationRun(string name, CallSettings callSettings = null)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CancelAutomationRunResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automationRuns/[AUTOMATION_RUN]";
// Make the request
CancelAutomationRunResponse response = cloudDeployClient.CancelAutomationRun(name);
```

### CancelAutomationRunAsync(AutomationRunName, CallSettings)

    public virtual Task<CancelAutomationRunResponse> CancelAutomationRunAsync(AutomationRunName name, CallSettings callSettings = null)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationRunName` Required. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelAutomationRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationRunName name = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]");
// Make the request
CancelAutomationRunResponse response = await cloudDeployClient.CancelAutomationRunAsync(name);
```

### CancelAutomationRunAsync(AutomationRunName, CancellationToken)

    public virtual Task<CancelAutomationRunResponse> CancelAutomationRunAsync(AutomationRunName name, CancellationToken cancellationToken)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationRunName` Required. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelAutomationRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationRunName name = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]");
// Make the request
CancelAutomationRunResponse response = await cloudDeployClient.CancelAutomationRunAsync(name);
```

### CancelAutomationRunAsync(CancelAutomationRunRequest, CallSettings)

    public virtual Task<CancelAutomationRunResponse> CancelAutomationRunAsync(CancelAutomationRunRequest request, CallSettings callSettings = null)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelAutomationRunRequest` 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** |
| `TaskCancelAutomationRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CancelAutomationRunRequest request = new CancelAutomationRunRequest
{
    AutomationRunName = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]"),
};
// Make the request
CancelAutomationRunResponse response = await cloudDeployClient.CancelAutomationRunAsync(request);
```

### CancelAutomationRunAsync(CancelAutomationRunRequest, CancellationToken)

    public virtual Task<CancelAutomationRunResponse> CancelAutomationRunAsync(CancelAutomationRunRequest request, CancellationToken cancellationToken)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelAutomationRunRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelAutomationRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CancelAutomationRunRequest request = new CancelAutomationRunRequest
{
    AutomationRunName = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]"),
};
// Make the request
CancelAutomationRunResponse response = await cloudDeployClient.CancelAutomationRunAsync(request);
```

### CancelAutomationRunAsync(string, CallSettings)

    public virtual Task<CancelAutomationRunResponse> CancelAutomationRunAsync(string name, CallSettings callSettings = null)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelAutomationRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automationRuns/[AUTOMATION_RUN]";
// Make the request
CancelAutomationRunResponse response = await cloudDeployClient.CancelAutomationRunAsync(name);
```

### CancelAutomationRunAsync(string, CancellationToken)

    public virtual Task<CancelAutomationRunResponse> CancelAutomationRunAsync(string name, CancellationToken cancellationToken)

Cancels an AutomationRun. The `state` of the `AutomationRun` after
cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
in a different state returns an `FAILED_PRECONDITION` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelAutomationRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automationRuns/[AUTOMATION_RUN]";
// Make the request
CancelAutomationRunResponse response = await cloudDeployClient.CancelAutomationRunAsync(name);
```

### CancelRollout(CancelRolloutRequest, CallSettings)

    public virtual CancelRolloutResponse CancelRollout(CancelRolloutRequest request, CallSettings callSettings = null)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelRolloutRequest` 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** |
| `CancelRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CancelRolloutRequest request = new CancelRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
CancelRolloutResponse response = cloudDeployClient.CancelRollout(request);
```

### CancelRollout(RolloutName, CallSettings)

    public virtual CancelRolloutResponse CancelRollout(RolloutName name, CallSettings callSettings = null)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CancelRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
CancelRolloutResponse response = cloudDeployClient.CancelRollout(name);
```

### CancelRollout(string, CallSettings)

    public virtual CancelRolloutResponse CancelRollout(string name, CallSettings callSettings = null)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CancelRolloutResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
CancelRolloutResponse response = cloudDeployClient.CancelRollout(name);
```

### CancelRolloutAsync(CancelRolloutRequest, CallSettings)

    public virtual Task<CancelRolloutResponse> CancelRolloutAsync(CancelRolloutRequest request, CallSettings callSettings = null)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelRolloutRequest` 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** |
| `TaskCancelRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CancelRolloutRequest request = new CancelRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
CancelRolloutResponse response = await cloudDeployClient.CancelRolloutAsync(request);
```

### CancelRolloutAsync(CancelRolloutRequest, CancellationToken)

    public virtual Task<CancelRolloutResponse> CancelRolloutAsync(CancelRolloutRequest request, CancellationToken cancellationToken)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelRolloutRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CancelRolloutRequest request = new CancelRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
CancelRolloutResponse response = await cloudDeployClient.CancelRolloutAsync(request);
```

### CancelRolloutAsync(RolloutName, CallSettings)

    public virtual Task<CancelRolloutResponse> CancelRolloutAsync(RolloutName name, CallSettings callSettings = null)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
CancelRolloutResponse response = await cloudDeployClient.CancelRolloutAsync(name);
```

### CancelRolloutAsync(RolloutName, CancellationToken)

    public virtual Task<CancelRolloutResponse> CancelRolloutAsync(RolloutName name, CancellationToken cancellationToken)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
CancelRolloutResponse response = await cloudDeployClient.CancelRolloutAsync(name);
```

### CancelRolloutAsync(string, CallSettings)

    public virtual Task<CancelRolloutResponse> CancelRolloutAsync(string name, CallSettings callSettings = null)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
CancelRolloutResponse response = await cloudDeployClient.CancelRolloutAsync(name);
```

### CancelRolloutAsync(string, CancellationToken)

    public virtual Task<CancelRolloutResponse> CancelRolloutAsync(string name, CancellationToken cancellationToken)

Cancels a Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCancelRolloutResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
CancelRolloutResponse response = await cloudDeployClient.CancelRolloutAsync(name);
```

### Create()

    public static CloudDeployClient Create()

Synchronously creates a [CloudDeployClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [CloudDeployClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClientBuilder.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CloudDeployClient` | The created [CloudDeployClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt). |

### CreateAsync(CancellationToken)

    public static Task<CloudDeployClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [CloudDeployClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [CloudDeployClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClientBuilder.md.txt).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `CancellationToken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCloudDeployClient` | The task representing the created [CloudDeployClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt). |

### CreateAutomation(CreateAutomationRequest, CallSettings)

    public virtual Operation<Automation, OperationMetadata> CreateAutomation(CreateAutomationRequest request, CallSettings callSettings = null)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAutomationRequest` 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** |
| `OperationAutomationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CreateAutomationRequest request = new CreateAutomationRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    AutomationId = "",
    Automation = new Automation(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Automation, OperationMetadata> response = cloudDeployClient.CreateAutomation(request);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomation(DeliveryPipelineName, Automation, string, CallSettings)

    public virtual Operation<Automation, OperationMetadata> CreateAutomation(DeliveryPipelineName parent, Automation automation, string automationId, CallSettings callSettings = null)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent collection in which the `Automation` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `automation` | `Automation` Required. The `Automation` to create. |
| `automationId` | `string` Required. ID of the `Automation`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationAutomationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
Automation automation = new Automation();
string automationId = "";
// Make the request
Operation<Automation, OperationMetadata> response = cloudDeployClient.CreateAutomation(parent, automation, automationId);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomation(string, Automation, string, CallSettings)

    public virtual Operation<Automation, OperationMetadata> CreateAutomation(string parent, Automation automation, string automationId, CallSettings callSettings = null)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Automation` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `automation` | `Automation` Required. The `Automation` to create. |
| `automationId` | `string` Required. ID of the `Automation`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationAutomationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
Automation automation = new Automation();
string automationId = "";
// Make the request
Operation<Automation, OperationMetadata> response = cloudDeployClient.CreateAutomation(parent, automation, automationId);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomationAsync(CreateAutomationRequest, CallSettings)

    public virtual Task<Operation<Automation, OperationMetadata>> CreateAutomationAsync(CreateAutomationRequest request, CallSettings callSettings = null)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAutomationRequest` 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** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateAutomationRequest request = new CreateAutomationRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    AutomationId = "",
    Automation = new Automation(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.CreateAutomationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomationAsync(CreateAutomationRequest, CancellationToken)

    public virtual Task<Operation<Automation, OperationMetadata>> CreateAutomationAsync(CreateAutomationRequest request, CancellationToken cancellationToken)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAutomationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateAutomationRequest request = new CreateAutomationRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    AutomationId = "",
    Automation = new Automation(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.CreateAutomationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomationAsync(DeliveryPipelineName, Automation, string, CallSettings)

    public virtual Task<Operation<Automation, OperationMetadata>> CreateAutomationAsync(DeliveryPipelineName parent, Automation automation, string automationId, CallSettings callSettings = null)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent collection in which the `Automation` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `automation` | `Automation` Required. The `Automation` to create. |
| `automationId` | `string` Required. ID of the `Automation`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
Automation automation = new Automation();
string automationId = "";
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.CreateAutomationAsync(parent, automation, automationId);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomationAsync(DeliveryPipelineName, Automation, string, CancellationToken)

    public virtual Task<Operation<Automation, OperationMetadata>> CreateAutomationAsync(DeliveryPipelineName parent, Automation automation, string automationId, CancellationToken cancellationToken)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent collection in which the `Automation` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `automation` | `Automation` Required. The `Automation` to create. |
| `automationId` | `string` Required. ID of the `Automation`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
Automation automation = new Automation();
string automationId = "";
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.CreateAutomationAsync(parent, automation, automationId);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomationAsync(string, Automation, string, CallSettings)

    public virtual Task<Operation<Automation, OperationMetadata>> CreateAutomationAsync(string parent, Automation automation, string automationId, CallSettings callSettings = null)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Automation` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `automation` | `Automation` Required. The `Automation` to create. |
| `automationId` | `string` Required. ID of the `Automation`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
Automation automation = new Automation();
string automationId = "";
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.CreateAutomationAsync(parent, automation, automationId);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateAutomationAsync(string, Automation, string, CancellationToken)

    public virtual Task<Operation<Automation, OperationMetadata>> CreateAutomationAsync(string parent, Automation automation, string automationId, CancellationToken cancellationToken)

Creates a new Automation in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Automation` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `automation` | `Automation` Required. The `Automation` to create. |
| `automationId` | `string` Required. ID of the `Automation`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
Automation automation = new Automation();
string automationId = "";
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.CreateAutomationAsync(parent, automation, automationId);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetType(LocationName, CustomTargetType, string, CallSettings)

    public virtual Operation<CustomTargetType, OperationMetadata> CreateCustomTargetType(LocationName parent, CustomTargetType customTargetType, string customTargetTypeId, CallSettings callSettings = null)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `CustomTargetType` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to create. |
| `customTargetTypeId` | `string` Required. ID of the `CustomTargetType`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationCustomTargetTypeOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CustomTargetType customTargetType = new CustomTargetType();
string customTargetTypeId = "";
// Make the request
Operation<CustomTargetType, OperationMetadata> response = cloudDeployClient.CreateCustomTargetType(parent, customTargetType, customTargetTypeId);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetType(CreateCustomTargetTypeRequest, CallSettings)

    public virtual Operation<CustomTargetType, OperationMetadata> CreateCustomTargetType(CreateCustomTargetTypeRequest request, CallSettings callSettings = null)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateCustomTargetTypeRequest` 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** |
| `OperationCustomTargetTypeOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CreateCustomTargetTypeRequest request = new CreateCustomTargetTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CustomTargetTypeId = "",
    CustomTargetType = new CustomTargetType(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<CustomTargetType, OperationMetadata> response = cloudDeployClient.CreateCustomTargetType(request);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetType(string, CustomTargetType, string, CallSettings)

    public virtual Operation<CustomTargetType, OperationMetadata> CreateCustomTargetType(string parent, CustomTargetType customTargetType, string customTargetTypeId, CallSettings callSettings = null)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `CustomTargetType` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to create. |
| `customTargetTypeId` | `string` Required. ID of the `CustomTargetType`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationCustomTargetTypeOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CustomTargetType customTargetType = new CustomTargetType();
string customTargetTypeId = "";
// Make the request
Operation<CustomTargetType, OperationMetadata> response = cloudDeployClient.CreateCustomTargetType(parent, customTargetType, customTargetTypeId);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetTypeAsync(LocationName, CustomTargetType, string, CallSettings)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> CreateCustomTargetTypeAsync(LocationName parent, CustomTargetType customTargetType, string customTargetTypeId, CallSettings callSettings = null)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `CustomTargetType` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to create. |
| `customTargetTypeId` | `string` Required. ID of the `CustomTargetType`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CustomTargetType customTargetType = new CustomTargetType();
string customTargetTypeId = "";
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.CreateCustomTargetTypeAsync(parent, customTargetType, customTargetTypeId);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetTypeAsync(LocationName, CustomTargetType, string, CancellationToken)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> CreateCustomTargetTypeAsync(LocationName parent, CustomTargetType customTargetType, string customTargetTypeId, CancellationToken cancellationToken)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `CustomTargetType` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to create. |
| `customTargetTypeId` | `string` Required. ID of the `CustomTargetType`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CustomTargetType customTargetType = new CustomTargetType();
string customTargetTypeId = "";
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.CreateCustomTargetTypeAsync(parent, customTargetType, customTargetTypeId);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetTypeAsync(CreateCustomTargetTypeRequest, CallSettings)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> CreateCustomTargetTypeAsync(CreateCustomTargetTypeRequest request, CallSettings callSettings = null)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateCustomTargetTypeRequest` 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** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateCustomTargetTypeRequest request = new CreateCustomTargetTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CustomTargetTypeId = "",
    CustomTargetType = new CustomTargetType(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.CreateCustomTargetTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetTypeAsync(CreateCustomTargetTypeRequest, CancellationToken)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> CreateCustomTargetTypeAsync(CreateCustomTargetTypeRequest request, CancellationToken cancellationToken)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateCustomTargetTypeRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateCustomTargetTypeRequest request = new CreateCustomTargetTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CustomTargetTypeId = "",
    CustomTargetType = new CustomTargetType(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.CreateCustomTargetTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetTypeAsync(string, CustomTargetType, string, CallSettings)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> CreateCustomTargetTypeAsync(string parent, CustomTargetType customTargetType, string customTargetTypeId, CallSettings callSettings = null)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `CustomTargetType` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to create. |
| `customTargetTypeId` | `string` Required. ID of the `CustomTargetType`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CustomTargetType customTargetType = new CustomTargetType();
string customTargetTypeId = "";
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.CreateCustomTargetTypeAsync(parent, customTargetType, customTargetTypeId);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateCustomTargetTypeAsync(string, CustomTargetType, string, CancellationToken)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> CreateCustomTargetTypeAsync(string parent, CustomTargetType customTargetType, string customTargetTypeId, CancellationToken cancellationToken)

Creates a new CustomTargetType in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `CustomTargetType` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to create. |
| `customTargetTypeId` | `string` Required. ID of the `CustomTargetType`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CustomTargetType customTargetType = new CustomTargetType();
string customTargetTypeId = "";
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.CreateCustomTargetTypeAsync(parent, customTargetType, customTargetTypeId);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipeline(LocationName, DeliveryPipeline, string, CallSettings)

    public virtual Operation<DeliveryPipeline, OperationMetadata> CreateDeliveryPipeline(LocationName parent, DeliveryPipeline deliveryPipeline, string deliveryPipelineId, CallSettings callSettings = null)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `DeliveryPipeline` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to create. |
| `deliveryPipelineId` | `string` Required. ID of the `DeliveryPipeline`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeliveryPipelineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
string deliveryPipelineId = "";
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = cloudDeployClient.CreateDeliveryPipeline(parent, deliveryPipeline, deliveryPipelineId);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipeline(CreateDeliveryPipelineRequest, CallSettings)

    public virtual Operation<DeliveryPipeline, OperationMetadata> CreateDeliveryPipeline(CreateDeliveryPipelineRequest request, CallSettings callSettings = null)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateDeliveryPipelineRequest` 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** |
| `OperationDeliveryPipelineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CreateDeliveryPipelineRequest request = new CreateDeliveryPipelineRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DeliveryPipelineId = "",
    DeliveryPipeline = new DeliveryPipeline(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = cloudDeployClient.CreateDeliveryPipeline(request);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipeline(string, DeliveryPipeline, string, CallSettings)

    public virtual Operation<DeliveryPipeline, OperationMetadata> CreateDeliveryPipeline(string parent, DeliveryPipeline deliveryPipeline, string deliveryPipelineId, CallSettings callSettings = null)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `DeliveryPipeline` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to create. |
| `deliveryPipelineId` | `string` Required. ID of the `DeliveryPipeline`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeliveryPipelineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
string deliveryPipelineId = "";
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = cloudDeployClient.CreateDeliveryPipeline(parent, deliveryPipeline, deliveryPipelineId);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipelineAsync(LocationName, DeliveryPipeline, string, CallSettings)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> CreateDeliveryPipelineAsync(LocationName parent, DeliveryPipeline deliveryPipeline, string deliveryPipelineId, CallSettings callSettings = null)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `DeliveryPipeline` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to create. |
| `deliveryPipelineId` | `string` Required. ID of the `DeliveryPipeline`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
string deliveryPipelineId = "";
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.CreateDeliveryPipelineAsync(parent, deliveryPipeline, deliveryPipelineId);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipelineAsync(LocationName, DeliveryPipeline, string, CancellationToken)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> CreateDeliveryPipelineAsync(LocationName parent, DeliveryPipeline deliveryPipeline, string deliveryPipelineId, CancellationToken cancellationToken)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `DeliveryPipeline` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to create. |
| `deliveryPipelineId` | `string` Required. ID of the `DeliveryPipeline`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
string deliveryPipelineId = "";
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.CreateDeliveryPipelineAsync(parent, deliveryPipeline, deliveryPipelineId);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipelineAsync(CreateDeliveryPipelineRequest, CallSettings)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> CreateDeliveryPipelineAsync(CreateDeliveryPipelineRequest request, CallSettings callSettings = null)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateDeliveryPipelineRequest` 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** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateDeliveryPipelineRequest request = new CreateDeliveryPipelineRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DeliveryPipelineId = "",
    DeliveryPipeline = new DeliveryPipeline(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.CreateDeliveryPipelineAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipelineAsync(CreateDeliveryPipelineRequest, CancellationToken)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> CreateDeliveryPipelineAsync(CreateDeliveryPipelineRequest request, CancellationToken cancellationToken)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateDeliveryPipelineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateDeliveryPipelineRequest request = new CreateDeliveryPipelineRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DeliveryPipelineId = "",
    DeliveryPipeline = new DeliveryPipeline(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.CreateDeliveryPipelineAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipelineAsync(string, DeliveryPipeline, string, CallSettings)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> CreateDeliveryPipelineAsync(string parent, DeliveryPipeline deliveryPipeline, string deliveryPipelineId, CallSettings callSettings = null)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `DeliveryPipeline` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to create. |
| `deliveryPipelineId` | `string` Required. ID of the `DeliveryPipeline`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
string deliveryPipelineId = "";
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.CreateDeliveryPipelineAsync(parent, deliveryPipeline, deliveryPipelineId);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeliveryPipelineAsync(string, DeliveryPipeline, string, CancellationToken)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> CreateDeliveryPipelineAsync(string parent, DeliveryPipeline deliveryPipeline, string deliveryPipelineId, CancellationToken cancellationToken)

Creates a new DeliveryPipeline in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `DeliveryPipeline` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to create. |
| `deliveryPipelineId` | `string` Required. ID of the `DeliveryPipeline`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
string deliveryPipelineId = "";
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.CreateDeliveryPipelineAsync(parent, deliveryPipeline, deliveryPipelineId);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicy(LocationName, DeployPolicy, string, CallSettings)

    public virtual Operation<DeployPolicy, OperationMetadata> CreateDeployPolicy(LocationName parent, DeployPolicy deployPolicy, string deployPolicyId, CallSettings callSettings = null)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to create. |
| `deployPolicyId` | `string` Required. ID of the `DeployPolicy`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeployPolicyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DeployPolicy deployPolicy = new DeployPolicy();
string deployPolicyId = "";
// Make the request
Operation<DeployPolicy, OperationMetadata> response = cloudDeployClient.CreateDeployPolicy(parent, deployPolicy, deployPolicyId);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicy(CreateDeployPolicyRequest, CallSettings)

    public virtual Operation<DeployPolicy, OperationMetadata> CreateDeployPolicy(CreateDeployPolicyRequest request, CallSettings callSettings = null)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateDeployPolicyRequest` 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** |
| `OperationDeployPolicyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CreateDeployPolicyRequest request = new CreateDeployPolicyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DeployPolicyId = "",
    DeployPolicy = new DeployPolicy(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<DeployPolicy, OperationMetadata> response = cloudDeployClient.CreateDeployPolicy(request);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicy(string, DeployPolicy, string, CallSettings)

    public virtual Operation<DeployPolicy, OperationMetadata> CreateDeployPolicy(string parent, DeployPolicy deployPolicy, string deployPolicyId, CallSettings callSettings = null)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to create. |
| `deployPolicyId` | `string` Required. ID of the `DeployPolicy`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeployPolicyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DeployPolicy deployPolicy = new DeployPolicy();
string deployPolicyId = "";
// Make the request
Operation<DeployPolicy, OperationMetadata> response = cloudDeployClient.CreateDeployPolicy(parent, deployPolicy, deployPolicyId);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicyAsync(LocationName, DeployPolicy, string, CallSettings)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> CreateDeployPolicyAsync(LocationName parent, DeployPolicy deployPolicy, string deployPolicyId, CallSettings callSettings = null)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to create. |
| `deployPolicyId` | `string` Required. ID of the `DeployPolicy`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DeployPolicy deployPolicy = new DeployPolicy();
string deployPolicyId = "";
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.CreateDeployPolicyAsync(parent, deployPolicy, deployPolicyId);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicyAsync(LocationName, DeployPolicy, string, CancellationToken)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> CreateDeployPolicyAsync(LocationName parent, DeployPolicy deployPolicy, string deployPolicyId, CancellationToken cancellationToken)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to create. |
| `deployPolicyId` | `string` Required. ID of the `DeployPolicy`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DeployPolicy deployPolicy = new DeployPolicy();
string deployPolicyId = "";
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.CreateDeployPolicyAsync(parent, deployPolicy, deployPolicyId);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicyAsync(CreateDeployPolicyRequest, CallSettings)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> CreateDeployPolicyAsync(CreateDeployPolicyRequest request, CallSettings callSettings = null)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateDeployPolicyRequest` 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** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateDeployPolicyRequest request = new CreateDeployPolicyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DeployPolicyId = "",
    DeployPolicy = new DeployPolicy(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.CreateDeployPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicyAsync(CreateDeployPolicyRequest, CancellationToken)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> CreateDeployPolicyAsync(CreateDeployPolicyRequest request, CancellationToken cancellationToken)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateDeployPolicyRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateDeployPolicyRequest request = new CreateDeployPolicyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DeployPolicyId = "",
    DeployPolicy = new DeployPolicy(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.CreateDeployPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicyAsync(string, DeployPolicy, string, CallSettings)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> CreateDeployPolicyAsync(string parent, DeployPolicy deployPolicy, string deployPolicyId, CallSettings callSettings = null)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to create. |
| `deployPolicyId` | `string` Required. ID of the `DeployPolicy`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DeployPolicy deployPolicy = new DeployPolicy();
string deployPolicyId = "";
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.CreateDeployPolicyAsync(parent, deployPolicy, deployPolicyId);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateDeployPolicyAsync(string, DeployPolicy, string, CancellationToken)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> CreateDeployPolicyAsync(string parent, DeployPolicy deployPolicy, string deployPolicyId, CancellationToken cancellationToken)

Creates a new DeployPolicy in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to create. |
| `deployPolicyId` | `string` Required. ID of the `DeployPolicy`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DeployPolicy deployPolicy = new DeployPolicy();
string deployPolicyId = "";
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.CreateDeployPolicyAsync(parent, deployPolicy, deployPolicyId);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### CreateRelease(CreateReleaseRequest, CallSettings)

    public virtual Operation<Release, OperationMetadata> CreateRelease(CreateReleaseRequest request, CallSettings callSettings = null)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateReleaseRequest` 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** |
| `OperationReleaseOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CreateReleaseRequest request = new CreateReleaseRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    ReleaseId = "",
    Release = new Release(),
    RequestId = "",
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
Operation<Release, OperationMetadata> response = cloudDeployClient.CreateRelease(request);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateRelease(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateRelease(DeliveryPipelineName, Release, string, CallSettings)

    public virtual Operation<Release, OperationMetadata> CreateRelease(DeliveryPipelineName parent, Release release, string releaseId, CallSettings callSettings = null)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `release` | `Release` Required. The `Release` to create. |
| `releaseId` | `string` Required. ID of the `Release`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReleaseOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
Release release = new Release();
string releaseId = "";
// Make the request
Operation<Release, OperationMetadata> response = cloudDeployClient.CreateRelease(parent, release, releaseId);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateRelease(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateRelease(string, Release, string, CallSettings)

    public virtual Operation<Release, OperationMetadata> CreateRelease(string parent, Release release, string releaseId, CallSettings callSettings = null)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `release` | `Release` Required. The `Release` to create. |
| `releaseId` | `string` Required. ID of the `Release`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReleaseOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
Release release = new Release();
string releaseId = "";
// Make the request
Operation<Release, OperationMetadata> response = cloudDeployClient.CreateRelease(parent, release, releaseId);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateRelease(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateReleaseAsync(CreateReleaseRequest, CallSettings)

    public virtual Task<Operation<Release, OperationMetadata>> CreateReleaseAsync(CreateReleaseRequest request, CallSettings callSettings = null)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateReleaseRequest` 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** |
| `TaskOperationReleaseOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateReleaseRequest request = new CreateReleaseRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    ReleaseId = "",
    Release = new Release(),
    RequestId = "",
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
Operation<Release, OperationMetadata> response = await cloudDeployClient.CreateReleaseAsync(request);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateReleaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateReleaseAsync(CreateReleaseRequest, CancellationToken)

    public virtual Task<Operation<Release, OperationMetadata>> CreateReleaseAsync(CreateReleaseRequest request, CancellationToken cancellationToken)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateReleaseRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReleaseOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateReleaseRequest request = new CreateReleaseRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    ReleaseId = "",
    Release = new Release(),
    RequestId = "",
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
Operation<Release, OperationMetadata> response = await cloudDeployClient.CreateReleaseAsync(request);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateReleaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateReleaseAsync(DeliveryPipelineName, Release, string, CallSettings)

    public virtual Task<Operation<Release, OperationMetadata>> CreateReleaseAsync(DeliveryPipelineName parent, Release release, string releaseId, CallSettings callSettings = null)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `release` | `Release` Required. The `Release` to create. |
| `releaseId` | `string` Required. ID of the `Release`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReleaseOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
Release release = new Release();
string releaseId = "";
// Make the request
Operation<Release, OperationMetadata> response = await cloudDeployClient.CreateReleaseAsync(parent, release, releaseId);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateReleaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateReleaseAsync(DeliveryPipelineName, Release, string, CancellationToken)

    public virtual Task<Operation<Release, OperationMetadata>> CreateReleaseAsync(DeliveryPipelineName parent, Release release, string releaseId, CancellationToken cancellationToken)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `release` | `Release` Required. The `Release` to create. |
| `releaseId` | `string` Required. ID of the `Release`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReleaseOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
Release release = new Release();
string releaseId = "";
// Make the request
Operation<Release, OperationMetadata> response = await cloudDeployClient.CreateReleaseAsync(parent, release, releaseId);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateReleaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateReleaseAsync(string, Release, string, CallSettings)

    public virtual Task<Operation<Release, OperationMetadata>> CreateReleaseAsync(string parent, Release release, string releaseId, CallSettings callSettings = null)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `release` | `Release` Required. The `Release` to create. |
| `releaseId` | `string` Required. ID of the `Release`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReleaseOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
Release release = new Release();
string releaseId = "";
// Make the request
Operation<Release, OperationMetadata> response = await cloudDeployClient.CreateReleaseAsync(parent, release, releaseId);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateReleaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateReleaseAsync(string, Release, string, CancellationToken)

    public virtual Task<Operation<Release, OperationMetadata>> CreateReleaseAsync(string parent, Release release, string releaseId, CancellationToken cancellationToken)

Creates a new Release in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `release` | `Release` Required. The `Release` to create. |
| `releaseId` | `string` Required. ID of the `Release`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReleaseOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
Release release = new Release();
string releaseId = "";
// Make the request
Operation<Release, OperationMetadata> response = await cloudDeployClient.CreateReleaseAsync(parent, release, releaseId);

// Poll until the returned long-running operation is complete
Operation<Release, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Release result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Release, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateReleaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Release retrievedResult = retrievedResponse.Result;
}
```

### CreateRollout(CreateRolloutRequest, CallSettings)

    public virtual Operation<Rollout, OperationMetadata> CreateRollout(CreateRolloutRequest request, CallSettings callSettings = null)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRolloutRequest` 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** |
| `OperationRolloutOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CreateRolloutRequest request = new CreateRolloutRequest
{
    ParentAsReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
    RolloutId = "",
    Rollout = new Rollout(),
    RequestId = "",
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
    StartingPhaseId = "",
};
// Make the request
Operation<Rollout, OperationMetadata> response = cloudDeployClient.CreateRollout(request);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateRollout(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRollout(ReleaseName, Rollout, string, CallSettings)

    public virtual Operation<Rollout, OperationMetadata> CreateRollout(ReleaseName parent, Rollout rollout, string rolloutId, CallSettings callSettings = null)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `ReleaseName` Required. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `rollout` | `Rollout` Required. The `Rollout` to create. |
| `rolloutId` | `string` Required. ID of the `Rollout`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationRolloutOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ReleaseName parent = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
Rollout rollout = new Rollout();
string rolloutId = "";
// Make the request
Operation<Rollout, OperationMetadata> response = cloudDeployClient.CreateRollout(parent, rollout, rolloutId);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateRollout(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRollout(string, Rollout, string, CallSettings)

    public virtual Operation<Rollout, OperationMetadata> CreateRollout(string parent, Rollout rollout, string rolloutId, CallSettings callSettings = null)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `rollout` | `Rollout` Required. The `Rollout` to create. |
| `rolloutId` | `string` Required. ID of the `Rollout`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationRolloutOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
Rollout rollout = new Rollout();
string rolloutId = "";
// Make the request
Operation<Rollout, OperationMetadata> response = cloudDeployClient.CreateRollout(parent, rollout, rolloutId);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateRollout(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRolloutAsync(CreateRolloutRequest, CallSettings)

    public virtual Task<Operation<Rollout, OperationMetadata>> CreateRolloutAsync(CreateRolloutRequest request, CallSettings callSettings = null)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRolloutRequest` 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** |
| `TaskOperationRolloutOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateRolloutRequest request = new CreateRolloutRequest
{
    ParentAsReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
    RolloutId = "",
    Rollout = new Rollout(),
    RequestId = "",
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
    StartingPhaseId = "",
};
// Make the request
Operation<Rollout, OperationMetadata> response = await cloudDeployClient.CreateRolloutAsync(request);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateRolloutAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRolloutAsync(CreateRolloutRequest, CancellationToken)

    public virtual Task<Operation<Rollout, OperationMetadata>> CreateRolloutAsync(CreateRolloutRequest request, CancellationToken cancellationToken)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateRolloutRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationRolloutOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateRolloutRequest request = new CreateRolloutRequest
{
    ParentAsReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
    RolloutId = "",
    Rollout = new Rollout(),
    RequestId = "",
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
    StartingPhaseId = "",
};
// Make the request
Operation<Rollout, OperationMetadata> response = await cloudDeployClient.CreateRolloutAsync(request);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateRolloutAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRolloutAsync(ReleaseName, Rollout, string, CallSettings)

    public virtual Task<Operation<Rollout, OperationMetadata>> CreateRolloutAsync(ReleaseName parent, Rollout rollout, string rolloutId, CallSettings callSettings = null)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `ReleaseName` Required. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `rollout` | `Rollout` Required. The `Rollout` to create. |
| `rolloutId` | `string` Required. ID of the `Rollout`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationRolloutOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ReleaseName parent = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
Rollout rollout = new Rollout();
string rolloutId = "";
// Make the request
Operation<Rollout, OperationMetadata> response = await cloudDeployClient.CreateRolloutAsync(parent, rollout, rolloutId);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateRolloutAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRolloutAsync(ReleaseName, Rollout, string, CancellationToken)

    public virtual Task<Operation<Rollout, OperationMetadata>> CreateRolloutAsync(ReleaseName parent, Rollout rollout, string rolloutId, CancellationToken cancellationToken)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `ReleaseName` Required. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `rollout` | `Rollout` Required. The `Rollout` to create. |
| `rolloutId` | `string` Required. ID of the `Rollout`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationRolloutOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ReleaseName parent = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
Rollout rollout = new Rollout();
string rolloutId = "";
// Make the request
Operation<Rollout, OperationMetadata> response = await cloudDeployClient.CreateRolloutAsync(parent, rollout, rolloutId);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateRolloutAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRolloutAsync(string, Rollout, string, CallSettings)

    public virtual Task<Operation<Rollout, OperationMetadata>> CreateRolloutAsync(string parent, Rollout rollout, string rolloutId, CallSettings callSettings = null)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `rollout` | `Rollout` Required. The `Rollout` to create. |
| `rolloutId` | `string` Required. ID of the `Rollout`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationRolloutOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
Rollout rollout = new Rollout();
string rolloutId = "";
// Make the request
Operation<Rollout, OperationMetadata> response = await cloudDeployClient.CreateRolloutAsync(parent, rollout, rolloutId);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateRolloutAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateRolloutAsync(string, Rollout, string, CancellationToken)

    public virtual Task<Operation<Rollout, OperationMetadata>> CreateRolloutAsync(string parent, Rollout rollout, string rolloutId, CancellationToken cancellationToken)

Creates a new Rollout in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `rollout` | `Rollout` Required. The `Rollout` to create. |
| `rolloutId` | `string` Required. ID of the `Rollout`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationRolloutOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
Rollout rollout = new Rollout();
string rolloutId = "";
// Make the request
Operation<Rollout, OperationMetadata> response = await cloudDeployClient.CreateRolloutAsync(parent, rollout, rolloutId);

// Poll until the returned long-running operation is complete
Operation<Rollout, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Rollout result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Rollout, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateRolloutAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Rollout retrievedResult = retrievedResponse.Result;
}
```

### CreateTarget(LocationName, Target, string, CallSettings)

    public virtual Operation<Target, OperationMetadata> CreateTarget(LocationName parent, Target target, string targetId, CallSettings callSettings = null)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `Target` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `target` | `Target` Required. The `Target` to create. |
| `targetId` | `string` Required. ID of the `Target`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationTargetOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Target target = new Target();
string targetId = "";
// Make the request
Operation<Target, OperationMetadata> response = cloudDeployClient.CreateTarget(parent, target, targetId);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTarget(CreateTargetRequest, CallSettings)

    public virtual Operation<Target, OperationMetadata> CreateTarget(CreateTargetRequest request, CallSettings callSettings = null)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTargetRequest` 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** |
| `OperationTargetOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CreateTargetRequest request = new CreateTargetRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    TargetId = "",
    Target = new Target(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Target, OperationMetadata> response = cloudDeployClient.CreateTarget(request);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTarget(string, Target, string, CallSettings)

    public virtual Operation<Target, OperationMetadata> CreateTarget(string parent, Target target, string targetId, CallSettings callSettings = null)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Target` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `target` | `Target` Required. The `Target` to create. |
| `targetId` | `string` Required. ID of the `Target`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationTargetOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Target target = new Target();
string targetId = "";
// Make the request
Operation<Target, OperationMetadata> response = cloudDeployClient.CreateTarget(parent, target, targetId);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceCreateTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTargetAsync(LocationName, Target, string, CallSettings)

    public virtual Task<Operation<Target, OperationMetadata>> CreateTargetAsync(LocationName parent, Target target, string targetId, CallSettings callSettings = null)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `Target` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `target` | `Target` Required. The `Target` to create. |
| `targetId` | `string` Required. ID of the `Target`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Target target = new Target();
string targetId = "";
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.CreateTargetAsync(parent, target, targetId);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTargetAsync(LocationName, Target, string, CancellationToken)

    public virtual Task<Operation<Target, OperationMetadata>> CreateTargetAsync(LocationName parent, Target target, string targetId, CancellationToken cancellationToken)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent collection in which the `Target` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `target` | `Target` Required. The `Target` to create. |
| `targetId` | `string` Required. ID of the `Target`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Target target = new Target();
string targetId = "";
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.CreateTargetAsync(parent, target, targetId);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTargetAsync(CreateTargetRequest, CallSettings)

    public virtual Task<Operation<Target, OperationMetadata>> CreateTargetAsync(CreateTargetRequest request, CallSettings callSettings = null)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTargetRequest` 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** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateTargetRequest request = new CreateTargetRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    TargetId = "",
    Target = new Target(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.CreateTargetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTargetAsync(CreateTargetRequest, CancellationToken)

    public virtual Task<Operation<Target, OperationMetadata>> CreateTargetAsync(CreateTargetRequest request, CancellationToken cancellationToken)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTargetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CreateTargetRequest request = new CreateTargetRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    TargetId = "",
    Target = new Target(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.CreateTargetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTargetAsync(string, Target, string, CallSettings)

    public virtual Task<Operation<Target, OperationMetadata>> CreateTargetAsync(string parent, Target target, string targetId, CallSettings callSettings = null)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Target` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `target` | `Target` Required. The `Target` to create. |
| `targetId` | `string` Required. ID of the `Target`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Target target = new Target();
string targetId = "";
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.CreateTargetAsync(parent, target, targetId);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### CreateTargetAsync(string, Target, string, CancellationToken)

    public virtual Task<Operation<Target, OperationMetadata>> CreateTargetAsync(string parent, Target target, string targetId, CancellationToken cancellationToken)

Creates a new Target in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent collection in which the `Target` must be created. The format is `projects/{project_id}/locations/{location_name}`. |
| `target` | `Target` Required. The `Target` to create. |
| `targetId` | `string` Required. ID of the `Target`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Target target = new Target();
string targetId = "";
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.CreateTargetAsync(parent, target, targetId);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceCreateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomation(AutomationName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAutomation(AutomationName name, CallSettings callSettings = null)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationName` Required. The name of the `Automation` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
AutomationName name = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]");
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteAutomation(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomation(DeleteAutomationRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAutomation(DeleteAutomationRequest request, CallSettings callSettings = null)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAutomationRequest` 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** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeleteAutomationRequest request = new DeleteAutomationRequest
{
    AutomationName = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteAutomation(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomation(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAutomation(string name, CallSettings callSettings = null)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `Automation` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automations/[AUTOMATION]";
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteAutomation(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomationAsync(AutomationName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutomationAsync(AutomationName name, CallSettings callSettings = null)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationName` Required. The name of the `Automation` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationName name = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteAutomationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomationAsync(AutomationName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutomationAsync(AutomationName name, CancellationToken cancellationToken)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationName` Required. The name of the `Automation` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationName name = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteAutomationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomationAsync(DeleteAutomationRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutomationAsync(DeleteAutomationRequest request, CallSettings callSettings = null)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAutomationRequest` 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** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteAutomationRequest request = new DeleteAutomationRequest
{
    AutomationName = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteAutomationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomationAsync(DeleteAutomationRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutomationAsync(DeleteAutomationRequest request, CancellationToken cancellationToken)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAutomationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteAutomationRequest request = new DeleteAutomationRequest
{
    AutomationName = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteAutomationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomationAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutomationAsync(string name, CallSettings callSettings = null)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `Automation` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automations/[AUTOMATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteAutomationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteAutomationAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutomationAsync(string name, CancellationToken cancellationToken)

Deletes a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `Automation` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automations/[AUTOMATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteAutomationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetType(CustomTargetTypeName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteCustomTargetType(CustomTargetTypeName name, CallSettings callSettings = null)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `CustomTargetTypeName` Required. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CustomTargetTypeName name = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]");
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteCustomTargetType(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetType(DeleteCustomTargetTypeRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteCustomTargetType(DeleteCustomTargetTypeRequest request, CallSettings callSettings = null)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteCustomTargetTypeRequest` 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** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeleteCustomTargetTypeRequest request = new DeleteCustomTargetTypeRequest
{
    CustomTargetTypeName = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteCustomTargetType(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetType(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteCustomTargetType(string name, CallSettings callSettings = null)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customTargetTypes/[CUSTOM_TARGET_TYPE]";
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteCustomTargetType(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetTypeAsync(CustomTargetTypeName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteCustomTargetTypeAsync(CustomTargetTypeName name, CallSettings callSettings = null)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `CustomTargetTypeName` Required. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CustomTargetTypeName name = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteCustomTargetTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetTypeAsync(CustomTargetTypeName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteCustomTargetTypeAsync(CustomTargetTypeName name, CancellationToken cancellationToken)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `CustomTargetTypeName` Required. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CustomTargetTypeName name = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteCustomTargetTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetTypeAsync(DeleteCustomTargetTypeRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteCustomTargetTypeAsync(DeleteCustomTargetTypeRequest request, CallSettings callSettings = null)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteCustomTargetTypeRequest` 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** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteCustomTargetTypeRequest request = new DeleteCustomTargetTypeRequest
{
    CustomTargetTypeName = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteCustomTargetTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetTypeAsync(DeleteCustomTargetTypeRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteCustomTargetTypeAsync(DeleteCustomTargetTypeRequest request, CancellationToken cancellationToken)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteCustomTargetTypeRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteCustomTargetTypeRequest request = new DeleteCustomTargetTypeRequest
{
    CustomTargetTypeName = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteCustomTargetTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetTypeAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteCustomTargetTypeAsync(string name, CallSettings callSettings = null)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customTargetTypes/[CUSTOM_TARGET_TYPE]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteCustomTargetTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteCustomTargetTypeAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteCustomTargetTypeAsync(string name, CancellationToken cancellationToken)

Deletes a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customTargetTypes/[CUSTOM_TARGET_TYPE]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteCustomTargetTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipeline(DeleteDeliveryPipelineRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDeliveryPipeline(DeleteDeliveryPipelineRequest request, CallSettings callSettings = null)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDeliveryPipelineRequest` 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** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeleteDeliveryPipelineRequest request = new DeleteDeliveryPipelineRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteDeliveryPipeline(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipeline(DeliveryPipelineName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDeliveryPipeline(DeliveryPipelineName name, CallSettings callSettings = null)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. The name of the `DeliveryPipeline` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteDeliveryPipeline(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipeline(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDeliveryPipeline(string name, CallSettings callSettings = null)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `DeliveryPipeline` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteDeliveryPipeline(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipelineAsync(DeleteDeliveryPipelineRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeliveryPipelineAsync(DeleteDeliveryPipelineRequest request, CallSettings callSettings = null)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDeliveryPipelineRequest` 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** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteDeliveryPipelineRequest request = new DeleteDeliveryPipelineRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeliveryPipelineAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipelineAsync(DeleteDeliveryPipelineRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeliveryPipelineAsync(DeleteDeliveryPipelineRequest request, CancellationToken cancellationToken)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDeliveryPipelineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteDeliveryPipelineRequest request = new DeleteDeliveryPipelineRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeliveryPipelineAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipelineAsync(DeliveryPipelineName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeliveryPipelineAsync(DeliveryPipelineName name, CallSettings callSettings = null)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. The name of the `DeliveryPipeline` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeliveryPipelineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipelineAsync(DeliveryPipelineName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeliveryPipelineAsync(DeliveryPipelineName name, CancellationToken cancellationToken)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. The name of the `DeliveryPipeline` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeliveryPipelineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipelineAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeliveryPipelineAsync(string name, CallSettings callSettings = null)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `DeliveryPipeline` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeliveryPipelineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeliveryPipelineAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeliveryPipelineAsync(string name, CancellationToken cancellationToken)

Deletes a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `DeliveryPipeline` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeliveryPipelineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicy(DeleteDeployPolicyRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDeployPolicy(DeleteDeployPolicyRequest request, CallSettings callSettings = null)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDeployPolicyRequest` 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** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeleteDeployPolicyRequest request = new DeleteDeployPolicyRequest
{
    DeployPolicyName = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteDeployPolicy(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicy(DeployPolicyName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDeployPolicy(DeployPolicyName name, CallSettings callSettings = null)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeployPolicyName` Required. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeployPolicyName name = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]");
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteDeployPolicy(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicy(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDeployPolicy(string name, CallSettings callSettings = null)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deployPolicies/[DEPLOY_POLICY]";
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteDeployPolicy(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicyAsync(DeleteDeployPolicyRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeployPolicyAsync(DeleteDeployPolicyRequest request, CallSettings callSettings = null)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDeployPolicyRequest` 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** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteDeployPolicyRequest request = new DeleteDeployPolicyRequest
{
    DeployPolicyName = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeployPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicyAsync(DeleteDeployPolicyRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeployPolicyAsync(DeleteDeployPolicyRequest request, CancellationToken cancellationToken)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDeployPolicyRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteDeployPolicyRequest request = new DeleteDeployPolicyRequest
{
    DeployPolicyName = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeployPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicyAsync(DeployPolicyName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeployPolicyAsync(DeployPolicyName name, CallSettings callSettings = null)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeployPolicyName` Required. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeployPolicyName name = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeployPolicyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicyAsync(DeployPolicyName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeployPolicyAsync(DeployPolicyName name, CancellationToken cancellationToken)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeployPolicyName` Required. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeployPolicyName name = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeployPolicyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicyAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeployPolicyAsync(string name, CallSettings callSettings = null)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deployPolicies/[DEPLOY_POLICY]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeployPolicyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteDeployPolicyAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDeployPolicyAsync(string name, CancellationToken cancellationToken)

Deletes a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deployPolicies/[DEPLOY_POLICY]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteDeployPolicyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTarget(DeleteTargetRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteTarget(DeleteTargetRequest request, CallSettings callSettings = null)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTargetRequest` 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** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeleteTargetRequest request = new DeleteTargetRequest
{
    TargetName = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteTarget(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTarget(TargetName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteTarget(TargetName name, CallSettings callSettings = null)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `TargetName` Required. The name of the `Target` to delete. The format is `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
TargetName name = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]");
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteTarget(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTarget(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteTarget(string name, CallSettings callSettings = null)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `Target` to delete. The format is `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/targets/[TARGET]";
// Make the request
Operation<Empty, OperationMetadata> response = cloudDeployClient.DeleteTarget(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceDeleteTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTargetAsync(DeleteTargetRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetAsync(DeleteTargetRequest request, CallSettings callSettings = null)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTargetRequest` 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** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetRequest request = new DeleteTargetRequest
{
    TargetName = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteTargetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTargetAsync(DeleteTargetRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetAsync(DeleteTargetRequest request, CancellationToken cancellationToken)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTargetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeleteTargetRequest request = new DeleteTargetRequest
{
    TargetName = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]"),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteTargetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTargetAsync(TargetName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetAsync(TargetName name, CallSettings callSettings = null)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `TargetName` Required. The name of the `Target` to delete. The format is `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
TargetName name = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteTargetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTargetAsync(TargetName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetAsync(TargetName name, CancellationToken cancellationToken)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `TargetName` Required. The name of the `Target` to delete. The format is `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
TargetName name = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]");
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteTargetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTargetAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetAsync(string name, CallSettings callSettings = null)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `Target` to delete. The format is `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/targets/[TARGET]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteTargetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteTargetAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetAsync(string name, CancellationToken cancellationToken)

Deletes a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `Target` to delete. The format is `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/targets/[TARGET]";
// Make the request
Operation<Empty, OperationMetadata> response = await cloudDeployClient.DeleteTargetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceDeleteTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### GetAutomation(AutomationName, CallSettings)

    public virtual Automation GetAutomation(AutomationName name, CallSettings callSettings = null)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationName` Required. Name of the `Automation`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Automation` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
AutomationName name = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]");
// Make the request
Automation response = cloudDeployClient.GetAutomation(name);
```

### GetAutomation(GetAutomationRequest, CallSettings)

    public virtual Automation GetAutomation(GetAutomationRequest request, CallSettings callSettings = null)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAutomationRequest` 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** |
| `Automation` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetAutomationRequest request = new GetAutomationRequest
{
    AutomationName = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]"),
};
// Make the request
Automation response = cloudDeployClient.GetAutomation(request);
```

### GetAutomation(string, CallSettings)

    public virtual Automation GetAutomation(string name, CallSettings callSettings = null)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Automation`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Automation` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automations/[AUTOMATION]";
// Make the request
Automation response = cloudDeployClient.GetAutomation(name);
```

### GetAutomationAsync(AutomationName, CallSettings)

    public virtual Task<Automation> GetAutomationAsync(AutomationName name, CallSettings callSettings = null)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationName` Required. Name of the `Automation`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationName name = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]");
// Make the request
Automation response = await cloudDeployClient.GetAutomationAsync(name);
```

### GetAutomationAsync(AutomationName, CancellationToken)

    public virtual Task<Automation> GetAutomationAsync(AutomationName name, CancellationToken cancellationToken)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationName` Required. Name of the `Automation`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationName name = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]");
// Make the request
Automation response = await cloudDeployClient.GetAutomationAsync(name);
```

### GetAutomationAsync(GetAutomationRequest, CallSettings)

    public virtual Task<Automation> GetAutomationAsync(GetAutomationRequest request, CallSettings callSettings = null)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAutomationRequest` 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** |
| `TaskAutomation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetAutomationRequest request = new GetAutomationRequest
{
    AutomationName = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]"),
};
// Make the request
Automation response = await cloudDeployClient.GetAutomationAsync(request);
```

### GetAutomationAsync(GetAutomationRequest, CancellationToken)

    public virtual Task<Automation> GetAutomationAsync(GetAutomationRequest request, CancellationToken cancellationToken)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAutomationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetAutomationRequest request = new GetAutomationRequest
{
    AutomationName = AutomationName.FromProjectLocationDeliveryPipelineAutomation("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION]"),
};
// Make the request
Automation response = await cloudDeployClient.GetAutomationAsync(request);
```

### GetAutomationAsync(string, CallSettings)

    public virtual Task<Automation> GetAutomationAsync(string name, CallSettings callSettings = null)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Automation`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automations/[AUTOMATION]";
// Make the request
Automation response = await cloudDeployClient.GetAutomationAsync(name);
```

### GetAutomationAsync(string, CancellationToken)

    public virtual Task<Automation> GetAutomationAsync(string name, CancellationToken cancellationToken)

Gets details of a single Automation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Automation`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automations/[AUTOMATION]";
// Make the request
Automation response = await cloudDeployClient.GetAutomationAsync(name);
```

### GetAutomationRun(AutomationRunName, CallSettings)

    public virtual AutomationRun GetAutomationRun(AutomationRunName name, CallSettings callSettings = null)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationRunName` Required. Name of the `AutomationRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AutomationRun` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
AutomationRunName name = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]");
// Make the request
AutomationRun response = cloudDeployClient.GetAutomationRun(name);
```

### GetAutomationRun(GetAutomationRunRequest, CallSettings)

    public virtual AutomationRun GetAutomationRun(GetAutomationRunRequest request, CallSettings callSettings = null)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAutomationRunRequest` 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** |
| `AutomationRun` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetAutomationRunRequest request = new GetAutomationRunRequest
{
    AutomationRunName = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]"),
};
// Make the request
AutomationRun response = cloudDeployClient.GetAutomationRun(request);
```

### GetAutomationRun(string, CallSettings)

    public virtual AutomationRun GetAutomationRun(string name, CallSettings callSettings = null)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `AutomationRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AutomationRun` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automationRuns/[AUTOMATION_RUN]";
// Make the request
AutomationRun response = cloudDeployClient.GetAutomationRun(name);
```

### GetAutomationRunAsync(AutomationRunName, CallSettings)

    public virtual Task<AutomationRun> GetAutomationRunAsync(AutomationRunName name, CallSettings callSettings = null)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationRunName` Required. Name of the `AutomationRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomationRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationRunName name = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]");
// Make the request
AutomationRun response = await cloudDeployClient.GetAutomationRunAsync(name);
```

### GetAutomationRunAsync(AutomationRunName, CancellationToken)

    public virtual Task<AutomationRun> GetAutomationRunAsync(AutomationRunName name, CancellationToken cancellationToken)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `AutomationRunName` Required. Name of the `AutomationRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomationRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
AutomationRunName name = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]");
// Make the request
AutomationRun response = await cloudDeployClient.GetAutomationRunAsync(name);
```

### GetAutomationRunAsync(GetAutomationRunRequest, CallSettings)

    public virtual Task<AutomationRun> GetAutomationRunAsync(GetAutomationRunRequest request, CallSettings callSettings = null)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAutomationRunRequest` 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** |
| `TaskAutomationRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetAutomationRunRequest request = new GetAutomationRunRequest
{
    AutomationRunName = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]"),
};
// Make the request
AutomationRun response = await cloudDeployClient.GetAutomationRunAsync(request);
```

### GetAutomationRunAsync(GetAutomationRunRequest, CancellationToken)

    public virtual Task<AutomationRun> GetAutomationRunAsync(GetAutomationRunRequest request, CancellationToken cancellationToken)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAutomationRunRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomationRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetAutomationRunRequest request = new GetAutomationRunRequest
{
    AutomationRunName = AutomationRunName.FromProjectLocationDeliveryPipelineAutomationRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[AUTOMATION_RUN]"),
};
// Make the request
AutomationRun response = await cloudDeployClient.GetAutomationRunAsync(request);
```

### GetAutomationRunAsync(string, CallSettings)

    public virtual Task<AutomationRun> GetAutomationRunAsync(string name, CallSettings callSettings = null)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `AutomationRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomationRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automationRuns/[AUTOMATION_RUN]";
// Make the request
AutomationRun response = await cloudDeployClient.GetAutomationRunAsync(name);
```

### GetAutomationRunAsync(string, CancellationToken)

    public virtual Task<AutomationRun> GetAutomationRunAsync(string name, CancellationToken cancellationToken)

Gets details of a single AutomationRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `AutomationRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAutomationRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/automationRuns/[AUTOMATION_RUN]";
// Make the request
AutomationRun response = await cloudDeployClient.GetAutomationRunAsync(name);
```

### GetConfig(ConfigName, CallSettings)

    public virtual Config GetConfig(ConfigName name, CallSettings callSettings = null)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ConfigName` Required. Name of requested configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Config` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ConfigName name = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Config response = cloudDeployClient.GetConfig(name);
```

### GetConfig(GetConfigRequest, CallSettings)

    public virtual Config GetConfig(GetConfigRequest request, CallSettings callSettings = null)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetConfigRequest` 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** |
| `Config` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetConfigRequest request = new GetConfigRequest
{
    ConfigName = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Config response = cloudDeployClient.GetConfig(request);
```

### GetConfig(string, CallSettings)

    public virtual Config GetConfig(string name, CallSettings callSettings = null)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of requested configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Config` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
Config response = cloudDeployClient.GetConfig(name);
```

### GetConfigAsync(ConfigName, CallSettings)

    public virtual Task<Config> GetConfigAsync(ConfigName name, CallSettings callSettings = null)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ConfigName` Required. Name of requested configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ConfigName name = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Config response = await cloudDeployClient.GetConfigAsync(name);
```

### GetConfigAsync(ConfigName, CancellationToken)

    public virtual Task<Config> GetConfigAsync(ConfigName name, CancellationToken cancellationToken)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ConfigName` Required. Name of requested configuration. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ConfigName name = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Config response = await cloudDeployClient.GetConfigAsync(name);
```

### GetConfigAsync(GetConfigRequest, CallSettings)

    public virtual Task<Config> GetConfigAsync(GetConfigRequest request, CallSettings callSettings = null)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetConfigRequest` 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** |
| `TaskConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetConfigRequest request = new GetConfigRequest
{
    ConfigName = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Config response = await cloudDeployClient.GetConfigAsync(request);
```

### GetConfigAsync(GetConfigRequest, CancellationToken)

    public virtual Task<Config> GetConfigAsync(GetConfigRequest request, CancellationToken cancellationToken)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetConfigRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetConfigRequest request = new GetConfigRequest
{
    ConfigName = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Config response = await cloudDeployClient.GetConfigAsync(request);
```

### GetConfigAsync(string, CallSettings)

    public virtual Task<Config> GetConfigAsync(string name, CallSettings callSettings = null)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of requested configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
Config response = await cloudDeployClient.GetConfigAsync(name);
```

### GetConfigAsync(string, CancellationToken)

    public virtual Task<Config> GetConfigAsync(string name, CancellationToken cancellationToken)

Gets the configuration for a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of requested configuration. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
Config response = await cloudDeployClient.GetConfigAsync(name);
```

### GetCustomTargetType(CustomTargetTypeName, CallSettings)

    public virtual CustomTargetType GetCustomTargetType(CustomTargetTypeName name, CallSettings callSettings = null)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `CustomTargetTypeName` Required. Name of the `CustomTargetType`. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CustomTargetType` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CustomTargetTypeName name = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]");
// Make the request
CustomTargetType response = cloudDeployClient.GetCustomTargetType(name);
```

### GetCustomTargetType(GetCustomTargetTypeRequest, CallSettings)

    public virtual CustomTargetType GetCustomTargetType(GetCustomTargetTypeRequest request, CallSettings callSettings = null)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetCustomTargetTypeRequest` 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** |
| `CustomTargetType` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetCustomTargetTypeRequest request = new GetCustomTargetTypeRequest
{
    CustomTargetTypeName = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]"),
};
// Make the request
CustomTargetType response = cloudDeployClient.GetCustomTargetType(request);
```

### GetCustomTargetType(string, CallSettings)

    public virtual CustomTargetType GetCustomTargetType(string name, CallSettings callSettings = null)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `CustomTargetType`. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CustomTargetType` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customTargetTypes/[CUSTOM_TARGET_TYPE]";
// Make the request
CustomTargetType response = cloudDeployClient.GetCustomTargetType(name);
```

### GetCustomTargetTypeAsync(CustomTargetTypeName, CallSettings)

    public virtual Task<CustomTargetType> GetCustomTargetTypeAsync(CustomTargetTypeName name, CallSettings callSettings = null)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `CustomTargetTypeName` Required. Name of the `CustomTargetType`. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCustomTargetType` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CustomTargetTypeName name = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]");
// Make the request
CustomTargetType response = await cloudDeployClient.GetCustomTargetTypeAsync(name);
```

### GetCustomTargetTypeAsync(CustomTargetTypeName, CancellationToken)

    public virtual Task<CustomTargetType> GetCustomTargetTypeAsync(CustomTargetTypeName name, CancellationToken cancellationToken)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `CustomTargetTypeName` Required. Name of the `CustomTargetType`. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCustomTargetType` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CustomTargetTypeName name = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]");
// Make the request
CustomTargetType response = await cloudDeployClient.GetCustomTargetTypeAsync(name);
```

### GetCustomTargetTypeAsync(GetCustomTargetTypeRequest, CallSettings)

    public virtual Task<CustomTargetType> GetCustomTargetTypeAsync(GetCustomTargetTypeRequest request, CallSettings callSettings = null)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetCustomTargetTypeRequest` 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** |
| `TaskCustomTargetType` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetCustomTargetTypeRequest request = new GetCustomTargetTypeRequest
{
    CustomTargetTypeName = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]"),
};
// Make the request
CustomTargetType response = await cloudDeployClient.GetCustomTargetTypeAsync(request);
```

### GetCustomTargetTypeAsync(GetCustomTargetTypeRequest, CancellationToken)

    public virtual Task<CustomTargetType> GetCustomTargetTypeAsync(GetCustomTargetTypeRequest request, CancellationToken cancellationToken)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetCustomTargetTypeRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCustomTargetType` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetCustomTargetTypeRequest request = new GetCustomTargetTypeRequest
{
    CustomTargetTypeName = CustomTargetTypeName.FromProjectLocationCustomTargetType("[PROJECT]", "[LOCATION]", "[CUSTOM_TARGET_TYPE]"),
};
// Make the request
CustomTargetType response = await cloudDeployClient.GetCustomTargetTypeAsync(request);
```

### GetCustomTargetTypeAsync(string, CallSettings)

    public virtual Task<CustomTargetType> GetCustomTargetTypeAsync(string name, CallSettings callSettings = null)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `CustomTargetType`. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCustomTargetType` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customTargetTypes/[CUSTOM_TARGET_TYPE]";
// Make the request
CustomTargetType response = await cloudDeployClient.GetCustomTargetTypeAsync(name);
```

### GetCustomTargetTypeAsync(string, CancellationToken)

    public virtual Task<CustomTargetType> GetCustomTargetTypeAsync(string name, CancellationToken cancellationToken)

Gets details of a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `CustomTargetType`. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskCustomTargetType` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customTargetTypes/[CUSTOM_TARGET_TYPE]";
// Make the request
CustomTargetType response = await cloudDeployClient.GetCustomTargetTypeAsync(name);
```

### GetDeliveryPipeline(DeliveryPipelineName, CallSettings)

    public virtual DeliveryPipeline GetDeliveryPipeline(DeliveryPipelineName name, CallSettings callSettings = null)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. Name of the `DeliveryPipeline`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DeliveryPipeline` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
DeliveryPipeline response = cloudDeployClient.GetDeliveryPipeline(name);
```

### GetDeliveryPipeline(GetDeliveryPipelineRequest, CallSettings)

    public virtual DeliveryPipeline GetDeliveryPipeline(GetDeliveryPipelineRequest request, CallSettings callSettings = null)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetDeliveryPipelineRequest` 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** |
| `DeliveryPipeline` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetDeliveryPipelineRequest request = new GetDeliveryPipelineRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
};
// Make the request
DeliveryPipeline response = cloudDeployClient.GetDeliveryPipeline(request);
```

### GetDeliveryPipeline(string, CallSettings)

    public virtual DeliveryPipeline GetDeliveryPipeline(string name, CallSettings callSettings = null)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `DeliveryPipeline`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DeliveryPipeline` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
DeliveryPipeline response = cloudDeployClient.GetDeliveryPipeline(name);
```

### GetDeliveryPipelineAsync(DeliveryPipelineName, CallSettings)

    public virtual Task<DeliveryPipeline> GetDeliveryPipelineAsync(DeliveryPipelineName name, CallSettings callSettings = null)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. Name of the `DeliveryPipeline`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeliveryPipeline` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
DeliveryPipeline response = await cloudDeployClient.GetDeliveryPipelineAsync(name);
```

### GetDeliveryPipelineAsync(DeliveryPipelineName, CancellationToken)

    public virtual Task<DeliveryPipeline> GetDeliveryPipelineAsync(DeliveryPipelineName name, CancellationToken cancellationToken)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. Name of the `DeliveryPipeline`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeliveryPipeline` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
DeliveryPipeline response = await cloudDeployClient.GetDeliveryPipelineAsync(name);
```

### GetDeliveryPipelineAsync(GetDeliveryPipelineRequest, CallSettings)

    public virtual Task<DeliveryPipeline> GetDeliveryPipelineAsync(GetDeliveryPipelineRequest request, CallSettings callSettings = null)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetDeliveryPipelineRequest` 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** |
| `TaskDeliveryPipeline` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetDeliveryPipelineRequest request = new GetDeliveryPipelineRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
};
// Make the request
DeliveryPipeline response = await cloudDeployClient.GetDeliveryPipelineAsync(request);
```

### GetDeliveryPipelineAsync(GetDeliveryPipelineRequest, CancellationToken)

    public virtual Task<DeliveryPipeline> GetDeliveryPipelineAsync(GetDeliveryPipelineRequest request, CancellationToken cancellationToken)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetDeliveryPipelineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeliveryPipeline` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetDeliveryPipelineRequest request = new GetDeliveryPipelineRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
};
// Make the request
DeliveryPipeline response = await cloudDeployClient.GetDeliveryPipelineAsync(request);
```

### GetDeliveryPipelineAsync(string, CallSettings)

    public virtual Task<DeliveryPipeline> GetDeliveryPipelineAsync(string name, CallSettings callSettings = null)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `DeliveryPipeline`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeliveryPipeline` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
DeliveryPipeline response = await cloudDeployClient.GetDeliveryPipelineAsync(name);
```

### GetDeliveryPipelineAsync(string, CancellationToken)

    public virtual Task<DeliveryPipeline> GetDeliveryPipelineAsync(string name, CancellationToken cancellationToken)

Gets details of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `DeliveryPipeline`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeliveryPipeline` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
DeliveryPipeline response = await cloudDeployClient.GetDeliveryPipelineAsync(name);
```

### GetDeployPolicy(DeployPolicyName, CallSettings)

    public virtual DeployPolicy GetDeployPolicy(DeployPolicyName name, CallSettings callSettings = null)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeployPolicyName` Required. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DeployPolicy` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeployPolicyName name = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]");
// Make the request
DeployPolicy response = cloudDeployClient.GetDeployPolicy(name);
```

### GetDeployPolicy(GetDeployPolicyRequest, CallSettings)

    public virtual DeployPolicy GetDeployPolicy(GetDeployPolicyRequest request, CallSettings callSettings = null)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetDeployPolicyRequest` 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** |
| `DeployPolicy` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetDeployPolicyRequest request = new GetDeployPolicyRequest
{
    DeployPolicyName = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
};
// Make the request
DeployPolicy response = cloudDeployClient.GetDeployPolicy(request);
```

### GetDeployPolicy(string, CallSettings)

    public virtual DeployPolicy GetDeployPolicy(string name, CallSettings callSettings = null)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DeployPolicy` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deployPolicies/[DEPLOY_POLICY]";
// Make the request
DeployPolicy response = cloudDeployClient.GetDeployPolicy(name);
```

### GetDeployPolicyAsync(DeployPolicyName, CallSettings)

    public virtual Task<DeployPolicy> GetDeployPolicyAsync(DeployPolicyName name, CallSettings callSettings = null)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeployPolicyName` Required. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeployPolicy` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeployPolicyName name = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]");
// Make the request
DeployPolicy response = await cloudDeployClient.GetDeployPolicyAsync(name);
```

### GetDeployPolicyAsync(DeployPolicyName, CancellationToken)

    public virtual Task<DeployPolicy> GetDeployPolicyAsync(DeployPolicyName name, CancellationToken cancellationToken)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeployPolicyName` Required. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeployPolicy` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeployPolicyName name = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]");
// Make the request
DeployPolicy response = await cloudDeployClient.GetDeployPolicyAsync(name);
```

### GetDeployPolicyAsync(GetDeployPolicyRequest, CallSettings)

    public virtual Task<DeployPolicy> GetDeployPolicyAsync(GetDeployPolicyRequest request, CallSettings callSettings = null)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetDeployPolicyRequest` 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** |
| `TaskDeployPolicy` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetDeployPolicyRequest request = new GetDeployPolicyRequest
{
    DeployPolicyName = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
};
// Make the request
DeployPolicy response = await cloudDeployClient.GetDeployPolicyAsync(request);
```

### GetDeployPolicyAsync(GetDeployPolicyRequest, CancellationToken)

    public virtual Task<DeployPolicy> GetDeployPolicyAsync(GetDeployPolicyRequest request, CancellationToken cancellationToken)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetDeployPolicyRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeployPolicy` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetDeployPolicyRequest request = new GetDeployPolicyRequest
{
    DeployPolicyName = DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
};
// Make the request
DeployPolicy response = await cloudDeployClient.GetDeployPolicyAsync(request);
```

### GetDeployPolicyAsync(string, CallSettings)

    public virtual Task<DeployPolicy> GetDeployPolicyAsync(string name, CallSettings callSettings = null)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeployPolicy` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deployPolicies/[DEPLOY_POLICY]";
// Make the request
DeployPolicy response = await cloudDeployClient.GetDeployPolicyAsync(name);
```

### GetDeployPolicyAsync(string, CancellationToken)

    public virtual Task<DeployPolicy> GetDeployPolicyAsync(string name, CancellationToken cancellationToken)

Gets details of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskDeployPolicy` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deployPolicies/[DEPLOY_POLICY]";
// Make the request
DeployPolicy response = await cloudDeployClient.GetDeployPolicyAsync(name);
```

### GetJobRun(GetJobRunRequest, CallSettings)

    public virtual JobRun GetJobRun(GetJobRunRequest request, CallSettings callSettings = null)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetJobRunRequest` 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** |
| `JobRun` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetJobRunRequest request = new GetJobRunRequest
{
    JobRunName = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]"),
};
// Make the request
JobRun response = cloudDeployClient.GetJobRun(request);
```

### GetJobRun(JobRunName, CallSettings)

    public virtual JobRun GetJobRun(JobRunName name, CallSettings callSettings = null)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `JobRunName` Required. Name of the `JobRun`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `JobRun` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
JobRunName name = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]");
// Make the request
JobRun response = cloudDeployClient.GetJobRun(name);
```

### GetJobRun(string, CallSettings)

    public virtual JobRun GetJobRun(string name, CallSettings callSettings = null)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `JobRun`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `JobRun` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]/jobRuns/[JOB_RUN]";
// Make the request
JobRun response = cloudDeployClient.GetJobRun(name);
```

### GetJobRunAsync(GetJobRunRequest, CallSettings)

    public virtual Task<JobRun> GetJobRunAsync(GetJobRunRequest request, CallSettings callSettings = null)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetJobRunRequest` 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** |
| `TaskJobRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetJobRunRequest request = new GetJobRunRequest
{
    JobRunName = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]"),
};
// Make the request
JobRun response = await cloudDeployClient.GetJobRunAsync(request);
```

### GetJobRunAsync(GetJobRunRequest, CancellationToken)

    public virtual Task<JobRun> GetJobRunAsync(GetJobRunRequest request, CancellationToken cancellationToken)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetJobRunRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskJobRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetJobRunRequest request = new GetJobRunRequest
{
    JobRunName = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]"),
};
// Make the request
JobRun response = await cloudDeployClient.GetJobRunAsync(request);
```

### GetJobRunAsync(JobRunName, CallSettings)

    public virtual Task<JobRun> GetJobRunAsync(JobRunName name, CallSettings callSettings = null)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `JobRunName` Required. Name of the `JobRun`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskJobRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
JobRunName name = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]");
// Make the request
JobRun response = await cloudDeployClient.GetJobRunAsync(name);
```

### GetJobRunAsync(JobRunName, CancellationToken)

    public virtual Task<JobRun> GetJobRunAsync(JobRunName name, CancellationToken cancellationToken)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `JobRunName` Required. Name of the `JobRun`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskJobRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
JobRunName name = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]");
// Make the request
JobRun response = await cloudDeployClient.GetJobRunAsync(name);
```

### GetJobRunAsync(string, CallSettings)

    public virtual Task<JobRun> GetJobRunAsync(string name, CallSettings callSettings = null)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `JobRun`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskJobRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]/jobRuns/[JOB_RUN]";
// Make the request
JobRun response = await cloudDeployClient.GetJobRunAsync(name);
```

### GetJobRunAsync(string, CancellationToken)

    public virtual Task<JobRun> GetJobRunAsync(string name, CancellationToken cancellationToken)

Gets details of a single JobRun.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `JobRun`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskJobRun` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]/jobRuns/[JOB_RUN]";
// Make the request
JobRun response = await cloudDeployClient.GetJobRunAsync(name);
```

### GetRelease(GetReleaseRequest, CallSettings)

    public virtual Release GetRelease(GetReleaseRequest request, CallSettings callSettings = null)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetReleaseRequest` 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** |
| `Release` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetReleaseRequest request = new GetReleaseRequest
{
    ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
};
// Make the request
Release response = cloudDeployClient.GetRelease(request);
```

### GetRelease(ReleaseName, CallSettings)

    public virtual Release GetRelease(ReleaseName name, CallSettings callSettings = null)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReleaseName` Required. Name of the `Release`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Release` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
Release response = cloudDeployClient.GetRelease(name);
```

### GetRelease(string, CallSettings)

    public virtual Release GetRelease(string name, CallSettings callSettings = null)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Release`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Release` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
Release response = cloudDeployClient.GetRelease(name);
```

### GetReleaseAsync(GetReleaseRequest, CallSettings)

    public virtual Task<Release> GetReleaseAsync(GetReleaseRequest request, CallSettings callSettings = null)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetReleaseRequest` 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** |
| `TaskRelease` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetReleaseRequest request = new GetReleaseRequest
{
    ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
};
// Make the request
Release response = await cloudDeployClient.GetReleaseAsync(request);
```

### GetReleaseAsync(GetReleaseRequest, CancellationToken)

    public virtual Task<Release> GetReleaseAsync(GetReleaseRequest request, CancellationToken cancellationToken)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetReleaseRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRelease` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetReleaseRequest request = new GetReleaseRequest
{
    ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
};
// Make the request
Release response = await cloudDeployClient.GetReleaseAsync(request);
```

### GetReleaseAsync(ReleaseName, CallSettings)

    public virtual Task<Release> GetReleaseAsync(ReleaseName name, CallSettings callSettings = null)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReleaseName` Required. Name of the `Release`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRelease` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
Release response = await cloudDeployClient.GetReleaseAsync(name);
```

### GetReleaseAsync(ReleaseName, CancellationToken)

    public virtual Task<Release> GetReleaseAsync(ReleaseName name, CancellationToken cancellationToken)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReleaseName` Required. Name of the `Release`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRelease` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
Release response = await cloudDeployClient.GetReleaseAsync(name);
```

### GetReleaseAsync(string, CallSettings)

    public virtual Task<Release> GetReleaseAsync(string name, CallSettings callSettings = null)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Release`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRelease` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
Release response = await cloudDeployClient.GetReleaseAsync(name);
```

### GetReleaseAsync(string, CancellationToken)

    public virtual Task<Release> GetReleaseAsync(string name, CancellationToken cancellationToken)

Gets details of a single Release.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Release`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRelease` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
Release response = await cloudDeployClient.GetReleaseAsync(name);
```

### GetRollout(GetRolloutRequest, CallSettings)

    public virtual Rollout GetRollout(GetRolloutRequest request, CallSettings callSettings = null)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRolloutRequest` 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** |
| `Rollout` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetRolloutRequest request = new GetRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
};
// Make the request
Rollout response = cloudDeployClient.GetRollout(request);
```

### GetRollout(RolloutName, CallSettings)

    public virtual Rollout GetRollout(RolloutName name, CallSettings callSettings = null)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the `Rollout`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rollout` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
Rollout response = cloudDeployClient.GetRollout(name);
```

### GetRollout(string, CallSettings)

    public virtual Rollout GetRollout(string name, CallSettings callSettings = null)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Rollout`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Rollout` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
Rollout response = cloudDeployClient.GetRollout(name);
```

### GetRolloutAsync(GetRolloutRequest, CallSettings)

    public virtual Task<Rollout> GetRolloutAsync(GetRolloutRequest request, CallSettings callSettings = null)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRolloutRequest` 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** |
| `TaskRollout` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetRolloutRequest request = new GetRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
};
// Make the request
Rollout response = await cloudDeployClient.GetRolloutAsync(request);
```

### GetRolloutAsync(GetRolloutRequest, CancellationToken)

    public virtual Task<Rollout> GetRolloutAsync(GetRolloutRequest request, CancellationToken cancellationToken)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetRolloutRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollout` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetRolloutRequest request = new GetRolloutRequest
{
    RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
};
// Make the request
Rollout response = await cloudDeployClient.GetRolloutAsync(request);
```

### GetRolloutAsync(RolloutName, CallSettings)

    public virtual Task<Rollout> GetRolloutAsync(RolloutName name, CallSettings callSettings = null)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the `Rollout`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollout` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
Rollout response = await cloudDeployClient.GetRolloutAsync(name);
```

### GetRolloutAsync(RolloutName, CancellationToken)

    public virtual Task<Rollout> GetRolloutAsync(RolloutName name, CancellationToken cancellationToken)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `RolloutName` Required. Name of the `Rollout`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollout` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName name = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
Rollout response = await cloudDeployClient.GetRolloutAsync(name);
```

### GetRolloutAsync(string, CallSettings)

    public virtual Task<Rollout> GetRolloutAsync(string name, CallSettings callSettings = null)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Rollout`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollout` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
Rollout response = await cloudDeployClient.GetRolloutAsync(name);
```

### GetRolloutAsync(string, CancellationToken)

    public virtual Task<Rollout> GetRolloutAsync(string name, CancellationToken cancellationToken)

Gets details of a single Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Rollout`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollout` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
Rollout response = await cloudDeployClient.GetRolloutAsync(name);
```

### GetTarget(GetTargetRequest, CallSettings)

    public virtual Target GetTarget(GetTargetRequest request, CallSettings callSettings = null)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTargetRequest` 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** |
| `Target` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
GetTargetRequest request = new GetTargetRequest
{
    TargetName = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]"),
};
// Make the request
Target response = cloudDeployClient.GetTarget(request);
```

### GetTarget(TargetName, CallSettings)

    public virtual Target GetTarget(TargetName name, CallSettings callSettings = null)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `TargetName` Required. Name of the `Target`. Format must be `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Target` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
TargetName name = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]");
// Make the request
Target response = cloudDeployClient.GetTarget(name);
```

### GetTarget(string, CallSettings)

    public virtual Target GetTarget(string name, CallSettings callSettings = null)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Target`. Format must be `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Target` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/targets/[TARGET]";
// Make the request
Target response = cloudDeployClient.GetTarget(name);
```

### GetTargetAsync(GetTargetRequest, CallSettings)

    public virtual Task<Target> GetTargetAsync(GetTargetRequest request, CallSettings callSettings = null)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTargetRequest` 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** |
| `TaskTarget` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetTargetRequest request = new GetTargetRequest
{
    TargetName = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]"),
};
// Make the request
Target response = await cloudDeployClient.GetTargetAsync(request);
```

### GetTargetAsync(GetTargetRequest, CancellationToken)

    public virtual Task<Target> GetTargetAsync(GetTargetRequest request, CancellationToken cancellationToken)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTargetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTarget` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
GetTargetRequest request = new GetTargetRequest
{
    TargetName = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]"),
};
// Make the request
Target response = await cloudDeployClient.GetTargetAsync(request);
```

### GetTargetAsync(TargetName, CallSettings)

    public virtual Task<Target> GetTargetAsync(TargetName name, CallSettings callSettings = null)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `TargetName` Required. Name of the `Target`. Format must be `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTarget` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
TargetName name = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]");
// Make the request
Target response = await cloudDeployClient.GetTargetAsync(name);
```

### GetTargetAsync(TargetName, CancellationToken)

    public virtual Task<Target> GetTargetAsync(TargetName name, CancellationToken cancellationToken)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `TargetName` Required. Name of the `Target`. Format must be `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTarget` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
TargetName name = TargetName.FromProjectLocationTarget("[PROJECT]", "[LOCATION]", "[TARGET]");
// Make the request
Target response = await cloudDeployClient.GetTargetAsync(name);
```

### GetTargetAsync(string, CallSettings)

    public virtual Task<Target> GetTargetAsync(string name, CallSettings callSettings = null)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Target`. Format must be `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTarget` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/targets/[TARGET]";
// Make the request
Target response = await cloudDeployClient.GetTargetAsync(name);
```

### GetTargetAsync(string, CancellationToken)

    public virtual Task<Target> GetTargetAsync(string name, CancellationToken cancellationToken)

Gets details of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `Target`. Format must be `projects/{project_id}/locations/{location_name}/targets/{target_name}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTarget` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/targets/[TARGET]";
// Make the request
Target response = await cloudDeployClient.GetTargetAsync(name);
```

### IgnoreJob(IgnoreJobRequest, CallSettings)

    public virtual IgnoreJobResponse IgnoreJob(IgnoreJobRequest request, CallSettings callSettings = null)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `IgnoreJobRequest` 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** |
| `IgnoreJobResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
IgnoreJobRequest request = new IgnoreJobRequest
{
    RolloutAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    JobId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
IgnoreJobResponse response = cloudDeployClient.IgnoreJob(request);
```

### IgnoreJob(RolloutName, string, string, CallSettings)

    public virtual IgnoreJobResponse IgnoreJob(RolloutName rollout, string phaseId, string jobId, CallSettings callSettings = null)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to ignore belongs to. |
| `jobId` | `string` Required. The job ID for the Job to ignore. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IgnoreJobResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RolloutName rollout = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
string jobId = "";
// Make the request
IgnoreJobResponse response = cloudDeployClient.IgnoreJob(rollout, phaseId, jobId);
```

### IgnoreJob(string, string, string, CallSettings)

    public virtual IgnoreJobResponse IgnoreJob(string rollout, string phaseId, string jobId, CallSettings callSettings = null)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to ignore belongs to. |
| `jobId` | `string` Required. The job ID for the Job to ignore. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IgnoreJobResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string rollout = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
string jobId = "";
// Make the request
IgnoreJobResponse response = cloudDeployClient.IgnoreJob(rollout, phaseId, jobId);
```

### IgnoreJobAsync(IgnoreJobRequest, CallSettings)

    public virtual Task<IgnoreJobResponse> IgnoreJobAsync(IgnoreJobRequest request, CallSettings callSettings = null)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `IgnoreJobRequest` 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** |
| `TaskIgnoreJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
IgnoreJobRequest request = new IgnoreJobRequest
{
    RolloutAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    JobId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
IgnoreJobResponse response = await cloudDeployClient.IgnoreJobAsync(request);
```

### IgnoreJobAsync(IgnoreJobRequest, CancellationToken)

    public virtual Task<IgnoreJobResponse> IgnoreJobAsync(IgnoreJobRequest request, CancellationToken cancellationToken)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `IgnoreJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskIgnoreJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
IgnoreJobRequest request = new IgnoreJobRequest
{
    RolloutAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    JobId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
IgnoreJobResponse response = await cloudDeployClient.IgnoreJobAsync(request);
```

### IgnoreJobAsync(RolloutName, string, string, CallSettings)

    public virtual Task<IgnoreJobResponse> IgnoreJobAsync(RolloutName rollout, string phaseId, string jobId, CallSettings callSettings = null)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to ignore belongs to. |
| `jobId` | `string` Required. The job ID for the Job to ignore. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskIgnoreJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName rollout = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
string jobId = "";
// Make the request
IgnoreJobResponse response = await cloudDeployClient.IgnoreJobAsync(rollout, phaseId, jobId);
```

### IgnoreJobAsync(RolloutName, string, string, CancellationToken)

    public virtual Task<IgnoreJobResponse> IgnoreJobAsync(RolloutName rollout, string phaseId, string jobId, CancellationToken cancellationToken)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to ignore belongs to. |
| `jobId` | `string` Required. The job ID for the Job to ignore. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskIgnoreJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName rollout = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
string jobId = "";
// Make the request
IgnoreJobResponse response = await cloudDeployClient.IgnoreJobAsync(rollout, phaseId, jobId);
```

### IgnoreJobAsync(string, string, string, CallSettings)

    public virtual Task<IgnoreJobResponse> IgnoreJobAsync(string rollout, string phaseId, string jobId, CallSettings callSettings = null)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to ignore belongs to. |
| `jobId` | `string` Required. The job ID for the Job to ignore. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskIgnoreJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string rollout = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
string jobId = "";
// Make the request
IgnoreJobResponse response = await cloudDeployClient.IgnoreJobAsync(rollout, phaseId, jobId);
```

### IgnoreJobAsync(string, string, string, CancellationToken)

    public virtual Task<IgnoreJobResponse> IgnoreJobAsync(string rollout, string phaseId, string jobId, CancellationToken cancellationToken)

Ignores the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to ignore belongs to. |
| `jobId` | `string` Required. The job ID for the Job to ignore. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskIgnoreJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string rollout = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
string jobId = "";
// Make the request
IgnoreJobResponse response = await cloudDeployClient.IgnoreJobAsync(rollout, phaseId, jobId);
```

### ListAutomationRuns(DeliveryPipelineName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAutomationRunsResponse, AutomationRun> ListAutomationRuns(DeliveryPipelineName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AutomationRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent `Delivery Pipeline`, which owns this collection of automationRuns. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListAutomationRunsResponseAutomationRun` | A pageable sequence of [AutomationRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.AutomationRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
PagedEnumerable<ListAutomationRunsResponse, AutomationRun> response = cloudDeployClient.ListAutomationRuns(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutomationRun item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAutomationRunsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutomationRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AutomationRun> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AutomationRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationRuns(ListAutomationRunsRequest, CallSettings)

    public virtual PagedEnumerable<ListAutomationRunsResponse, AutomationRun> ListAutomationRuns(ListAutomationRunsRequest request, CallSettings callSettings = null)

Lists AutomationRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAutomationRunsRequest` 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** |
| `PagedEnumerableListAutomationRunsResponseAutomationRun` | A pageable sequence of [AutomationRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.AutomationRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListAutomationRunsRequest request = new ListAutomationRunsRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListAutomationRunsResponse, AutomationRun> response = cloudDeployClient.ListAutomationRuns(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutomationRun item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAutomationRunsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutomationRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AutomationRun> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AutomationRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationRuns(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAutomationRunsResponse, AutomationRun> ListAutomationRuns(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AutomationRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent `Delivery Pipeline`, which owns this collection of automationRuns. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListAutomationRunsResponseAutomationRun` | A pageable sequence of [AutomationRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.AutomationRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
PagedEnumerable<ListAutomationRunsResponse, AutomationRun> response = cloudDeployClient.ListAutomationRuns(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutomationRun item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAutomationRunsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutomationRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AutomationRun> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AutomationRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationRunsAsync(DeliveryPipelineName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAutomationRunsResponse, AutomationRun> ListAutomationRunsAsync(DeliveryPipelineName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AutomationRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent `Delivery Pipeline`, which owns this collection of automationRuns. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListAutomationRunsResponseAutomationRun` | A pageable asynchronous sequence of [AutomationRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.AutomationRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
PagedAsyncEnumerable<ListAutomationRunsResponse, AutomationRun> response = cloudDeployClient.ListAutomationRunsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutomationRun item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAutomationRunsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutomationRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AutomationRun> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AutomationRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationRunsAsync(ListAutomationRunsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListAutomationRunsResponse, AutomationRun> ListAutomationRunsAsync(ListAutomationRunsRequest request, CallSettings callSettings = null)

Lists AutomationRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAutomationRunsRequest` 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** |
| `PagedAsyncEnumerableListAutomationRunsResponseAutomationRun` | A pageable asynchronous sequence of [AutomationRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.AutomationRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListAutomationRunsRequest request = new ListAutomationRunsRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListAutomationRunsResponse, AutomationRun> response = cloudDeployClient.ListAutomationRunsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutomationRun item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAutomationRunsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutomationRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AutomationRun> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AutomationRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationRunsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAutomationRunsResponse, AutomationRun> ListAutomationRunsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AutomationRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent `Delivery Pipeline`, which owns this collection of automationRuns. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListAutomationRunsResponseAutomationRun` | A pageable asynchronous sequence of [AutomationRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.AutomationRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
PagedAsyncEnumerable<ListAutomationRunsResponse, AutomationRun> response = cloudDeployClient.ListAutomationRunsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutomationRun item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAutomationRunsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutomationRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AutomationRun> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AutomationRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomations(DeliveryPipelineName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAutomationsResponse, Automation> ListAutomations(DeliveryPipelineName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Automations in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent `Delivery Pipeline`, which owns this collection of automations. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListAutomationsResponseAutomation` | A pageable sequence of [Automation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Automation.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
PagedEnumerable<ListAutomationsResponse, Automation> response = cloudDeployClient.ListAutomations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Automation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAutomationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Automation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Automation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Automation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomations(ListAutomationsRequest, CallSettings)

    public virtual PagedEnumerable<ListAutomationsResponse, Automation> ListAutomations(ListAutomationsRequest request, CallSettings callSettings = null)

Lists Automations in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAutomationsRequest` 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** |
| `PagedEnumerableListAutomationsResponseAutomation` | A pageable sequence of [Automation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Automation.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListAutomationsRequest request = new ListAutomationsRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListAutomationsResponse, Automation> response = cloudDeployClient.ListAutomations(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Automation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAutomationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Automation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Automation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Automation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomations(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAutomationsResponse, Automation> ListAutomations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Automations in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent `Delivery Pipeline`, which owns this collection of automations. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListAutomationsResponseAutomation` | A pageable sequence of [Automation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Automation.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
PagedEnumerable<ListAutomationsResponse, Automation> response = cloudDeployClient.ListAutomations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Automation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAutomationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Automation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Automation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Automation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationsAsync(DeliveryPipelineName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAutomationsResponse, Automation> ListAutomationsAsync(DeliveryPipelineName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Automations in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The parent `Delivery Pipeline`, which owns this collection of automations. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListAutomationsResponseAutomation` | A pageable asynchronous sequence of [Automation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Automation.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
PagedAsyncEnumerable<ListAutomationsResponse, Automation> response = cloudDeployClient.ListAutomationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Automation item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAutomationsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Automation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Automation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Automation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationsAsync(ListAutomationsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListAutomationsResponse, Automation> ListAutomationsAsync(ListAutomationsRequest request, CallSettings callSettings = null)

Lists Automations in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAutomationsRequest` 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** |
| `PagedAsyncEnumerableListAutomationsResponseAutomation` | A pageable asynchronous sequence of [Automation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Automation.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListAutomationsRequest request = new ListAutomationsRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListAutomationsResponse, Automation> response = cloudDeployClient.ListAutomationsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Automation item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAutomationsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Automation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Automation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Automation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListAutomationsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAutomationsResponse, Automation> ListAutomationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Automations in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent `Delivery Pipeline`, which owns this collection of automations. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListAutomationsResponseAutomation` | A pageable asynchronous sequence of [Automation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Automation.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
PagedAsyncEnumerable<ListAutomationsResponse, Automation> response = cloudDeployClient.ListAutomationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Automation item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAutomationsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Automation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Automation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Automation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListCustomTargetTypes(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListCustomTargetTypesResponse, CustomTargetType> ListCustomTargetTypes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomTargetTypes in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent that owns this collection of custom target types. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListCustomTargetTypesResponseCustomTargetType` | A pageable sequence of [CustomTargetType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCustomTargetTypesResponse, CustomTargetType> response = cloudDeployClient.ListCustomTargetTypes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CustomTargetType item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomTargetTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomTargetType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomTargetType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomTargetType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListCustomTargetTypes(ListCustomTargetTypesRequest, CallSettings)

    public virtual PagedEnumerable<ListCustomTargetTypesResponse, CustomTargetType> ListCustomTargetTypes(ListCustomTargetTypesRequest request, CallSettings callSettings = null)

Lists CustomTargetTypes in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListCustomTargetTypesRequest` 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** |
| `PagedEnumerableListCustomTargetTypesResponseCustomTargetType` | A pageable sequence of [CustomTargetType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListCustomTargetTypesRequest request = new ListCustomTargetTypesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListCustomTargetTypesResponse, CustomTargetType> response = cloudDeployClient.ListCustomTargetTypes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (CustomTargetType item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomTargetTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomTargetType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomTargetType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomTargetType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListCustomTargetTypes(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListCustomTargetTypesResponse, CustomTargetType> ListCustomTargetTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomTargetTypes in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent that owns this collection of custom target types. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListCustomTargetTypesResponseCustomTargetType` | A pageable sequence of [CustomTargetType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCustomTargetTypesResponse, CustomTargetType> response = cloudDeployClient.ListCustomTargetTypes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CustomTargetType item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomTargetTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomTargetType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomTargetType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomTargetType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListCustomTargetTypesAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListCustomTargetTypesResponse, CustomTargetType> ListCustomTargetTypesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomTargetTypes in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent that owns this collection of custom target types. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListCustomTargetTypesResponseCustomTargetType` | A pageable asynchronous sequence of [CustomTargetType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCustomTargetTypesResponse, CustomTargetType> response = cloudDeployClient.ListCustomTargetTypesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomTargetType item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomTargetTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomTargetType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomTargetType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomTargetType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListCustomTargetTypesAsync(ListCustomTargetTypesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListCustomTargetTypesResponse, CustomTargetType> ListCustomTargetTypesAsync(ListCustomTargetTypesRequest request, CallSettings callSettings = null)

Lists CustomTargetTypes in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListCustomTargetTypesRequest` 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** |
| `PagedAsyncEnumerableListCustomTargetTypesResponseCustomTargetType` | A pageable asynchronous sequence of [CustomTargetType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListCustomTargetTypesRequest request = new ListCustomTargetTypesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCustomTargetTypesResponse, CustomTargetType> response = cloudDeployClient.ListCustomTargetTypesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomTargetType item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomTargetTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomTargetType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomTargetType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomTargetType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListCustomTargetTypesAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListCustomTargetTypesResponse, CustomTargetType> ListCustomTargetTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomTargetTypes in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent that owns this collection of custom target types. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListCustomTargetTypesResponseCustomTargetType` | A pageable asynchronous sequence of [CustomTargetType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCustomTargetTypesResponse, CustomTargetType> response = cloudDeployClient.ListCustomTargetTypesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomTargetType item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomTargetTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomTargetType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomTargetType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomTargetType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeliveryPipelines(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> ListDeliveryPipelines(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeliveryPipelines in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which owns this collection of pipelines. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListDeliveryPipelinesResponseDeliveryPipeline` | A pageable sequence of [DeliveryPipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeliveryPipeline.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> response = cloudDeployClient.ListDeliveryPipelines(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeliveryPipeline item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeliveryPipelinesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeliveryPipeline item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeliveryPipeline> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeliveryPipeline item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeliveryPipelines(ListDeliveryPipelinesRequest, CallSettings)

    public virtual PagedEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> ListDeliveryPipelines(ListDeliveryPipelinesRequest request, CallSettings callSettings = null)

Lists DeliveryPipelines in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDeliveryPipelinesRequest` 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** |
| `PagedEnumerableListDeliveryPipelinesResponseDeliveryPipeline` | A pageable sequence of [DeliveryPipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeliveryPipeline.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListDeliveryPipelinesRequest request = new ListDeliveryPipelinesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> response = cloudDeployClient.ListDeliveryPipelines(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeliveryPipeline item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeliveryPipelinesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeliveryPipeline item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeliveryPipeline> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeliveryPipeline item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeliveryPipelines(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> ListDeliveryPipelines(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeliveryPipelines in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which owns this collection of pipelines. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListDeliveryPipelinesResponseDeliveryPipeline` | A pageable sequence of [DeliveryPipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeliveryPipeline.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> response = cloudDeployClient.ListDeliveryPipelines(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeliveryPipeline item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeliveryPipelinesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeliveryPipeline item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeliveryPipeline> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeliveryPipeline item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeliveryPipelinesAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> ListDeliveryPipelinesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeliveryPipelines in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which owns this collection of pipelines. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListDeliveryPipelinesResponseDeliveryPipeline` | A pageable asynchronous sequence of [DeliveryPipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeliveryPipeline.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> response = cloudDeployClient.ListDeliveryPipelinesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeliveryPipeline item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeliveryPipelinesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeliveryPipeline item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeliveryPipeline> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeliveryPipeline item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeliveryPipelinesAsync(ListDeliveryPipelinesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> ListDeliveryPipelinesAsync(ListDeliveryPipelinesRequest request, CallSettings callSettings = null)

Lists DeliveryPipelines in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDeliveryPipelinesRequest` 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** |
| `PagedAsyncEnumerableListDeliveryPipelinesResponseDeliveryPipeline` | A pageable asynchronous sequence of [DeliveryPipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeliveryPipeline.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListDeliveryPipelinesRequest request = new ListDeliveryPipelinesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> response = cloudDeployClient.ListDeliveryPipelinesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeliveryPipeline item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeliveryPipelinesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeliveryPipeline item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeliveryPipeline> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeliveryPipeline item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeliveryPipelinesAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> ListDeliveryPipelinesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeliveryPipelines in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which owns this collection of pipelines. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListDeliveryPipelinesResponseDeliveryPipeline` | A pageable asynchronous sequence of [DeliveryPipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeliveryPipeline.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDeliveryPipelinesResponse, DeliveryPipeline> response = cloudDeployClient.ListDeliveryPipelinesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeliveryPipeline item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeliveryPipelinesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeliveryPipeline item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeliveryPipeline> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeliveryPipeline item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeployPolicies(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDeployPoliciesResponse, DeployPolicy> ListDeployPolicies(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeployPolicies in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which owns this collection of deploy policies. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListDeployPoliciesResponseDeployPolicy` | A pageable sequence of [DeployPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicy.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDeployPoliciesResponse, DeployPolicy> response = cloudDeployClient.ListDeployPolicies(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeployPolicy item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeployPoliciesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeployPolicy item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeployPolicy> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeployPolicy item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeployPolicies(ListDeployPoliciesRequest, CallSettings)

    public virtual PagedEnumerable<ListDeployPoliciesResponse, DeployPolicy> ListDeployPolicies(ListDeployPoliciesRequest request, CallSettings callSettings = null)

Lists DeployPolicies in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDeployPoliciesRequest` 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** |
| `PagedEnumerableListDeployPoliciesResponseDeployPolicy` | A pageable sequence of [DeployPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicy.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListDeployPoliciesRequest request = new ListDeployPoliciesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListDeployPoliciesResponse, DeployPolicy> response = cloudDeployClient.ListDeployPolicies(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeployPolicy item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeployPoliciesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeployPolicy item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeployPolicy> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeployPolicy item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeployPolicies(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDeployPoliciesResponse, DeployPolicy> ListDeployPolicies(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeployPolicies in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which owns this collection of deploy policies. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListDeployPoliciesResponseDeployPolicy` | A pageable sequence of [DeployPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicy.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDeployPoliciesResponse, DeployPolicy> response = cloudDeployClient.ListDeployPolicies(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeployPolicy item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeployPoliciesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeployPolicy item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeployPolicy> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeployPolicy item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeployPoliciesAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeployPoliciesResponse, DeployPolicy> ListDeployPoliciesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeployPolicies in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which owns this collection of deploy policies. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListDeployPoliciesResponseDeployPolicy` | A pageable asynchronous sequence of [DeployPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicy.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDeployPoliciesResponse, DeployPolicy> response = cloudDeployClient.ListDeployPoliciesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeployPolicy item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeployPoliciesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeployPolicy item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeployPolicy> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeployPolicy item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeployPoliciesAsync(ListDeployPoliciesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeployPoliciesResponse, DeployPolicy> ListDeployPoliciesAsync(ListDeployPoliciesRequest request, CallSettings callSettings = null)

Lists DeployPolicies in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDeployPoliciesRequest` 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** |
| `PagedAsyncEnumerableListDeployPoliciesResponseDeployPolicy` | A pageable asynchronous sequence of [DeployPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicy.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListDeployPoliciesRequest request = new ListDeployPoliciesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListDeployPoliciesResponse, DeployPolicy> response = cloudDeployClient.ListDeployPoliciesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeployPolicy item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeployPoliciesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeployPolicy item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeployPolicy> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeployPolicy item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListDeployPoliciesAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeployPoliciesResponse, DeployPolicy> ListDeployPoliciesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DeployPolicies in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which owns this collection of deploy policies. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListDeployPoliciesResponseDeployPolicy` | A pageable asynchronous sequence of [DeployPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicy.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDeployPoliciesResponse, DeployPolicy> response = cloudDeployClient.ListDeployPoliciesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeployPolicy item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeployPoliciesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeployPolicy item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeployPolicy> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeployPolicy item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListJobRuns(ListJobRunsRequest, CallSettings)

    public virtual PagedEnumerable<ListJobRunsResponse, JobRun> ListJobRuns(ListJobRunsRequest request, CallSettings callSettings = null)

Lists JobRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListJobRunsRequest` 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** |
| `PagedEnumerableListJobRunsResponseJobRun` | A pageable sequence of [JobRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.JobRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListJobRunsRequest request = new ListJobRunsRequest
{
    ParentAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListJobRunsResponse, JobRun> response = cloudDeployClient.ListJobRuns(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (JobRun item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListJobRunsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (JobRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<JobRun> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (JobRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListJobRuns(RolloutName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListJobRunsResponse, JobRun> ListJobRuns(RolloutName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists JobRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `RolloutName` Required. The `Rollout` which owns this collection of `JobRun` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListJobRunsResponseJobRun` | A pageable sequence of [JobRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.JobRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RolloutName parent = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
PagedEnumerable<ListJobRunsResponse, JobRun> response = cloudDeployClient.ListJobRuns(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (JobRun item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListJobRunsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (JobRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<JobRun> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (JobRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListJobRuns(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListJobRunsResponse, JobRun> ListJobRuns(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists JobRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The `Rollout` which owns this collection of `JobRun` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListJobRunsResponseJobRun` | A pageable sequence of [JobRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.JobRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
PagedEnumerable<ListJobRunsResponse, JobRun> response = cloudDeployClient.ListJobRuns(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (JobRun item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListJobRunsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (JobRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<JobRun> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (JobRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListJobRunsAsync(ListJobRunsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListJobRunsResponse, JobRun> ListJobRunsAsync(ListJobRunsRequest request, CallSettings callSettings = null)

Lists JobRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListJobRunsRequest` 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** |
| `PagedAsyncEnumerableListJobRunsResponseJobRun` | A pageable asynchronous sequence of [JobRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.JobRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListJobRunsRequest request = new ListJobRunsRequest
{
    ParentAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListJobRunsResponse, JobRun> response = cloudDeployClient.ListJobRunsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((JobRun item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListJobRunsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (JobRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<JobRun> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (JobRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListJobRunsAsync(RolloutName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListJobRunsResponse, JobRun> ListJobRunsAsync(RolloutName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists JobRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `RolloutName` Required. The `Rollout` which owns this collection of `JobRun` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListJobRunsResponseJobRun` | A pageable asynchronous sequence of [JobRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.JobRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName parent = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
// Make the request
PagedAsyncEnumerable<ListJobRunsResponse, JobRun> response = cloudDeployClient.ListJobRunsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((JobRun item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListJobRunsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (JobRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<JobRun> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (JobRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListJobRunsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListJobRunsResponse, JobRun> ListJobRunsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists JobRuns in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The `Rollout` which owns this collection of `JobRun` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListJobRunsResponseJobRun` | A pageable asynchronous sequence of [JobRun](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.JobRun.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
// Make the request
PagedAsyncEnumerable<ListJobRunsResponse, JobRun> response = cloudDeployClient.ListJobRunsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((JobRun item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListJobRunsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (JobRun item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<JobRun> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (JobRun item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListReleases(DeliveryPipelineName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListReleasesResponse, Release> ListReleases(DeliveryPipelineName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Releases in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The `DeliveryPipeline` which owns this collection of `Release` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListReleasesResponseRelease` | A pageable sequence of [Release](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Release.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
PagedEnumerable<ListReleasesResponse, Release> response = cloudDeployClient.ListReleases(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Release item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListReleasesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Release item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Release> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Release item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListReleases(ListReleasesRequest, CallSettings)

    public virtual PagedEnumerable<ListReleasesResponse, Release> ListReleases(ListReleasesRequest request, CallSettings callSettings = null)

Lists Releases in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListReleasesRequest` 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** |
| `PagedEnumerableListReleasesResponseRelease` | A pageable sequence of [Release](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Release.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListReleasesRequest request = new ListReleasesRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListReleasesResponse, Release> response = cloudDeployClient.ListReleases(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Release item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListReleasesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Release item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Release> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Release item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListReleases(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListReleasesResponse, Release> ListReleases(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Releases in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The `DeliveryPipeline` which owns this collection of `Release` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListReleasesResponseRelease` | A pageable sequence of [Release](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Release.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
PagedEnumerable<ListReleasesResponse, Release> response = cloudDeployClient.ListReleases(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Release item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListReleasesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Release item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Release> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Release item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListReleasesAsync(DeliveryPipelineName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListReleasesResponse, Release> ListReleasesAsync(DeliveryPipelineName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Releases in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DeliveryPipelineName` Required. The `DeliveryPipeline` which owns this collection of `Release` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListReleasesResponseRelease` | A pageable asynchronous sequence of [Release](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Release.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName parent = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
// Make the request
PagedAsyncEnumerable<ListReleasesResponse, Release> response = cloudDeployClient.ListReleasesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Release item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListReleasesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Release item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Release> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Release item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListReleasesAsync(ListReleasesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListReleasesResponse, Release> ListReleasesAsync(ListReleasesRequest request, CallSettings callSettings = null)

Lists Releases in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListReleasesRequest` 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** |
| `PagedAsyncEnumerableListReleasesResponseRelease` | A pageable asynchronous sequence of [Release](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Release.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListReleasesRequest request = new ListReleasesRequest
{
    ParentAsDeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListReleasesResponse, Release> response = cloudDeployClient.ListReleasesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Release item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListReleasesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Release item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Release> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Release item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListReleasesAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListReleasesResponse, Release> ListReleasesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Releases in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The `DeliveryPipeline` which owns this collection of `Release` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListReleasesResponseRelease` | A pageable asynchronous sequence of [Release](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Release.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
// Make the request
PagedAsyncEnumerable<ListReleasesResponse, Release> response = cloudDeployClient.ListReleasesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Release item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListReleasesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Release item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Release> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Release item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListRollouts(ListRolloutsRequest, CallSettings)

    public virtual PagedEnumerable<ListRolloutsResponse, Rollout> ListRollouts(ListRolloutsRequest request, CallSettings callSettings = null)

Lists Rollouts in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRolloutsRequest` 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** |
| `PagedEnumerableListRolloutsResponseRollout` | A pageable sequence of [Rollout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Rollout.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListRolloutsRequest request = new ListRolloutsRequest
{
    ParentAsReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListRolloutsResponse, Rollout> response = cloudDeployClient.ListRollouts(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Rollout item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListRolloutsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Rollout item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Rollout> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Rollout item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListRollouts(ReleaseName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListRolloutsResponse, Rollout> ListRollouts(ReleaseName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Rollouts in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `ReleaseName` Required. The `Release` which owns this collection of `Rollout` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListRolloutsResponseRollout` | A pageable sequence of [Rollout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Rollout.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ReleaseName parent = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
PagedEnumerable<ListRolloutsResponse, Rollout> response = cloudDeployClient.ListRollouts(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Rollout item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListRolloutsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Rollout item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Rollout> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Rollout item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListRollouts(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListRolloutsResponse, Rollout> ListRollouts(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Rollouts in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The `Release` which owns this collection of `Rollout` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListRolloutsResponseRollout` | A pageable sequence of [Rollout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Rollout.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
PagedEnumerable<ListRolloutsResponse, Rollout> response = cloudDeployClient.ListRollouts(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Rollout item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListRolloutsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Rollout item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Rollout> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Rollout item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListRolloutsAsync(ListRolloutsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListRolloutsResponse, Rollout> ListRolloutsAsync(ListRolloutsRequest request, CallSettings callSettings = null)

Lists Rollouts in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRolloutsRequest` 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** |
| `PagedAsyncEnumerableListRolloutsResponseRollout` | A pageable asynchronous sequence of [Rollout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Rollout.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListRolloutsRequest request = new ListRolloutsRequest
{
    ParentAsReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListRolloutsResponse, Rollout> response = cloudDeployClient.ListRolloutsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Rollout item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRolloutsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Rollout item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Rollout> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Rollout item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListRolloutsAsync(ReleaseName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListRolloutsResponse, Rollout> ListRolloutsAsync(ReleaseName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Rollouts in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `ReleaseName` Required. The `Release` which owns this collection of `Rollout` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListRolloutsResponseRollout` | A pageable asynchronous sequence of [Rollout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Rollout.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ReleaseName parent = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
// Make the request
PagedAsyncEnumerable<ListRolloutsResponse, Rollout> response = cloudDeployClient.ListRolloutsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Rollout item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRolloutsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Rollout item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Rollout> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Rollout item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListRolloutsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListRolloutsResponse, Rollout> ListRolloutsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Rollouts in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The `Release` which owns this collection of `Rollout` objects. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListRolloutsResponseRollout` | A pageable asynchronous sequence of [Rollout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Rollout.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]";
// Make the request
PagedAsyncEnumerable<ListRolloutsResponse, Rollout> response = cloudDeployClient.ListRolloutsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Rollout item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRolloutsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Rollout item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Rollout> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Rollout item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListTargets(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListTargetsResponse, Target> ListTargets(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Targets in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which owns this collection of targets. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListTargetsResponseTarget` | A pageable sequence of [Target](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Target.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListTargetsResponse, Target> response = cloudDeployClient.ListTargets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Target item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListTargetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Target item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Target> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Target item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListTargets(ListTargetsRequest, CallSettings)

    public virtual PagedEnumerable<ListTargetsResponse, Target> ListTargets(ListTargetsRequest request, CallSettings callSettings = null)

Lists Targets in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListTargetsRequest` 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** |
| `PagedEnumerableListTargetsResponseTarget` | A pageable sequence of [Target](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Target.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
ListTargetsRequest request = new ListTargetsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListTargetsResponse, Target> response = cloudDeployClient.ListTargets(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Target item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListTargetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Target item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Target> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Target item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListTargets(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListTargetsResponse, Target> ListTargets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Targets in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which owns this collection of targets. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListTargetsResponseTarget` | A pageable sequence of [Target](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Target.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListTargetsResponse, Target> response = cloudDeployClient.ListTargets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Target item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListTargetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Target item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Target> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Target item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListTargetsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListTargetsResponse, Target> ListTargetsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Targets in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which owns this collection of targets. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListTargetsResponseTarget` | A pageable asynchronous sequence of [Target](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Target.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListTargetsResponse, Target> response = cloudDeployClient.ListTargetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Target item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTargetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Target item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Target> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Target item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListTargetsAsync(ListTargetsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListTargetsResponse, Target> ListTargetsAsync(ListTargetsRequest request, CallSettings callSettings = null)

Lists Targets in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListTargetsRequest` 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** |
| `PagedAsyncEnumerableListTargetsResponseTarget` | A pageable asynchronous sequence of [Target](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Target.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
ListTargetsRequest request = new ListTargetsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListTargetsResponse, Target> response = cloudDeployClient.ListTargetsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Target item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTargetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Target item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Target> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Target item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListTargetsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListTargetsResponse, Target> ListTargetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Targets in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which owns this collection of targets. Format must be `projects/{project_id}/locations/{location_name}`. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListTargetsResponseTarget` | A pageable asynchronous sequence of [Target](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.Target.md.txt) resources. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListTargetsResponse, Target> response = cloudDeployClient.ListTargetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Target item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTargetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Target item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Target> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Target item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### PollOnceCreateAutomation(string, CallSettings)

    public virtual Operation<Automation, OperationMetadata> PollOnceCreateAutomation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateAutomation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationAutomationOperationMetadata` | The result of polling the operation. |

### PollOnceCreateAutomationAsync(string, CallSettings)

    public virtual Task<Operation<Automation, OperationMetadata>> PollOnceCreateAutomationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateAutomation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateCustomTargetType(string, CallSettings)

    public virtual Operation<CustomTargetType, OperationMetadata> PollOnceCreateCustomTargetType(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateCustomTargetType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationCustomTargetTypeOperationMetadata` | The result of polling the operation. |

### PollOnceCreateCustomTargetTypeAsync(string, CallSettings)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> PollOnceCreateCustomTargetTypeAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateCustomTargetType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateDeliveryPipeline(string, CallSettings)

    public virtual Operation<DeliveryPipeline, OperationMetadata> PollOnceCreateDeliveryPipeline(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateDeliveryPipeline`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeliveryPipelineOperationMetadata` | The result of polling the operation. |

### PollOnceCreateDeliveryPipelineAsync(string, CallSettings)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> PollOnceCreateDeliveryPipelineAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateDeliveryPipeline`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateDeployPolicy(string, CallSettings)

    public virtual Operation<DeployPolicy, OperationMetadata> PollOnceCreateDeployPolicy(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateDeployPolicy`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeployPolicyOperationMetadata` | The result of polling the operation. |

### PollOnceCreateDeployPolicyAsync(string, CallSettings)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> PollOnceCreateDeployPolicyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateDeployPolicy`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateRelease(string, CallSettings)

    public virtual Operation<Release, OperationMetadata> PollOnceCreateRelease(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateRelease`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReleaseOperationMetadata` | The result of polling the operation. |

### PollOnceCreateReleaseAsync(string, CallSettings)

    public virtual Task<Operation<Release, OperationMetadata>> PollOnceCreateReleaseAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateRelease`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReleaseOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateRollout(string, CallSettings)

    public virtual Operation<Rollout, OperationMetadata> PollOnceCreateRollout(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateRollout`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationRolloutOperationMetadata` | The result of polling the operation. |

### PollOnceCreateRolloutAsync(string, CallSettings)

    public virtual Task<Operation<Rollout, OperationMetadata>> PollOnceCreateRolloutAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateRollout`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationRolloutOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateTarget(string, CallSettings)

    public virtual Operation<Target, OperationMetadata> PollOnceCreateTarget(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateTarget`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationTargetOperationMetadata` | The result of polling the operation. |

### PollOnceCreateTargetAsync(string, CallSettings)

    public virtual Task<Operation<Target, OperationMetadata>> PollOnceCreateTargetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateTarget`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteAutomation(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAutomation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteAutomation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteAutomationAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAutomationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteAutomation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteCustomTargetType(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCustomTargetType(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteCustomTargetType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteCustomTargetTypeAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCustomTargetTypeAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteCustomTargetType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDeliveryPipeline(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDeliveryPipeline(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteDeliveryPipeline`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteDeliveryPipelineAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDeliveryPipelineAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteDeliveryPipeline`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDeployPolicy(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDeployPolicy(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteDeployPolicy`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteDeployPolicyAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDeployPolicyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteDeployPolicy`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteTarget(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteTarget(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteTarget`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteTargetAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteTargetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteTarget`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateAutomation(string, CallSettings)

    public virtual Operation<Automation, OperationMetadata> PollOnceUpdateAutomation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateAutomation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationAutomationOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateAutomationAsync(string, CallSettings)

    public virtual Task<Operation<Automation, OperationMetadata>> PollOnceUpdateAutomationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateAutomation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateCustomTargetType(string, CallSettings)

    public virtual Operation<CustomTargetType, OperationMetadata> PollOnceUpdateCustomTargetType(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`UpdateCustomTargetType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationCustomTargetTypeOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateCustomTargetTypeAsync(string, CallSettings)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> PollOnceUpdateCustomTargetTypeAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateCustomTargetType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateDeliveryPipeline(string, CallSettings)

    public virtual Operation<DeliveryPipeline, OperationMetadata> PollOnceUpdateDeliveryPipeline(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`UpdateDeliveryPipeline`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeliveryPipelineOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDeliveryPipelineAsync(string, CallSettings)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> PollOnceUpdateDeliveryPipelineAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateDeliveryPipeline`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateDeployPolicy(string, CallSettings)

    public virtual Operation<DeployPolicy, OperationMetadata> PollOnceUpdateDeployPolicy(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateDeployPolicy`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeployPolicyOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDeployPolicyAsync(string, CallSettings)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> PollOnceUpdateDeployPolicyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateDeployPolicy`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateTarget(string, CallSettings)

    public virtual Operation<Target, OperationMetadata> PollOnceUpdateTarget(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateTarget`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationTargetOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateTargetAsync(string, CallSettings)

    public virtual Task<Operation<Target, OperationMetadata>> PollOnceUpdateTargetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateTarget`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A task representing the result of polling the operation. |

### RetryJob(RetryJobRequest, CallSettings)

    public virtual RetryJobResponse RetryJob(RetryJobRequest request, CallSettings callSettings = null)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RetryJobRequest` 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** |
| `RetryJobResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RetryJobRequest request = new RetryJobRequest
{
    RolloutAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    JobId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
RetryJobResponse response = cloudDeployClient.RetryJob(request);
```

### RetryJob(RolloutName, string, string, CallSettings)

    public virtual RetryJobResponse RetryJob(RolloutName rollout, string phaseId, string jobId, CallSettings callSettings = null)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to retry belongs to. |
| `jobId` | `string` Required. The job ID for the Job to retry. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RetryJobResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RolloutName rollout = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
string jobId = "";
// Make the request
RetryJobResponse response = cloudDeployClient.RetryJob(rollout, phaseId, jobId);
```

### RetryJob(string, string, string, CallSettings)

    public virtual RetryJobResponse RetryJob(string rollout, string phaseId, string jobId, CallSettings callSettings = null)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to retry belongs to. |
| `jobId` | `string` Required. The job ID for the Job to retry. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RetryJobResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string rollout = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
string jobId = "";
// Make the request
RetryJobResponse response = cloudDeployClient.RetryJob(rollout, phaseId, jobId);
```

### RetryJobAsync(RetryJobRequest, CallSettings)

    public virtual Task<RetryJobResponse> RetryJobAsync(RetryJobRequest request, CallSettings callSettings = null)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RetryJobRequest` 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** |
| `TaskRetryJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RetryJobRequest request = new RetryJobRequest
{
    RolloutAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    JobId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
RetryJobResponse response = await cloudDeployClient.RetryJobAsync(request);
```

### RetryJobAsync(RetryJobRequest, CancellationToken)

    public virtual Task<RetryJobResponse> RetryJobAsync(RetryJobRequest request, CancellationToken cancellationToken)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RetryJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRetryJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RetryJobRequest request = new RetryJobRequest
{
    RolloutAsRolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"),
    PhaseId = "",
    JobId = "",
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
RetryJobResponse response = await cloudDeployClient.RetryJobAsync(request);
```

### RetryJobAsync(RolloutName, string, string, CallSettings)

    public virtual Task<RetryJobResponse> RetryJobAsync(RolloutName rollout, string phaseId, string jobId, CallSettings callSettings = null)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to retry belongs to. |
| `jobId` | `string` Required. The job ID for the Job to retry. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRetryJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName rollout = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
string jobId = "";
// Make the request
RetryJobResponse response = await cloudDeployClient.RetryJobAsync(rollout, phaseId, jobId);
```

### RetryJobAsync(RolloutName, string, string, CancellationToken)

    public virtual Task<RetryJobResponse> RetryJobAsync(RolloutName rollout, string phaseId, string jobId, CancellationToken cancellationToken)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `RolloutName` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to retry belongs to. |
| `jobId` | `string` Required. The job ID for the Job to retry. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRetryJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RolloutName rollout = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]");
string phaseId = "";
string jobId = "";
// Make the request
RetryJobResponse response = await cloudDeployClient.RetryJobAsync(rollout, phaseId, jobId);
```

### RetryJobAsync(string, string, string, CallSettings)

    public virtual Task<RetryJobResponse> RetryJobAsync(string rollout, string phaseId, string jobId, CallSettings callSettings = null)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to retry belongs to. |
| `jobId` | `string` Required. The job ID for the Job to retry. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRetryJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string rollout = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
string jobId = "";
// Make the request
RetryJobResponse response = await cloudDeployClient.RetryJobAsync(rollout, phaseId, jobId);
```

### RetryJobAsync(string, string, string, CancellationToken)

    public virtual Task<RetryJobResponse> RetryJobAsync(string rollout, string phaseId, string jobId, CancellationToken cancellationToken)

Retries the specified Job in a Rollout.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `rollout` | `string` Required. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| `phaseId` | `string` Required. The phase ID the Job to retry belongs to. |
| `jobId` | `string` Required. The job ID for the Job to retry. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRetryJobResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string rollout = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]";
string phaseId = "";
string jobId = "";
// Make the request
RetryJobResponse response = await cloudDeployClient.RetryJobAsync(rollout, phaseId, jobId);
```

### RollbackTarget(DeliveryPipelineName, string, string, CallSettings)

    public virtual RollbackTargetResponse RollbackTarget(DeliveryPipelineName name, string targetId, string rolloutId, CallSettings callSettings = null)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. The `DeliveryPipeline` for which the rollback `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `targetId` | `string` Required. ID of the `Target` that is being rolled back. |
| `rolloutId` | `string` Required. ID of the rollback `Rollout` to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RollbackTargetResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
string targetId = "";
string rolloutId = "";
// Make the request
RollbackTargetResponse response = cloudDeployClient.RollbackTarget(name, targetId, rolloutId);
```

### RollbackTarget(RollbackTargetRequest, CallSettings)

    public virtual RollbackTargetResponse RollbackTarget(RollbackTargetRequest request, CallSettings callSettings = null)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RollbackTargetRequest` 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** |
| `RollbackTargetResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
RollbackTargetRequest request = new RollbackTargetRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    TargetId = "",
    RolloutId = "",
    ReleaseId = "",
    RolloutToRollBack = "",
    RollbackConfig = new RollbackTargetConfig(),
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
RollbackTargetResponse response = cloudDeployClient.RollbackTarget(request);
```

### RollbackTarget(string, string, string, CallSettings)

    public virtual RollbackTargetResponse RollbackTarget(string name, string targetId, string rolloutId, CallSettings callSettings = null)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The `DeliveryPipeline` for which the rollback `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `targetId` | `string` Required. ID of the `Target` that is being rolled back. |
| `rolloutId` | `string` Required. ID of the rollback `Rollout` to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RollbackTargetResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
string targetId = "";
string rolloutId = "";
// Make the request
RollbackTargetResponse response = cloudDeployClient.RollbackTarget(name, targetId, rolloutId);
```

### RollbackTargetAsync(DeliveryPipelineName, string, string, CallSettings)

    public virtual Task<RollbackTargetResponse> RollbackTargetAsync(DeliveryPipelineName name, string targetId, string rolloutId, CallSettings callSettings = null)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. The `DeliveryPipeline` for which the rollback `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `targetId` | `string` Required. ID of the `Target` that is being rolled back. |
| `rolloutId` | `string` Required. ID of the rollback `Rollout` to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollbackTargetResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
string targetId = "";
string rolloutId = "";
// Make the request
RollbackTargetResponse response = await cloudDeployClient.RollbackTargetAsync(name, targetId, rolloutId);
```

### RollbackTargetAsync(DeliveryPipelineName, string, string, CancellationToken)

    public virtual Task<RollbackTargetResponse> RollbackTargetAsync(DeliveryPipelineName name, string targetId, string rolloutId, CancellationToken cancellationToken)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DeliveryPipelineName` Required. The `DeliveryPipeline` for which the rollback `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `targetId` | `string` Required. ID of the `Target` that is being rolled back. |
| `rolloutId` | `string` Required. ID of the rollback `Rollout` to create. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollbackTargetResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipelineName name = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
string targetId = "";
string rolloutId = "";
// Make the request
RollbackTargetResponse response = await cloudDeployClient.RollbackTargetAsync(name, targetId, rolloutId);
```

### RollbackTargetAsync(RollbackTargetRequest, CallSettings)

    public virtual Task<RollbackTargetResponse> RollbackTargetAsync(RollbackTargetRequest request, CallSettings callSettings = null)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RollbackTargetRequest` 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** |
| `TaskRollbackTargetResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RollbackTargetRequest request = new RollbackTargetRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    TargetId = "",
    RolloutId = "",
    ReleaseId = "",
    RolloutToRollBack = "",
    RollbackConfig = new RollbackTargetConfig(),
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
RollbackTargetResponse response = await cloudDeployClient.RollbackTargetAsync(request);
```

### RollbackTargetAsync(RollbackTargetRequest, CancellationToken)

    public virtual Task<RollbackTargetResponse> RollbackTargetAsync(RollbackTargetRequest request, CancellationToken cancellationToken)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RollbackTargetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollbackTargetResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
RollbackTargetRequest request = new RollbackTargetRequest
{
    DeliveryPipelineName = DeliveryPipelineName.FromProjectLocationDeliveryPipeline("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"),
    TargetId = "",
    RolloutId = "",
    ReleaseId = "",
    RolloutToRollBack = "",
    RollbackConfig = new RollbackTargetConfig(),
    ValidateOnly = false,
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
RollbackTargetResponse response = await cloudDeployClient.RollbackTargetAsync(request);
```

### RollbackTargetAsync(string, string, string, CallSettings)

    public virtual Task<RollbackTargetResponse> RollbackTargetAsync(string name, string targetId, string rolloutId, CallSettings callSettings = null)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The `DeliveryPipeline` for which the rollback `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `targetId` | `string` Required. ID of the `Target` that is being rolled back. |
| `rolloutId` | `string` Required. ID of the rollback `Rollout` to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollbackTargetResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
string targetId = "";
string rolloutId = "";
// Make the request
RollbackTargetResponse response = await cloudDeployClient.RollbackTargetAsync(name, targetId, rolloutId);
```

### RollbackTargetAsync(string, string, string, CancellationToken)

    public virtual Task<RollbackTargetResponse> RollbackTargetAsync(string name, string targetId, string rolloutId, CancellationToken cancellationToken)

Creates a `Rollout` to roll back the specified target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The `DeliveryPipeline` for which the rollback `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. |
| `targetId` | `string` Required. ID of the `Target` that is being rolled back. |
| `rolloutId` | `string` Required. ID of the rollback `Rollout` to create. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRollbackTargetResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]";
string targetId = "";
string rolloutId = "";
// Make the request
RollbackTargetResponse response = await cloudDeployClient.RollbackTargetAsync(name, targetId, rolloutId);
```

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt#Google_Cloud_Deploy_V1_CloudDeployClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt#Google_Cloud_Deploy_V1_CloudDeployClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt#Google_Cloud_Deploy_V1_CloudDeployClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CloudDeployClient.md.txt#Google_Cloud_Deploy_V1_CloudDeployClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### TerminateJobRun(JobRunName, CallSettings)

    public virtual TerminateJobRunResponse TerminateJobRun(JobRunName name, CallSettings callSettings = null)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `JobRunName` Required. Name of the `JobRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TerminateJobRunResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
JobRunName name = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]");
// Make the request
TerminateJobRunResponse response = cloudDeployClient.TerminateJobRun(name);
```

### TerminateJobRun(TerminateJobRunRequest, CallSettings)

    public virtual TerminateJobRunResponse TerminateJobRun(TerminateJobRunRequest request, CallSettings callSettings = null)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `TerminateJobRunRequest` 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** |
| `TerminateJobRunResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
TerminateJobRunRequest request = new TerminateJobRunRequest
{
    JobRunName = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]"),
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
TerminateJobRunResponse response = cloudDeployClient.TerminateJobRun(request);
```

### TerminateJobRun(string, CallSettings)

    public virtual TerminateJobRunResponse TerminateJobRun(string name, CallSettings callSettings = null)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `JobRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TerminateJobRunResponse` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]/jobRuns/[JOB_RUN]";
// Make the request
TerminateJobRunResponse response = cloudDeployClient.TerminateJobRun(name);
```

### TerminateJobRunAsync(JobRunName, CallSettings)

    public virtual Task<TerminateJobRunResponse> TerminateJobRunAsync(JobRunName name, CallSettings callSettings = null)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `JobRunName` Required. Name of the `JobRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTerminateJobRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
JobRunName name = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]");
// Make the request
TerminateJobRunResponse response = await cloudDeployClient.TerminateJobRunAsync(name);
```

### TerminateJobRunAsync(JobRunName, CancellationToken)

    public virtual Task<TerminateJobRunResponse> TerminateJobRunAsync(JobRunName name, CancellationToken cancellationToken)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `JobRunName` Required. Name of the `JobRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTerminateJobRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
JobRunName name = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]");
// Make the request
TerminateJobRunResponse response = await cloudDeployClient.TerminateJobRunAsync(name);
```

### TerminateJobRunAsync(TerminateJobRunRequest, CallSettings)

    public virtual Task<TerminateJobRunResponse> TerminateJobRunAsync(TerminateJobRunRequest request, CallSettings callSettings = null)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `TerminateJobRunRequest` 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** |
| `TaskTerminateJobRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
TerminateJobRunRequest request = new TerminateJobRunRequest
{
    JobRunName = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]"),
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
TerminateJobRunResponse response = await cloudDeployClient.TerminateJobRunAsync(request);
```

### TerminateJobRunAsync(TerminateJobRunRequest, CancellationToken)

    public virtual Task<TerminateJobRunResponse> TerminateJobRunAsync(TerminateJobRunRequest request, CancellationToken cancellationToken)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `TerminateJobRunRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTerminateJobRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
TerminateJobRunRequest request = new TerminateJobRunRequest
{
    JobRunName = JobRunName.FromProjectLocationDeliveryPipelineReleaseRolloutJobRun("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]", "[JOB_RUN]"),
    OverrideDeployPolicyAsDeployPolicyNames =
    {
        DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"),
    },
};
// Make the request
TerminateJobRunResponse response = await cloudDeployClient.TerminateJobRunAsync(request);
```

### TerminateJobRunAsync(string, CallSettings)

    public virtual Task<TerminateJobRunResponse> TerminateJobRunAsync(string name, CallSettings callSettings = null)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `JobRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTerminateJobRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]/jobRuns/[JOB_RUN]";
// Make the request
TerminateJobRunResponse response = await cloudDeployClient.TerminateJobRunAsync(name);
```

### TerminateJobRunAsync(string, CancellationToken)

    public virtual Task<TerminateJobRunResponse> TerminateJobRunAsync(string name, CancellationToken cancellationToken)

Terminates a Job Run in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the `JobRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTerminateJobRunResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]/jobRuns/[JOB_RUN]";
// Make the request
TerminateJobRunResponse response = await cloudDeployClient.TerminateJobRunAsync(name);
```

### UpdateAutomation(Automation, FieldMask, CallSettings)

    public virtual Operation<Automation, OperationMetadata> UpdateAutomation(Automation automation, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `automation` | `Automation` Required. The `Automation` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `Automation` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationAutomationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
Automation automation = new Automation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Automation, OperationMetadata> response = cloudDeployClient.UpdateAutomation(automation, updateMask);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### UpdateAutomation(UpdateAutomationRequest, CallSettings)

    public virtual Operation<Automation, OperationMetadata> UpdateAutomation(UpdateAutomationRequest request, CallSettings callSettings = null)

Updates the parameters of a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAutomationRequest` 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** |
| `OperationAutomationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
UpdateAutomationRequest request = new UpdateAutomationRequest
{
    UpdateMask = new FieldMask(),
    Automation = new Automation(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Automation, OperationMetadata> response = cloudDeployClient.UpdateAutomation(request);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateAutomation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### UpdateAutomationAsync(Automation, FieldMask, CallSettings)

    public virtual Task<Operation<Automation, OperationMetadata>> UpdateAutomationAsync(Automation automation, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `automation` | `Automation` Required. The `Automation` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `Automation` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
Automation automation = new Automation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.UpdateAutomationAsync(automation, updateMask);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### UpdateAutomationAsync(Automation, FieldMask, CancellationToken)

    public virtual Task<Operation<Automation, OperationMetadata>> UpdateAutomationAsync(Automation automation, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `automation` | `Automation` Required. The `Automation` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `Automation` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
Automation automation = new Automation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.UpdateAutomationAsync(automation, updateMask);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### UpdateAutomationAsync(UpdateAutomationRequest, CallSettings)

    public virtual Task<Operation<Automation, OperationMetadata>> UpdateAutomationAsync(UpdateAutomationRequest request, CallSettings callSettings = null)

Updates the parameters of a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAutomationRequest` 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** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateAutomationRequest request = new UpdateAutomationRequest
{
    UpdateMask = new FieldMask(),
    Automation = new Automation(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.UpdateAutomationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### UpdateAutomationAsync(UpdateAutomationRequest, CancellationToken)

    public virtual Task<Operation<Automation, OperationMetadata>> UpdateAutomationAsync(UpdateAutomationRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Automation resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAutomationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationAutomationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateAutomationRequest request = new UpdateAutomationRequest
{
    UpdateMask = new FieldMask(),
    Automation = new Automation(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Automation, OperationMetadata> response = await cloudDeployClient.UpdateAutomationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Automation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Automation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Automation, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateAutomationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Automation retrievedResult = retrievedResponse.Result;
}
```

### UpdateCustomTargetType(CustomTargetType, FieldMask, CallSettings)

    public virtual Operation<CustomTargetType, OperationMetadata> UpdateCustomTargetType(CustomTargetType customTargetType, FieldMask updateMask, CallSettings callSettings = null)

Updates a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `CustomTargetType` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationCustomTargetTypeOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
CustomTargetType customTargetType = new CustomTargetType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CustomTargetType, OperationMetadata> response = cloudDeployClient.UpdateCustomTargetType(customTargetType, updateMask);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### UpdateCustomTargetType(UpdateCustomTargetTypeRequest, CallSettings)

    public virtual Operation<CustomTargetType, OperationMetadata> UpdateCustomTargetType(UpdateCustomTargetTypeRequest request, CallSettings callSettings = null)

Updates a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateCustomTargetTypeRequest` 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** |
| `OperationCustomTargetTypeOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
UpdateCustomTargetTypeRequest request = new UpdateCustomTargetTypeRequest
{
    UpdateMask = new FieldMask(),
    CustomTargetType = new CustomTargetType(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<CustomTargetType, OperationMetadata> response = cloudDeployClient.UpdateCustomTargetType(request);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateCustomTargetType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### UpdateCustomTargetTypeAsync(CustomTargetType, FieldMask, CallSettings)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> UpdateCustomTargetTypeAsync(CustomTargetType customTargetType, FieldMask updateMask, CallSettings callSettings = null)

Updates a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `CustomTargetType` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CustomTargetType customTargetType = new CustomTargetType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.UpdateCustomTargetTypeAsync(customTargetType, updateMask);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### UpdateCustomTargetTypeAsync(CustomTargetType, FieldMask, CancellationToken)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> UpdateCustomTargetTypeAsync(CustomTargetType customTargetType, FieldMask updateMask, CancellationToken cancellationToken)

Updates a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `customTargetType` | `CustomTargetType` Required. The `CustomTargetType` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `CustomTargetType` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
CustomTargetType customTargetType = new CustomTargetType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.UpdateCustomTargetTypeAsync(customTargetType, updateMask);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### UpdateCustomTargetTypeAsync(UpdateCustomTargetTypeRequest, CallSettings)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> UpdateCustomTargetTypeAsync(UpdateCustomTargetTypeRequest request, CallSettings callSettings = null)

Updates a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateCustomTargetTypeRequest` 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** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateCustomTargetTypeRequest request = new UpdateCustomTargetTypeRequest
{
    UpdateMask = new FieldMask(),
    CustomTargetType = new CustomTargetType(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.UpdateCustomTargetTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### UpdateCustomTargetTypeAsync(UpdateCustomTargetTypeRequest, CancellationToken)

    public virtual Task<Operation<CustomTargetType, OperationMetadata>> UpdateCustomTargetTypeAsync(UpdateCustomTargetTypeRequest request, CancellationToken cancellationToken)

Updates a single CustomTargetType.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateCustomTargetTypeRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationCustomTargetTypeOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateCustomTargetTypeRequest request = new UpdateCustomTargetTypeRequest
{
    UpdateMask = new FieldMask(),
    CustomTargetType = new CustomTargetType(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<CustomTargetType, OperationMetadata> response = await cloudDeployClient.UpdateCustomTargetTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<CustomTargetType, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CustomTargetType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CustomTargetType, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateCustomTargetTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CustomTargetType retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeliveryPipeline(DeliveryPipeline, FieldMask, CallSettings)

    public virtual Operation<DeliveryPipeline, OperationMetadata> UpdateDeliveryPipeline(DeliveryPipeline deliveryPipeline, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `DeliveryPipeline` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeliveryPipelineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = cloudDeployClient.UpdateDeliveryPipeline(deliveryPipeline, updateMask);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeliveryPipeline(UpdateDeliveryPipelineRequest, CallSettings)

    public virtual Operation<DeliveryPipeline, OperationMetadata> UpdateDeliveryPipeline(UpdateDeliveryPipelineRequest request, CallSettings callSettings = null)

Updates the parameters of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateDeliveryPipelineRequest` 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** |
| `OperationDeliveryPipelineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
UpdateDeliveryPipelineRequest request = new UpdateDeliveryPipelineRequest
{
    UpdateMask = new FieldMask(),
    DeliveryPipeline = new DeliveryPipeline(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = cloudDeployClient.UpdateDeliveryPipeline(request);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateDeliveryPipeline(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeliveryPipelineAsync(DeliveryPipeline, FieldMask, CallSettings)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> UpdateDeliveryPipelineAsync(DeliveryPipeline deliveryPipeline, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `DeliveryPipeline` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.UpdateDeliveryPipelineAsync(deliveryPipeline, updateMask);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeliveryPipelineAsync(DeliveryPipeline, FieldMask, CancellationToken)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> UpdateDeliveryPipelineAsync(DeliveryPipeline deliveryPipeline, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deliveryPipeline` | `DeliveryPipeline` Required. The `DeliveryPipeline` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `DeliveryPipeline` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeliveryPipeline deliveryPipeline = new DeliveryPipeline();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.UpdateDeliveryPipelineAsync(deliveryPipeline, updateMask);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeliveryPipelineAsync(UpdateDeliveryPipelineRequest, CallSettings)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> UpdateDeliveryPipelineAsync(UpdateDeliveryPipelineRequest request, CallSettings callSettings = null)

Updates the parameters of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateDeliveryPipelineRequest` 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** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateDeliveryPipelineRequest request = new UpdateDeliveryPipelineRequest
{
    UpdateMask = new FieldMask(),
    DeliveryPipeline = new DeliveryPipeline(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.UpdateDeliveryPipelineAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeliveryPipelineAsync(UpdateDeliveryPipelineRequest, CancellationToken)

    public virtual Task<Operation<DeliveryPipeline, OperationMetadata>> UpdateDeliveryPipelineAsync(UpdateDeliveryPipelineRequest request, CancellationToken cancellationToken)

Updates the parameters of a single DeliveryPipeline.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateDeliveryPipelineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeliveryPipelineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateDeliveryPipelineRequest request = new UpdateDeliveryPipelineRequest
{
    UpdateMask = new FieldMask(),
    DeliveryPipeline = new DeliveryPipeline(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<DeliveryPipeline, OperationMetadata> response = await cloudDeployClient.UpdateDeliveryPipelineAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeliveryPipeline, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeliveryPipeline result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeliveryPipeline, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeliveryPipelineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeliveryPipeline retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeployPolicy(DeployPolicy, FieldMask, CallSettings)

    public virtual Operation<DeployPolicy, OperationMetadata> UpdateDeployPolicy(DeployPolicy deployPolicy, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `DeployPolicy` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationDeployPolicyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
DeployPolicy deployPolicy = new DeployPolicy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DeployPolicy, OperationMetadata> response = cloudDeployClient.UpdateDeployPolicy(deployPolicy, updateMask);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeployPolicy(UpdateDeployPolicyRequest, CallSettings)

    public virtual Operation<DeployPolicy, OperationMetadata> UpdateDeployPolicy(UpdateDeployPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateDeployPolicyRequest` 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** |
| `OperationDeployPolicyOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
UpdateDeployPolicyRequest request = new UpdateDeployPolicyRequest
{
    UpdateMask = new FieldMask(),
    DeployPolicy = new DeployPolicy(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<DeployPolicy, OperationMetadata> response = cloudDeployClient.UpdateDeployPolicy(request);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateDeployPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeployPolicyAsync(DeployPolicy, FieldMask, CallSettings)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> UpdateDeployPolicyAsync(DeployPolicy deployPolicy, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `DeployPolicy` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeployPolicy deployPolicy = new DeployPolicy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.UpdateDeployPolicyAsync(deployPolicy, updateMask);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeployPolicyAsync(DeployPolicy, FieldMask, CancellationToken)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> UpdateDeployPolicyAsync(DeployPolicy deployPolicy, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deployPolicy` | `DeployPolicy` Required. The `DeployPolicy` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `DeployPolicy` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
DeployPolicy deployPolicy = new DeployPolicy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.UpdateDeployPolicyAsync(deployPolicy, updateMask);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeployPolicyAsync(UpdateDeployPolicyRequest, CallSettings)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> UpdateDeployPolicyAsync(UpdateDeployPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateDeployPolicyRequest` 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** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateDeployPolicyRequest request = new UpdateDeployPolicyRequest
{
    UpdateMask = new FieldMask(),
    DeployPolicy = new DeployPolicy(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.UpdateDeployPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### UpdateDeployPolicyAsync(UpdateDeployPolicyRequest, CancellationToken)

    public virtual Task<Operation<DeployPolicy, OperationMetadata>> UpdateDeployPolicyAsync(UpdateDeployPolicyRequest request, CancellationToken cancellationToken)

Updates the parameters of a single DeployPolicy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateDeployPolicyRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationDeployPolicyOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateDeployPolicyRequest request = new UpdateDeployPolicyRequest
{
    UpdateMask = new FieldMask(),
    DeployPolicy = new DeployPolicy(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<DeployPolicy, OperationMetadata> response = await cloudDeployClient.UpdateDeployPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeployPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployPolicy result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployPolicy, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateDeployPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployPolicy retrievedResult = retrievedResponse.Result;
}
```

### UpdateTarget(Target, FieldMask, CallSettings)

    public virtual Operation<Target, OperationMetadata> UpdateTarget(Target target, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `target` | `Target` Required. The `Target` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `Target` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationTargetOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
Target target = new Target();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Target, OperationMetadata> response = cloudDeployClient.UpdateTarget(target, updateMask);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### UpdateTarget(UpdateTargetRequest, CallSettings)

    public virtual Operation<Target, OperationMetadata> UpdateTarget(UpdateTargetRequest request, CallSettings callSettings = null)

Updates the parameters of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTargetRequest` 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** |
| `OperationTargetOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = CloudDeployClient.Create();
// Initialize request argument(s)
UpdateTargetRequest request = new UpdateTargetRequest
{
    UpdateMask = new FieldMask(),
    Target = new Target(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Target, OperationMetadata> response = cloudDeployClient.UpdateTarget(request);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = cloudDeployClient.PollOnceUpdateTarget(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### UpdateTargetAsync(Target, FieldMask, CallSettings)

    public virtual Task<Operation<Target, OperationMetadata>> UpdateTargetAsync(Target target, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `target` | `Target` Required. The `Target` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `Target` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
Target target = new Target();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.UpdateTargetAsync(target, updateMask);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### UpdateTargetAsync(Target, FieldMask, CancellationToken)

    public virtual Task<Operation<Target, OperationMetadata>> UpdateTargetAsync(Target target, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `target` | `Target` Required. The `Target` to update. |
| `updateMask` | `FieldMask` Required. Field mask is used to specify the fields to be overwritten by the update in the `Target` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
Target target = new Target();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.UpdateTargetAsync(target, updateMask);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### UpdateTargetAsync(UpdateTargetRequest, CallSettings)

    public virtual Task<Operation<Target, OperationMetadata>> UpdateTargetAsync(UpdateTargetRequest request, CallSettings callSettings = null)

Updates the parameters of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTargetRequest` 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** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateTargetRequest request = new UpdateTargetRequest
{
    UpdateMask = new FieldMask(),
    Target = new Target(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.UpdateTargetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```

### UpdateTargetAsync(UpdateTargetRequest, CancellationToken)

    public virtual Task<Operation<Target, OperationMetadata>> UpdateTargetAsync(UpdateTargetRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Target.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTargetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationTargetOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync();
// Initialize request argument(s)
UpdateTargetRequest request = new UpdateTargetRequest
{
    UpdateMask = new FieldMask(),
    Target = new Target(),
    RequestId = "",
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Target, OperationMetadata> response = await cloudDeployClient.UpdateTargetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Target, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Target result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Target, OperationMetadata> retrievedResponse = await cloudDeployClient.PollOnceUpdateTargetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Target retrievedResult = retrievedResponse.Result;
}
```