3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.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.0.0

    public abstract class DataProductServiceClient

Reference documentation and code samples for the Cloud Dataplex v1 API class DataProductServiceClient.

DataProductService client wrapper, for convenient use.

## Inheritance

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

## 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

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

## Namespace

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

## Assembly

Google.Cloud.Dataplex.V1.dll

## Remarks

`DataProductService` provides APIs for managing data products and
the underlying data assets.

## Properties

### CreateDataAssetOperationsClient

    public virtual OperationsClient CreateDataAssetOperationsClient { get; }

The long-running operations client for `CreateDataAsset`.

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

### CreateDataProductOperationsClient

    public virtual OperationsClient CreateDataProductOperationsClient { get; }

The long-running operations client for `CreateDataProduct`.

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

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

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

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

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default DataProductService scopes.

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

**Remarks** The default DataProductService scopes are:

- <https://www.googleapis.com/auth/cloud-platform>
- <https://www.googleapis.com/auth/cloud-platform.read-only>
- <https://www.googleapis.com/auth/dataplex.read-write>
- <https://www.googleapis.com/auth/dataplex.readonly>

### DeleteDataAssetOperationsClient

    public virtual OperationsClient DeleteDataAssetOperationsClient { get; }

The long-running operations client for `DeleteDataAsset`.

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

### DeleteDataProductOperationsClient

    public virtual OperationsClient DeleteDataProductOperationsClient { get; }

The long-running operations client for `DeleteDataProduct`.

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

### GrpcClient

    public virtual DataProductService.DataProductServiceClient GrpcClient { get; }

The underlying gRPC DataProductService client

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

### 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` |   |

### UpdateDataAssetOperationsClient

    public virtual OperationsClient UpdateDataAssetOperationsClient { get; }

The long-running operations client for `UpdateDataAsset`.

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

### UpdateDataProductOperationsClient

    public virtual OperationsClient UpdateDataProductOperationsClient { get; }

The long-running operations client for `UpdateDataProduct`.

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

## Methods

### Create()

    public static DataProductServiceClient Create()

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

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

### CreateAsync(CancellationToken)

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

Asynchronously creates a [DataProductServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductServiceClient.md.txt) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [DataProductServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductServiceClientBuilder.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** |
| `TaskDataProductServiceClient` | The task representing the created [DataProductServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductServiceClient.md.txt). |

### CreateDataAsset(CreateDataAssetRequest, CallSettings)

    public virtual Operation<DataAsset, OperationMetadata> CreateDataAsset(CreateDataAssetRequest request, CallSettings callSettings = null)

Creates a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateDataAssetRequest request = new gcdv::CreateDataAssetRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    DataAssetId = "",
    DataAsset = new gcdv::DataAsset(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = dataProductServiceClient.CreateDataAsset(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceCreateDataAsset(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAsset(DataProductName, DataAsset, string, CallSettings)

    public virtual Operation<DataAsset, OperationMetadata> CreateDataAsset(DataProductName parent, DataAsset dataAsset, string dataAssetId, CallSettings callSettings = null)

Creates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `dataAsset` | `DataAsset` Required. The data asset to create. |
| `dataAssetId` | `string` Optional. The ID of the data asset to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
string dataAssetId = "";
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = dataProductServiceClient.CreateDataAsset(parent, dataAsset, dataAssetId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceCreateDataAsset(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAsset(string, DataAsset, string, CallSettings)

    public virtual Operation<DataAsset, OperationMetadata> CreateDataAsset(string parent, DataAsset dataAsset, string dataAssetId, CallSettings callSettings = null)

Creates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `dataAsset` | `DataAsset` Required. The data asset to create. |
| `dataAssetId` | `string` Optional. The ID of the data asset to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
string dataAssetId = "";
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = dataProductServiceClient.CreateDataAsset(parent, dataAsset, dataAssetId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceCreateDataAsset(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAssetAsync(CreateDataAssetRequest, CallSettings)

    public virtual Task<Operation<DataAsset, OperationMetadata>> CreateDataAssetAsync(CreateDataAssetRequest request, CallSettings callSettings = null)

Creates a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataAssetRequest request = new gcdv::CreateDataAssetRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    DataAssetId = "",
    DataAsset = new gcdv::DataAsset(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataAssetAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAssetAsync(CreateDataAssetRequest, CancellationToken)

    public virtual Task<Operation<DataAsset, OperationMetadata>> CreateDataAssetAsync(CreateDataAssetRequest request, CancellationToken cancellationToken)

Creates a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataAssetRequest request = new gcdv::CreateDataAssetRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    DataAssetId = "",
    DataAsset = new gcdv::DataAsset(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataAssetAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAssetAsync(DataProductName, DataAsset, string, CallSettings)

    public virtual Task<Operation<DataAsset, OperationMetadata>> CreateDataAssetAsync(DataProductName parent, DataAsset dataAsset, string dataAssetId, CallSettings callSettings = null)

Creates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `dataAsset` | `DataAsset` Required. The data asset to create. |
| `dataAssetId` | `string` Optional. The ID of the data asset to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
string dataAssetId = "";
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataAssetAsync(parent, dataAsset, dataAssetId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAssetAsync(DataProductName, DataAsset, string, CancellationToken)

    public virtual Task<Operation<DataAsset, OperationMetadata>> CreateDataAssetAsync(DataProductName parent, DataAsset dataAsset, string dataAssetId, CancellationToken cancellationToken)

Creates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `dataAsset` | `DataAsset` Required. The data asset to create. |
| `dataAssetId` | `string` Optional. The ID of the data asset to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
string dataAssetId = "";
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataAssetAsync(parent, dataAsset, dataAssetId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAssetAsync(string, DataAsset, string, CallSettings)

    public virtual Task<Operation<DataAsset, OperationMetadata>> CreateDataAssetAsync(string parent, DataAsset dataAsset, string dataAssetId, CallSettings callSettings = null)

Creates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `dataAsset` | `DataAsset` Required. The data asset to create. |
| `dataAssetId` | `string` Optional. The ID of the data asset to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
string dataAssetId = "";
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataAssetAsync(parent, dataAsset, dataAssetId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataAssetAsync(string, DataAsset, string, CancellationToken)

    public virtual Task<Operation<DataAsset, OperationMetadata>> CreateDataAssetAsync(string parent, DataAsset dataAsset, string dataAssetId, CancellationToken cancellationToken)

Creates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `dataAsset` | `DataAsset` Required. The data asset to create. |
| `dataAssetId` | `string` Optional. The ID of the data asset to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
string dataAssetId = "";
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataAssetAsync(parent, dataAsset, dataAssetId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProduct(LocationName, DataProduct, string, CallSettings)

    public virtual Operation<DataProduct, OperationMetadata> CreateDataProduct(LocationName parent, DataProduct dataProduct, string dataProductId, CallSettings callSettings = null)

Creates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} |
| `dataProduct` | `DataProduct` Required. The data product to create. |
| `dataProductId` | `string` Optional. The ID of the data product to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
string dataProductId = "";
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = dataProductServiceClient.CreateDataProduct(parent, dataProduct, dataProductId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceCreateDataProduct(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProduct(CreateDataProductRequest, CallSettings)

    public virtual Operation<DataProduct, OperationMetadata> CreateDataProduct(CreateDataProductRequest request, CallSettings callSettings = null)

Creates a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateDataProductRequest request = new gcdv::CreateDataProductRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataProductId = "",
    DataProduct = new gcdv::DataProduct(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = dataProductServiceClient.CreateDataProduct(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceCreateDataProduct(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProduct(string, DataProduct, string, CallSettings)

    public virtual Operation<DataProduct, OperationMetadata> CreateDataProduct(string parent, DataProduct dataProduct, string dataProductId, CallSettings callSettings = null)

Creates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} |
| `dataProduct` | `DataProduct` Required. The data product to create. |
| `dataProductId` | `string` Optional. The ID of the data product to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
string dataProductId = "";
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = dataProductServiceClient.CreateDataProduct(parent, dataProduct, dataProductId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceCreateDataProduct(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProductAsync(LocationName, DataProduct, string, CallSettings)

    public virtual Task<Operation<DataProduct, OperationMetadata>> CreateDataProductAsync(LocationName parent, DataProduct dataProduct, string dataProductId, CallSettings callSettings = null)

Creates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} |
| `dataProduct` | `DataProduct` Required. The data product to create. |
| `dataProductId` | `string` Optional. The ID of the data product to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
string dataProductId = "";
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataProductAsync(parent, dataProduct, dataProductId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProductAsync(LocationName, DataProduct, string, CancellationToken)

    public virtual Task<Operation<DataProduct, OperationMetadata>> CreateDataProductAsync(LocationName parent, DataProduct dataProduct, string dataProductId, CancellationToken cancellationToken)

Creates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} |
| `dataProduct` | `DataProduct` Required. The data product to create. |
| `dataProductId` | `string` Optional. The ID of the data product to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
string dataProductId = "";
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataProductAsync(parent, dataProduct, dataProductId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProductAsync(CreateDataProductRequest, CallSettings)

    public virtual Task<Operation<DataProduct, OperationMetadata>> CreateDataProductAsync(CreateDataProductRequest request, CallSettings callSettings = null)

Creates a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataProductRequest request = new gcdv::CreateDataProductRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataProductId = "",
    DataProduct = new gcdv::DataProduct(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataProductAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProductAsync(CreateDataProductRequest, CancellationToken)

    public virtual Task<Operation<DataProduct, OperationMetadata>> CreateDataProductAsync(CreateDataProductRequest request, CancellationToken cancellationToken)

Creates a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataProductRequest request = new gcdv::CreateDataProductRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataProductId = "",
    DataProduct = new gcdv::DataProduct(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataProductAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProductAsync(string, DataProduct, string, CallSettings)

    public virtual Task<Operation<DataProduct, OperationMetadata>> CreateDataProductAsync(string parent, DataProduct dataProduct, string dataProductId, CallSettings callSettings = null)

Creates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} |
| `dataProduct` | `DataProduct` Required. The data product to create. |
| `dataProductId` | `string` Optional. The ID of the data product to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
string dataProductId = "";
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataProductAsync(parent, dataProduct, dataProductId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### CreateDataProductAsync(string, DataProduct, string, CancellationToken)

    public virtual Task<Operation<DataProduct, OperationMetadata>> CreateDataProductAsync(string parent, DataProduct dataProduct, string dataProductId, CancellationToken cancellationToken)

Creates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} |
| `dataProduct` | `DataProduct` Required. The data product to create. |
| `dataProductId` | `string` Optional. The ID of the data product to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
string dataProductId = "";
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.CreateDataProductAsync(parent, dataProduct, dataProductId);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceCreateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### DeleteDataAsset(DataAssetName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDataAsset(DataAssetName name, CallSettings callSettings = null)

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataAssetName` Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAssetName name = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataProductServiceClient.DeleteDataAsset(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceDeleteDataAsset(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;
}
```

### DeleteDataAsset(DeleteDataAssetRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDataAsset(DeleteDataAssetRequest request, CallSettings callSettings = null)

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDataAssetRequest` 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
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteDataAssetRequest request = new gcdv::DeleteDataAssetRequest
{
    DataAssetName = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]"),
    Etag = "",
    ValidateOnly = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataProductServiceClient.DeleteDataAsset(request);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceDeleteDataAsset(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;
}
```

### DeleteDataAsset(string, CallSettings)

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

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]/dataAssets/[DATA_ASSET]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataProductServiceClient.DeleteDataAsset(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceDeleteDataAsset(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;
}
```

### DeleteDataAssetAsync(DataAssetName, CallSettings)

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

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataAssetName` Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAssetName name = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataAssetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataAssetAsync(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;
}
```

### DeleteDataAssetAsync(DataAssetName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataAssetAsync(DataAssetName name, CancellationToken cancellationToken)

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataAssetName` Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAssetName name = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataAssetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataAssetAsync(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;
}
```

### DeleteDataAssetAsync(DeleteDataAssetRequest, CallSettings)

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

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDataAssetRequest` 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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataAssetRequest request = new gcdv::DeleteDataAssetRequest
{
    DataAssetName = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]"),
    Etag = "",
    ValidateOnly = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataAssetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataAssetAsync(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;
}
```

### DeleteDataAssetAsync(DeleteDataAssetRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataAssetAsync(DeleteDataAssetRequest request, CancellationToken cancellationToken)

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDataAssetRequest` 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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataAssetRequest request = new gcdv::DeleteDataAssetRequest
{
    DataAssetName = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]"),
    Etag = "",
    ValidateOnly = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataAssetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataAssetAsync(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;
}
```

### DeleteDataAssetAsync(string, CallSettings)

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

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]/dataAssets/[DATA_ASSET]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataAssetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataAssetAsync(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;
}
```

### DeleteDataAssetAsync(string, CancellationToken)

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

Deletes a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]/dataAssets/[DATA_ASSET]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataAssetAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataAssetAsync(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;
}
```

### DeleteDataProduct(DataProductName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDataProduct(DataProductName name, CallSettings callSettings = null)

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataProductName` Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataProductName name = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataProductServiceClient.DeleteDataProduct(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceDeleteDataProduct(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;
}
```

### DeleteDataProduct(DeleteDataProductRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDataProduct(DeleteDataProductRequest request, CallSettings callSettings = null)

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDataProductRequest` 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
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteDataProductRequest request = new gcdv::DeleteDataProductRequest
{
    DataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    Etag = "",
    ValidateOnly = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataProductServiceClient.DeleteDataProduct(request);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceDeleteDataProduct(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;
}
```

### DeleteDataProduct(string, CallSettings)

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

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataProductServiceClient.DeleteDataProduct(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceDeleteDataProduct(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;
}
```

### DeleteDataProductAsync(DataProductName, CallSettings)

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

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataProductName` Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName name = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataProductAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataProductAsync(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;
}
```

### DeleteDataProductAsync(DataProductName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataProductAsync(DataProductName name, CancellationToken cancellationToken)

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataProductName` Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName name = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataProductAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataProductAsync(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;
}
```

### DeleteDataProductAsync(DeleteDataProductRequest, CallSettings)

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

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDataProductRequest` 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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataProductRequest request = new gcdv::DeleteDataProductRequest
{
    DataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    Etag = "",
    ValidateOnly = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataProductAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataProductAsync(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;
}
```

### DeleteDataProductAsync(DeleteDataProductRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataProductAsync(DeleteDataProductRequest request, CancellationToken cancellationToken)

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDataProductRequest` 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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataProductRequest request = new gcdv::DeleteDataProductRequest
{
    DataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    Etag = "",
    ValidateOnly = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataProductAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataProductAsync(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;
}
```

### DeleteDataProductAsync(string, CallSettings)

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

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataProductAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataProductAsync(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;
}
```

### DeleteDataProductAsync(string, CancellationToken)

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

Deletes a data product. The deletion will fail if the data product is not
empty (i.e. contains at least one data asset).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataProductServiceClient.DeleteDataProductAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::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, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceDeleteDataProductAsync(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;
}
```

### GetDataAsset(DataAssetName, CallSettings)

    public virtual DataAsset GetDataAsset(DataAssetName name, CallSettings callSettings = null)

Gets a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataAssetName` Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAssetName name = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]");
// Make the request
gcdv::DataAsset response = dataProductServiceClient.GetDataAsset(name);
```

### GetDataAsset(GetDataAssetRequest, CallSettings)

    public virtual DataAsset GetDataAsset(GetDataAssetRequest request, CallSettings callSettings = null)

Gets a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::GetDataAssetRequest request = new gcdv::GetDataAssetRequest
{
    DataAssetName = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]"),
};
// Make the request
gcdv::DataAsset response = dataProductServiceClient.GetDataAsset(request);
```

### GetDataAsset(string, CallSettings)

    public virtual DataAsset GetDataAsset(string name, CallSettings callSettings = null)

Gets a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]/dataAssets/[DATA_ASSET]";
// Make the request
gcdv::DataAsset response = dataProductServiceClient.GetDataAsset(name);
```

### GetDataAssetAsync(DataAssetName, CallSettings)

    public virtual Task<DataAsset> GetDataAssetAsync(DataAssetName name, CallSettings callSettings = null)

Gets a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataAssetName` Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAssetName name = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]");
// Make the request
gcdv::DataAsset response = await dataProductServiceClient.GetDataAssetAsync(name);
```

### GetDataAssetAsync(DataAssetName, CancellationToken)

    public virtual Task<DataAsset> GetDataAssetAsync(DataAssetName name, CancellationToken cancellationToken)

Gets a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataAssetName` Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAssetName name = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]");
// Make the request
gcdv::DataAsset response = await dataProductServiceClient.GetDataAssetAsync(name);
```

### GetDataAssetAsync(GetDataAssetRequest, CallSettings)

    public virtual Task<DataAsset> GetDataAssetAsync(GetDataAssetRequest request, CallSettings callSettings = null)

Gets a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataAssetRequest request = new gcdv::GetDataAssetRequest
{
    DataAssetName = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]"),
};
// Make the request
gcdv::DataAsset response = await dataProductServiceClient.GetDataAssetAsync(request);
```

### GetDataAssetAsync(GetDataAssetRequest, CancellationToken)

    public virtual Task<DataAsset> GetDataAssetAsync(GetDataAssetRequest request, CancellationToken cancellationToken)

Gets a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataAssetRequest request = new gcdv::GetDataAssetRequest
{
    DataAssetName = gcdv::DataAssetName.FromProjectLocationDataProductDataAsset("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]", "[DATA_ASSET]"),
};
// Make the request
gcdv::DataAsset response = await dataProductServiceClient.GetDataAssetAsync(request);
```

### GetDataAssetAsync(string, CallSettings)

    public virtual Task<DataAsset> GetDataAssetAsync(string name, CallSettings callSettings = null)

Gets a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]/dataAssets/[DATA_ASSET]";
// Make the request
gcdv::DataAsset response = await dataProductServiceClient.GetDataAssetAsync(name);
```

### GetDataAssetAsync(string, CancellationToken)

    public virtual Task<DataAsset> GetDataAssetAsync(string name, CancellationToken cancellationToken)

Gets a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]/dataAssets/[DATA_ASSET]";
// Make the request
gcdv::DataAsset response = await dataProductServiceClient.GetDataAssetAsync(name);
```

### GetDataProduct(DataProductName, CallSettings)

    public virtual DataProduct GetDataProduct(DataProductName name, CallSettings callSettings = null)

Gets a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataProductName` Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataProductName name = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
gcdv::DataProduct response = dataProductServiceClient.GetDataProduct(name);
```

### GetDataProduct(GetDataProductRequest, CallSettings)

    public virtual DataProduct GetDataProduct(GetDataProductRequest request, CallSettings callSettings = null)

Gets a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::GetDataProductRequest request = new gcdv::GetDataProductRequest
{
    DataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
};
// Make the request
gcdv::DataProduct response = dataProductServiceClient.GetDataProduct(request);
```

### GetDataProduct(string, CallSettings)

    public virtual DataProduct GetDataProduct(string name, CallSettings callSettings = null)

Gets a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
gcdv::DataProduct response = dataProductServiceClient.GetDataProduct(name);
```

### GetDataProductAsync(DataProductName, CallSettings)

    public virtual Task<DataProduct> GetDataProductAsync(DataProductName name, CallSettings callSettings = null)

Gets a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataProductName` Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName name = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
gcdv::DataProduct response = await dataProductServiceClient.GetDataProductAsync(name);
```

### GetDataProductAsync(DataProductName, CancellationToken)

    public virtual Task<DataProduct> GetDataProductAsync(DataProductName name, CancellationToken cancellationToken)

Gets a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `DataProductName` Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName name = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
gcdv::DataProduct response = await dataProductServiceClient.GetDataProductAsync(name);
```

### GetDataProductAsync(GetDataProductRequest, CallSettings)

    public virtual Task<DataProduct> GetDataProductAsync(GetDataProductRequest request, CallSettings callSettings = null)

Gets a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataProductRequest request = new gcdv::GetDataProductRequest
{
    DataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
};
// Make the request
gcdv::DataProduct response = await dataProductServiceClient.GetDataProductAsync(request);
```

### GetDataProductAsync(GetDataProductRequest, CancellationToken)

    public virtual Task<DataProduct> GetDataProductAsync(GetDataProductRequest request, CancellationToken cancellationToken)

Gets a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataProductRequest request = new gcdv::GetDataProductRequest
{
    DataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
};
// Make the request
gcdv::DataProduct response = await dataProductServiceClient.GetDataProductAsync(request);
```

### GetDataProductAsync(string, CallSettings)

    public virtual Task<DataProduct> GetDataProductAsync(string name, CallSettings callSettings = null)

Gets a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
gcdv::DataProduct response = await dataProductServiceClient.GetDataProductAsync(name);
```

### GetDataProductAsync(string, CancellationToken)

    public virtual Task<DataProduct> GetDataProductAsync(string name, CancellationToken cancellationToken)

Gets a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
gcdv::DataProduct response = await dataProductServiceClient.GetDataProductAsync(name);
```

### ListDataAssets(DataProductName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDataAssetsResponse, DataAsset> ListDataAssets(DataProductName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data assets for a given data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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** |
| `PagedEnumerableListDataAssetsResponseDataAsset` | A pageable sequence of [DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
PagedEnumerable<gcdv::ListDataAssetsResponse, gcdv::DataAsset> response = dataProductServiceClient.ListDataAssets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DataAsset 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 (gcdv::ListDataAssetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataAsset 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<gcdv::DataAsset> 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 (gcdv::DataAsset 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;
```

### ListDataAssets(ListDataAssetsRequest, CallSettings)

    public virtual PagedEnumerable<ListDataAssetsResponse, DataAsset> ListDataAssets(ListDataAssetsRequest request, CallSettings callSettings = null)

Lists data assets for a given data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDataAssetsRequest` 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** |
| `PagedEnumerableListDataAssetsResponseDataAsset` | A pageable sequence of [DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::ListDataAssetsRequest request = new gcdv::ListDataAssetsRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<gcdv::ListDataAssetsResponse, gcdv::DataAsset> response = dataProductServiceClient.ListDataAssets(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DataAsset 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 (gcdv::ListDataAssetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataAsset 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<gcdv::DataAsset> 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 (gcdv::DataAsset 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;
```

### ListDataAssets(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDataAssetsResponse, DataAsset> ListDataAssets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data assets for a given data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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** |
| `PagedEnumerableListDataAssetsResponseDataAsset` | A pageable sequence of [DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
PagedEnumerable<gcdv::ListDataAssetsResponse, gcdv::DataAsset> response = dataProductServiceClient.ListDataAssets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DataAsset 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 (gcdv::ListDataAssetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataAsset 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<gcdv::DataAsset> 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 (gcdv::DataAsset 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;
```

### ListDataAssetsAsync(DataProductName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDataAssetsResponse, DataAsset> ListDataAssetsAsync(DataProductName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data assets for a given data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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** |
| `PagedAsyncEnumerableListDataAssetsResponseDataAsset` | A pageable asynchronous sequence of [DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAssetsResponse, gcdv::DataAsset> response = dataProductServiceClient.ListDataAssetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DataAsset item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListDataAssetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataAsset 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<gcdv::DataAsset> 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 (gcdv::DataAsset 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;
```

### ListDataAssetsAsync(ListDataAssetsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDataAssetsResponse, DataAsset> ListDataAssetsAsync(ListDataAssetsRequest request, CallSettings callSettings = null)

Lists data assets for a given data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDataAssetsRequest` 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** |
| `PagedAsyncEnumerableListDataAssetsResponseDataAsset` | A pageable asynchronous sequence of [DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListDataAssetsRequest request = new gcdv::ListDataAssetsRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAssetsResponse, gcdv::DataAsset> response = dataProductServiceClient.ListDataAssetsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DataAsset item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListDataAssetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataAsset 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<gcdv::DataAsset> 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 (gcdv::DataAsset 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;
```

### ListDataAssetsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDataAssetsResponse, DataAsset> ListDataAssetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data assets for a given data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `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** |
| `PagedAsyncEnumerableListDataAssetsResponseDataAsset` | A pageable asynchronous sequence of [DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAssetsResponse, gcdv::DataAsset> response = dataProductServiceClient.ListDataAssetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DataAsset item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListDataAssetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataAsset 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<gcdv::DataAsset> 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 (gcdv::DataAsset 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;
```

### ListDataProducts(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDataProductsResponse, DataProduct> ListDataProducts(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data products for a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which has this collection of data products. Format: `projects/{project_id_or_number}/locations/{location_id}`. Supports listing across all locations with the wildcard `-` (hyphen) character. Example: `projects/{project_id_or_number}/locations/-` |
| `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** |
| `PagedEnumerableListDataProductsResponseDataProduct` | A pageable sequence of [DataProduct](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProduct.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<gcdv::ListDataProductsResponse, gcdv::DataProduct> response = dataProductServiceClient.ListDataProducts(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DataProduct 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 (gcdv::ListDataProductsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataProduct 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<gcdv::DataProduct> 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 (gcdv::DataProduct 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;
```

### ListDataProducts(ListDataProductsRequest, CallSettings)

    public virtual PagedEnumerable<ListDataProductsResponse, DataProduct> ListDataProducts(ListDataProductsRequest request, CallSettings callSettings = null)

Lists data products for a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDataProductsRequest` 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** |
| `PagedEnumerableListDataProductsResponseDataProduct` | A pageable sequence of [DataProduct](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProduct.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::ListDataProductsRequest request = new gcdv::ListDataProductsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<gcdv::ListDataProductsResponse, gcdv::DataProduct> response = dataProductServiceClient.ListDataProducts(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DataProduct 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 (gcdv::ListDataProductsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataProduct 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<gcdv::DataProduct> 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 (gcdv::DataProduct 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;
```

### ListDataProducts(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDataProductsResponse, DataProduct> ListDataProducts(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data products for a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which has this collection of data products. Format: `projects/{project_id_or_number}/locations/{location_id}`. Supports listing across all locations with the wildcard `-` (hyphen) character. Example: `projects/{project_id_or_number}/locations/-` |
| `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** |
| `PagedEnumerableListDataProductsResponseDataProduct` | A pageable sequence of [DataProduct](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProduct.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<gcdv::ListDataProductsResponse, gcdv::DataProduct> response = dataProductServiceClient.ListDataProducts(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DataProduct 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 (gcdv::ListDataProductsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataProduct 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<gcdv::DataProduct> 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 (gcdv::DataProduct 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;
```

### ListDataProductsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDataProductsResponse, DataProduct> ListDataProductsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data products for a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The parent, which has this collection of data products. Format: `projects/{project_id_or_number}/locations/{location_id}`. Supports listing across all locations with the wildcard `-` (hyphen) character. Example: `projects/{project_id_or_number}/locations/-` |
| `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** |
| `PagedAsyncEnumerableListDataProductsResponseDataProduct` | A pageable asynchronous sequence of [DataProduct](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProduct.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<gcdv::ListDataProductsResponse, gcdv::DataProduct> response = dataProductServiceClient.ListDataProductsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DataProduct item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListDataProductsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataProduct 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<gcdv::DataProduct> 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 (gcdv::DataProduct 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;
```

### ListDataProductsAsync(ListDataProductsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDataProductsResponse, DataProduct> ListDataProductsAsync(ListDataProductsRequest request, CallSettings callSettings = null)

Lists data products for a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDataProductsRequest` 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** |
| `PagedAsyncEnumerableListDataProductsResponseDataProduct` | A pageable asynchronous sequence of [DataProduct](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProduct.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListDataProductsRequest request = new gcdv::ListDataProductsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListDataProductsResponse, gcdv::DataProduct> response = dataProductServiceClient.ListDataProductsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DataProduct item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListDataProductsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataProduct 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<gcdv::DataProduct> 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 (gcdv::DataProduct 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;
```

### ListDataProductsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDataProductsResponse, DataProduct> ListDataProductsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists data products for a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent, which has this collection of data products. Format: `projects/{project_id_or_number}/locations/{location_id}`. Supports listing across all locations with the wildcard `-` (hyphen) character. Example: `projects/{project_id_or_number}/locations/-` |
| `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** |
| `PagedAsyncEnumerableListDataProductsResponseDataProduct` | A pageable asynchronous sequence of [DataProduct](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProduct.md.txt) resources. |

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<gcdv::ListDataProductsResponse, gcdv::DataProduct> response = dataProductServiceClient.ListDataProductsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DataProduct item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListDataProductsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (gcdv::DataProduct 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<gcdv::DataProduct> 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 (gcdv::DataProduct 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;
```

### PollOnceCreateDataAsset(string, CallSettings)

    public virtual Operation<DataAsset, OperationMetadata> PollOnceCreateDataAsset(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateDataAsset`.

| **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** |
| `OperationDataAssetOperationMetadata` | The result of polling the operation. |

### PollOnceCreateDataAssetAsync(string, CallSettings)

    public virtual Task<Operation<DataAsset, OperationMetadata>> PollOnceCreateDataAssetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateDataAsset`.

| **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** |
| `TaskOperationDataAssetOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateDataProduct(string, CallSettings)

    public virtual Operation<DataProduct, OperationMetadata> PollOnceCreateDataProduct(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateDataProduct`
.

| **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** |
| `OperationDataProductOperationMetadata` | The result of polling the operation. |

### PollOnceCreateDataProductAsync(string, CallSettings)

    public virtual Task<Operation<DataProduct, OperationMetadata>> PollOnceCreateDataProductAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateDataProduct`.

| **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** |
| `TaskOperationDataProductOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDataAsset(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDataAsset(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteDataAsset`.

| **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. |

### PollOnceDeleteDataAssetAsync(string, CallSettings)

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

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteDataAsset`.

| **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. |

### PollOnceDeleteDataProduct(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDataProduct(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteDataProduct`
.

| **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. |

### PollOnceDeleteDataProductAsync(string, CallSettings)

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

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteDataProduct`.

| **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. |

### PollOnceUpdateDataAsset(string, CallSettings)

    public virtual Operation<DataAsset, OperationMetadata> PollOnceUpdateDataAsset(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateDataAsset`.

| **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** |
| `OperationDataAssetOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDataAssetAsync(string, CallSettings)

    public virtual Task<Operation<DataAsset, OperationMetadata>> PollOnceUpdateDataAssetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateDataAsset`.

| **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** |
| `TaskOperationDataAssetOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateDataProduct(string, CallSettings)

    public virtual Operation<DataProduct, OperationMetadata> PollOnceUpdateDataProduct(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateDataProduct`
.

| **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** |
| `OperationDataProductOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDataProductAsync(string, CallSettings)

    public virtual Task<Operation<DataProduct, OperationMetadata>> PollOnceUpdateDataProductAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateDataProduct`.

| **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** |
| `TaskOperationDataProductOperationMetadata` | A task representing the result of polling the operation. |

### RequestDataProductAccess(DataProductName, ChangeRequest, CallSettings)

    public virtual RequestDataProductAccessResponse RequestDataProductAccess(DataProductName parent, ChangeRequest changeRequest, CallSettings callSettings = null)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `changeRequest` | `ChangeRequest` Required. The change request for the data product access request. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
gcdv::ChangeRequest changeRequest = new gcdv::ChangeRequest();
// Make the request
gcdv::RequestDataProductAccessResponse response = dataProductServiceClient.RequestDataProductAccess(parent, changeRequest);
```

### RequestDataProductAccess(RequestDataProductAccessRequest, CallSettings)

    public virtual RequestDataProductAccessResponse RequestDataProductAccess(RequestDataProductAccessRequest request, CallSettings callSettings = null)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::RequestDataProductAccessRequest request = new gcdv::RequestDataProductAccessRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    ChangeRequest = new gcdv::ChangeRequest(),
    ValidateOnly = false,
};
// Make the request
gcdv::RequestDataProductAccessResponse response = dataProductServiceClient.RequestDataProductAccess(request);
```

### RequestDataProductAccess(string, ChangeRequest, CallSettings)

    public virtual RequestDataProductAccessResponse RequestDataProductAccess(string parent, ChangeRequest changeRequest, CallSettings callSettings = null)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `changeRequest` | `ChangeRequest` Required. The change request for the data product access request. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
gcdv::ChangeRequest changeRequest = new gcdv::ChangeRequest();
// Make the request
gcdv::RequestDataProductAccessResponse response = dataProductServiceClient.RequestDataProductAccess(parent, changeRequest);
```

### RequestDataProductAccessAsync(DataProductName, ChangeRequest, CallSettings)

    public virtual Task<RequestDataProductAccessResponse> RequestDataProductAccessAsync(DataProductName parent, ChangeRequest changeRequest, CallSettings callSettings = null)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `changeRequest` | `ChangeRequest` Required. The change request for the data product access request. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
gcdv::ChangeRequest changeRequest = new gcdv::ChangeRequest();
// Make the request
gcdv::RequestDataProductAccessResponse response = await dataProductServiceClient.RequestDataProductAccessAsync(parent, changeRequest);
```

### RequestDataProductAccessAsync(DataProductName, ChangeRequest, CancellationToken)

    public virtual Task<RequestDataProductAccessResponse> RequestDataProductAccessAsync(DataProductName parent, ChangeRequest changeRequest, CancellationToken cancellationToken)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `DataProductName` Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `changeRequest` | `ChangeRequest` Required. The change request for the data product access request. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProductName parent = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]");
gcdv::ChangeRequest changeRequest = new gcdv::ChangeRequest();
// Make the request
gcdv::RequestDataProductAccessResponse response = await dataProductServiceClient.RequestDataProductAccessAsync(parent, changeRequest);
```

### RequestDataProductAccessAsync(RequestDataProductAccessRequest, CallSettings)

    public virtual Task<RequestDataProductAccessResponse> RequestDataProductAccessAsync(RequestDataProductAccessRequest request, CallSettings callSettings = null)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::RequestDataProductAccessRequest request = new gcdv::RequestDataProductAccessRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    ChangeRequest = new gcdv::ChangeRequest(),
    ValidateOnly = false,
};
// Make the request
gcdv::RequestDataProductAccessResponse response = await dataProductServiceClient.RequestDataProductAccessAsync(request);
```

### RequestDataProductAccessAsync(RequestDataProductAccessRequest, CancellationToken)

    public virtual Task<RequestDataProductAccessResponse> RequestDataProductAccessAsync(RequestDataProductAccessRequest request, CancellationToken cancellationToken)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::RequestDataProductAccessRequest request = new gcdv::RequestDataProductAccessRequest
{
    ParentAsDataProductName = gcdv::DataProductName.FromProjectLocationDataProduct("[PROJECT]", "[LOCATION]", "[DATA_PRODUCT]"),
    ChangeRequest = new gcdv::ChangeRequest(),
    ValidateOnly = false,
};
// Make the request
gcdv::RequestDataProductAccessResponse response = await dataProductServiceClient.RequestDataProductAccessAsync(request);
```

### RequestDataProductAccessAsync(string, ChangeRequest, CallSettings)

    public virtual Task<RequestDataProductAccessResponse> RequestDataProductAccessAsync(string parent, ChangeRequest changeRequest, CallSettings callSettings = null)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `changeRequest` | `ChangeRequest` Required. The change request for the data product access request. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
gcdv::ChangeRequest changeRequest = new gcdv::ChangeRequest();
// Make the request
gcdv::RequestDataProductAccessResponse response = await dataProductServiceClient.RequestDataProductAccessAsync(parent, changeRequest);
```

### RequestDataProductAccessAsync(string, ChangeRequest, CancellationToken)

    public virtual Task<RequestDataProductAccessResponse> RequestDataProductAccessAsync(string parent, ChangeRequest changeRequest, CancellationToken cancellationToken)

Requests access to a data product. This will trigger an access approval
workflow, and the requester will need to wait for the approval to be
granted before they will be able to access the data product assets.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `changeRequest` | `ChangeRequest` Required. The change request for the data product access request. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataProducts/[DATA_PRODUCT]";
gcdv::ChangeRequest changeRequest = new gcdv::ChangeRequest();
// Make the request
gcdv::RequestDataProductAccessResponse response = await dataProductServiceClient.RequestDataProductAccessAsync(parent, changeRequest);
```

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductServiceClient.md.txt#Google_Cloud_Dataplex_V1_DataProductServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductServiceClient.md.txt#Google_Cloud_Dataplex_V1_DataProductServiceClient_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.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductServiceClient.md.txt#Google_Cloud_Dataplex_V1_DataProductServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductServiceClient.md.txt#Google_Cloud_Dataplex_V1_DataProductServiceClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### UpdateDataAsset(DataAsset, FieldMask, CallSettings)

    public virtual Operation<DataAsset, OperationMetadata> UpdateDataAsset(DataAsset dataAsset, FieldMask updateMask, CallSettings callSettings = null)

Updates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataAsset` | `DataAsset` Required. The data asset to update. The data asset's `name` field is used to identify the data asset to update. |
| `updateMask` | `FieldMask` Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = dataProductServiceClient.UpdateDataAsset(dataAsset, updateMask);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceUpdateDataAsset(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataAsset(UpdateDataAssetRequest, CallSettings)

    public virtual Operation<DataAsset, OperationMetadata> UpdateDataAsset(UpdateDataAssetRequest request, CallSettings callSettings = null)

Updates a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateDataAssetRequest request = new gcdv::UpdateDataAssetRequest
{
    DataAsset = new gcdv::DataAsset(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = dataProductServiceClient.UpdateDataAsset(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceUpdateDataAsset(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataAssetAsync(DataAsset, FieldMask, CallSettings)

    public virtual Task<Operation<DataAsset, OperationMetadata>> UpdateDataAssetAsync(DataAsset dataAsset, FieldMask updateMask, CallSettings callSettings = null)

Updates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataAsset` | `DataAsset` Required. The data asset to update. The data asset's `name` field is used to identify the data asset to update. |
| `updateMask` | `FieldMask` Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataAssetAsync(dataAsset, updateMask);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataAssetAsync(DataAsset, FieldMask, CancellationToken)

    public virtual Task<Operation<DataAsset, OperationMetadata>> UpdateDataAssetAsync(DataAsset dataAsset, FieldMask updateMask, CancellationToken cancellationToken)

Updates a data asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataAsset` | `DataAsset` Required. The data asset to update. The data asset's `name` field is used to identify the data asset to update. |
| `updateMask` | `FieldMask` Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAsset dataAsset = new gcdv::DataAsset();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataAssetAsync(dataAsset, updateMask);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataAssetAsync(UpdateDataAssetRequest, CallSettings)

    public virtual Task<Operation<DataAsset, OperationMetadata>> UpdateDataAssetAsync(UpdateDataAssetRequest request, CallSettings callSettings = null)

Updates a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataAssetRequest request = new gcdv::UpdateDataAssetRequest
{
    DataAsset = new gcdv::DataAsset(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataAssetAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataAssetAsync(UpdateDataAssetRequest, CancellationToken)

    public virtual Task<Operation<DataAsset, OperationMetadata>> UpdateDataAssetAsync(UpdateDataAssetRequest request, CancellationToken cancellationToken)

Updates a data asset.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataAssetRequest request = new gcdv::UpdateDataAssetRequest
{
    DataAsset = new gcdv::DataAsset(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAsset, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataAssetAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataAsset, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataAsset 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<gcdv::DataAsset, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataAssetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataAsset retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataProduct(DataProduct, FieldMask, CallSettings)

    public virtual Operation<DataProduct, OperationMetadata> UpdateDataProduct(DataProduct dataProduct, FieldMask updateMask, CallSettings callSettings = null)

Updates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataProduct` | `DataProduct` Required. The data product to update. The data product's `name` field is used to identify the data product to update. |
| `updateMask` | `FieldMask` Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = dataProductServiceClient.UpdateDataProduct(dataProduct, updateMask);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceUpdateDataProduct(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataProduct(UpdateDataProductRequest, CallSettings)

    public virtual Operation<DataProduct, OperationMetadata> UpdateDataProduct(UpdateDataProductRequest request, CallSettings callSettings = null)

Updates a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = gcdv::DataProductServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateDataProductRequest request = new gcdv::UpdateDataProductRequest
{
    DataProduct = new gcdv::DataProduct(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = dataProductServiceClient.UpdateDataProduct(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = dataProductServiceClient.PollOnceUpdateDataProduct(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataProductAsync(DataProduct, FieldMask, CallSettings)

    public virtual Task<Operation<DataProduct, OperationMetadata>> UpdateDataProductAsync(DataProduct dataProduct, FieldMask updateMask, CallSettings callSettings = null)

Updates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataProduct` | `DataProduct` Required. The data product to update. The data product's `name` field is used to identify the data product to update. |
| `updateMask` | `FieldMask` Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataProductAsync(dataProduct, updateMask);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataProductAsync(DataProduct, FieldMask, CancellationToken)

    public virtual Task<Operation<DataProduct, OperationMetadata>> UpdateDataProductAsync(DataProduct dataProduct, FieldMask updateMask, CancellationToken cancellationToken)

Updates a data product.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataProduct` | `DataProduct` Required. The data product to update. The data product's `name` field is used to identify the data product to update. |
| `updateMask` | `FieldMask` Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataProduct dataProduct = new gcdv::DataProduct();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataProductAsync(dataProduct, updateMask);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataProductAsync(UpdateDataProductRequest, CallSettings)

    public virtual Task<Operation<DataProduct, OperationMetadata>> UpdateDataProductAsync(UpdateDataProductRequest request, CallSettings callSettings = null)

Updates a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataProductRequest request = new gcdv::UpdateDataProductRequest
{
    DataProduct = new gcdv::DataProduct(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataProductAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```

### UpdateDataProductAsync(UpdateDataProductRequest, CancellationToken)

    public virtual Task<Operation<DataProduct, OperationMetadata>> UpdateDataProductAsync(UpdateDataProductRequest request, CancellationToken cancellationToken)

Updates a data product.

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

**Example**

```cs
// Create client
gcdv::DataProductServiceClient dataProductServiceClient = await gcdv::DataProductServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataProductRequest request = new gcdv::UpdateDataProductRequest
{
    DataProduct = new gcdv::DataProduct(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataProduct, gcdv::OperationMetadata> response = await dataProductServiceClient.UpdateDataProductAsync(request);

// Poll until the returned long-running operation is complete
Operation<gcdv::DataProduct, gcdv::OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::DataProduct 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<gcdv::DataProduct, gcdv::OperationMetadata> retrievedResponse = await dataProductServiceClient.PollOnceUpdateDataProductAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::DataProduct retrievedResult = retrievedResponse.Result;
}
```