Cloud Dataplex v1 API - Class CatalogServiceClient (2.14.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
TypeDescription
OperationsClient

CreateEntryGroupOperationsClient

public virtual OperationsClient CreateEntryGroupOperationsClient { get; }

The long-running operations client for CreateEntryGroup.

Property Value
TypeDescription
OperationsClient

CreateEntryTypeOperationsClient

public virtual OperationsClient CreateEntryTypeOperationsClient { get; }

The long-running operations client for CreateEntryType.

Property Value
TypeDescription
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
TypeDescription
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default CatalogService scopes.

Property Value
TypeDescription
IReadOnlyListstring
Remarks

The default CatalogService scopes are:

DeleteAspectTypeOperationsClient

public virtual OperationsClient DeleteAspectTypeOperationsClient { get; }

The long-running operations client for DeleteAspectType.

Property Value
TypeDescription
OperationsClient

DeleteEntryGroupOperationsClient

public virtual OperationsClient DeleteEntryGroupOperationsClient { get; }

The long-running operations client for DeleteEntryGroup.

Property Value
TypeDescription
OperationsClient

DeleteEntryTypeOperationsClient

public virtual OperationsClient DeleteEntryTypeOperationsClient { get; }

The long-running operations client for DeleteEntryType.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual CatalogService.CatalogServiceClient GrpcClient { get; }

The underlying gRPC CatalogService client

Property Value
TypeDescription
CatalogServiceCatalogServiceClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

UpdateAspectTypeOperationsClient

public virtual OperationsClient UpdateAspectTypeOperationsClient { get; }

The long-running operations client for UpdateAspectType.

Property Value
TypeDescription
OperationsClient

UpdateEntryGroupOperationsClient

public virtual OperationsClient UpdateEntryGroupOperationsClient { get; }

The long-running operations client for UpdateEntryGroup.

Property Value
TypeDescription
OperationsClient

UpdateEntryTypeOperationsClient

public virtual OperationsClient UpdateEntryTypeOperationsClient { get; }

The long-running operations client for UpdateEntryType.

Property Value
TypeDescription
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
TypeDescription
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
NameDescription
parentLocationName

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

aspectTypeAspectType

Required. AspectType Resource

aspectTypeIdstring

Required. AspectType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

aspectTypeAspectType

Required. AspectType Resource

aspectTypeIdstring

Required. AspectType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

aspectTypeAspectType

Required. AspectType Resource

aspectTypeIdstring

Required. AspectType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

aspectTypeAspectType

Required. AspectType Resource

aspectTypeIdstring

Required. AspectType identifier.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestCreateAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateAspectTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentstring

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

aspectTypeAspectType

Required. AspectType Resource

aspectTypeIdstring

Required. AspectType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

aspectTypeAspectType

Required. AspectType Resource

aspectTypeIdstring

Required. AspectType identifier.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskCatalogServiceClient

The task representing the created CatalogServiceClient.

CreateEntry(CreateEntryRequest, CallSettings)

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

Creates an Entry.

Parameters
NameDescription
requestCreateEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentEntryGroupName

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

entryEntry

Required. Entry resource.

entryIdstring

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryEntry

Required. Entry resource.

entryIdstring

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentEntryGroupName

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

entryEntry

Required. Entry resource.

entryIdstring

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentEntryGroupName

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

entryEntry

Required. Entry resource.

entryIdstring

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.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryEntry

Required. Entry resource.

entryIdstring

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryEntry

Required. Entry resource.

entryIdstring

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.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

entryGroupEntryGroup

Required. EntryGroup Resource

entryGroupIdstring

Required. EntryGroup identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryGroupEntryGroup

Required. EntryGroup Resource

entryGroupIdstring

Required. EntryGroup identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

entryGroupEntryGroup

Required. EntryGroup Resource

entryGroupIdstring

Required. EntryGroup identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

entryGroupEntryGroup

Required. EntryGroup Resource

entryGroupIdstring

Required. EntryGroup identifier.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestCreateEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEntryGroupRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryGroupEntryGroup

Required. EntryGroup Resource

entryGroupIdstring

Required. EntryGroup identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryGroupEntryGroup

Required. EntryGroup Resource

entryGroupIdstring

Required. EntryGroup identifier.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

entryTypeEntryType

Required. EntryType Resource

entryTypeIdstring

Required. EntryType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryTypeEntryType

Required. EntryType Resource

entryTypeIdstring

Required. EntryType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

entryTypeEntryType

Required. EntryType Resource

entryTypeIdstring

Required. EntryType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentLocationName

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

entryTypeEntryType

Required. EntryType Resource

entryTypeIdstring

Required. EntryType identifier.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestCreateEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEntryTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryTypeEntryType

Required. EntryType Resource

entryTypeIdstring

Required. EntryType identifier.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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

entryTypeEntryType

Required. EntryType Resource

entryTypeIdstring

Required. EntryType identifier.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameAspectTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameAspectTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameAspectTypeName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestDeleteAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteAspectTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameEntryName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryGroupName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryGroupRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameEntryGroupName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryGroupName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEntryTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameEntryTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryTypeName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameAspectTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameAspectTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameAspectTypeName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestGetAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetAspectTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameEntryName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestGetEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameEntryGroupName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryGroupName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryGroupName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestGetEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEntryGroupRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
nameEntryTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryTypeName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
nameEntryTypeName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
requestGetEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEntryTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
NameDescription
parentLocationName

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.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListAspectTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentLocationName

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.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListAspectTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentstring

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.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
parentEntryGroupName

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntriesResponseEntry

A pageable sequence of Entry resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
PagedEnumerable<gcdv::ListEntriesResponse, gcdv::Entry> response = catalogServiceClient.ListEntries(parent);

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

public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(ListEntriesRequest request, CallSettings callSettings = null)

Lists entries within an entry group.

Parameters
NameDescription
requestListEntriesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntriesResponseEntry

A pageable sequence of Entry resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::ListEntriesRequest request = new gcdv::ListEntriesRequest
{
    ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    Filter = "",
};
// Make the request
PagedEnumerable<gcdv::ListEntriesResponse, gcdv::Entry> response = catalogServiceClient.ListEntries(request);

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

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

Lists entries within an entry group.

Parameters
NameDescription
parentstring

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntriesResponseEntry

A pageable sequence of Entry resources.

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

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

ListEntriesAsync(EntryGroupName, string, int?, CallSettings)

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

Lists entries within an entry group.

Parameters
NameDescription
parentEntryGroupName

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntriesResponseEntry

A pageable asynchronous sequence of Entry resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
PagedAsyncEnumerable<gcdv::ListEntriesResponse, gcdv::Entry> response = catalogServiceClient.ListEntriesAsync(parent);

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

ListEntriesAsync(ListEntriesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(ListEntriesRequest request, CallSettings callSettings = null)

Lists entries within an entry group.

Parameters
NameDescription
requestListEntriesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntriesResponseEntry

A pageable asynchronous sequence of Entry resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListEntriesRequest request = new gcdv::ListEntriesRequest
{
    ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListEntriesResponse, gcdv::Entry> response = catalogServiceClient.ListEntriesAsync(request);

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

ListEntriesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists entries within an entry group.

Parameters
NameDescription
parentstring

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntriesResponseEntry

A pageable asynchronous sequence of Entry resources.

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

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

ListEntryGroups(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryGroup resources in a project and location.

Parameters
NameDescription
parentLocationName

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntryGroupsResponseEntryGroup

A pageable sequence of EntryGroup 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::ListEntryGroupsResponse, gcdv::EntryGroup> response = catalogServiceClient.ListEntryGroups(parent);

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

ListEntryGroups(ListEntryGroupsRequest, CallSettings)

public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(ListEntryGroupsRequest request, CallSettings callSettings = null)

Lists EntryGroup resources in a project and location.

Parameters
NameDescription
requestListEntryGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntryGroupsResponseEntryGroup

A pageable sequence of EntryGroup resources.

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

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

ListEntryGroups(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryGroup resources in a project and location.

Parameters
NameDescription
parentstring

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntryGroupsResponseEntryGroup

A pageable sequence of EntryGroup 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::ListEntryGroupsResponse, gcdv::EntryGroup> response = catalogServiceClient.ListEntryGroups(parent);

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

ListEntryGroupsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryGroup resources in a project and location.

Parameters
NameDescription
parentLocationName

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup

A pageable asynchronous sequence of EntryGroup 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::ListEntryGroupsResponse, gcdv::EntryGroup> response = catalogServiceClient.ListEntryGroupsAsync(parent);

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

ListEntryGroupsAsync(ListEntryGroupsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(ListEntryGroupsRequest request, CallSettings callSettings = null)

Lists EntryGroup resources in a project and location.

Parameters
NameDescription
requestListEntryGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup

A pageable asynchronous sequence of EntryGroup resources.

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

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

ListEntryGroupsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryGroup resources in a project and location.

Parameters
NameDescription
parentstring

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup

A pageable asynchronous sequence of EntryGroup 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::ListEntryGroupsResponse, gcdv::EntryGroup> response = catalogServiceClient.ListEntryGroupsAsync(parent);

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

ListEntryTypes(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntryTypesResponse, EntryType> ListEntryTypes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryType resources in a project and location.

Parameters
NameDescription
parentLocationName

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntryTypesResponseEntryType

A pageable sequence of EntryType 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::ListEntryTypesResponse, gcdv::EntryType> response = catalogServiceClient.ListEntryTypes(parent);

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

ListEntryTypes(ListEntryTypesRequest, CallSettings)

public virtual PagedEnumerable<ListEntryTypesResponse, EntryType> ListEntryTypes(ListEntryTypesRequest request, CallSettings callSettings = null)

Lists EntryType resources in a project and location.

Parameters
NameDescription
requestListEntryTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntryTypesResponseEntryType

A pageable sequence of EntryType resources.

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

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

ListEntryTypes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntryTypesResponse, EntryType> ListEntryTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryType resources in a project and location.

Parameters
NameDescription
parentstring

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntryTypesResponseEntryType

A pageable sequence of EntryType 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::ListEntryTypesResponse, gcdv::EntryType> response = catalogServiceClient.ListEntryTypes(parent);

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

ListEntryTypesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntryTypesResponse, EntryType> ListEntryTypesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryType resources in a project and location.

Parameters
NameDescription
parentLocationName

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntryTypesResponseEntryType

A pageable asynchronous sequence of EntryType 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::ListEntryTypesResponse, gcdv::EntryType> response = catalogServiceClient.ListEntryTypesAsync(parent);

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

ListEntryTypesAsync(ListEntryTypesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListEntryTypesResponse, EntryType> ListEntryTypesAsync(ListEntryTypesRequest request, CallSettings callSettings = null)

Lists EntryType resources in a project and location.

Parameters
NameDescription
requestListEntryTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntryTypesResponseEntryType

A pageable asynchronous sequence of EntryType resources.

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

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

ListEntryTypesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntryTypesResponse, EntryType> ListEntryTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntryType resources in a project and location.

Parameters
NameDescription
parentstring

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

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntryTypesResponseEntryType

A pageable asynchronous sequence of EntryType 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::ListEntryTypesResponse, gcdv::EntryType> response = catalogServiceClient.ListEntryTypesAsync(parent);

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

LookupEntry(LookupEntryRequest, CallSettings)

public virtual Entry LookupEntry(LookupEntryRequest request, CallSettings callSettings = null)

Looks up a single entry.

Parameters
NameDescription
requestLookupEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Entry

The RPC response.

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

LookupEntryAsync(LookupEntryRequest, CallSettings)

public virtual Task<Entry> LookupEntryAsync(LookupEntryRequest request, CallSettings callSettings = null)

Looks up a single entry.

Parameters
NameDescription
requestLookupEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntry

A Task containing the RPC response.

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

LookupEntryAsync(LookupEntryRequest, CancellationToken)

public virtual Task<Entry> LookupEntryAsync(LookupEntryRequest request, CancellationToken cancellationToken)

Looks up a single entry.

Parameters
NameDescription
requestLookupEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntry

A Task containing the RPC response.

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

PollOnceCreateAspectType(string, CallSettings)

public virtual Operation<AspectType, OperationMetadata> PollOnceCreateAspectType(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAspectTypeOperationMetadata

The result of polling the operation.

PollOnceCreateAspectTypeAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAspectTypeOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateEntryGroup(string, CallSettings)

public virtual Operation<EntryGroup, OperationMetadata> PollOnceCreateEntryGroup(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryGroupOperationMetadata

The result of polling the operation.

PollOnceCreateEntryGroupAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryGroupOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateEntryType(string, CallSettings)

public virtual Operation<EntryType, OperationMetadata> PollOnceCreateEntryType(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryTypeOperationMetadata

The result of polling the operation.

PollOnceCreateEntryTypeAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryTypeOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAspectType(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAspectTypeAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteEntryGroup(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteEntryGroupAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteEntryType(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteEntryTypeAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateAspectType(string, CallSettings)

public virtual Operation<AspectType, OperationMetadata> PollOnceUpdateAspectType(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAspectTypeOperationMetadata

The result of polling the operation.

PollOnceUpdateAspectTypeAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAspectTypeOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateEntryGroup(string, CallSettings)

public virtual Operation<EntryGroup, OperationMetadata> PollOnceUpdateEntryGroup(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryGroupOperationMetadata

The result of polling the operation.

PollOnceUpdateEntryGroupAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryGroupOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateEntryType(string, CallSettings)

public virtual Operation<EntryType, OperationMetadata> PollOnceUpdateEntryType(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryTypeOperationMetadata

The result of polling the operation.

PollOnceUpdateEntryTypeAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryTypeOperationMetadata

A task representing the result of polling the operation.

SearchEntries(SearchEntriesRequest, CallSettings)

public virtual PagedEnumerable<SearchEntriesResponse, SearchEntriesResult> SearchEntries(SearchEntriesRequest request, CallSettings callSettings = null)

Searches for entries matching given query and scope.

Parameters
NameDescription
requestSearchEntriesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchEntriesResponseSearchEntriesResult

A pageable sequence of SearchEntriesResult resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::SearchEntriesRequest request = new gcdv::SearchEntriesRequest
{
    Name = "",
    Query = "",
    OrderBy = "",
    Scope = "",
};
// Make the request
PagedEnumerable<gcdv::SearchEntriesResponse, gcdv::SearchEntriesResult> response = catalogServiceClient.SearchEntries(request);

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

SearchEntries(string, string, string, int?, CallSettings)

public virtual PagedEnumerable<SearchEntriesResponse, SearchEntriesResult> SearchEntries(string name, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches for entries matching given query and scope.

Parameters
NameDescription
namestring

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

querystring

Required. The query against which entries in scope should be matched.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchEntriesResponseSearchEntriesResult

A pageable sequence of SearchEntriesResult resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "";
string query = "";
// Make the request
PagedEnumerable<gcdv::SearchEntriesResponse, gcdv::SearchEntriesResult> response = catalogServiceClient.SearchEntries(name, query);

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

SearchEntriesAsync(SearchEntriesRequest, CallSettings)

public virtual PagedAsyncEnumerable<SearchEntriesResponse, SearchEntriesResult> SearchEntriesAsync(SearchEntriesRequest request, CallSettings callSettings = null)

Searches for entries matching given query and scope.

Parameters
NameDescription
requestSearchEntriesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchEntriesResponseSearchEntriesResult

A pageable asynchronous sequence of SearchEntriesResult resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::SearchEntriesRequest request = new gcdv::SearchEntriesRequest
{
    Name = "",
    Query = "",
    OrderBy = "",
    Scope = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::SearchEntriesResponse, gcdv::SearchEntriesResult> response = catalogServiceClient.SearchEntriesAsync(request);

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

SearchEntriesAsync(string, string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<SearchEntriesResponse, SearchEntriesResult> SearchEntriesAsync(string name, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches for entries matching given query and scope.

Parameters
NameDescription
namestring

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

querystring

Required. The query against which entries in scope should be matched.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

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.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchEntriesResponseSearchEntriesResult

A pageable asynchronous sequence of SearchEntriesResult resources.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "";
string query = "";
// Make the request
PagedAsyncEnumerable<gcdv::SearchEntriesResponse, gcdv::SearchEntriesResult> response = catalogServiceClient.SearchEntriesAsync(name, query);

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

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateAspectType(AspectType, FieldMask, CallSettings)

public virtual Operation<AspectType, OperationMetadata> UpdateAspectType(AspectType aspectType, FieldMask updateMask, CallSettings callSettings = null)

Updates a AspectType resource.

Parameters
NameDescription
aspectTypeAspectType

Required. AspectType Resource

updateMaskFieldMask

Required. Mask of fields to update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAspectTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::AspectType aspectType = new gcdv::AspectType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = catalogServiceClient.UpdateAspectType(aspectType, updateMask);

// 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.PollOnceUpdateAspectType(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;
}

UpdateAspectType(UpdateAspectTypeRequest, CallSettings)

public virtual Operation<AspectType, OperationMetadata> UpdateAspectType(UpdateAspectTypeRequest request, CallSettings callSettings = null)

Updates a AspectType resource.

Parameters
NameDescription
requestUpdateAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAspectTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateAspectTypeRequest request = new gcdv::UpdateAspectTypeRequest
{
    AspectType = new gcdv::AspectType(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = catalogServiceClient.UpdateAspectType(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.PollOnceUpdateAspectType(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;
}

UpdateAspectTypeAsync(AspectType, FieldMask, CallSettings)

public virtual Task<Operation<AspectType, OperationMetadata>> UpdateAspectTypeAsync(AspectType aspectType, FieldMask updateMask, CallSettings callSettings = null)

Updates a AspectType resource.

Parameters
NameDescription
aspectTypeAspectType

Required. AspectType Resource

updateMaskFieldMask

Required. Mask of fields to update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::AspectType aspectType = new gcdv::AspectType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateAspectTypeAsync(aspectType, updateMask);

// 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.PollOnceUpdateAspectTypeAsync(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;
}

UpdateAspectTypeAsync(AspectType, FieldMask, CancellationToken)

public virtual Task<Operation<AspectType, OperationMetadata>> UpdateAspectTypeAsync(AspectType aspectType, FieldMask updateMask, CancellationToken cancellationToken)

Updates a AspectType resource.

Parameters
NameDescription
aspectTypeAspectType

Required. AspectType Resource

updateMaskFieldMask

Required. Mask of fields to update.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::AspectType aspectType = new gcdv::AspectType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateAspectTypeAsync(aspectType, updateMask);

// 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.PollOnceUpdateAspectTypeAsync(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;
}

UpdateAspectTypeAsync(UpdateAspectTypeRequest, CallSettings)

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

Updates a AspectType resource.

Parameters
NameDescription
requestUpdateAspectTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateAspectTypeRequest request = new gcdv::UpdateAspectTypeRequest
{
    AspectType = new gcdv::AspectType(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateAspectTypeAsync(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.PollOnceUpdateAspectTypeAsync(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;
}

UpdateAspectTypeAsync(UpdateAspectTypeRequest, CancellationToken)

public virtual Task<Operation<AspectType, OperationMetadata>> UpdateAspectTypeAsync(UpdateAspectTypeRequest request, CancellationToken cancellationToken)

Updates a AspectType resource.

Parameters
NameDescription
requestUpdateAspectTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAspectTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateAspectTypeRequest request = new gcdv::UpdateAspectTypeRequest
{
    AspectType = new gcdv::AspectType(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::AspectType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateAspectTypeAsync(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.PollOnceUpdateAspectTypeAsync(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;
}

UpdateEntry(Entry, FieldMask, CallSettings)

public virtual Entry UpdateEntry(Entry entry, FieldMask updateMask, CallSettings callSettings = null)

Updates an Entry.

Parameters
NameDescription
entryEntry

Required. Entry resource.

updateMaskFieldMask

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::Entry entry = new gcdv::Entry();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Entry response = catalogServiceClient.UpdateEntry(entry, updateMask);

UpdateEntry(UpdateEntryRequest, CallSettings)

public virtual Entry UpdateEntry(UpdateEntryRequest request, CallSettings callSettings = null)

Updates an Entry.

Parameters
NameDescription
requestUpdateEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Entry

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateEntryRequest request = new gcdv::UpdateEntryRequest
{
    Entry = new gcdv::Entry(),
    UpdateMask = new FieldMask(),
    AllowMissing = false,
    DeleteMissingAspects = false,
    AspectKeys = { "", },
};
// Make the request
gcdv::Entry response = catalogServiceClient.UpdateEntry(request);

UpdateEntryAsync(Entry, FieldMask, CallSettings)

public virtual Task<Entry> UpdateEntryAsync(Entry entry, FieldMask updateMask, CallSettings callSettings = null)

Updates an Entry.

Parameters
NameDescription
entryEntry

Required. Entry resource.

updateMaskFieldMask

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::Entry entry = new gcdv::Entry();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Entry response = await catalogServiceClient.UpdateEntryAsync(entry, updateMask);

UpdateEntryAsync(Entry, FieldMask, CancellationToken)

public virtual Task<Entry> UpdateEntryAsync(Entry entry, FieldMask updateMask, CancellationToken cancellationToken)

Updates an Entry.

Parameters
NameDescription
entryEntry

Required. Entry resource.

updateMaskFieldMask

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::Entry entry = new gcdv::Entry();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Entry response = await catalogServiceClient.UpdateEntryAsync(entry, updateMask);

UpdateEntryAsync(UpdateEntryRequest, CallSettings)

public virtual Task<Entry> UpdateEntryAsync(UpdateEntryRequest request, CallSettings callSettings = null)

Updates an Entry.

Parameters
NameDescription
requestUpdateEntryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryRequest request = new gcdv::UpdateEntryRequest
{
    Entry = new gcdv::Entry(),
    UpdateMask = new FieldMask(),
    AllowMissing = false,
    DeleteMissingAspects = false,
    AspectKeys = { "", },
};
// Make the request
gcdv::Entry response = await catalogServiceClient.UpdateEntryAsync(request);

UpdateEntryAsync(UpdateEntryRequest, CancellationToken)

public virtual Task<Entry> UpdateEntryAsync(UpdateEntryRequest request, CancellationToken cancellationToken)

Updates an Entry.

Parameters
NameDescription
requestUpdateEntryRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntry

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryRequest request = new gcdv::UpdateEntryRequest
{
    Entry = new gcdv::Entry(),
    UpdateMask = new FieldMask(),
    AllowMissing = false,
    DeleteMissingAspects = false,
    AspectKeys = { "", },
};
// Make the request
gcdv::Entry response = await catalogServiceClient.UpdateEntryAsync(request);

UpdateEntryGroup(EntryGroup, FieldMask, CallSettings)

public virtual Operation<EntryGroup, OperationMetadata> UpdateEntryGroup(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates a EntryGroup resource.

Parameters
NameDescription
entryGroupEntryGroup

Required. EntryGroup Resource

updateMaskFieldMask

Required. Mask of fields to update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryGroupOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = catalogServiceClient.UpdateEntryGroup(entryGroup, updateMask);

// 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.PollOnceUpdateEntryGroup(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;
}

UpdateEntryGroup(UpdateEntryGroupRequest, CallSettings)

public virtual Operation<EntryGroup, OperationMetadata> UpdateEntryGroup(UpdateEntryGroupRequest request, CallSettings callSettings = null)

Updates a EntryGroup resource.

Parameters
NameDescription
requestUpdateEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryGroupOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateEntryGroupRequest request = new gcdv::UpdateEntryGroupRequest
{
    EntryGroup = new gcdv::EntryGroup(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = catalogServiceClient.UpdateEntryGroup(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.PollOnceUpdateEntryGroup(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;
}

UpdateEntryGroupAsync(EntryGroup, FieldMask, CallSettings)

public virtual Task<Operation<EntryGroup, OperationMetadata>> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates a EntryGroup resource.

Parameters
NameDescription
entryGroupEntryGroup

Required. EntryGroup Resource

updateMaskFieldMask

Required. Mask of fields to update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryGroupAsync(entryGroup, updateMask);

// 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.PollOnceUpdateEntryGroupAsync(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;
}

UpdateEntryGroupAsync(EntryGroup, FieldMask, CancellationToken)

public virtual Task<Operation<EntryGroup, OperationMetadata>> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CancellationToken cancellationToken)

Updates a EntryGroup resource.

Parameters
NameDescription
entryGroupEntryGroup

Required. EntryGroup Resource

updateMaskFieldMask

Required. Mask of fields to update.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroup entryGroup = new gcdv::EntryGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryGroupAsync(entryGroup, updateMask);

// 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.PollOnceUpdateEntryGroupAsync(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;
}

UpdateEntryGroupAsync(UpdateEntryGroupRequest, CallSettings)

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

Updates a EntryGroup resource.

Parameters
NameDescription
requestUpdateEntryGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryGroupRequest request = new gcdv::UpdateEntryGroupRequest
{
    EntryGroup = new gcdv::EntryGroup(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryGroupAsync(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.PollOnceUpdateEntryGroupAsync(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;
}

UpdateEntryGroupAsync(UpdateEntryGroupRequest, CancellationToken)

public virtual Task<Operation<EntryGroup, OperationMetadata>> UpdateEntryGroupAsync(UpdateEntryGroupRequest request, CancellationToken cancellationToken)

Updates a EntryGroup resource.

Parameters
NameDescription
requestUpdateEntryGroupRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntryGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryGroupRequest request = new gcdv::UpdateEntryGroupRequest
{
    EntryGroup = new gcdv::EntryGroup(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryGroup, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryGroupAsync(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.PollOnceUpdateEntryGroupAsync(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;
}

UpdateEntryType(EntryType, FieldMask, CallSettings)

public virtual Operation<EntryType, OperationMetadata> UpdateEntryType(EntryType entryType, FieldMask updateMask, CallSettings callSettings = null)

Updates a EntryType resource.

Parameters
NameDescription
entryTypeEntryType

Required. EntryType Resource

updateMaskFieldMask

Required. Mask of fields to update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryType entryType = new gcdv::EntryType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = catalogServiceClient.UpdateEntryType(entryType, updateMask);

// 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.PollOnceUpdateEntryType(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;
}

UpdateEntryType(UpdateEntryTypeRequest, CallSettings)

public virtual Operation<EntryType, OperationMetadata> UpdateEntryType(UpdateEntryTypeRequest request, CallSettings callSettings = null)

Updates a EntryType resource.

Parameters
NameDescription
requestUpdateEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntryTypeOperationMetadata

The RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateEntryTypeRequest request = new gcdv::UpdateEntryTypeRequest
{
    EntryType = new gcdv::EntryType(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = catalogServiceClient.UpdateEntryType(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.PollOnceUpdateEntryType(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;
}

UpdateEntryTypeAsync(EntryType, FieldMask, CallSettings)

public virtual Task<Operation<EntryType, OperationMetadata>> UpdateEntryTypeAsync(EntryType entryType, FieldMask updateMask, CallSettings callSettings = null)

Updates a EntryType resource.

Parameters
NameDescription
entryTypeEntryType

Required. EntryType Resource

updateMaskFieldMask

Required. Mask of fields to update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryType entryType = new gcdv::EntryType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryTypeAsync(entryType, updateMask);

// 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.PollOnceUpdateEntryTypeAsync(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;
}

UpdateEntryTypeAsync(EntryType, FieldMask, CancellationToken)

public virtual Task<Operation<EntryType, OperationMetadata>> UpdateEntryTypeAsync(EntryType entryType, FieldMask updateMask, CancellationToken cancellationToken)

Updates a EntryType resource.

Parameters
NameDescription
entryTypeEntryType

Required. EntryType Resource

updateMaskFieldMask

Required. Mask of fields to update.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryType entryType = new gcdv::EntryType();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryTypeAsync(entryType, updateMask);

// 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.PollOnceUpdateEntryTypeAsync(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;
}

UpdateEntryTypeAsync(UpdateEntryTypeRequest, CallSettings)

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

Updates a EntryType resource.

Parameters
NameDescription
requestUpdateEntryTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryTypeRequest request = new gcdv::UpdateEntryTypeRequest
{
    EntryType = new gcdv::EntryType(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryTypeAsync(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.PollOnceUpdateEntryTypeAsync(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;
}

UpdateEntryTypeAsync(UpdateEntryTypeRequest, CancellationToken)

public virtual Task<Operation<EntryType, OperationMetadata>> UpdateEntryTypeAsync(UpdateEntryTypeRequest request, CancellationToken cancellationToken)

Updates a EntryType resource.

Parameters
NameDescription
requestUpdateEntryTypeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntryTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryTypeRequest request = new gcdv::UpdateEntryTypeRequest
{
    EntryType = new gcdv::EntryType(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
};
// Make the request
Operation<gcdv::EntryType, gcdv::OperationMetadata> response = await catalogServiceClient.UpdateEntryTypeAsync(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.PollOnceUpdateEntryTypeAsync(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;
}