Cloud Dataplex v1 API - Class DataTaxonomyServiceClient (3.1.0)

public abstract class DataTaxonomyServiceClient

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

DataTaxonomyService client wrapper, for convenient use.

Inheritance

object > DataTaxonomyServiceClient

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Remarks

DataTaxonomyService enables attribute-based governance. The resources currently offered include DataTaxonomy and DataAttribute.

Properties

CreateDataAttributeBindingOperationsClient

public virtual OperationsClient CreateDataAttributeBindingOperationsClient { get; }

The long-running operations client for CreateDataAttributeBinding.

Property Value
Type Description
OperationsClient

CreateDataAttributeOperationsClient

public virtual OperationsClient CreateDataAttributeOperationsClient { get; }

The long-running operations client for CreateDataAttribute.

Property Value
Type Description
OperationsClient

CreateDataTaxonomyOperationsClient

public virtual OperationsClient CreateDataTaxonomyOperationsClient { get; }

The long-running operations client for CreateDataTaxonomy.

Property Value
Type Description
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the DataTaxonomyService 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 DataTaxonomyService scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default DataTaxonomyService scopes are:

DeleteDataAttributeBindingOperationsClient

public virtual OperationsClient DeleteDataAttributeBindingOperationsClient { get; }

The long-running operations client for DeleteDataAttributeBinding.

Property Value
Type Description
OperationsClient

DeleteDataAttributeOperationsClient

public virtual OperationsClient DeleteDataAttributeOperationsClient { get; }

The long-running operations client for DeleteDataAttribute.

Property Value
Type Description
OperationsClient

DeleteDataTaxonomyOperationsClient

public virtual OperationsClient DeleteDataTaxonomyOperationsClient { get; }

The long-running operations client for DeleteDataTaxonomy.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual DataTaxonomyService.DataTaxonomyServiceClient GrpcClient { get; }

The underlying gRPC DataTaxonomyService client

Property Value
Type Description
DataTaxonomyServiceDataTaxonomyServiceClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

UpdateDataAttributeBindingOperationsClient

public virtual OperationsClient UpdateDataAttributeBindingOperationsClient { get; }

The long-running operations client for UpdateDataAttributeBinding.

Property Value
Type Description
OperationsClient

UpdateDataAttributeOperationsClient

public virtual OperationsClient UpdateDataAttributeOperationsClient { get; }

The long-running operations client for UpdateDataAttribute.

Property Value
Type Description
OperationsClient

UpdateDataTaxonomyOperationsClient

public virtual OperationsClient UpdateDataTaxonomyOperationsClient { get; }

The long-running operations client for UpdateDataTaxonomy.

Property Value
Type Description
OperationsClient

Methods

Create()

public static DataTaxonomyServiceClient Create()

Synchronously creates a DataTaxonomyServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DataTaxonomyServiceClientBuilder.

Returns
Type Description
DataTaxonomyServiceClient

The created DataTaxonomyServiceClient.

CreateAsync(CancellationToken)

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

Asynchronously creates a DataTaxonomyServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DataTaxonomyServiceClientBuilder.

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskDataTaxonomyServiceClient

The task representing the created DataTaxonomyServiceClient.

CreateDataAttribute(CreateDataAttributeRequest, CallSettings)

public virtual Operation<DataAttribute, OperationMetadata> CreateDataAttribute(CreateDataAttributeRequest request, CallSettings callSettings = null)

Create a DataAttribute resource.

Parameters
Name Description
request CreateDataAttributeRequest

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
OperationDataAttributeOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateDataAttributeRequest request = new gcdv::CreateDataAttributeRequest
{
    ParentAsDataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    DataAttributeId = "",
    DataAttribute = new gcdv::DataAttribute(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataAttribute(request);

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

CreateDataAttribute(DataTaxonomyName, DataAttribute, string, CallSettings)

public virtual Operation<DataAttribute, OperationMetadata> CreateDataAttribute(DataTaxonomyName parent, DataAttribute dataAttribute, string dataAttributeId, CallSettings callSettings = null)

Create a DataAttribute resource.

Parameters
Name Description
parent DataTaxonomyName

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

dataAttribute DataAttribute

Required. DataAttribute resource.

dataAttributeId string

Required. DataAttribute identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the DataTaxonomy.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataAttributeOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataTaxonomyName parent = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
string dataAttributeId = "";
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataAttribute(parent, dataAttribute, dataAttributeId);

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

CreateDataAttribute(string, DataAttribute, string, CallSettings)

public virtual Operation<DataAttribute, OperationMetadata> CreateDataAttribute(string parent, DataAttribute dataAttribute, string dataAttributeId, CallSettings callSettings = null)

Create a DataAttribute resource.

Parameters
Name Description
parent string

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

dataAttribute DataAttribute

Required. DataAttribute resource.

dataAttributeId string

Required. DataAttribute identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the DataTaxonomy.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataAttributeOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
string dataAttributeId = "";
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataAttribute(parent, dataAttribute, dataAttributeId);

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

CreateDataAttributeAsync(CreateDataAttributeRequest, CallSettings)

public virtual Task<Operation<DataAttribute, OperationMetadata>> CreateDataAttributeAsync(CreateDataAttributeRequest request, CallSettings callSettings = null)

Create a DataAttribute resource.

Parameters
Name Description
request CreateDataAttributeRequest

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
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataAttributeRequest request = new gcdv::CreateDataAttributeRequest
{
    ParentAsDataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    DataAttributeId = "",
    DataAttribute = new gcdv::DataAttribute(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeAsync(request);

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

CreateDataAttributeAsync(CreateDataAttributeRequest, CancellationToken)

public virtual Task<Operation<DataAttribute, OperationMetadata>> CreateDataAttributeAsync(CreateDataAttributeRequest request, CancellationToken cancellationToken)

Create a DataAttribute resource.

Parameters
Name Description
request CreateDataAttributeRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataAttributeRequest request = new gcdv::CreateDataAttributeRequest
{
    ParentAsDataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    DataAttributeId = "",
    DataAttribute = new gcdv::DataAttribute(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeAsync(request);

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

CreateDataAttributeAsync(DataTaxonomyName, DataAttribute, string, CallSettings)

public virtual Task<Operation<DataAttribute, OperationMetadata>> CreateDataAttributeAsync(DataTaxonomyName parent, DataAttribute dataAttribute, string dataAttributeId, CallSettings callSettings = null)

Create a DataAttribute resource.

Parameters
Name Description
parent DataTaxonomyName

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

dataAttribute DataAttribute

Required. DataAttribute resource.

dataAttributeId string

Required. DataAttribute identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the DataTaxonomy.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomyName parent = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
string dataAttributeId = "";
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeAsync(parent, dataAttribute, dataAttributeId);

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

CreateDataAttributeAsync(DataTaxonomyName, DataAttribute, string, CancellationToken)

public virtual Task<Operation<DataAttribute, OperationMetadata>> CreateDataAttributeAsync(DataTaxonomyName parent, DataAttribute dataAttribute, string dataAttributeId, CancellationToken cancellationToken)

Create a DataAttribute resource.

Parameters
Name Description
parent DataTaxonomyName

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

dataAttribute DataAttribute

Required. DataAttribute resource.

dataAttributeId string

Required. DataAttribute identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the DataTaxonomy.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomyName parent = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
string dataAttributeId = "";
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeAsync(parent, dataAttribute, dataAttributeId);

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

CreateDataAttributeAsync(string, DataAttribute, string, CallSettings)

public virtual Task<Operation<DataAttribute, OperationMetadata>> CreateDataAttributeAsync(string parent, DataAttribute dataAttribute, string dataAttributeId, CallSettings callSettings = null)

Create a DataAttribute resource.

Parameters
Name Description
parent string

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

dataAttribute DataAttribute

Required. DataAttribute resource.

dataAttributeId string

Required. DataAttribute identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the DataTaxonomy.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
string dataAttributeId = "";
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeAsync(parent, dataAttribute, dataAttributeId);

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

CreateDataAttributeAsync(string, DataAttribute, string, CancellationToken)

public virtual Task<Operation<DataAttribute, OperationMetadata>> CreateDataAttributeAsync(string parent, DataAttribute dataAttribute, string dataAttributeId, CancellationToken cancellationToken)

Create a DataAttribute resource.

Parameters
Name Description
parent string

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

dataAttribute DataAttribute

Required. DataAttribute resource.

dataAttributeId string

Required. DataAttribute identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the DataTaxonomy.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
string dataAttributeId = "";
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeAsync(parent, dataAttribute, dataAttributeId);

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

CreateDataAttributeBinding(LocationName, DataAttributeBinding, string, CallSettings)

public virtual Operation<DataAttributeBinding, OperationMetadata> CreateDataAttributeBinding(LocationName parent, DataAttributeBinding dataAttributeBinding, string dataAttributeBindingId, CallSettings callSettings = null)

Create a DataAttributeBinding resource.

Parameters
Name Description
parent LocationName

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

dataAttributeBinding DataAttributeBinding

Required. DataAttributeBinding resource.

dataAttributeBindingId string

Required. DataAttributeBinding identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Location.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataAttributeBindingOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
string dataAttributeBindingId = "";
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataAttributeBinding(parent, dataAttributeBinding, dataAttributeBindingId);

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

CreateDataAttributeBinding(CreateDataAttributeBindingRequest, CallSettings)

public virtual Operation<DataAttributeBinding, OperationMetadata> CreateDataAttributeBinding(CreateDataAttributeBindingRequest request, CallSettings callSettings = null)

Create a DataAttributeBinding resource.

Parameters
Name Description
request CreateDataAttributeBindingRequest

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
OperationDataAttributeBindingOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateDataAttributeBindingRequest request = new gcdv::CreateDataAttributeBindingRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataAttributeBindingId = "",
    DataAttributeBinding = new gcdv::DataAttributeBinding(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataAttributeBinding(request);

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

CreateDataAttributeBinding(string, DataAttributeBinding, string, CallSettings)

public virtual Operation<DataAttributeBinding, OperationMetadata> CreateDataAttributeBinding(string parent, DataAttributeBinding dataAttributeBinding, string dataAttributeBindingId, CallSettings callSettings = null)

Create a DataAttributeBinding resource.

Parameters
Name Description
parent string

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

dataAttributeBinding DataAttributeBinding

Required. DataAttributeBinding resource.

dataAttributeBindingId string

Required. DataAttributeBinding identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Location.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataAttributeBindingOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
string dataAttributeBindingId = "";
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataAttributeBinding(parent, dataAttributeBinding, dataAttributeBindingId);

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

CreateDataAttributeBindingAsync(LocationName, DataAttributeBinding, string, CallSettings)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> CreateDataAttributeBindingAsync(LocationName parent, DataAttributeBinding dataAttributeBinding, string dataAttributeBindingId, CallSettings callSettings = null)

Create a DataAttributeBinding resource.

Parameters
Name Description
parent LocationName

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

dataAttributeBinding DataAttributeBinding

Required. DataAttributeBinding resource.

dataAttributeBindingId string

Required. DataAttributeBinding identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Location.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
string dataAttributeBindingId = "";
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeBindingAsync(parent, dataAttributeBinding, dataAttributeBindingId);

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

CreateDataAttributeBindingAsync(LocationName, DataAttributeBinding, string, CancellationToken)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> CreateDataAttributeBindingAsync(LocationName parent, DataAttributeBinding dataAttributeBinding, string dataAttributeBindingId, CancellationToken cancellationToken)

Create a DataAttributeBinding resource.

Parameters
Name Description
parent LocationName

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

dataAttributeBinding DataAttributeBinding

Required. DataAttributeBinding resource.

dataAttributeBindingId string

Required. DataAttributeBinding identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Location.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
string dataAttributeBindingId = "";
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeBindingAsync(parent, dataAttributeBinding, dataAttributeBindingId);

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

CreateDataAttributeBindingAsync(CreateDataAttributeBindingRequest, CallSettings)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> CreateDataAttributeBindingAsync(CreateDataAttributeBindingRequest request, CallSettings callSettings = null)

Create a DataAttributeBinding resource.

Parameters
Name Description
request CreateDataAttributeBindingRequest

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
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataAttributeBindingRequest request = new gcdv::CreateDataAttributeBindingRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataAttributeBindingId = "",
    DataAttributeBinding = new gcdv::DataAttributeBinding(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeBindingAsync(request);

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

CreateDataAttributeBindingAsync(CreateDataAttributeBindingRequest, CancellationToken)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> CreateDataAttributeBindingAsync(CreateDataAttributeBindingRequest request, CancellationToken cancellationToken)

Create a DataAttributeBinding resource.

Parameters
Name Description
request CreateDataAttributeBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataAttributeBindingRequest request = new gcdv::CreateDataAttributeBindingRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataAttributeBindingId = "",
    DataAttributeBinding = new gcdv::DataAttributeBinding(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeBindingAsync(request);

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

CreateDataAttributeBindingAsync(string, DataAttributeBinding, string, CallSettings)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> CreateDataAttributeBindingAsync(string parent, DataAttributeBinding dataAttributeBinding, string dataAttributeBindingId, CallSettings callSettings = null)

Create a DataAttributeBinding resource.

Parameters
Name Description
parent string

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

dataAttributeBinding DataAttributeBinding

Required. DataAttributeBinding resource.

dataAttributeBindingId string

Required. DataAttributeBinding identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Location.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
string dataAttributeBindingId = "";
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeBindingAsync(parent, dataAttributeBinding, dataAttributeBindingId);

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

CreateDataAttributeBindingAsync(string, DataAttributeBinding, string, CancellationToken)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> CreateDataAttributeBindingAsync(string parent, DataAttributeBinding dataAttributeBinding, string dataAttributeBindingId, CancellationToken cancellationToken)

Create a DataAttributeBinding resource.

Parameters
Name Description
parent string

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

dataAttributeBinding DataAttributeBinding

Required. DataAttributeBinding resource.

dataAttributeBindingId string

Required. DataAttributeBinding identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Location.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
string dataAttributeBindingId = "";
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataAttributeBindingAsync(parent, dataAttributeBinding, dataAttributeBindingId);

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

CreateDataTaxonomy(LocationName, DataTaxonomy, string, CallSettings)

public virtual Operation<DataTaxonomy, OperationMetadata> CreateDataTaxonomy(LocationName parent, DataTaxonomy dataTaxonomy, string dataTaxonomyId, CallSettings callSettings = null)

Create a DataTaxonomy resource.

Parameters
Name Description
parent LocationName

Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

dataTaxonomy DataTaxonomy

Required. DataTaxonomy resource.

dataTaxonomyId string

Required. DataTaxonomy identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Project.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataTaxonomyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
string dataTaxonomyId = "";
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataTaxonomy(parent, dataTaxonomy, dataTaxonomyId);

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

CreateDataTaxonomy(CreateDataTaxonomyRequest, CallSettings)

public virtual Operation<DataTaxonomy, OperationMetadata> CreateDataTaxonomy(CreateDataTaxonomyRequest request, CallSettings callSettings = null)

Create a DataTaxonomy resource.

Parameters
Name Description
request CreateDataTaxonomyRequest

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
OperationDataTaxonomyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateDataTaxonomyRequest request = new gcdv::CreateDataTaxonomyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataTaxonomyId = "",
    DataTaxonomy = new gcdv::DataTaxonomy(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataTaxonomy(request);

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

CreateDataTaxonomy(string, DataTaxonomy, string, CallSettings)

public virtual Operation<DataTaxonomy, OperationMetadata> CreateDataTaxonomy(string parent, DataTaxonomy dataTaxonomy, string dataTaxonomyId, CallSettings callSettings = null)

Create a DataTaxonomy resource.

Parameters
Name Description
parent string

Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

dataTaxonomy DataTaxonomy

Required. DataTaxonomy resource.

dataTaxonomyId string

Required. DataTaxonomy identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Project.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataTaxonomyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
string dataTaxonomyId = "";
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.CreateDataTaxonomy(parent, dataTaxonomy, dataTaxonomyId);

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

CreateDataTaxonomyAsync(LocationName, DataTaxonomy, string, CallSettings)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> CreateDataTaxonomyAsync(LocationName parent, DataTaxonomy dataTaxonomy, string dataTaxonomyId, CallSettings callSettings = null)

Create a DataTaxonomy resource.

Parameters
Name Description
parent LocationName

Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

dataTaxonomy DataTaxonomy

Required. DataTaxonomy resource.

dataTaxonomyId string

Required. DataTaxonomy identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Project.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
string dataTaxonomyId = "";
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataTaxonomyAsync(parent, dataTaxonomy, dataTaxonomyId);

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

CreateDataTaxonomyAsync(LocationName, DataTaxonomy, string, CancellationToken)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> CreateDataTaxonomyAsync(LocationName parent, DataTaxonomy dataTaxonomy, string dataTaxonomyId, CancellationToken cancellationToken)

Create a DataTaxonomy resource.

Parameters
Name Description
parent LocationName

Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

dataTaxonomy DataTaxonomy

Required. DataTaxonomy resource.

dataTaxonomyId string

Required. DataTaxonomy identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Project.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
string dataTaxonomyId = "";
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataTaxonomyAsync(parent, dataTaxonomy, dataTaxonomyId);

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

CreateDataTaxonomyAsync(CreateDataTaxonomyRequest, CallSettings)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> CreateDataTaxonomyAsync(CreateDataTaxonomyRequest request, CallSettings callSettings = null)

Create a DataTaxonomy resource.

Parameters
Name Description
request CreateDataTaxonomyRequest

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
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataTaxonomyRequest request = new gcdv::CreateDataTaxonomyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataTaxonomyId = "",
    DataTaxonomy = new gcdv::DataTaxonomy(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataTaxonomyAsync(request);

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

CreateDataTaxonomyAsync(CreateDataTaxonomyRequest, CancellationToken)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> CreateDataTaxonomyAsync(CreateDataTaxonomyRequest request, CancellationToken cancellationToken)

Create a DataTaxonomy resource.

Parameters
Name Description
request CreateDataTaxonomyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateDataTaxonomyRequest request = new gcdv::CreateDataTaxonomyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataTaxonomyId = "",
    DataTaxonomy = new gcdv::DataTaxonomy(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataTaxonomyAsync(request);

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

CreateDataTaxonomyAsync(string, DataTaxonomy, string, CallSettings)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> CreateDataTaxonomyAsync(string parent, DataTaxonomy dataTaxonomy, string dataTaxonomyId, CallSettings callSettings = null)

Create a DataTaxonomy resource.

Parameters
Name Description
parent string

Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

dataTaxonomy DataTaxonomy

Required. DataTaxonomy resource.

dataTaxonomyId string

Required. DataTaxonomy identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Project.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
string dataTaxonomyId = "";
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataTaxonomyAsync(parent, dataTaxonomy, dataTaxonomyId);

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

CreateDataTaxonomyAsync(string, DataTaxonomy, string, CancellationToken)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> CreateDataTaxonomyAsync(string parent, DataTaxonomy dataTaxonomy, string dataTaxonomyId, CancellationToken cancellationToken)

Create a DataTaxonomy resource.

Parameters
Name Description
parent string

Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

dataTaxonomy DataTaxonomy

Required. DataTaxonomy resource.

dataTaxonomyId string

Required. DataTaxonomy identifier.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.
  • Must be unique within the Project.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
string dataTaxonomyId = "";
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.CreateDataTaxonomyAsync(parent, dataTaxonomy, dataTaxonomyId);

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

DeleteDataAttribute(DataAttributeName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDataAttribute(DataAttributeName name, CallSettings callSettings = null)

Deletes a Data Attribute resource.

Parameters
Name Description
name DataAttributeName

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAttributeName name = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataAttribute(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 = dataTaxonomyServiceClient.PollOnceDeleteDataAttribute(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;
}

DeleteDataAttribute(DeleteDataAttributeRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDataAttribute(DeleteDataAttributeRequest request, CallSettings callSettings = null)

Deletes a Data Attribute resource.

Parameters
Name Description
request DeleteDataAttributeRequest

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
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteDataAttributeRequest request = new gcdv::DeleteDataAttributeRequest
{
    DataAttributeName = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataAttribute(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 = dataTaxonomyServiceClient.PollOnceDeleteDataAttribute(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;
}

DeleteDataAttribute(string, CallSettings)

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

Deletes a Data Attribute resource.

Parameters
Name Description
name string

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATATAXONOMY]/attributes/[DATA_ATTRIBUTE_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataAttribute(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 = dataTaxonomyServiceClient.PollOnceDeleteDataAttribute(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;
}

DeleteDataAttributeAsync(DataAttributeName, CallSettings)

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

Deletes a Data Attribute resource.

Parameters
Name Description
name DataAttributeName

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeName name = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeAsync(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;
}

DeleteDataAttributeAsync(DataAttributeName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataAttributeAsync(DataAttributeName name, CancellationToken cancellationToken)

Deletes a Data Attribute resource.

Parameters
Name Description
name DataAttributeName

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeName name = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeAsync(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;
}

DeleteDataAttributeAsync(DeleteDataAttributeRequest, CallSettings)

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

Deletes a Data Attribute resource.

Parameters
Name Description
request DeleteDataAttributeRequest

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
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataAttributeRequest request = new gcdv::DeleteDataAttributeRequest
{
    DataAttributeName = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeAsync(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;
}

DeleteDataAttributeAsync(DeleteDataAttributeRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataAttributeAsync(DeleteDataAttributeRequest request, CancellationToken cancellationToken)

Deletes a Data Attribute resource.

Parameters
Name Description
request DeleteDataAttributeRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataAttributeRequest request = new gcdv::DeleteDataAttributeRequest
{
    DataAttributeName = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeAsync(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;
}

DeleteDataAttributeAsync(string, CallSettings)

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

Deletes a Data Attribute resource.

Parameters
Name Description
name string

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATATAXONOMY]/attributes/[DATA_ATTRIBUTE_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeAsync(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;
}

DeleteDataAttributeAsync(string, CancellationToken)

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

Deletes a Data Attribute resource.

Parameters
Name Description
name string

Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATATAXONOMY]/attributes/[DATA_ATTRIBUTE_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeAsync(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;
}

DeleteDataAttributeBinding(DataAttributeBindingName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDataAttributeBinding(DataAttributeBindingName name, CallSettings callSettings = null)

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
name DataAttributeBindingName

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAttributeBindingName name = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataAttributeBinding(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 = dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBinding(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;
}

DeleteDataAttributeBinding(DeleteDataAttributeBindingRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDataAttributeBinding(DeleteDataAttributeBindingRequest request, CallSettings callSettings = null)

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
request DeleteDataAttributeBindingRequest

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
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteDataAttributeBindingRequest request = new gcdv::DeleteDataAttributeBindingRequest
{
    DataAttributeBindingName = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataAttributeBinding(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 = dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBinding(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;
}

DeleteDataAttributeBinding(string, CallSettings)

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

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
name string

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataAttributeBindings/[DATA_ATTRIBUTE_BINDING_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataAttributeBinding(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 = dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBinding(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;
}

DeleteDataAttributeBindingAsync(DataAttributeBindingName, CallSettings)

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

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
name DataAttributeBindingName

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeBindingName name = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeBindingAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBindingAsync(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;
}

DeleteDataAttributeBindingAsync(DataAttributeBindingName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataAttributeBindingAsync(DataAttributeBindingName name, CancellationToken cancellationToken)

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
name DataAttributeBindingName

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeBindingName name = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeBindingAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBindingAsync(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;
}

DeleteDataAttributeBindingAsync(DeleteDataAttributeBindingRequest, CallSettings)

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

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
request DeleteDataAttributeBindingRequest

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
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataAttributeBindingRequest request = new gcdv::DeleteDataAttributeBindingRequest
{
    DataAttributeBindingName = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeBindingAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBindingAsync(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;
}

DeleteDataAttributeBindingAsync(DeleteDataAttributeBindingRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataAttributeBindingAsync(DeleteDataAttributeBindingRequest request, CancellationToken cancellationToken)

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
request DeleteDataAttributeBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataAttributeBindingRequest request = new gcdv::DeleteDataAttributeBindingRequest
{
    DataAttributeBindingName = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeBindingAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBindingAsync(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;
}

DeleteDataAttributeBindingAsync(string, CallSettings)

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

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
name string

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataAttributeBindings/[DATA_ATTRIBUTE_BINDING_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeBindingAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBindingAsync(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;
}

DeleteDataAttributeBindingAsync(string, CancellationToken)

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

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted.

Parameters
Name Description
name string

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataAttributeBindings/[DATA_ATTRIBUTE_BINDING_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataAttributeBindingAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataAttributeBindingAsync(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;
}

DeleteDataTaxonomy(DataTaxonomyName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDataTaxonomy(DataTaxonomyName name, CallSettings callSettings = null)

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
name DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataTaxonomyName name = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataTaxonomy(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 = dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomy(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;
}

DeleteDataTaxonomy(DeleteDataTaxonomyRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteDataTaxonomy(DeleteDataTaxonomyRequest request, CallSettings callSettings = null)

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
request DeleteDataTaxonomyRequest

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
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteDataTaxonomyRequest request = new gcdv::DeleteDataTaxonomyRequest
{
    DataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataTaxonomy(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 = dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomy(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;
}

DeleteDataTaxonomy(string, CallSettings)

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

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
name string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.DeleteDataTaxonomy(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 = dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomy(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;
}

DeleteDataTaxonomyAsync(DataTaxonomyName, CallSettings)

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

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
name DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomyName name = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataTaxonomyAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomyAsync(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;
}

DeleteDataTaxonomyAsync(DataTaxonomyName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataTaxonomyAsync(DataTaxonomyName name, CancellationToken cancellationToken)

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
name DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomyName name = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataTaxonomyAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomyAsync(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;
}

DeleteDataTaxonomyAsync(DeleteDataTaxonomyRequest, CallSettings)

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

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
request DeleteDataTaxonomyRequest

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
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataTaxonomyRequest request = new gcdv::DeleteDataTaxonomyRequest
{
    DataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataTaxonomyAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomyAsync(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;
}

DeleteDataTaxonomyAsync(DeleteDataTaxonomyRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteDataTaxonomyAsync(DeleteDataTaxonomyRequest request, CancellationToken cancellationToken)

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
request DeleteDataTaxonomyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteDataTaxonomyRequest request = new gcdv::DeleteDataTaxonomyRequest
{
    DataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataTaxonomyAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomyAsync(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;
}

DeleteDataTaxonomyAsync(string, CallSettings)

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

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
name string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataTaxonomyAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomyAsync(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;
}

DeleteDataTaxonomyAsync(string, CancellationToken)

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

Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted.

Parameters
Name Description
name string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.DeleteDataTaxonomyAsync(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 dataTaxonomyServiceClient.PollOnceDeleteDataTaxonomyAsync(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;
}

GetDataAttribute(DataAttributeName, CallSettings)

public virtual DataAttribute GetDataAttribute(DataAttributeName name, CallSettings callSettings = null)

Retrieves a Data Attribute resource.

Parameters
Name Description
name DataAttributeName

Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataAttribute

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAttributeName name = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]");
// Make the request
gcdv::DataAttribute response = dataTaxonomyServiceClient.GetDataAttribute(name);

GetDataAttribute(GetDataAttributeRequest, CallSettings)

public virtual DataAttribute GetDataAttribute(GetDataAttributeRequest request, CallSettings callSettings = null)

Retrieves a Data Attribute resource.

Parameters
Name Description
request GetDataAttributeRequest

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
DataAttribute

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::GetDataAttributeRequest request = new gcdv::GetDataAttributeRequest
{
    DataAttributeName = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]"),
};
// Make the request
gcdv::DataAttribute response = dataTaxonomyServiceClient.GetDataAttribute(request);

GetDataAttribute(string, CallSettings)

public virtual DataAttribute GetDataAttribute(string name, CallSettings callSettings = null)

Retrieves a Data Attribute resource.

Parameters
Name Description
name string

Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataAttribute

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATATAXONOMY]/attributes/[DATA_ATTRIBUTE_ID]";
// Make the request
gcdv::DataAttribute response = dataTaxonomyServiceClient.GetDataAttribute(name);

GetDataAttributeAsync(DataAttributeName, CallSettings)

public virtual Task<DataAttribute> GetDataAttributeAsync(DataAttributeName name, CallSettings callSettings = null)

Retrieves a Data Attribute resource.

Parameters
Name Description
name DataAttributeName

Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataAttribute

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeName name = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]");
// Make the request
gcdv::DataAttribute response = await dataTaxonomyServiceClient.GetDataAttributeAsync(name);

GetDataAttributeAsync(DataAttributeName, CancellationToken)

public virtual Task<DataAttribute> GetDataAttributeAsync(DataAttributeName name, CancellationToken cancellationToken)

Retrieves a Data Attribute resource.

Parameters
Name Description
name DataAttributeName

Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataAttribute

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeName name = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]");
// Make the request
gcdv::DataAttribute response = await dataTaxonomyServiceClient.GetDataAttributeAsync(name);

GetDataAttributeAsync(GetDataAttributeRequest, CallSettings)

public virtual Task<DataAttribute> GetDataAttributeAsync(GetDataAttributeRequest request, CallSettings callSettings = null)

Retrieves a Data Attribute resource.

Parameters
Name Description
request GetDataAttributeRequest

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
TaskDataAttribute

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataAttributeRequest request = new gcdv::GetDataAttributeRequest
{
    DataAttributeName = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]"),
};
// Make the request
gcdv::DataAttribute response = await dataTaxonomyServiceClient.GetDataAttributeAsync(request);

GetDataAttributeAsync(GetDataAttributeRequest, CancellationToken)

public virtual Task<DataAttribute> GetDataAttributeAsync(GetDataAttributeRequest request, CancellationToken cancellationToken)

Retrieves a Data Attribute resource.

Parameters
Name Description
request GetDataAttributeRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataAttribute

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataAttributeRequest request = new gcdv::GetDataAttributeRequest
{
    DataAttributeName = gcdv::DataAttributeName.FromProjectLocationDataTaxonomyDataAttribute("[PROJECT]", "[LOCATION]", "[DATATAXONOMY]", "[DATA_ATTRIBUTE_ID]"),
};
// Make the request
gcdv::DataAttribute response = await dataTaxonomyServiceClient.GetDataAttributeAsync(request);

GetDataAttributeAsync(string, CallSettings)

public virtual Task<DataAttribute> GetDataAttributeAsync(string name, CallSettings callSettings = null)

Retrieves a Data Attribute resource.

Parameters
Name Description
name string

Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataAttribute

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATATAXONOMY]/attributes/[DATA_ATTRIBUTE_ID]";
// Make the request
gcdv::DataAttribute response = await dataTaxonomyServiceClient.GetDataAttributeAsync(name);

GetDataAttributeAsync(string, CancellationToken)

public virtual Task<DataAttribute> GetDataAttributeAsync(string name, CancellationToken cancellationToken)

Retrieves a Data Attribute resource.

Parameters
Name Description
name string

Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataAttribute

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATATAXONOMY]/attributes/[DATA_ATTRIBUTE_ID]";
// Make the request
gcdv::DataAttribute response = await dataTaxonomyServiceClient.GetDataAttributeAsync(name);

GetDataAttributeBinding(DataAttributeBindingName, CallSettings)

public virtual DataAttributeBinding GetDataAttributeBinding(DataAttributeBindingName name, CallSettings callSettings = null)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
name DataAttributeBindingName

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataAttributeBinding

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAttributeBindingName name = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]");
// Make the request
gcdv::DataAttributeBinding response = dataTaxonomyServiceClient.GetDataAttributeBinding(name);

GetDataAttributeBinding(GetDataAttributeBindingRequest, CallSettings)

public virtual DataAttributeBinding GetDataAttributeBinding(GetDataAttributeBindingRequest request, CallSettings callSettings = null)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
request GetDataAttributeBindingRequest

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
DataAttributeBinding

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::GetDataAttributeBindingRequest request = new gcdv::GetDataAttributeBindingRequest
{
    DataAttributeBindingName = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]"),
};
// Make the request
gcdv::DataAttributeBinding response = dataTaxonomyServiceClient.GetDataAttributeBinding(request);

GetDataAttributeBinding(string, CallSettings)

public virtual DataAttributeBinding GetDataAttributeBinding(string name, CallSettings callSettings = null)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
name string

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataAttributeBinding

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataAttributeBindings/[DATA_ATTRIBUTE_BINDING_ID]";
// Make the request
gcdv::DataAttributeBinding response = dataTaxonomyServiceClient.GetDataAttributeBinding(name);

GetDataAttributeBindingAsync(DataAttributeBindingName, CallSettings)

public virtual Task<DataAttributeBinding> GetDataAttributeBindingAsync(DataAttributeBindingName name, CallSettings callSettings = null)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
name DataAttributeBindingName

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataAttributeBinding

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeBindingName name = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]");
// Make the request
gcdv::DataAttributeBinding response = await dataTaxonomyServiceClient.GetDataAttributeBindingAsync(name);

GetDataAttributeBindingAsync(DataAttributeBindingName, CancellationToken)

public virtual Task<DataAttributeBinding> GetDataAttributeBindingAsync(DataAttributeBindingName name, CancellationToken cancellationToken)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
name DataAttributeBindingName

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataAttributeBinding

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeBindingName name = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]");
// Make the request
gcdv::DataAttributeBinding response = await dataTaxonomyServiceClient.GetDataAttributeBindingAsync(name);

GetDataAttributeBindingAsync(GetDataAttributeBindingRequest, CallSettings)

public virtual Task<DataAttributeBinding> GetDataAttributeBindingAsync(GetDataAttributeBindingRequest request, CallSettings callSettings = null)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
request GetDataAttributeBindingRequest

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
TaskDataAttributeBinding

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataAttributeBindingRequest request = new gcdv::GetDataAttributeBindingRequest
{
    DataAttributeBindingName = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]"),
};
// Make the request
gcdv::DataAttributeBinding response = await dataTaxonomyServiceClient.GetDataAttributeBindingAsync(request);

GetDataAttributeBindingAsync(GetDataAttributeBindingRequest, CancellationToken)

public virtual Task<DataAttributeBinding> GetDataAttributeBindingAsync(GetDataAttributeBindingRequest request, CancellationToken cancellationToken)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
request GetDataAttributeBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataAttributeBinding

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataAttributeBindingRequest request = new gcdv::GetDataAttributeBindingRequest
{
    DataAttributeBindingName = gcdv::DataAttributeBindingName.FromProjectLocationDataAttributeBinding("[PROJECT]", "[LOCATION]", "[DATA_ATTRIBUTE_BINDING_ID]"),
};
// Make the request
gcdv::DataAttributeBinding response = await dataTaxonomyServiceClient.GetDataAttributeBindingAsync(request);

GetDataAttributeBindingAsync(string, CallSettings)

public virtual Task<DataAttributeBinding> GetDataAttributeBindingAsync(string name, CallSettings callSettings = null)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
name string

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataAttributeBinding

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataAttributeBindings/[DATA_ATTRIBUTE_BINDING_ID]";
// Make the request
gcdv::DataAttributeBinding response = await dataTaxonomyServiceClient.GetDataAttributeBindingAsync(name);

GetDataAttributeBindingAsync(string, CancellationToken)

public virtual Task<DataAttributeBinding> GetDataAttributeBindingAsync(string name, CancellationToken cancellationToken)

Retrieves a DataAttributeBinding resource.

Parameters
Name Description
name string

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataAttributeBinding

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataAttributeBindings/[DATA_ATTRIBUTE_BINDING_ID]";
// Make the request
gcdv::DataAttributeBinding response = await dataTaxonomyServiceClient.GetDataAttributeBindingAsync(name);

GetDataTaxonomy(DataTaxonomyName, CallSettings)

public virtual DataTaxonomy GetDataTaxonomy(DataTaxonomyName name, CallSettings callSettings = null)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
name DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataTaxonomy

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataTaxonomyName name = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
gcdv::DataTaxonomy response = dataTaxonomyServiceClient.GetDataTaxonomy(name);

GetDataTaxonomy(GetDataTaxonomyRequest, CallSettings)

public virtual DataTaxonomy GetDataTaxonomy(GetDataTaxonomyRequest request, CallSettings callSettings = null)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
request GetDataTaxonomyRequest

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
DataTaxonomy

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::GetDataTaxonomyRequest request = new gcdv::GetDataTaxonomyRequest
{
    DataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
};
// Make the request
gcdv::DataTaxonomy response = dataTaxonomyServiceClient.GetDataTaxonomy(request);

GetDataTaxonomy(string, CallSettings)

public virtual DataTaxonomy GetDataTaxonomy(string name, CallSettings callSettings = null)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
name string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataTaxonomy

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
gcdv::DataTaxonomy response = dataTaxonomyServiceClient.GetDataTaxonomy(name);

GetDataTaxonomyAsync(DataTaxonomyName, CallSettings)

public virtual Task<DataTaxonomy> GetDataTaxonomyAsync(DataTaxonomyName name, CallSettings callSettings = null)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
name DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataTaxonomy

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomyName name = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
gcdv::DataTaxonomy response = await dataTaxonomyServiceClient.GetDataTaxonomyAsync(name);

GetDataTaxonomyAsync(DataTaxonomyName, CancellationToken)

public virtual Task<DataTaxonomy> GetDataTaxonomyAsync(DataTaxonomyName name, CancellationToken cancellationToken)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
name DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataTaxonomy

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomyName name = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
gcdv::DataTaxonomy response = await dataTaxonomyServiceClient.GetDataTaxonomyAsync(name);

GetDataTaxonomyAsync(GetDataTaxonomyRequest, CallSettings)

public virtual Task<DataTaxonomy> GetDataTaxonomyAsync(GetDataTaxonomyRequest request, CallSettings callSettings = null)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
request GetDataTaxonomyRequest

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
TaskDataTaxonomy

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataTaxonomyRequest request = new gcdv::GetDataTaxonomyRequest
{
    DataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
};
// Make the request
gcdv::DataTaxonomy response = await dataTaxonomyServiceClient.GetDataTaxonomyAsync(request);

GetDataTaxonomyAsync(GetDataTaxonomyRequest, CancellationToken)

public virtual Task<DataTaxonomy> GetDataTaxonomyAsync(GetDataTaxonomyRequest request, CancellationToken cancellationToken)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
request GetDataTaxonomyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataTaxonomy

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetDataTaxonomyRequest request = new gcdv::GetDataTaxonomyRequest
{
    DataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
};
// Make the request
gcdv::DataTaxonomy response = await dataTaxonomyServiceClient.GetDataTaxonomyAsync(request);

GetDataTaxonomyAsync(string, CallSettings)

public virtual Task<DataTaxonomy> GetDataTaxonomyAsync(string name, CallSettings callSettings = null)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
name string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataTaxonomy

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
gcdv::DataTaxonomy response = await dataTaxonomyServiceClient.GetDataTaxonomyAsync(name);

GetDataTaxonomyAsync(string, CancellationToken)

public virtual Task<DataTaxonomy> GetDataTaxonomyAsync(string name, CancellationToken cancellationToken)

Retrieves a DataTaxonomy resource.

Parameters
Name Description
name string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDataTaxonomy

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
gcdv::DataTaxonomy response = await dataTaxonomyServiceClient.GetDataTaxonomyAsync(name);

ListDataAttributeBindings(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListDataAttributeBindingsResponse, DataAttributeBinding> ListDataAttributeBindings(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataAttributeBinding resources in a project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the Location: projects/{project_number}/locations/{location_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
PagedEnumerableListDataAttributeBindingsResponseDataAttributeBinding

A pageable sequence of DataAttributeBinding resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<gcdv::ListDataAttributeBindingsResponse, gcdv::DataAttributeBinding> response = dataTaxonomyServiceClient.ListDataAttributeBindings(parent);

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

ListDataAttributeBindings(ListDataAttributeBindingsRequest, CallSettings)

public virtual PagedEnumerable<ListDataAttributeBindingsResponse, DataAttributeBinding> ListDataAttributeBindings(ListDataAttributeBindingsRequest request, CallSettings callSettings = null)

Lists DataAttributeBinding resources in a project and location.

Parameters
Name Description
request ListDataAttributeBindingsRequest

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
PagedEnumerableListDataAttributeBindingsResponseDataAttributeBinding

A pageable sequence of DataAttributeBinding resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::ListDataAttributeBindingsRequest request = new gcdv::ListDataAttributeBindingsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<gcdv::ListDataAttributeBindingsResponse, gcdv::DataAttributeBinding> response = dataTaxonomyServiceClient.ListDataAttributeBindings(request);

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

ListDataAttributeBindings(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListDataAttributeBindingsResponse, DataAttributeBinding> ListDataAttributeBindings(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataAttributeBinding resources in a project and location.

Parameters
Name Description
parent string

Required. The resource name of the Location: projects/{project_number}/locations/{location_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
PagedEnumerableListDataAttributeBindingsResponseDataAttributeBinding

A pageable sequence of DataAttributeBinding resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<gcdv::ListDataAttributeBindingsResponse, gcdv::DataAttributeBinding> response = dataTaxonomyServiceClient.ListDataAttributeBindings(parent);

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

ListDataAttributeBindingsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDataAttributeBindingsResponse, DataAttributeBinding> ListDataAttributeBindingsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataAttributeBinding resources in a project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the Location: projects/{project_number}/locations/{location_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
PagedAsyncEnumerableListDataAttributeBindingsResponseDataAttributeBinding

A pageable asynchronous sequence of DataAttributeBinding resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAttributeBindingsResponse, gcdv::DataAttributeBinding> response = dataTaxonomyServiceClient.ListDataAttributeBindingsAsync(parent);

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

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

ListDataAttributeBindingsAsync(ListDataAttributeBindingsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDataAttributeBindingsResponse, DataAttributeBinding> ListDataAttributeBindingsAsync(ListDataAttributeBindingsRequest request, CallSettings callSettings = null)

Lists DataAttributeBinding resources in a project and location.

Parameters
Name Description
request ListDataAttributeBindingsRequest

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
PagedAsyncEnumerableListDataAttributeBindingsResponseDataAttributeBinding

A pageable asynchronous sequence of DataAttributeBinding resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListDataAttributeBindingsRequest request = new gcdv::ListDataAttributeBindingsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAttributeBindingsResponse, gcdv::DataAttributeBinding> response = dataTaxonomyServiceClient.ListDataAttributeBindingsAsync(request);

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

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

ListDataAttributeBindingsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDataAttributeBindingsResponse, DataAttributeBinding> ListDataAttributeBindingsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataAttributeBinding resources in a project and location.

Parameters
Name Description
parent string

Required. The resource name of the Location: projects/{project_number}/locations/{location_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
PagedAsyncEnumerableListDataAttributeBindingsResponseDataAttributeBinding

A pageable asynchronous sequence of DataAttributeBinding resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAttributeBindingsResponse, gcdv::DataAttributeBinding> response = dataTaxonomyServiceClient.ListDataAttributeBindingsAsync(parent);

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

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

ListDataAttributes(DataTaxonomyName, string, int?, CallSettings)

public virtual PagedEnumerable<ListDataAttributesResponse, DataAttribute> ListDataAttributes(DataTaxonomyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Data Attribute resources in a DataTaxonomy.

Parameters
Name Description
parent DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_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
PagedEnumerableListDataAttributesResponseDataAttribute

A pageable sequence of DataAttribute resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataTaxonomyName parent = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
PagedEnumerable<gcdv::ListDataAttributesResponse, gcdv::DataAttribute> response = dataTaxonomyServiceClient.ListDataAttributes(parent);

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

ListDataAttributes(ListDataAttributesRequest, CallSettings)

public virtual PagedEnumerable<ListDataAttributesResponse, DataAttribute> ListDataAttributes(ListDataAttributesRequest request, CallSettings callSettings = null)

Lists Data Attribute resources in a DataTaxonomy.

Parameters
Name Description
request ListDataAttributesRequest

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
PagedEnumerableListDataAttributesResponseDataAttribute

A pageable sequence of DataAttribute resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::ListDataAttributesRequest request = new gcdv::ListDataAttributesRequest
{
    ParentAsDataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<gcdv::ListDataAttributesResponse, gcdv::DataAttribute> response = dataTaxonomyServiceClient.ListDataAttributes(request);

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

ListDataAttributes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListDataAttributesResponse, DataAttribute> ListDataAttributes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Data Attribute resources in a DataTaxonomy.

Parameters
Name Description
parent string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_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
PagedEnumerableListDataAttributesResponseDataAttribute

A pageable sequence of DataAttribute resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
PagedEnumerable<gcdv::ListDataAttributesResponse, gcdv::DataAttribute> response = dataTaxonomyServiceClient.ListDataAttributes(parent);

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

ListDataAttributesAsync(DataTaxonomyName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDataAttributesResponse, DataAttribute> ListDataAttributesAsync(DataTaxonomyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Data Attribute resources in a DataTaxonomy.

Parameters
Name Description
parent DataTaxonomyName

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_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
PagedAsyncEnumerableListDataAttributesResponseDataAttribute

A pageable asynchronous sequence of DataAttribute resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomyName parent = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]");
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAttributesResponse, gcdv::DataAttribute> response = dataTaxonomyServiceClient.ListDataAttributesAsync(parent);

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

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

ListDataAttributesAsync(ListDataAttributesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDataAttributesResponse, DataAttribute> ListDataAttributesAsync(ListDataAttributesRequest request, CallSettings callSettings = null)

Lists Data Attribute resources in a DataTaxonomy.

Parameters
Name Description
request ListDataAttributesRequest

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
PagedAsyncEnumerableListDataAttributesResponseDataAttribute

A pageable asynchronous sequence of DataAttribute resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListDataAttributesRequest request = new gcdv::ListDataAttributesRequest
{
    ParentAsDataTaxonomyName = gcdv::DataTaxonomyName.FromProjectLocationDataTaxonomy("[PROJECT]", "[LOCATION]", "[DATA_TAXONOMY_ID]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAttributesResponse, gcdv::DataAttribute> response = dataTaxonomyServiceClient.ListDataAttributesAsync(request);

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

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

ListDataAttributesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDataAttributesResponse, DataAttribute> ListDataAttributesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Data Attribute resources in a DataTaxonomy.

Parameters
Name Description
parent string

Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_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
PagedAsyncEnumerableListDataAttributesResponseDataAttribute

A pageable asynchronous sequence of DataAttribute resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/dataTaxonomies/[DATA_TAXONOMY_ID]";
// Make the request
PagedAsyncEnumerable<gcdv::ListDataAttributesResponse, gcdv::DataAttribute> response = dataTaxonomyServiceClient.ListDataAttributesAsync(parent);

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

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

ListDataTaxonomies(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListDataTaxonomiesResponse, DataTaxonomy> ListDataTaxonomies(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataTaxonomy resources in a project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the DataTaxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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
PagedEnumerableListDataTaxonomiesResponseDataTaxonomy

A pageable sequence of DataTaxonomy resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<gcdv::ListDataTaxonomiesResponse, gcdv::DataTaxonomy> response = dataTaxonomyServiceClient.ListDataTaxonomies(parent);

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

ListDataTaxonomies(ListDataTaxonomiesRequest, CallSettings)

public virtual PagedEnumerable<ListDataTaxonomiesResponse, DataTaxonomy> ListDataTaxonomies(ListDataTaxonomiesRequest request, CallSettings callSettings = null)

Lists DataTaxonomy resources in a project and location.

Parameters
Name Description
request ListDataTaxonomiesRequest

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
PagedEnumerableListDataTaxonomiesResponseDataTaxonomy

A pageable sequence of DataTaxonomy resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::ListDataTaxonomiesRequest request = new gcdv::ListDataTaxonomiesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<gcdv::ListDataTaxonomiesResponse, gcdv::DataTaxonomy> response = dataTaxonomyServiceClient.ListDataTaxonomies(request);

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

ListDataTaxonomies(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListDataTaxonomiesResponse, DataTaxonomy> ListDataTaxonomies(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataTaxonomy resources in a project and location.

Parameters
Name Description
parent string

Required. The resource name of the DataTaxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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
PagedEnumerableListDataTaxonomiesResponseDataTaxonomy

A pageable sequence of DataTaxonomy resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<gcdv::ListDataTaxonomiesResponse, gcdv::DataTaxonomy> response = dataTaxonomyServiceClient.ListDataTaxonomies(parent);

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

ListDataTaxonomiesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDataTaxonomiesResponse, DataTaxonomy> ListDataTaxonomiesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataTaxonomy resources in a project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the DataTaxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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
PagedAsyncEnumerableListDataTaxonomiesResponseDataTaxonomy

A pageable asynchronous sequence of DataTaxonomy resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<gcdv::ListDataTaxonomiesResponse, gcdv::DataTaxonomy> response = dataTaxonomyServiceClient.ListDataTaxonomiesAsync(parent);

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

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

ListDataTaxonomiesAsync(ListDataTaxonomiesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDataTaxonomiesResponse, DataTaxonomy> ListDataTaxonomiesAsync(ListDataTaxonomiesRequest request, CallSettings callSettings = null)

Lists DataTaxonomy resources in a project and location.

Parameters
Name Description
request ListDataTaxonomiesRequest

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
PagedAsyncEnumerableListDataTaxonomiesResponseDataTaxonomy

A pageable asynchronous sequence of DataTaxonomy resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListDataTaxonomiesRequest request = new gcdv::ListDataTaxonomiesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListDataTaxonomiesResponse, gcdv::DataTaxonomy> response = dataTaxonomyServiceClient.ListDataTaxonomiesAsync(request);

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

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

ListDataTaxonomiesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDataTaxonomiesResponse, DataTaxonomy> ListDataTaxonomiesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataTaxonomy resources in a project and location.

Parameters
Name Description
parent string

Required. The resource name of the DataTaxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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
PagedAsyncEnumerableListDataTaxonomiesResponseDataTaxonomy

A pageable asynchronous sequence of DataTaxonomy resources.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<gcdv::ListDataTaxonomiesResponse, gcdv::DataTaxonomy> response = dataTaxonomyServiceClient.ListDataTaxonomiesAsync(parent);

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

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

PollOnceCreateDataAttribute(string, CallSettings)

public virtual Operation<DataAttribute, OperationMetadata> PollOnceCreateDataAttribute(string operationName, CallSettings callSettings = null)

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

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
OperationDataAttributeOperationMetadata

The result of polling the operation.

PollOnceCreateDataAttributeAsync(string, CallSettings)

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

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

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
TaskOperationDataAttributeOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateDataAttributeBinding(string, CallSettings)

public virtual Operation<DataAttributeBinding, OperationMetadata> PollOnceCreateDataAttributeBinding(string operationName, CallSettings callSettings = null)

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

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
OperationDataAttributeBindingOperationMetadata

The result of polling the operation.

PollOnceCreateDataAttributeBindingAsync(string, CallSettings)

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

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

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
TaskOperationDataAttributeBindingOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateDataTaxonomy(string, CallSettings)

public virtual Operation<DataTaxonomy, OperationMetadata> PollOnceCreateDataTaxonomy(string operationName, CallSettings callSettings = null)

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

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
OperationDataTaxonomyOperationMetadata

The result of polling the operation.

PollOnceCreateDataTaxonomyAsync(string, CallSettings)

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

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

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
TaskOperationDataTaxonomyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteDataAttribute(string, CallSettings)

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

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

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.

PollOnceDeleteDataAttributeAsync(string, CallSettings)

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

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

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.

PollOnceDeleteDataAttributeBinding(string, CallSettings)

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

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

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.

PollOnceDeleteDataAttributeBindingAsync(string, CallSettings)

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

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

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.

PollOnceDeleteDataTaxonomy(string, CallSettings)

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

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

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.

PollOnceDeleteDataTaxonomyAsync(string, CallSettings)

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

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

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.

PollOnceUpdateDataAttribute(string, CallSettings)

public virtual Operation<DataAttribute, OperationMetadata> PollOnceUpdateDataAttribute(string operationName, CallSettings callSettings = null)

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

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
OperationDataAttributeOperationMetadata

The result of polling the operation.

PollOnceUpdateDataAttributeAsync(string, CallSettings)

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

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

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
TaskOperationDataAttributeOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateDataAttributeBinding(string, CallSettings)

public virtual Operation<DataAttributeBinding, OperationMetadata> PollOnceUpdateDataAttributeBinding(string operationName, CallSettings callSettings = null)

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

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
OperationDataAttributeBindingOperationMetadata

The result of polling the operation.

PollOnceUpdateDataAttributeBindingAsync(string, CallSettings)

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

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

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
TaskOperationDataAttributeBindingOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateDataTaxonomy(string, CallSettings)

public virtual Operation<DataTaxonomy, OperationMetadata> PollOnceUpdateDataTaxonomy(string operationName, CallSettings callSettings = null)

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

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
OperationDataTaxonomyOperationMetadata

The result of polling the operation.

PollOnceUpdateDataTaxonomyAsync(string, CallSettings)

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

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

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
TaskOperationDataTaxonomyOperationMetadata

A task representing the result of polling the operation.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(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() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateDataAttribute(DataAttribute, FieldMask, CallSettings)

public virtual Operation<DataAttribute, OperationMetadata> UpdateDataAttribute(DataAttribute dataAttribute, FieldMask updateMask, CallSettings callSettings = null)

Updates a DataAttribute resource.

Parameters
Name Description
dataAttribute DataAttribute

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataAttributeOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.UpdateDataAttribute(dataAttribute, updateMask);

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

UpdateDataAttribute(UpdateDataAttributeRequest, CallSettings)

public virtual Operation<DataAttribute, OperationMetadata> UpdateDataAttribute(UpdateDataAttributeRequest request, CallSettings callSettings = null)

Updates a DataAttribute resource.

Parameters
Name Description
request UpdateDataAttributeRequest

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
OperationDataAttributeOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateDataAttributeRequest request = new gcdv::UpdateDataAttributeRequest
{
    UpdateMask = new FieldMask(),
    DataAttribute = new gcdv::DataAttribute(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.UpdateDataAttribute(request);

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

UpdateDataAttributeAsync(DataAttribute, FieldMask, CallSettings)

public virtual Task<Operation<DataAttribute, OperationMetadata>> UpdateDataAttributeAsync(DataAttribute dataAttribute, FieldMask updateMask, CallSettings callSettings = null)

Updates a DataAttribute resource.

Parameters
Name Description
dataAttribute DataAttribute

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeAsync(dataAttribute, updateMask);

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

UpdateDataAttributeAsync(DataAttribute, FieldMask, CancellationToken)

public virtual Task<Operation<DataAttribute, OperationMetadata>> UpdateDataAttributeAsync(DataAttribute dataAttribute, FieldMask updateMask, CancellationToken cancellationToken)

Updates a DataAttribute resource.

Parameters
Name Description
dataAttribute DataAttribute

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttribute dataAttribute = new gcdv::DataAttribute();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeAsync(dataAttribute, updateMask);

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

UpdateDataAttributeAsync(UpdateDataAttributeRequest, CallSettings)

public virtual Task<Operation<DataAttribute, OperationMetadata>> UpdateDataAttributeAsync(UpdateDataAttributeRequest request, CallSettings callSettings = null)

Updates a DataAttribute resource.

Parameters
Name Description
request UpdateDataAttributeRequest

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
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataAttributeRequest request = new gcdv::UpdateDataAttributeRequest
{
    UpdateMask = new FieldMask(),
    DataAttribute = new gcdv::DataAttribute(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeAsync(request);

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

UpdateDataAttributeAsync(UpdateDataAttributeRequest, CancellationToken)

public virtual Task<Operation<DataAttribute, OperationMetadata>> UpdateDataAttributeAsync(UpdateDataAttributeRequest request, CancellationToken cancellationToken)

Updates a DataAttribute resource.

Parameters
Name Description
request UpdateDataAttributeRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataAttributeRequest request = new gcdv::UpdateDataAttributeRequest
{
    UpdateMask = new FieldMask(),
    DataAttribute = new gcdv::DataAttribute(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttribute, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeAsync(request);

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

UpdateDataAttributeBinding(DataAttributeBinding, FieldMask, CallSettings)

public virtual Operation<DataAttributeBinding, OperationMetadata> UpdateDataAttributeBinding(DataAttributeBinding dataAttributeBinding, FieldMask updateMask, CallSettings callSettings = null)

Updates a DataAttributeBinding resource.

Parameters
Name Description
dataAttributeBinding DataAttributeBinding

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataAttributeBindingOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.UpdateDataAttributeBinding(dataAttributeBinding, updateMask);

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

UpdateDataAttributeBinding(UpdateDataAttributeBindingRequest, CallSettings)

public virtual Operation<DataAttributeBinding, OperationMetadata> UpdateDataAttributeBinding(UpdateDataAttributeBindingRequest request, CallSettings callSettings = null)

Updates a DataAttributeBinding resource.

Parameters
Name Description
request UpdateDataAttributeBindingRequest

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
OperationDataAttributeBindingOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateDataAttributeBindingRequest request = new gcdv::UpdateDataAttributeBindingRequest
{
    UpdateMask = new FieldMask(),
    DataAttributeBinding = new gcdv::DataAttributeBinding(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.UpdateDataAttributeBinding(request);

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

UpdateDataAttributeBindingAsync(DataAttributeBinding, FieldMask, CallSettings)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> UpdateDataAttributeBindingAsync(DataAttributeBinding dataAttributeBinding, FieldMask updateMask, CallSettings callSettings = null)

Updates a DataAttributeBinding resource.

Parameters
Name Description
dataAttributeBinding DataAttributeBinding

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeBindingAsync(dataAttributeBinding, updateMask);

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

UpdateDataAttributeBindingAsync(DataAttributeBinding, FieldMask, CancellationToken)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> UpdateDataAttributeBindingAsync(DataAttributeBinding dataAttributeBinding, FieldMask updateMask, CancellationToken cancellationToken)

Updates a DataAttributeBinding resource.

Parameters
Name Description
dataAttributeBinding DataAttributeBinding

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataAttributeBinding dataAttributeBinding = new gcdv::DataAttributeBinding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeBindingAsync(dataAttributeBinding, updateMask);

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

UpdateDataAttributeBindingAsync(UpdateDataAttributeBindingRequest, CallSettings)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> UpdateDataAttributeBindingAsync(UpdateDataAttributeBindingRequest request, CallSettings callSettings = null)

Updates a DataAttributeBinding resource.

Parameters
Name Description
request UpdateDataAttributeBindingRequest

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
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataAttributeBindingRequest request = new gcdv::UpdateDataAttributeBindingRequest
{
    UpdateMask = new FieldMask(),
    DataAttributeBinding = new gcdv::DataAttributeBinding(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeBindingAsync(request);

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

UpdateDataAttributeBindingAsync(UpdateDataAttributeBindingRequest, CancellationToken)

public virtual Task<Operation<DataAttributeBinding, OperationMetadata>> UpdateDataAttributeBindingAsync(UpdateDataAttributeBindingRequest request, CancellationToken cancellationToken)

Updates a DataAttributeBinding resource.

Parameters
Name Description
request UpdateDataAttributeBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataAttributeBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataAttributeBindingRequest request = new gcdv::UpdateDataAttributeBindingRequest
{
    UpdateMask = new FieldMask(),
    DataAttributeBinding = new gcdv::DataAttributeBinding(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataAttributeBinding, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataAttributeBindingAsync(request);

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

UpdateDataTaxonomy(DataTaxonomy, FieldMask, CallSettings)

public virtual Operation<DataTaxonomy, OperationMetadata> UpdateDataTaxonomy(DataTaxonomy dataTaxonomy, FieldMask updateMask, CallSettings callSettings = null)

Updates a DataTaxonomy resource.

Parameters
Name Description
dataTaxonomy DataTaxonomy

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataTaxonomyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.UpdateDataTaxonomy(dataTaxonomy, updateMask);

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

UpdateDataTaxonomy(UpdateDataTaxonomyRequest, CallSettings)

public virtual Operation<DataTaxonomy, OperationMetadata> UpdateDataTaxonomy(UpdateDataTaxonomyRequest request, CallSettings callSettings = null)

Updates a DataTaxonomy resource.

Parameters
Name Description
request UpdateDataTaxonomyRequest

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
OperationDataTaxonomyOperationMetadata

The RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = gcdv::DataTaxonomyServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateDataTaxonomyRequest request = new gcdv::UpdateDataTaxonomyRequest
{
    UpdateMask = new FieldMask(),
    DataTaxonomy = new gcdv::DataTaxonomy(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = dataTaxonomyServiceClient.UpdateDataTaxonomy(request);

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

UpdateDataTaxonomyAsync(DataTaxonomy, FieldMask, CallSettings)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> UpdateDataTaxonomyAsync(DataTaxonomy dataTaxonomy, FieldMask updateMask, CallSettings callSettings = null)

Updates a DataTaxonomy resource.

Parameters
Name Description
dataTaxonomy DataTaxonomy

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataTaxonomyAsync(dataTaxonomy, updateMask);

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

UpdateDataTaxonomyAsync(DataTaxonomy, FieldMask, CancellationToken)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> UpdateDataTaxonomyAsync(DataTaxonomy dataTaxonomy, FieldMask updateMask, CancellationToken cancellationToken)

Updates a DataTaxonomy resource.

Parameters
Name Description
dataTaxonomy DataTaxonomy

Required. Only fields specified in update_mask are updated.

updateMask FieldMask

Required. Mask of fields to update.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DataTaxonomy dataTaxonomy = new gcdv::DataTaxonomy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataTaxonomyAsync(dataTaxonomy, updateMask);

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

UpdateDataTaxonomyAsync(UpdateDataTaxonomyRequest, CallSettings)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> UpdateDataTaxonomyAsync(UpdateDataTaxonomyRequest request, CallSettings callSettings = null)

Updates a DataTaxonomy resource.

Parameters
Name Description
request UpdateDataTaxonomyRequest

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
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataTaxonomyRequest request = new gcdv::UpdateDataTaxonomyRequest
{
    UpdateMask = new FieldMask(),
    DataTaxonomy = new gcdv::DataTaxonomy(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataTaxonomyAsync(request);

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

UpdateDataTaxonomyAsync(UpdateDataTaxonomyRequest, CancellationToken)

public virtual Task<Operation<DataTaxonomy, OperationMetadata>> UpdateDataTaxonomyAsync(UpdateDataTaxonomyRequest request, CancellationToken cancellationToken)

Updates a DataTaxonomy resource.

Parameters
Name Description
request UpdateDataTaxonomyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDataTaxonomyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::DataTaxonomyServiceClient dataTaxonomyServiceClient = await gcdv::DataTaxonomyServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateDataTaxonomyRequest request = new gcdv::UpdateDataTaxonomyRequest
{
    UpdateMask = new FieldMask(),
    DataTaxonomy = new gcdv::DataTaxonomy(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::DataTaxonomy, gcdv::OperationMetadata> response = await dataTaxonomyServiceClient.UpdateDataTaxonomyAsync(request);

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