Cloud Dataplex v1 API - Class CatalogServiceClient (3.0.0)

public abstract class CatalogServiceClient

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

CatalogService client wrapper, for convenient use.

Inheritance

object > CatalogServiceClient

Derived Types

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Remarks

The primary resources offered by this service are EntryGroups, EntryTypes, AspectTypes, Entry and Aspect which collectively allow a data administrator to organize, manage, secure and catalog data across their organization located across cloud projects in a variety of storage systems including Cloud Storage and BigQuery.

Properties

CreateAspectTypeOperationsClient

public virtual OperationsClient CreateAspectTypeOperationsClient { get; }

The long-running operations client for CreateAspectType.

Property Value
Type Description
OperationsClient

CreateEntryGroupOperationsClient

public virtual OperationsClient CreateEntryGroupOperationsClient { get; }

The long-running operations client for CreateEntryGroup.

Property Value
Type Description
OperationsClient

CreateEntryTypeOperationsClient

public virtual OperationsClient CreateEntryTypeOperationsClient { get; }

The long-running operations client for CreateEntryType.

Property Value
Type Description
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

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

Property Value
Type Description
IReadOnlyListstring
Remarks

The default CatalogService scopes are:

DeleteAspectTypeOperationsClient

public virtual OperationsClient DeleteAspectTypeOperationsClient { get; }

The long-running operations client for DeleteAspectType.

Property Value
Type Description
OperationsClient

DeleteEntryGroupOperationsClient

public virtual OperationsClient DeleteEntryGroupOperationsClient { get; }

The long-running operations client for DeleteEntryGroup.

Property Value
Type Description
OperationsClient

DeleteEntryTypeOperationsClient

public virtual OperationsClient DeleteEntryTypeOperationsClient { get; }

The long-running operations client for DeleteEntryType.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual CatalogService.CatalogServiceClient GrpcClient { get; }

The underlying gRPC CatalogService client

Property Value
Type Description
CatalogServiceCatalogServiceClient

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

UpdateAspectTypeOperationsClient

public virtual OperationsClient UpdateAspectTypeOperationsClient { get; }

The long-running operations client for UpdateAspectType.

Property Value
Type Description
OperationsClient

UpdateEntryGroupOperationsClient

public virtual OperationsClient UpdateEntryGroupOperationsClient { get; }

The long-running operations client for UpdateEntryGroup.

Property Value
Type Description
OperationsClient

UpdateEntryTypeOperationsClient

public virtual OperationsClient UpdateEntryTypeOperationsClient { get; }

The long-running operations client for UpdateEntryType.

Property Value
Type Description
OperationsClient

Methods

Create()

public static CatalogServiceClient Create()

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

Returns
Type Description
CatalogServiceClient

The created CatalogServiceClient.

CreateAspectType(LocationName, AspectType, string, CallSettings)

public virtual Operation<AspectType, OperationMetadata> CreateAspectType(LocationName parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null)

Creates an AspectType

Parameters
Name Description
parent LocationName

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

aspectType AspectType

Required. AspectType Resource

aspectTypeId string

Required. AspectType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAspectTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::AspectType aspectType = new gcdv::AspectType();
string aspectTypeId = "";
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = catalogServiceClient.CreateAspectType(parent, aspectType, aspectTypeId);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateAspectType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectType(CreateAspectTypeRequest, CallSettings)

public virtual Operation<AspectType, OperationMetadata> CreateAspectType(CreateAspectTypeRequest request, CallSettings callSettings = null)

Creates an AspectType

Parameters
Name Description
request CreateAspectTypeRequest

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
OperationAspectTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateAspectTypeRequest request = new gcdv::CreateAspectTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AspectTypeId = "",
    AspectType = new gcdv::AspectType(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = catalogServiceClient.CreateAspectType(request);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateAspectType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectType(string, AspectType, string, CallSettings)

public virtual Operation<AspectType, OperationMetadata> CreateAspectType(string parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null)

Creates an AspectType

Parameters
Name Description
parent string

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

aspectType AspectType

Required. AspectType Resource

aspectTypeId string

Required. AspectType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAspectTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::AspectType aspectType = new gcdv::AspectType();
string aspectTypeId = "";
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = catalogServiceClient.CreateAspectType(parent, aspectType, aspectTypeId);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateAspectType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectTypeAsync(LocationName, AspectType, string, CallSettings)

public virtual Task<Operation<AspectType, OperationMetadata>> CreateAspectTypeAsync(LocationName parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null)

Creates an AspectType

Parameters
Name Description
parent LocationName

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

aspectType AspectType

Required. AspectType Resource

aspectTypeId string

Required. AspectType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::AspectType aspectType = new gcdv::AspectType();
string aspectTypeId = "";
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateAspectTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectTypeAsync(LocationName, AspectType, string, CancellationToken)

public virtual Task<Operation<AspectType, OperationMetadata>> CreateAspectTypeAsync(LocationName parent, AspectType aspectType, string aspectTypeId, CancellationToken cancellationToken)

Creates an AspectType

Parameters
Name Description
parent LocationName

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

aspectType AspectType

Required. AspectType Resource

aspectTypeId string

Required. AspectType identifier.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::AspectType aspectType = new gcdv::AspectType();
string aspectTypeId = "";
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateAspectTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectTypeAsync(CreateAspectTypeRequest, CallSettings)

public virtual Task<Operation<AspectType, OperationMetadata>> CreateAspectTypeAsync(CreateAspectTypeRequest request, CallSettings callSettings = null)

Creates an AspectType

Parameters
Name Description
request CreateAspectTypeRequest

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
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateAspectTypeRequest request = new gcdv::CreateAspectTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AspectTypeId = "",
    AspectType = new gcdv::AspectType(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateAspectTypeAsync(request);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateAspectTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectTypeAsync(CreateAspectTypeRequest, CancellationToken)

public virtual Task<Operation<AspectType, OperationMetadata>> CreateAspectTypeAsync(CreateAspectTypeRequest request, CancellationToken cancellationToken)

Creates an AspectType

Parameters
Name Description
request CreateAspectTypeRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateAspectTypeRequest request = new gcdv::CreateAspectTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AspectTypeId = "",
    AspectType = new gcdv::AspectType(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateAspectTypeAsync(request);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateAspectTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectTypeAsync(string, AspectType, string, CallSettings)

public virtual Task<Operation<AspectType, OperationMetadata>> CreateAspectTypeAsync(string parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null)

Creates an AspectType

Parameters
Name Description
parent string

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

aspectType AspectType

Required. AspectType Resource

aspectTypeId string

Required. AspectType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::AspectType aspectType = new gcdv::AspectType();
string aspectTypeId = "";
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateAspectTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAspectTypeAsync(string, AspectType, string, CancellationToken)

public virtual Task<Operation<AspectType, OperationMetadata>> CreateAspectTypeAsync(string parent, AspectType aspectType, string aspectTypeId, CancellationToken cancellationToken)

Creates an AspectType

Parameters
Name Description
parent string

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

aspectType AspectType

Required. AspectType Resource

aspectTypeId string

Required. AspectType identifier.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::AspectType aspectType = new gcdv::AspectType();
string aspectTypeId = "";
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);

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

// Or get 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::AspectType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateAspectTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::AspectType retrievedResult = retrievedResponse.Result;
}

CreateAsync(CancellationToken)

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

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

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskCatalogServiceClient

The task representing the created CatalogServiceClient.

CreateEntry(CreateEntryRequest, CallSettings)

public virtual Entry CreateEntry(CreateEntryRequest request, CallSettings callSettings = null)

Creates an Entry.

Parameters
Name Description
request CreateEntryRequest

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
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateEntryRequest request = new gcdv::CreateEntryRequest
{
    ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    EntryId = "",
    Entry = new gcdv::Entry(),
};
// Make the request
gcdv::Entry response = catalogServiceClient.CreateEntry(request);

CreateEntry(EntryGroupName, Entry, string, CallSettings)

public virtual Entry CreateEntry(EntryGroupName parent, Entry entry, string entryId, CallSettings callSettings = null)

Creates an Entry.

Parameters
Name Description
parent EntryGroupName

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

entry Entry

Required. Entry resource.

entryId string

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
gcdv::Entry entry = new gcdv::Entry();
string entryId = "";
// Make the request
gcdv::Entry response = catalogServiceClient.CreateEntry(parent, entry, entryId);

CreateEntry(string, Entry, string, CallSettings)

public virtual Entry CreateEntry(string parent, Entry entry, string entryId, CallSettings callSettings = null)

Creates an Entry.

Parameters
Name Description
parent string

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

entry Entry

Required. Entry resource.

entryId string

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
gcdv::Entry entry = new gcdv::Entry();
string entryId = "";
// Make the request
gcdv::Entry response = catalogServiceClient.CreateEntry(parent, entry, entryId);

CreateEntryAsync(CreateEntryRequest, CallSettings)

public virtual Task<Entry> CreateEntryAsync(CreateEntryRequest request, CallSettings callSettings = null)

Creates an Entry.

Parameters
Name Description
request CreateEntryRequest

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
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryRequest request = new gcdv::CreateEntryRequest
{
    ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    EntryId = "",
    Entry = new gcdv::Entry(),
};
// Make the request
gcdv::Entry response = await catalogServiceClient.CreateEntryAsync(request);

CreateEntryAsync(CreateEntryRequest, CancellationToken)

public virtual Task<Entry> CreateEntryAsync(CreateEntryRequest request, CancellationToken cancellationToken)

Creates an Entry.

Parameters
Name Description
request CreateEntryRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryRequest request = new gcdv::CreateEntryRequest
{
    ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    EntryId = "",
    Entry = new gcdv::Entry(),
};
// Make the request
gcdv::Entry response = await catalogServiceClient.CreateEntryAsync(request);

CreateEntryAsync(EntryGroupName, Entry, string, CallSettings)

public virtual Task<Entry> CreateEntryAsync(EntryGroupName parent, Entry entry, string entryId, CallSettings callSettings = null)

Creates an Entry.

Parameters
Name Description
parent EntryGroupName

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

entry Entry

Required. Entry resource.

entryId string

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
gcdv::Entry entry = new gcdv::Entry();
string entryId = "";
// Make the request
gcdv::Entry response = await catalogServiceClient.CreateEntryAsync(parent, entry, entryId);

CreateEntryAsync(EntryGroupName, Entry, string, CancellationToken)

public virtual Task<Entry> CreateEntryAsync(EntryGroupName parent, Entry entry, string entryId, CancellationToken cancellationToken)

Creates an Entry.

Parameters
Name Description
parent EntryGroupName

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

entry Entry

Required. Entry resource.

entryId string

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
gcdv::Entry entry = new gcdv::Entry();
string entryId = "";
// Make the request
gcdv::Entry response = await catalogServiceClient.CreateEntryAsync(parent, entry, entryId);

CreateEntryAsync(string, Entry, string, CallSettings)

public virtual Task<Entry> CreateEntryAsync(string parent, Entry entry, string entryId, CallSettings callSettings = null)

Creates an Entry.

Parameters
Name Description
parent string

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

entry Entry

Required. Entry resource.

entryId string

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
gcdv::Entry entry = new gcdv::Entry();
string entryId = "";
// Make the request
gcdv::Entry response = await catalogServiceClient.CreateEntryAsync(parent, entry, entryId);

CreateEntryAsync(string, Entry, string, CancellationToken)

public virtual Task<Entry> CreateEntryAsync(string parent, Entry entry, string entryId, CancellationToken cancellationToken)

Creates an Entry.

Parameters
Name Description
parent string

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

entry Entry

Required. Entry resource.

entryId string

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
gcdv::Entry entry = new gcdv::Entry();
string entryId = "";
// Make the request
gcdv::Entry response = await catalogServiceClient.CreateEntryAsync(parent, entry, entryId);

CreateEntryGroup(LocationName, EntryGroup, string, CallSettings)

public virtual Operation<EntryGroup, OperationMetadata> CreateEntryGroup(LocationName parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null)

Creates an EntryGroup

Parameters
Name Description
parent LocationName

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

entryGroup EntryGroup

Required. EntryGroup Resource

entryGroupId string

Required. EntryGroup identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEntryGroupOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
string entryGroupId = "";
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = catalogServiceClient.CreateEntryGroup(parent, entryGroup, entryGroupId);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateEntryGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroup(CreateEntryGroupRequest, CallSettings)

public virtual Operation<EntryGroup, OperationMetadata> CreateEntryGroup(CreateEntryGroupRequest request, CallSettings callSettings = null)

Creates an EntryGroup

Parameters
Name Description
request CreateEntryGroupRequest

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
OperationEntryGroupOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateEntryGroupRequest request = new gcdv::CreateEntryGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    EntryGroupId = "",
    EntryGroup = new gcdv::EntryGroup(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = catalogServiceClient.CreateEntryGroup(request);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateEntryGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroup(string, EntryGroup, string, CallSettings)

public virtual Operation<EntryGroup, OperationMetadata> CreateEntryGroup(string parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null)

Creates an EntryGroup

Parameters
Name Description
parent string

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

entryGroup EntryGroup

Required. EntryGroup Resource

entryGroupId string

Required. EntryGroup identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEntryGroupOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
string entryGroupId = "";
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = catalogServiceClient.CreateEntryGroup(parent, entryGroup, entryGroupId);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateEntryGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroupAsync(LocationName, EntryGroup, string, CallSettings)

public virtual Task<Operation<EntryGroup, OperationMetadata>> CreateEntryGroupAsync(LocationName parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null)

Creates an EntryGroup

Parameters
Name Description
parent LocationName

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

entryGroup EntryGroup

Required. EntryGroup Resource

entryGroupId string

Required. EntryGroup identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
string entryGroupId = "";
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroupAsync(LocationName, EntryGroup, string, CancellationToken)

public virtual Task<Operation<EntryGroup, OperationMetadata>> CreateEntryGroupAsync(LocationName parent, EntryGroup entryGroup, string entryGroupId, CancellationToken cancellationToken)

Creates an EntryGroup

Parameters
Name Description
parent LocationName

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

entryGroup EntryGroup

Required. EntryGroup Resource

entryGroupId string

Required. EntryGroup identifier.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
string entryGroupId = "";
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroupAsync(CreateEntryGroupRequest, CallSettings)

public virtual Task<Operation<EntryGroup, OperationMetadata>> CreateEntryGroupAsync(CreateEntryGroupRequest request, CallSettings callSettings = null)

Creates an EntryGroup

Parameters
Name Description
request CreateEntryGroupRequest

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
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryGroupRequest request = new gcdv::CreateEntryGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    EntryGroupId = "",
    EntryGroup = new gcdv::EntryGroup(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryGroupAsync(request);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroupAsync(CreateEntryGroupRequest, CancellationToken)

public virtual Task<Operation<EntryGroup, OperationMetadata>> CreateEntryGroupAsync(CreateEntryGroupRequest request, CancellationToken cancellationToken)

Creates an EntryGroup

Parameters
Name Description
request CreateEntryGroupRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryGroupRequest request = new gcdv::CreateEntryGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    EntryGroupId = "",
    EntryGroup = new gcdv::EntryGroup(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryGroupAsync(request);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroupAsync(string, EntryGroup, string, CallSettings)

public virtual Task<Operation<EntryGroup, OperationMetadata>> CreateEntryGroupAsync(string parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null)

Creates an EntryGroup

Parameters
Name Description
parent string

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

entryGroup EntryGroup

Required. EntryGroup Resource

entryGroupId string

Required. EntryGroup identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
string entryGroupId = "";
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryGroupAsync(string, EntryGroup, string, CancellationToken)

public virtual Task<Operation<EntryGroup, OperationMetadata>> CreateEntryGroupAsync(string parent, EntryGroup entryGroup, string entryGroupId, CancellationToken cancellationToken)

Creates an EntryGroup

Parameters
Name Description
parent string

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

entryGroup EntryGroup

Required. EntryGroup Resource

entryGroupId string

Required. EntryGroup identifier.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
string entryGroupId = "";
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);

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

// Or get 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::EntryGroup, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryGroup retrievedResult = retrievedResponse.Result;
}

CreateEntryType(LocationName, EntryType, string, CallSettings)

public virtual Operation<EntryType, OperationMetadata> CreateEntryType(LocationName parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null)

Creates an EntryType

Parameters
Name Description
parent LocationName

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

entryType EntryType

Required. EntryType Resource

entryTypeId string

Required. EntryType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEntryTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::EntryType entryType = new gcdv::EntryType();
string entryTypeId = "";
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = catalogServiceClient.CreateEntryType(parent, entryType, entryTypeId);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateEntryType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryType(CreateEntryTypeRequest, CallSettings)

public virtual Operation<EntryType, OperationMetadata> CreateEntryType(CreateEntryTypeRequest request, CallSettings callSettings = null)

Creates an EntryType

Parameters
Name Description
request CreateEntryTypeRequest

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
OperationEntryTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateEntryTypeRequest request = new gcdv::CreateEntryTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    EntryTypeId = "",
    EntryType = new gcdv::EntryType(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = catalogServiceClient.CreateEntryType(request);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateEntryType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryType(string, EntryType, string, CallSettings)

public virtual Operation<EntryType, OperationMetadata> CreateEntryType(string parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null)

Creates an EntryType

Parameters
Name Description
parent string

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

entryType EntryType

Required. EntryType Resource

entryTypeId string

Required. EntryType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEntryTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::EntryType entryType = new gcdv::EntryType();
string entryTypeId = "";
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = catalogServiceClient.CreateEntryType(parent, entryType, entryTypeId);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = catalogServiceClient.PollOnceCreateEntryType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryTypeAsync(LocationName, EntryType, string, CallSettings)

public virtual Task<Operation<EntryType, OperationMetadata>> CreateEntryTypeAsync(LocationName parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null)

Creates an EntryType

Parameters
Name Description
parent LocationName

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

entryType EntryType

Required. EntryType Resource

entryTypeId string

Required. EntryType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::EntryType entryType = new gcdv::EntryType();
string entryTypeId = "";
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryTypeAsync(LocationName, EntryType, string, CancellationToken)

public virtual Task<Operation<EntryType, OperationMetadata>> CreateEntryTypeAsync(LocationName parent, EntryType entryType, string entryTypeId, CancellationToken cancellationToken)

Creates an EntryType

Parameters
Name Description
parent LocationName

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

entryType EntryType

Required. EntryType Resource

entryTypeId string

Required. EntryType identifier.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::EntryType entryType = new gcdv::EntryType();
string entryTypeId = "";
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryTypeAsync(CreateEntryTypeRequest, CallSettings)

public virtual Task<Operation<EntryType, OperationMetadata>> CreateEntryTypeAsync(CreateEntryTypeRequest request, CallSettings callSettings = null)

Creates an EntryType

Parameters
Name Description
request CreateEntryTypeRequest

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
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryTypeRequest request = new gcdv::CreateEntryTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    EntryTypeId = "",
    EntryType = new gcdv::EntryType(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryTypeAsync(request);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryTypeAsync(CreateEntryTypeRequest, CancellationToken)

public virtual Task<Operation<EntryType, OperationMetadata>> CreateEntryTypeAsync(CreateEntryTypeRequest request, CancellationToken cancellationToken)

Creates an EntryType

Parameters
Name Description
request CreateEntryTypeRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryTypeRequest request = new gcdv::CreateEntryTypeRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    EntryTypeId = "",
    EntryType = new gcdv::EntryType(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryTypeAsync(request);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryTypeAsync(string, EntryType, string, CallSettings)

public virtual Task<Operation<EntryType, OperationMetadata>> CreateEntryTypeAsync(string parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null)

Creates an EntryType

Parameters
Name Description
parent string

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

entryType EntryType

Required. EntryType Resource

entryTypeId string

Required. EntryType identifier.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::EntryType entryType = new gcdv::EntryType();
string entryTypeId = "";
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

CreateEntryTypeAsync(string, EntryType, string, CancellationToken)

public virtual Task<Operation<EntryType, OperationMetadata>> CreateEntryTypeAsync(string parent, EntryType entryType, string entryTypeId, CancellationToken cancellationToken)

Creates an EntryType

Parameters
Name Description
parent string

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

entryType EntryType

Required. EntryType Resource

entryTypeId string

Required. EntryType identifier.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::EntryType entryType = new gcdv::EntryType();
string entryTypeId = "";
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);

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

// Or get 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::EntryType, gcdv::OperationMetadata> retrievedResponse = await catalogServiceClient.PollOnceCreateEntryTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    gcdv::EntryType retrievedResult = retrievedResponse.Result;
}

DeleteAspectType(AspectTypeName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAspectType(AspectTypeName name, CallSettings callSettings = null)

Deletes a AspectType resource.

Parameters
Name Description
name AspectTypeName

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::AspectTypeName name = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteAspectType(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 = catalogServiceClient.PollOnceDeleteAspectType(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;
}

DeleteAspectType(DeleteAspectTypeRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAspectType(DeleteAspectTypeRequest request, CallSettings callSettings = null)

Deletes a AspectType resource.

Parameters
Name Description
request DeleteAspectTypeRequest

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::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteAspectTypeRequest request = new gcdv::DeleteAspectTypeRequest
{
    AspectTypeName = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteAspectType(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 = catalogServiceClient.PollOnceDeleteAspectType(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;
}

DeleteAspectType(string, CallSettings)

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

Deletes a AspectType resource.

Parameters
Name Description
name string

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/aspectTypes/[ASPECT_TYPE]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteAspectType(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 = catalogServiceClient.PollOnceDeleteAspectType(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;
}

DeleteAspectTypeAsync(AspectTypeName, CallSettings)

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

Deletes a AspectType resource.

Parameters
Name Description
name AspectTypeName

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::AspectTypeName name = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteAspectTypeAsync(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 catalogServiceClient.PollOnceDeleteAspectTypeAsync(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;
}

DeleteAspectTypeAsync(AspectTypeName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAspectTypeAsync(AspectTypeName name, CancellationToken cancellationToken)

Deletes a AspectType resource.

Parameters
Name Description
name AspectTypeName

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::AspectTypeName name = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteAspectTypeAsync(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 catalogServiceClient.PollOnceDeleteAspectTypeAsync(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;
}

DeleteAspectTypeAsync(DeleteAspectTypeRequest, CallSettings)

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

Deletes a AspectType resource.

Parameters
Name Description
request DeleteAspectTypeRequest

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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteAspectTypeRequest request = new gcdv::DeleteAspectTypeRequest
{
    AspectTypeName = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteAspectTypeAsync(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 catalogServiceClient.PollOnceDeleteAspectTypeAsync(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;
}

DeleteAspectTypeAsync(DeleteAspectTypeRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAspectTypeAsync(DeleteAspectTypeRequest request, CancellationToken cancellationToken)

Deletes a AspectType resource.

Parameters
Name Description
request DeleteAspectTypeRequest

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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteAspectTypeRequest request = new gcdv::DeleteAspectTypeRequest
{
    AspectTypeName = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteAspectTypeAsync(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 catalogServiceClient.PollOnceDeleteAspectTypeAsync(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;
}

DeleteAspectTypeAsync(string, CallSettings)

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

Deletes a AspectType resource.

Parameters
Name Description
name string

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/aspectTypes/[ASPECT_TYPE]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteAspectTypeAsync(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 catalogServiceClient.PollOnceDeleteAspectTypeAsync(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;
}

DeleteAspectTypeAsync(string, CancellationToken)

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

Deletes a AspectType resource.

Parameters
Name Description
name string

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/aspectTypes/[ASPECT_TYPE]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteAspectTypeAsync(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 catalogServiceClient.PollOnceDeleteAspectTypeAsync(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;
}

DeleteEntry(DeleteEntryRequest, CallSettings)

public virtual Entry DeleteEntry(DeleteEntryRequest request, CallSettings callSettings = null)

Deletes an Entry.

Parameters
Name Description
request DeleteEntryRequest

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
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteEntryRequest request = new gcdv::DeleteEntryRequest
{
    EntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
gcdv::Entry response = catalogServiceClient.DeleteEntry(request);

DeleteEntry(EntryName, CallSettings)

public virtual Entry DeleteEntry(EntryName name, CallSettings callSettings = null)

Deletes an Entry.

Parameters
Name Description
name EntryName

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryName name = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
gcdv::Entry response = catalogServiceClient.DeleteEntry(name);

DeleteEntry(string, CallSettings)

public virtual Entry DeleteEntry(string name, CallSettings callSettings = null)

Deletes an Entry.

Parameters
Name Description
name string

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
gcdv::Entry response = catalogServiceClient.DeleteEntry(name);

DeleteEntryAsync(DeleteEntryRequest, CallSettings)

public virtual Task<Entry> DeleteEntryAsync(DeleteEntryRequest request, CallSettings callSettings = null)

Deletes an Entry.

Parameters
Name Description
request DeleteEntryRequest

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
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryRequest request = new gcdv::DeleteEntryRequest
{
    EntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
gcdv::Entry response = await catalogServiceClient.DeleteEntryAsync(request);

DeleteEntryAsync(DeleteEntryRequest, CancellationToken)

public virtual Task<Entry> DeleteEntryAsync(DeleteEntryRequest request, CancellationToken cancellationToken)

Deletes an Entry.

Parameters
Name Description
request DeleteEntryRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryRequest request = new gcdv::DeleteEntryRequest
{
    EntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
gcdv::Entry response = await catalogServiceClient.DeleteEntryAsync(request);

DeleteEntryAsync(EntryName, CallSettings)

public virtual Task<Entry> DeleteEntryAsync(EntryName name, CallSettings callSettings = null)

Deletes an Entry.

Parameters
Name Description
name EntryName

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryName name = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
gcdv::Entry response = await catalogServiceClient.DeleteEntryAsync(name);

DeleteEntryAsync(EntryName, CancellationToken)

public virtual Task<Entry> DeleteEntryAsync(EntryName name, CancellationToken cancellationToken)

Deletes an Entry.

Parameters
Name Description
name EntryName

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryName name = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
gcdv::Entry response = await catalogServiceClient.DeleteEntryAsync(name);

DeleteEntryAsync(string, CallSettings)

public virtual Task<Entry> DeleteEntryAsync(string name, CallSettings callSettings = null)

Deletes an Entry.

Parameters
Name Description
name string

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
gcdv::Entry response = await catalogServiceClient.DeleteEntryAsync(name);

DeleteEntryAsync(string, CancellationToken)

public virtual Task<Entry> DeleteEntryAsync(string name, CancellationToken cancellationToken)

Deletes an Entry.

Parameters
Name Description
name string

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
gcdv::Entry response = await catalogServiceClient.DeleteEntryAsync(name);

DeleteEntryGroup(DeleteEntryGroupRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteEntryGroup(DeleteEntryGroupRequest request, CallSettings callSettings = null)

Deletes a EntryGroup resource.

Parameters
Name Description
request DeleteEntryGroupRequest

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::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteEntryGroupRequest request = new gcdv::DeleteEntryGroupRequest
{
    EntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteEntryGroup(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 = catalogServiceClient.PollOnceDeleteEntryGroup(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;
}

DeleteEntryGroup(EntryGroupName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteEntryGroup(EntryGroupName name, CallSettings callSettings = null)

Deletes a EntryGroup resource.

Parameters
Name Description
name EntryGroupName

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryGroupName name = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteEntryGroup(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 = catalogServiceClient.PollOnceDeleteEntryGroup(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;
}

DeleteEntryGroup(string, CallSettings)

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

Deletes a EntryGroup resource.

Parameters
Name Description
name string

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteEntryGroup(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 = catalogServiceClient.PollOnceDeleteEntryGroup(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;
}

DeleteEntryGroupAsync(DeleteEntryGroupRequest, CallSettings)

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

Deletes a EntryGroup resource.

Parameters
Name Description
request DeleteEntryGroupRequest

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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryGroupRequest request = new gcdv::DeleteEntryGroupRequest
{
    EntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryGroupAsync(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 catalogServiceClient.PollOnceDeleteEntryGroupAsync(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;
}

DeleteEntryGroupAsync(DeleteEntryGroupRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteEntryGroupAsync(DeleteEntryGroupRequest request, CancellationToken cancellationToken)

Deletes a EntryGroup resource.

Parameters
Name Description
request DeleteEntryGroupRequest

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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryGroupRequest request = new gcdv::DeleteEntryGroupRequest
{
    EntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryGroupAsync(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 catalogServiceClient.PollOnceDeleteEntryGroupAsync(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;
}

DeleteEntryGroupAsync(EntryGroupName, CallSettings)

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

Deletes a EntryGroup resource.

Parameters
Name Description
name EntryGroupName

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName name = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryGroupAsync(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 catalogServiceClient.PollOnceDeleteEntryGroupAsync(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;
}

DeleteEntryGroupAsync(EntryGroupName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken)

Deletes a EntryGroup resource.

Parameters
Name Description
name EntryGroupName

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName name = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryGroupAsync(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 catalogServiceClient.PollOnceDeleteEntryGroupAsync(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;
}

DeleteEntryGroupAsync(string, CallSettings)

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

Deletes a EntryGroup resource.

Parameters
Name Description
name string

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryGroupAsync(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 catalogServiceClient.PollOnceDeleteEntryGroupAsync(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;
}

DeleteEntryGroupAsync(string, CancellationToken)

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

Deletes a EntryGroup resource.

Parameters
Name Description
name string

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryGroupAsync(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 catalogServiceClient.PollOnceDeleteEntryGroupAsync(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;
}

DeleteEntryType(DeleteEntryTypeRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteEntryType(DeleteEntryTypeRequest request, CallSettings callSettings = null)

Deletes a EntryType resource.

Parameters
Name Description
request DeleteEntryTypeRequest

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::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteEntryTypeRequest request = new gcdv::DeleteEntryTypeRequest
{
    EntryTypeName = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteEntryType(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 = catalogServiceClient.PollOnceDeleteEntryType(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;
}

DeleteEntryType(EntryTypeName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteEntryType(EntryTypeName name, CallSettings callSettings = null)

Deletes a EntryType resource.

Parameters
Name Description
name EntryTypeName

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryTypeName name = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteEntryType(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 = catalogServiceClient.PollOnceDeleteEntryType(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;
}

DeleteEntryType(string, CallSettings)

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

Deletes a EntryType resource.

Parameters
Name Description
name string

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryTypes/[ENTRY_TYPE]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = catalogServiceClient.DeleteEntryType(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 = catalogServiceClient.PollOnceDeleteEntryType(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;
}

DeleteEntryTypeAsync(DeleteEntryTypeRequest, CallSettings)

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

Deletes a EntryType resource.

Parameters
Name Description
request DeleteEntryTypeRequest

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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryTypeRequest request = new gcdv::DeleteEntryTypeRequest
{
    EntryTypeName = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryTypeAsync(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 catalogServiceClient.PollOnceDeleteEntryTypeAsync(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;
}

DeleteEntryTypeAsync(DeleteEntryTypeRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteEntryTypeAsync(DeleteEntryTypeRequest request, CancellationToken cancellationToken)

Deletes a EntryType resource.

Parameters
Name Description
request DeleteEntryTypeRequest

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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryTypeRequest request = new gcdv::DeleteEntryTypeRequest
{
    EntryTypeName = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]"),
    Etag = "",
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryTypeAsync(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 catalogServiceClient.PollOnceDeleteEntryTypeAsync(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;
}

DeleteEntryTypeAsync(EntryTypeName, CallSettings)

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

Deletes a EntryType resource.

Parameters
Name Description
name EntryTypeName

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryTypeName name = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryTypeAsync(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 catalogServiceClient.PollOnceDeleteEntryTypeAsync(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;
}

DeleteEntryTypeAsync(EntryTypeName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteEntryTypeAsync(EntryTypeName name, CancellationToken cancellationToken)

Deletes a EntryType resource.

Parameters
Name Description
name EntryTypeName

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryTypeName name = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]");
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryTypeAsync(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 catalogServiceClient.PollOnceDeleteEntryTypeAsync(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;
}

DeleteEntryTypeAsync(string, CallSettings)

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

Deletes a EntryType resource.

Parameters
Name Description
name string

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_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::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryTypes/[ENTRY_TYPE]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryTypeAsync(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 catalogServiceClient.PollOnceDeleteEntryTypeAsync(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;
}

DeleteEntryTypeAsync(string, CancellationToken)

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

Deletes a EntryType resource.

Parameters
Name Description
name string

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryTypes/[ENTRY_TYPE]";
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await catalogServiceClient.DeleteEntryTypeAsync(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 catalogServiceClient.PollOnceDeleteEntryTypeAsync(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;
}

GetAspectType(AspectTypeName, CallSettings)

public virtual AspectType GetAspectType(AspectTypeName name, CallSettings callSettings = null)

Retrieves a AspectType resource.

Parameters
Name Description
name AspectTypeName

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AspectType

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::AspectTypeName name = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]");
// Make the request
gcdv::AspectType response = catalogServiceClient.GetAspectType(name);

GetAspectType(GetAspectTypeRequest, CallSettings)

public virtual AspectType GetAspectType(GetAspectTypeRequest request, CallSettings callSettings = null)

Retrieves a AspectType resource.

Parameters
Name Description
request GetAspectTypeRequest

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
AspectType

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::GetAspectTypeRequest request = new gcdv::GetAspectTypeRequest
{
    AspectTypeName = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]"),
};
// Make the request
gcdv::AspectType response = catalogServiceClient.GetAspectType(request);

GetAspectType(string, CallSettings)

public virtual AspectType GetAspectType(string name, CallSettings callSettings = null)

Retrieves a AspectType resource.

Parameters
Name Description
name string

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AspectType

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/aspectTypes/[ASPECT_TYPE]";
// Make the request
gcdv::AspectType response = catalogServiceClient.GetAspectType(name);

GetAspectTypeAsync(AspectTypeName, CallSettings)

public virtual Task<AspectType> GetAspectTypeAsync(AspectTypeName name, CallSettings callSettings = null)

Retrieves a AspectType resource.

Parameters
Name Description
name AspectTypeName

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAspectType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::AspectTypeName name = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]");
// Make the request
gcdv::AspectType response = await catalogServiceClient.GetAspectTypeAsync(name);

GetAspectTypeAsync(AspectTypeName, CancellationToken)

public virtual Task<AspectType> GetAspectTypeAsync(AspectTypeName name, CancellationToken cancellationToken)

Retrieves a AspectType resource.

Parameters
Name Description
name AspectTypeName

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAspectType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::AspectTypeName name = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]");
// Make the request
gcdv::AspectType response = await catalogServiceClient.GetAspectTypeAsync(name);

GetAspectTypeAsync(GetAspectTypeRequest, CallSettings)

public virtual Task<AspectType> GetAspectTypeAsync(GetAspectTypeRequest request, CallSettings callSettings = null)

Retrieves a AspectType resource.

Parameters
Name Description
request GetAspectTypeRequest

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
TaskAspectType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetAspectTypeRequest request = new gcdv::GetAspectTypeRequest
{
    AspectTypeName = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]"),
};
// Make the request
gcdv::AspectType response = await catalogServiceClient.GetAspectTypeAsync(request);

GetAspectTypeAsync(GetAspectTypeRequest, CancellationToken)

public virtual Task<AspectType> GetAspectTypeAsync(GetAspectTypeRequest request, CancellationToken cancellationToken)

Retrieves a AspectType resource.

Parameters
Name Description
request GetAspectTypeRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAspectType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetAspectTypeRequest request = new gcdv::GetAspectTypeRequest
{
    AspectTypeName = gcdv::AspectTypeName.FromProjectLocationAspectType("[PROJECT]", "[LOCATION]", "[ASPECT_TYPE]"),
};
// Make the request
gcdv::AspectType response = await catalogServiceClient.GetAspectTypeAsync(request);

GetAspectTypeAsync(string, CallSettings)

public virtual Task<AspectType> GetAspectTypeAsync(string name, CallSettings callSettings = null)

Retrieves a AspectType resource.

Parameters
Name Description
name string

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAspectType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/aspectTypes/[ASPECT_TYPE]";
// Make the request
gcdv::AspectType response = await catalogServiceClient.GetAspectTypeAsync(name);

GetAspectTypeAsync(string, CancellationToken)

public virtual Task<AspectType> GetAspectTypeAsync(string name, CancellationToken cancellationToken)

Retrieves a AspectType resource.

Parameters
Name Description
name string

Required. The resource name of the AspectType: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAspectType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/aspectTypes/[ASPECT_TYPE]";
// Make the request
gcdv::AspectType response = await catalogServiceClient.GetAspectTypeAsync(name);

GetEntry(EntryName, CallSettings)

public virtual Entry GetEntry(EntryName name, CallSettings callSettings = null)

Gets a single entry.

Parameters
Name Description
name EntryName

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryName name = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
gcdv::Entry response = catalogServiceClient.GetEntry(name);

GetEntry(GetEntryRequest, CallSettings)

public virtual Entry GetEntry(GetEntryRequest request, CallSettings callSettings = null)

Gets a single entry.

Parameters
Name Description
request GetEntryRequest

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
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::GetEntryRequest request = new gcdv::GetEntryRequest
{
    EntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
    View = gcdv::EntryView.Unspecified,
    AspectTypes = { "", },
    Paths = { "", },
};
// Make the request
gcdv::Entry response = catalogServiceClient.GetEntry(request);

GetEntry(string, CallSettings)

public virtual Entry GetEntry(string name, CallSettings callSettings = null)

Gets a single entry.

Parameters
Name Description
name string

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
gcdv::Entry response = catalogServiceClient.GetEntry(name);

GetEntryAsync(EntryName, CallSettings)

public virtual Task<Entry> GetEntryAsync(EntryName name, CallSettings callSettings = null)

Gets a single entry.

Parameters
Name Description
name EntryName

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryName name = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
gcdv::Entry response = await catalogServiceClient.GetEntryAsync(name);

GetEntryAsync(EntryName, CancellationToken)

public virtual Task<Entry> GetEntryAsync(EntryName name, CancellationToken cancellationToken)

Gets a single entry.

Parameters
Name Description
name EntryName

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryName name = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
gcdv::Entry response = await catalogServiceClient.GetEntryAsync(name);

GetEntryAsync(GetEntryRequest, CallSettings)

public virtual Task<Entry> GetEntryAsync(GetEntryRequest request, CallSettings callSettings = null)

Gets a single entry.

Parameters
Name Description
request GetEntryRequest

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
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryRequest request = new gcdv::GetEntryRequest
{
    EntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
    View = gcdv::EntryView.Unspecified,
    AspectTypes = { "", },
    Paths = { "", },
};
// Make the request
gcdv::Entry response = await catalogServiceClient.GetEntryAsync(request);

GetEntryAsync(GetEntryRequest, CancellationToken)

public virtual Task<Entry> GetEntryAsync(GetEntryRequest request, CancellationToken cancellationToken)

Gets a single entry.

Parameters
Name Description
request GetEntryRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryRequest request = new gcdv::GetEntryRequest
{
    EntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
    View = gcdv::EntryView.Unspecified,
    AspectTypes = { "", },
    Paths = { "", },
};
// Make the request
gcdv::Entry response = await catalogServiceClient.GetEntryAsync(request);

GetEntryAsync(string, CallSettings)

public virtual Task<Entry> GetEntryAsync(string name, CallSettings callSettings = null)

Gets a single entry.

Parameters
Name Description
name string

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
gcdv::Entry response = await catalogServiceClient.GetEntryAsync(name);

GetEntryAsync(string, CancellationToken)

public virtual Task<Entry> GetEntryAsync(string name, CancellationToken cancellationToken)

Gets a single entry.

Parameters
Name Description
name string

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
gcdv::Entry response = await catalogServiceClient.GetEntryAsync(name);

GetEntryGroup(EntryGroupName, CallSettings)

public virtual EntryGroup GetEntryGroup(EntryGroupName name, CallSettings callSettings = null)

Retrieves a EntryGroup resource.

Parameters
Name Description
name EntryGroupName

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntryGroup

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryGroupName name = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
gcdv::EntryGroup response = catalogServiceClient.GetEntryGroup(name);

GetEntryGroup(GetEntryGroupRequest, CallSettings)

public virtual EntryGroup GetEntryGroup(GetEntryGroupRequest request, CallSettings callSettings = null)

Retrieves a EntryGroup resource.

Parameters
Name Description
request GetEntryGroupRequest

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
EntryGroup

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::GetEntryGroupRequest request = new gcdv::GetEntryGroupRequest
{
    EntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
};
// Make the request
gcdv::EntryGroup response = catalogServiceClient.GetEntryGroup(request);

GetEntryGroup(string, CallSettings)

public virtual EntryGroup GetEntryGroup(string name, CallSettings callSettings = null)

Retrieves a EntryGroup resource.

Parameters
Name Description
name string

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntryGroup

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
gcdv::EntryGroup response = catalogServiceClient.GetEntryGroup(name);

GetEntryGroupAsync(EntryGroupName, CallSettings)

public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, CallSettings callSettings = null)

Retrieves a EntryGroup resource.

Parameters
Name Description
name EntryGroupName

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntryGroup

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName name = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
gcdv::EntryGroup response = await catalogServiceClient.GetEntryGroupAsync(name);

GetEntryGroupAsync(EntryGroupName, CancellationToken)

public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken)

Retrieves a EntryGroup resource.

Parameters
Name Description
name EntryGroupName

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntryGroup

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName name = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
gcdv::EntryGroup response = await catalogServiceClient.GetEntryGroupAsync(name);

GetEntryGroupAsync(GetEntryGroupRequest, CallSettings)

public virtual Task<EntryGroup> GetEntryGroupAsync(GetEntryGroupRequest request, CallSettings callSettings = null)

Retrieves a EntryGroup resource.

Parameters
Name Description
request GetEntryGroupRequest

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
TaskEntryGroup

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryGroupRequest request = new gcdv::GetEntryGroupRequest
{
    EntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
};
// Make the request
gcdv::EntryGroup response = await catalogServiceClient.GetEntryGroupAsync(request);

GetEntryGroupAsync(GetEntryGroupRequest, CancellationToken)

public virtual Task<EntryGroup> GetEntryGroupAsync(GetEntryGroupRequest request, CancellationToken cancellationToken)

Retrieves a EntryGroup resource.

Parameters
Name Description
request GetEntryGroupRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntryGroup

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryGroupRequest request = new gcdv::GetEntryGroupRequest
{
    EntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
};
// Make the request
gcdv::EntryGroup response = await catalogServiceClient.GetEntryGroupAsync(request);

GetEntryGroupAsync(string, CallSettings)

public virtual Task<EntryGroup> GetEntryGroupAsync(string name, CallSettings callSettings = null)

Retrieves a EntryGroup resource.

Parameters
Name Description
name string

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntryGroup

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
gcdv::EntryGroup response = await catalogServiceClient.GetEntryGroupAsync(name);

GetEntryGroupAsync(string, CancellationToken)

public virtual Task<EntryGroup> GetEntryGroupAsync(string name, CancellationToken cancellationToken)

Retrieves a EntryGroup resource.

Parameters
Name Description
name string

Required. The resource name of the EntryGroup: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntryGroup

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
gcdv::EntryGroup response = await catalogServiceClient.GetEntryGroupAsync(name);

GetEntryType(EntryTypeName, CallSettings)

public virtual EntryType GetEntryType(EntryTypeName name, CallSettings callSettings = null)

Retrieves a EntryType resource.

Parameters
Name Description
name EntryTypeName

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntryType

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryTypeName name = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]");
// Make the request
gcdv::EntryType response = catalogServiceClient.GetEntryType(name);

GetEntryType(GetEntryTypeRequest, CallSettings)

public virtual EntryType GetEntryType(GetEntryTypeRequest request, CallSettings callSettings = null)

Retrieves a EntryType resource.

Parameters
Name Description
request GetEntryTypeRequest

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
EntryType

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::GetEntryTypeRequest request = new gcdv::GetEntryTypeRequest
{
    EntryTypeName = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]"),
};
// Make the request
gcdv::EntryType response = catalogServiceClient.GetEntryType(request);

GetEntryType(string, CallSettings)

public virtual EntryType GetEntryType(string name, CallSettings callSettings = null)

Retrieves a EntryType resource.

Parameters
Name Description
name string

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntryType

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryTypes/[ENTRY_TYPE]";
// Make the request
gcdv::EntryType response = catalogServiceClient.GetEntryType(name);

GetEntryTypeAsync(EntryTypeName, CallSettings)

public virtual Task<EntryType> GetEntryTypeAsync(EntryTypeName name, CallSettings callSettings = null)

Retrieves a EntryType resource.

Parameters
Name Description
name EntryTypeName

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntryType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryTypeName name = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]");
// Make the request
gcdv::EntryType response = await catalogServiceClient.GetEntryTypeAsync(name);

GetEntryTypeAsync(EntryTypeName, CancellationToken)

public virtual Task<EntryType> GetEntryTypeAsync(EntryTypeName name, CancellationToken cancellationToken)

Retrieves a EntryType resource.

Parameters
Name Description
name EntryTypeName

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntryType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryTypeName name = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]");
// Make the request
gcdv::EntryType response = await catalogServiceClient.GetEntryTypeAsync(name);

GetEntryTypeAsync(GetEntryTypeRequest, CallSettings)

public virtual Task<EntryType> GetEntryTypeAsync(GetEntryTypeRequest request, CallSettings callSettings = null)

Retrieves a EntryType resource.

Parameters
Name Description
request GetEntryTypeRequest

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
TaskEntryType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryTypeRequest request = new gcdv::GetEntryTypeRequest
{
    EntryTypeName = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]"),
};
// Make the request
gcdv::EntryType response = await catalogServiceClient.GetEntryTypeAsync(request);

GetEntryTypeAsync(GetEntryTypeRequest, CancellationToken)

public virtual Task<EntryType> GetEntryTypeAsync(GetEntryTypeRequest request, CancellationToken cancellationToken)

Retrieves a EntryType resource.

Parameters
Name Description
request GetEntryTypeRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntryType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryTypeRequest request = new gcdv::GetEntryTypeRequest
{
    EntryTypeName = gcdv::EntryTypeName.FromProjectLocationEntryType("[PROJECT]", "[LOCATION]", "[ENTRY_TYPE]"),
};
// Make the request
gcdv::EntryType response = await catalogServiceClient.GetEntryTypeAsync(request);

GetEntryTypeAsync(string, CallSettings)

public virtual Task<EntryType> GetEntryTypeAsync(string name, CallSettings callSettings = null)

Retrieves a EntryType resource.

Parameters
Name Description
name string

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEntryType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryTypes/[ENTRY_TYPE]";
// Make the request
gcdv::EntryType response = await catalogServiceClient.GetEntryTypeAsync(name);

GetEntryTypeAsync(string, CancellationToken)

public virtual Task<EntryType> GetEntryTypeAsync(string name, CancellationToken cancellationToken)

Retrieves a EntryType resource.

Parameters
Name Description
name string

Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskEntryType

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryTypes/[ENTRY_TYPE]";
// Make the request
gcdv::EntryType response = await catalogServiceClient.GetEntryTypeAsync(name);

ListAspectTypes(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAspectTypesResponse, AspectType> ListAspectTypes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AspectType resources in a project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the AspectType 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
PagedEnumerableListAspectTypesResponseAspectType

A pageable sequence of AspectType resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<gcdv::ListAspectTypesResponse, gcdv::AspectType> response = catalogServiceClient.ListAspectTypes(parent);

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

ListAspectTypes(ListAspectTypesRequest, CallSettings)

public virtual PagedEnumerable<ListAspectTypesResponse, AspectType> ListAspectTypes(ListAspectTypesRequest request, CallSettings callSettings = null)

Lists AspectType resources in a project and location.

Parameters
Name Description
request ListAspectTypesRequest

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
PagedEnumerableListAspectTypesResponseAspectType

A pageable sequence of AspectType resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::ListAspectTypesRequest request = new gcdv::ListAspectTypesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<gcdv::ListAspectTypesResponse, gcdv::AspectType> response = catalogServiceClient.ListAspectTypes(request);

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

ListAspectTypes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAspectTypesResponse, AspectType> ListAspectTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AspectType resources in a project and location.

Parameters
Name Description
parent string

Required. The resource name of the AspectType 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
PagedEnumerableListAspectTypesResponseAspectType

A pageable sequence of AspectType resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<gcdv::ListAspectTypesResponse, gcdv::AspectType> response = catalogServiceClient.ListAspectTypes(parent);

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

ListAspectTypesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAspectTypesResponse, AspectType> ListAspectTypesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AspectType resources in a project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the AspectType 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
PagedAsyncEnumerableListAspectTypesResponseAspectType

A pageable asynchronous sequence of AspectType resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<gcdv::ListAspectTypesResponse, gcdv::AspectType> response = catalogServiceClient.ListAspectTypesAsync(parent);

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

ListAspectTypesAsync(ListAspectTypesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAspectTypesResponse, AspectType> ListAspectTypesAsync(ListAspectTypesRequest request, CallSettings callSettings = null)

Lists AspectType resources in a project and location.

Parameters
Name Description
request ListAspectTypesRequest

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
PagedAsyncEnumerableListAspectTypesResponseAspectType

A pageable asynchronous sequence of AspectType resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListAspectTypesRequest request = new gcdv::ListAspectTypesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListAspectTypesResponse, gcdv::AspectType> response = catalogServiceClient.ListAspectTypesAsync(request);

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

ListAspectTypesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAspectTypesResponse, AspectType> ListAspectTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AspectType resources in a project and location.

Parameters
Name Description
parent string

Required. The resource name of the AspectType 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
PagedAsyncEnumerableListAspectTypesResponseAspectType

A pageable asynchronous sequence of AspectType resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<gcdv::ListAspectTypesResponse, gcdv::AspectType> response = catalogServiceClient.ListAspectTypesAsync(parent);

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

ListEntries(EntryGroupName, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(EntryGroupName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists entries within an entry group.

Parameters
Name Description
parent