public abstract class CatalogServiceClientReference documentation and code samples for the Cloud Dataplex v1 API class CatalogServiceClient.
CatalogService client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Dataplex.V1Assembly
Google.Cloud.Dataplex.V1.dll
Remarks
The primary resources offered by this service are EntryGroups, EntryTypes, AspectTypes, Entries and EntryLinks. They collectively let data administrators organize, manage, secure, and catalog data located across cloud projects in their organization in a variety of storage systems, including Cloud Storage and BigQuery.
Properties
CreateAspectTypeOperationsClient
public virtual OperationsClient CreateAspectTypeOperationsClient { get; }The long-running operations client for CreateAspectType.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateEntryGroupOperationsClient
public virtual OperationsClient CreateEntryGroupOperationsClient { get; }The long-running operations client for CreateEntryGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateEntryTypeOperationsClient
public virtual OperationsClient CreateEntryTypeOperationsClient { get; }The long-running operations client for CreateEntryType.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateMetadataFeedOperationsClient
public virtual OperationsClient CreateMetadataFeedOperationsClient { get; }The long-running operations client for CreateMetadataFeed.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateMetadataJobOperationsClient
public virtual OperationsClient CreateMetadataJobOperationsClient { get; }The long-running operations client for CreateMetadataJob.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the CatalogService service, which is a host of "dataplex.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList DefaultScopes { get; } The default CatalogService scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default CatalogService scopes are:
DeleteAspectTypeOperationsClient
public virtual OperationsClient DeleteAspectTypeOperationsClient { get; }The long-running operations client for DeleteAspectType.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteEntryGroupOperationsClient
public virtual OperationsClient DeleteEntryGroupOperationsClient { get; }The long-running operations client for DeleteEntryGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteEntryTypeOperationsClient
public virtual OperationsClient DeleteEntryTypeOperationsClient { get; }The long-running operations client for DeleteEntryType.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteMetadataFeedOperationsClient
public virtual OperationsClient DeleteMetadataFeedOperationsClient { get; }The long-running operations client for DeleteMetadataFeed.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public virtual CatalogService.CatalogServiceClient GrpcClient { get; }The underlying gRPC CatalogService client
| Property Value | |
|---|---|
| Type | Description |
CatalogServiceCatalogServiceClient |
|
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public virtual LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
UpdateAspectTypeOperationsClient
public virtual OperationsClient UpdateAspectTypeOperationsClient { get; }The long-running operations client for UpdateAspectType.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateEntryGroupOperationsClient
public virtual OperationsClient UpdateEntryGroupOperationsClient { get; }The long-running operations client for UpdateEntryGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateEntryTypeOperationsClient
public virtual OperationsClient UpdateEntryTypeOperationsClient { get; }The long-running operations client for UpdateEntryType.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateMetadataFeedOperationsClient
public virtual OperationsClient UpdateMetadataFeedOperationsClient { get; }The long-running operations client for UpdateMetadataFeed.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CancelMetadataJob(CancelMetadataJobRequest, CallSettings)
public virtual void CancelMetadataJob(CancelMetadataJobRequest request, CallSettings callSettings = null)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelMetadataJobRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CancelMetadataJobRequest request = new gcdv::CancelMetadataJobRequest
{
MetadataJobName = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]"),
};
// Make the request
catalogServiceClient.CancelMetadataJob(request);
CancelMetadataJob(MetadataJobName, CallSettings)
public virtual void CancelMetadataJob(MetadataJobName name, CallSettings callSettings = null)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataJobNameRequired. The resource name of the job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::MetadataJobName name = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]");
// Make the request
catalogServiceClient.CancelMetadataJob(name);
CancelMetadataJob(string, CallSettings)
public virtual void CancelMetadataJob(string name, CallSettings callSettings = null)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataJobs/[METADATAJOB]";
// Make the request
catalogServiceClient.CancelMetadataJob(name);
CancelMetadataJobAsync(CancelMetadataJobRequest, CallSettings)
public virtual Task CancelMetadataJobAsync(CancelMetadataJobRequest request, CallSettings callSettings = null)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelMetadataJobRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CancelMetadataJobRequest request = new gcdv::CancelMetadataJobRequest
{
MetadataJobName = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]"),
};
// Make the request
await catalogServiceClient.CancelMetadataJobAsync(request);
CancelMetadataJobAsync(CancelMetadataJobRequest, CancellationToken)
public virtual Task CancelMetadataJobAsync(CancelMetadataJobRequest request, CancellationToken cancellationToken)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelMetadataJobRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CancelMetadataJobRequest request = new gcdv::CancelMetadataJobRequest
{
MetadataJobName = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]"),
};
// Make the request
await catalogServiceClient.CancelMetadataJobAsync(request);
CancelMetadataJobAsync(MetadataJobName, CallSettings)
public virtual Task CancelMetadataJobAsync(MetadataJobName name, CallSettings callSettings = null)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataJobNameRequired. The resource name of the job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataJobName name = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]");
// Make the request
await catalogServiceClient.CancelMetadataJobAsync(name);
CancelMetadataJobAsync(MetadataJobName, CancellationToken)
public virtual Task CancelMetadataJobAsync(MetadataJobName name, CancellationToken cancellationToken)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataJobNameRequired. The resource name of the job, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataJobName name = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]");
// Make the request
await catalogServiceClient.CancelMetadataJobAsync(name);
CancelMetadataJobAsync(string, CallSettings)
public virtual Task CancelMetadataJobAsync(string name, CallSettings callSettings = null)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataJobs/[METADATAJOB]";
// Make the request
await catalogServiceClient.CancelMetadataJobAsync(name);
CancelMetadataJobAsync(string, CancellationToken)
public virtual Task CancelMetadataJobAsync(string name, CancellationToken cancellationToken)Cancels a metadata job.
If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the job, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataJobs/[METADATAJOB]";
// Make the request
await catalogServiceClient.CancelMetadataJobAsync(name);
Create()
public static CatalogServiceClient Create()Synchronously creates a CatalogServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CatalogServiceClientBuilder.
| Returns | |
|---|---|
| Type | Description |
CatalogServiceClient |
The created CatalogServiceClient. |
CreateAspectType(LocationName, AspectType, string, CallSettings)
public virtual Operation CreateAspectType(LocationName parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where |
aspectType |
AspectTypeRequired. AspectType Resource. |
aspectTypeId |
stringRequired. AspectType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAspectTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateAspectType(parent, aspectType, aspectTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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 CreateAspectType(CreateAspectTypeRequest request, CallSettings callSettings = null) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAspectTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateAspectType(request);
// Poll until the returned long-running operation is complete
Operation 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 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 CreateAspectType(string parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where |
aspectType |
AspectTypeRequired. AspectType Resource. |
aspectTypeId |
stringRequired. AspectType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAspectTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateAspectType(parent, aspectType, aspectTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateAspectTypeAsync(LocationName parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where |
aspectType |
AspectTypeRequired. AspectType Resource. |
aspectTypeId |
stringRequired. AspectType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateAspectTypeAsync(LocationName parent, AspectType aspectType, string aspectTypeId, CancellationToken cancellationToken) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where |
aspectType |
AspectTypeRequired. AspectType Resource. |
aspectTypeId |
stringRequired. AspectType identifier. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateAspectTypeAsync(CreateAspectTypeRequest request, CallSettings callSettings = null) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateAspectTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateAspectTypeAsync(CreateAspectTypeRequest request, CancellationToken cancellationToken) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAspectTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateAspectTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateAspectTypeAsync(string parent, AspectType aspectType, string aspectTypeId, CallSettings callSettings = null) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where |
aspectType |
AspectTypeRequired. AspectType Resource. |
aspectTypeId |
stringRequired. AspectType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateAspectTypeAsync(string parent, AspectType aspectType, string aspectTypeId, CancellationToken cancellationToken) Creates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where |
aspectType |
AspectTypeRequired. AspectType Resource. |
aspectTypeId |
stringRequired. AspectType identifier. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateAspectTypeAsync(parent, aspectType, aspectTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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 CreateAsync(CancellationToken cancellationToken = default) Asynchronously creates a CatalogServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CatalogServiceClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogServiceClient |
The task representing the created CatalogServiceClient. |
CreateEntry(CreateEntryRequest, CallSettings)
public virtual Entry CreateEntry(CreateEntryRequest request, CallSettings callSettings = null)Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateEntryRequest request = new gcdv::CreateEntryRequest
{
ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
EntryId = "",
Entry = new gcdv::Entry(),
};
// Make the request
gcdv::Entry response = catalogServiceClient.CreateEntry(request);
CreateEntry(EntryGroupName, Entry, string, CallSettings)
public virtual Entry CreateEntry(EntryGroupName parent, Entry entry, string entryId, CallSettings callSettings = null)Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
entry |
EntryRequired. Entry resource. |
entryId |
stringRequired. Entry identifier. It has to be unique within an Entry Group. Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names. The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name. For example, if the full resource name of a resource is
It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud. The maximum size of the field is 4000 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
gcdv::Entry entry = new gcdv::Entry();
string entryId = "";
// Make the request
gcdv::Entry response = catalogServiceClient.CreateEntry(parent, entry, entryId);
CreateEntry(string, Entry, string, CallSettings)
public virtual Entry CreateEntry(string parent, Entry entry, string entryId, CallSettings callSettings = null)Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
entry |
EntryRequired. Entry resource. |
entryId |
stringRequired. Entry identifier. It has to be unique within an Entry Group. Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names. The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name. For example, if the full resource name of a resource is
It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud. The maximum size of the field is 4000 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 CreateEntryAsync(CreateEntryRequest request, CallSettings callSettings = null) Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 CreateEntryAsync(CreateEntryRequest request, CancellationToken cancellationToken) Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 CreateEntryAsync(EntryGroupName parent, Entry entry, string entryId, CallSettings callSettings = null) Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
entry |
EntryRequired. Entry resource. |
entryId |
stringRequired. Entry identifier. It has to be unique within an Entry Group. Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names. The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name. For example, if the full resource name of a resource is
It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud. The maximum size of the field is 4000 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 CreateEntryAsync(EntryGroupName parent, Entry entry, string entryId, CancellationToken cancellationToken) Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
entry |
EntryRequired. Entry resource. |
entryId |
stringRequired. Entry identifier. It has to be unique within an Entry Group. Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names. The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name. For example, if the full resource name of a resource is
It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud. The maximum size of the field is 4000 characters. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 CreateEntryAsync(string parent, Entry entry, string entryId, CallSettings callSettings = null) Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
entry |
EntryRequired. Entry resource. |
entryId |
stringRequired. Entry identifier. It has to be unique within an Entry Group. Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names. The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name. For example, if the full resource name of a resource is
It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud. The maximum size of the field is 4000 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 CreateEntryAsync(string parent, Entry entry, string entryId, CancellationToken cancellationToken) Creates an Entry.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
entry |
EntryRequired. Entry resource. |
entryId |
stringRequired. Entry identifier. It has to be unique within an Entry Group. Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names. The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name. For example, if the full resource name of a resource is
It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud. The maximum size of the field is 4000 characters. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 CreateEntryGroup(LocationName parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the entryGroup, of the form:
projects/{project_number}/locations/{location_id}
where |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
entryGroupId |
stringRequired. EntryGroup identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryGroupOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateEntryGroup(parent, entryGroup, entryGroupId);
// Poll until the returned long-running operation is complete
Operation 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 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 CreateEntryGroup(CreateEntryGroupRequest request, CallSettings callSettings = null) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryGroupOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateEntryGroup(request);
// Poll until the returned long-running operation is complete
Operation 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 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 CreateEntryGroup(string parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the entryGroup, of the form:
projects/{project_number}/locations/{location_id}
where |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
entryGroupId |
stringRequired. EntryGroup identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryGroupOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateEntryGroup(parent, entryGroup, entryGroupId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryGroupAsync(LocationName parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the entryGroup, of the form:
projects/{project_number}/locations/{location_id}
where |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
entryGroupId |
stringRequired. EntryGroup identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryGroupAsync(LocationName parent, EntryGroup entryGroup, string entryGroupId, CancellationToken cancellationToken) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the entryGroup, of the form:
projects/{project_number}/locations/{location_id}
where |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
entryGroupId |
stringRequired. EntryGroup identifier. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryGroupAsync(CreateEntryGroupRequest request, CallSettings callSettings = null) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryGroupAsync(CreateEntryGroupRequest request, CancellationToken cancellationToken) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryGroupAsync(string parent, EntryGroup entryGroup, string entryGroupId, CallSettings callSettings = null) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the entryGroup, of the form:
projects/{project_number}/locations/{location_id}
where |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
entryGroupId |
stringRequired. EntryGroup identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryGroupAsync(string parent, EntryGroup entryGroup, string entryGroupId, CancellationToken cancellationToken) Creates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the entryGroup, of the form:
projects/{project_number}/locations/{location_id}
where |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
entryGroupId |
stringRequired. EntryGroup identifier. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryGroupAsync(parent, entryGroup, entryGroupId);
// Poll until the returned long-running operation is complete
Operation 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 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;
}
CreateEntryLink(CreateEntryLinkRequest, CallSettings)
public virtual EntryLink CreateEntryLink(CreateEntryLinkRequest request, CallSettings callSettings = null)Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateEntryLinkRequest request = new gcdv::CreateEntryLinkRequest
{
ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
EntryLinkId = "",
EntryLink = new gcdv::EntryLink(),
};
// Make the request
gcdv::EntryLink response = catalogServiceClient.CreateEntryLink(request);
CreateEntryLink(EntryGroupName, EntryLink, string, CallSettings)
public virtual EntryLink CreateEntryLink(EntryGroupName parent, EntryLink entryLink, string entryLinkId, CallSettings callSettings = null)Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
entryLink |
EntryLinkRequired. Entry Link resource. |
entryLinkId |
stringRequired. Entry Link identifier
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
gcdv::EntryLink entryLink = new gcdv::EntryLink();
string entryLinkId = "";
// Make the request
gcdv::EntryLink response = catalogServiceClient.CreateEntryLink(parent, entryLink, entryLinkId);
CreateEntryLink(string, EntryLink, string, CallSettings)
public virtual EntryLink CreateEntryLink(string parent, EntryLink entryLink, string entryLinkId, CallSettings callSettings = null)Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
entryLink |
EntryLinkRequired. Entry Link resource. |
entryLinkId |
stringRequired. Entry Link identifier
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
gcdv::EntryLink entryLink = new gcdv::EntryLink();
string entryLinkId = "";
// Make the request
gcdv::EntryLink response = catalogServiceClient.CreateEntryLink(parent, entryLink, entryLinkId);
CreateEntryLinkAsync(CreateEntryLinkRequest, CallSettings)
public virtual Task CreateEntryLinkAsync(CreateEntryLinkRequest request, CallSettings callSettings = null) Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryLinkRequest request = new gcdv::CreateEntryLinkRequest
{
ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
EntryLinkId = "",
EntryLink = new gcdv::EntryLink(),
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.CreateEntryLinkAsync(request);
CreateEntryLinkAsync(CreateEntryLinkRequest, CancellationToken)
public virtual Task CreateEntryLinkAsync(CreateEntryLinkRequest request, CancellationToken cancellationToken) Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryLinkRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateEntryLinkRequest request = new gcdv::CreateEntryLinkRequest
{
ParentAsEntryGroupName = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
EntryLinkId = "",
EntryLink = new gcdv::EntryLink(),
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.CreateEntryLinkAsync(request);
CreateEntryLinkAsync(EntryGroupName, EntryLink, string, CallSettings)
public virtual Task CreateEntryLinkAsync(EntryGroupName parent, EntryLink entryLink, string entryLinkId, CallSettings callSettings = null) Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
entryLink |
EntryLinkRequired. Entry Link resource. |
entryLinkId |
stringRequired. Entry Link identifier
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
gcdv::EntryLink entryLink = new gcdv::EntryLink();
string entryLinkId = "";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.CreateEntryLinkAsync(parent, entryLink, entryLinkId);
CreateEntryLinkAsync(EntryGroupName, EntryLink, string, CancellationToken)
public virtual Task CreateEntryLinkAsync(EntryGroupName parent, EntryLink entryLink, string entryLinkId, CancellationToken cancellationToken) Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
entryLink |
EntryLinkRequired. Entry Link resource. |
entryLinkId |
stringRequired. Entry Link identifier
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryGroupName parent = gcdv::EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
gcdv::EntryLink entryLink = new gcdv::EntryLink();
string entryLinkId = "";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.CreateEntryLinkAsync(parent, entryLink, entryLinkId);
CreateEntryLinkAsync(string, EntryLink, string, CallSettings)
public virtual Task CreateEntryLinkAsync(string parent, EntryLink entryLink, string entryLinkId, CallSettings callSettings = null) Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
entryLink |
EntryLinkRequired. Entry Link resource. |
entryLinkId |
stringRequired. Entry Link identifier
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
gcdv::EntryLink entryLink = new gcdv::EntryLink();
string entryLinkId = "";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.CreateEntryLinkAsync(parent, entryLink, entryLinkId);
CreateEntryLinkAsync(string, EntryLink, string, CancellationToken)
public virtual Task CreateEntryLinkAsync(string parent, EntryLink entryLink, string entryLinkId, CancellationToken cancellationToken) Creates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
entryLink |
EntryLinkRequired. Entry Link resource. |
entryLinkId |
stringRequired. Entry Link identifier
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
gcdv::EntryLink entryLink = new gcdv::EntryLink();
string entryLinkId = "";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.CreateEntryLinkAsync(parent, entryLink, entryLinkId);
CreateEntryType(LocationName, EntryType, string, CallSettings)
public virtual Operation CreateEntryType(LocationName parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the EntryType, of the form:
projects/{project_number}/locations/{location_id}
where |
entryType |
EntryTypeRequired. EntryType Resource. |
entryTypeId |
stringRequired. EntryType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateEntryType(parent, entryType, entryTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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 CreateEntryType(CreateEntryTypeRequest request, CallSettings callSettings = null) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateEntryType(request);
// Poll until the returned long-running operation is complete
Operation 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 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 CreateEntryType(string parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the EntryType, of the form:
projects/{project_number}/locations/{location_id}
where |
entryType |
EntryTypeRequired. EntryType Resource. |
entryTypeId |
stringRequired. EntryType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.CreateEntryType(parent, entryType, entryTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryTypeAsync(LocationName parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the EntryType, of the form:
projects/{project_number}/locations/{location_id}
where |
entryType |
EntryTypeRequired. EntryType Resource. |
entryTypeId |
stringRequired. EntryType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryTypeAsync(LocationName parent, EntryType entryType, string entryTypeId, CancellationToken cancellationToken) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the EntryType, of the form:
projects/{project_number}/locations/{location_id}
where |
entryType |
EntryTypeRequired. EntryType Resource. |
entryTypeId |
stringRequired. EntryType identifier. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryTypeAsync(CreateEntryTypeRequest request, CallSettings callSettings = null) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryTypeAsync(CreateEntryTypeRequest request, CancellationToken cancellationToken) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryTypeAsync(string parent, EntryType entryType, string entryTypeId, CallSettings callSettings = null) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the EntryType, of the form:
projects/{project_number}/locations/{location_id}
where |
entryType |
EntryTypeRequired. EntryType Resource. |
entryTypeId |
stringRequired. EntryType identifier. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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> CreateEntryTypeAsync(string parent, EntryType entryType, string entryTypeId, CancellationToken cancellationToken) Creates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the EntryType, of the form:
projects/{project_number}/locations/{location_id}
where |
entryType |
EntryTypeRequired. EntryType Resource. |
entryTypeId |
stringRequired. EntryType identifier. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.CreateEntryTypeAsync(parent, entryType, entryTypeId);
// Poll until the returned long-running operation is complete
Operation 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 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;
}
CreateMetadataFeed(LocationName, MetadataFeed, string, CallSettings)
public virtual Operation CreateMetadataFeed(LocationName parent, MetadataFeed metadataFeed, string metadataFeedId, CallSettings callSettings = null) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
metadataFeed |
MetadataFeedRequired. The metadata job resource. |
metadataFeedId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataFeedOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
string metadataFeedId = "";
// Make the request
Operation response = catalogServiceClient.CreateMetadataFeed(parent, metadataFeed, metadataFeedId);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceCreateMetadataFeed(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeed(CreateMetadataFeedRequest, CallSettings)
public virtual Operation CreateMetadataFeed(CreateMetadataFeedRequest request, CallSettings callSettings = null) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataFeedOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateMetadataFeedRequest request = new gcdv::CreateMetadataFeedRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MetadataFeed = new gcdv::MetadataFeed(),
MetadataFeedId = "",
ValidateOnly = false,
};
// Make the request
Operation response = catalogServiceClient.CreateMetadataFeed(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceCreateMetadataFeed(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeed(string, MetadataFeed, string, CallSettings)
public virtual Operation CreateMetadataFeed(string parent, MetadataFeed metadataFeed, string metadataFeedId, CallSettings callSettings = null) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
metadataFeed |
MetadataFeedRequired. The metadata job resource. |
metadataFeedId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataFeedOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
string metadataFeedId = "";
// Make the request
Operation response = catalogServiceClient.CreateMetadataFeed(parent, metadataFeed, metadataFeedId);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceCreateMetadataFeed(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeedAsync(LocationName, MetadataFeed, string, CallSettings)
public virtual Task> CreateMetadataFeedAsync(LocationName parent, MetadataFeed metadataFeed, string metadataFeedId, CallSettings callSettings = null) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
metadataFeed |
MetadataFeedRequired. The metadata job resource. |
metadataFeedId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
string metadataFeedId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataFeedAsync(parent, metadataFeed, metadataFeedId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeedAsync(LocationName, MetadataFeed, string, CancellationToken)
public virtual Task> CreateMetadataFeedAsync(LocationName parent, MetadataFeed metadataFeed, string metadataFeedId, CancellationToken cancellationToken) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
metadataFeed |
MetadataFeedRequired. The metadata job resource. |
metadataFeedId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
string metadataFeedId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataFeedAsync(parent, metadataFeed, metadataFeedId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeedAsync(CreateMetadataFeedRequest, CallSettings)
public virtual Task> CreateMetadataFeedAsync(CreateMetadataFeedRequest request, CallSettings callSettings = null) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateMetadataFeedRequest request = new gcdv::CreateMetadataFeedRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MetadataFeed = new gcdv::MetadataFeed(),
MetadataFeedId = "",
ValidateOnly = false,
};
// Make the request
Operation response = await catalogServiceClient.CreateMetadataFeedAsync(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeedAsync(CreateMetadataFeedRequest, CancellationToken)
public virtual Task> CreateMetadataFeedAsync(CreateMetadataFeedRequest request, CancellationToken cancellationToken) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMetadataFeedRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateMetadataFeedRequest request = new gcdv::CreateMetadataFeedRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MetadataFeed = new gcdv::MetadataFeed(),
MetadataFeedId = "",
ValidateOnly = false,
};
// Make the request
Operation response = await catalogServiceClient.CreateMetadataFeedAsync(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeedAsync(string, MetadataFeed, string, CallSettings)
public virtual Task> CreateMetadataFeedAsync(string parent, MetadataFeed metadataFeed, string metadataFeedId, CallSettings callSettings = null) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
metadataFeed |
MetadataFeedRequired. The metadata job resource. |
metadataFeedId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
string metadataFeedId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataFeedAsync(parent, metadataFeed, metadataFeedId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataFeedAsync(string, MetadataFeed, string, CancellationToken)
public virtual Task> CreateMetadataFeedAsync(string parent, MetadataFeed metadataFeed, string metadataFeedId, CancellationToken cancellationToken) Creates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
metadataFeed |
MetadataFeedRequired. The metadata job resource. |
metadataFeedId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
string metadataFeedId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataFeedAsync(parent, metadataFeed, metadataFeedId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
CreateMetadataJob(LocationName, MetadataJob, string, CallSettings)
public virtual Operation CreateMetadataJob(LocationName parent, MetadataJob metadataJob, string metadataJobId, CallSettings callSettings = null) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
metadataJob |
MetadataJobRequired. The metadata job resource. |
metadataJobId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataJobOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::MetadataJob metadataJob = new gcdv::MetadataJob();
string metadataJobId = "";
// Make the request
Operation response = catalogServiceClient.CreateMetadataJob(parent, metadataJob, metadataJobId);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceCreateMetadataJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJob(CreateMetadataJobRequest, CallSettings)
public virtual Operation CreateMetadataJob(CreateMetadataJobRequest request, CallSettings callSettings = null) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMetadataJobRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataJobOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::CreateMetadataJobRequest request = new gcdv::CreateMetadataJobRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MetadataJob = new gcdv::MetadataJob(),
MetadataJobId = "",
ValidateOnly = false,
};
// Make the request
Operation response = catalogServiceClient.CreateMetadataJob(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceCreateMetadataJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJob(string, MetadataJob, string, CallSettings)
public virtual Operation CreateMetadataJob(string parent, MetadataJob metadataJob, string metadataJobId, CallSettings callSettings = null) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
metadataJob |
MetadataJobRequired. The metadata job resource. |
metadataJobId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataJobOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::MetadataJob metadataJob = new gcdv::MetadataJob();
string metadataJobId = "";
// Make the request
Operation response = catalogServiceClient.CreateMetadataJob(parent, metadataJob, metadataJobId);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceCreateMetadataJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJobAsync(LocationName, MetadataJob, string, CallSettings)
public virtual Task> CreateMetadataJobAsync(LocationName parent, MetadataJob metadataJob, string metadataJobId, CallSettings callSettings = null) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
metadataJob |
MetadataJobRequired. The metadata job resource. |
metadataJobId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataJobOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::MetadataJob metadataJob = new gcdv::MetadataJob();
string metadataJobId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataJobAsync(parent, metadataJob, metadataJobId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJobAsync(LocationName, MetadataJob, string, CancellationToken)
public virtual Task> CreateMetadataJobAsync(LocationName parent, MetadataJob metadataJob, string metadataJobId, CancellationToken cancellationToken) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
metadataJob |
MetadataJobRequired. The metadata job resource. |
metadataJobId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataJobOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::MetadataJob metadataJob = new gcdv::MetadataJob();
string metadataJobId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataJobAsync(parent, metadataJob, metadataJobId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJobAsync(CreateMetadataJobRequest, CallSettings)
public virtual Task> CreateMetadataJobAsync(CreateMetadataJobRequest request, CallSettings callSettings = null) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMetadataJobRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataJobOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateMetadataJobRequest request = new gcdv::CreateMetadataJobRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MetadataJob = new gcdv::MetadataJob(),
MetadataJobId = "",
ValidateOnly = false,
};
// Make the request
Operation response = await catalogServiceClient.CreateMetadataJobAsync(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJobAsync(CreateMetadataJobRequest, CancellationToken)
public virtual Task> CreateMetadataJobAsync(CreateMetadataJobRequest request, CancellationToken cancellationToken) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMetadataJobRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataJobOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateMetadataJobRequest request = new gcdv::CreateMetadataJobRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MetadataJob = new gcdv::MetadataJob(),
MetadataJobId = "",
ValidateOnly = false,
};
// Make the request
Operation response = await catalogServiceClient.CreateMetadataJobAsync(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJobAsync(string, MetadataJob, string, CallSettings)
public virtual Task> CreateMetadataJobAsync(string parent, MetadataJob metadataJob, string metadataJobId, CallSettings callSettings = null) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
metadataJob |
MetadataJobRequired. The metadata job resource. |
metadataJobId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataJobOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::MetadataJob metadataJob = new gcdv::MetadataJob();
string metadataJobId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataJobAsync(parent, metadataJob, metadataJobId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
CreateMetadataJobAsync(string, MetadataJob, string, CancellationToken)
public virtual Task> CreateMetadataJobAsync(string parent, MetadataJob metadataJob, string metadataJobId, CancellationToken cancellationToken) Creates a metadata job. For example, use a metadata job to import metadata from a third-party system into Dataplex Universal Catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
metadataJob |
MetadataJobRequired. The metadata job resource. |
metadataJobId |
stringOptional. The metadata job ID. If not provided, a unique ID is generated
with the prefix |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataJobOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::MetadataJob metadataJob = new gcdv::MetadataJob();
string metadataJobId = "";
// Make the request
Operation response = await catalogServiceClient.CreateMetadataJobAsync(parent, metadataJob, metadataJobId);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataJob result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceCreateMetadataJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataJob retrievedResult = retrievedResponse.Result;
}
DeleteAspectType(AspectTypeName, CallSettings)
public virtual Operation DeleteAspectType(AspectTypeName name, CallSettings callSettings = null) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
AspectTypeNameRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteAspectType(name);
// Poll until the returned long-running operation is complete
Operation 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 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 DeleteAspectType(DeleteAspectTypeRequest request, CallSettings callSettings = null) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteAspectType(request);
// Poll until the returned long-running operation is complete
Operation 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 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 DeleteAspectType(string name, CallSettings callSettings = null) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteAspectType(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteAspectTypeAsync(AspectTypeName name, CallSettings callSettings = null) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
AspectTypeNameRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteAspectTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteAspectTypeAsync(AspectTypeName name, CancellationToken cancellationToken) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
AspectTypeNameRequired. The resource name of the AspectType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteAspectTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteAspectTypeAsync(DeleteAspectTypeRequest request, CallSettings callSettings = null) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteAspectTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteAspectTypeAsync(DeleteAspectTypeRequest request, CancellationToken cancellationToken) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAspectTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteAspectTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteAspectTypeAsync(string name, CallSettings callSettings = null) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteAspectTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteAspectTypeAsync(string name, CancellationToken cancellationToken) Deletes an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the AspectType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteAspectTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = await catalogServiceClient.PollOnceDeleteAspectTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntry(DeleteEntryRequest, CallSettings)
public virtual Entry DeleteEntry(DeleteEntryRequest request, CallSettings callSettings = null)Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteEntryRequest request = new gcdv::DeleteEntryRequest
{
EntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
gcdv::Entry response = catalogServiceClient.DeleteEntry(request);
DeleteEntry(EntryName, CallSettings)
public virtual Entry DeleteEntry(EntryName name, CallSettings callSettings = null)Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryName name = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
gcdv::Entry response = catalogServiceClient.DeleteEntry(name);
DeleteEntry(string, CallSettings)
public virtual Entry DeleteEntry(string name, CallSettings callSettings = null)Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 DeleteEntryAsync(DeleteEntryRequest request, CallSettings callSettings = null) Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 DeleteEntryAsync(DeleteEntryRequest request, CancellationToken cancellationToken) Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 DeleteEntryAsync(EntryName name, CallSettings callSettings = null) Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 DeleteEntryAsync(EntryName name, CancellationToken cancellationToken) Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The resource name of the Entry:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 DeleteEntryAsync(string name, CallSettings callSettings = null) Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 DeleteEntryAsync(string name, CancellationToken cancellationToken) Deletes an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 DeleteEntryGroup(DeleteEntryGroupRequest request, CallSettings callSettings = null) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteEntryGroup(request);
// Poll until the returned long-running operation is complete
Operation 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 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 DeleteEntryGroup(EntryGroupName name, CallSettings callSettings = null) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteEntryGroup(name);
// Poll until the returned long-running operation is complete
Operation 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 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 DeleteEntryGroup(string name, CallSettings callSettings = null) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteEntryGroup(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryGroupAsync(DeleteEntryGroupRequest request, CallSettings callSettings = null) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryGroupAsync(DeleteEntryGroupRequest request, CancellationToken cancellationToken) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryGroupAsync(EntryGroupName name, CallSettings callSettings = null) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The resource name of the EntryGroup:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryGroupAsync(string name, CallSettings callSettings = null) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryGroupAsync(string name, CancellationToken cancellationToken) Deletes an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryGroup:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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;
}
DeleteEntryLink(DeleteEntryLinkRequest, CallSettings)
public virtual EntryLink DeleteEntryLink(DeleteEntryLinkRequest request, CallSettings callSettings = null)Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteEntryLinkRequest request = new gcdv::DeleteEntryLinkRequest
{
EntryLinkName = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]"),
};
// Make the request
gcdv::EntryLink response = catalogServiceClient.DeleteEntryLink(request);
DeleteEntryLink(EntryLinkName, CallSettings)
public virtual EntryLink DeleteEntryLink(EntryLinkName name, CallSettings callSettings = null)Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryLinkNameRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryLinkName name = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]");
// Make the request
gcdv::EntryLink response = catalogServiceClient.DeleteEntryLink(name);
DeleteEntryLink(string, CallSettings)
public virtual EntryLink DeleteEntryLink(string name, CallSettings callSettings = null)Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entryLinks/[ENTRY_LINK]";
// Make the request
gcdv::EntryLink response = catalogServiceClient.DeleteEntryLink(name);
DeleteEntryLinkAsync(DeleteEntryLinkRequest, CallSettings)
public virtual Task DeleteEntryLinkAsync(DeleteEntryLinkRequest request, CallSettings callSettings = null) Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryLinkRequest request = new gcdv::DeleteEntryLinkRequest
{
EntryLinkName = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]"),
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.DeleteEntryLinkAsync(request);
DeleteEntryLinkAsync(DeleteEntryLinkRequest, CancellationToken)
public virtual Task DeleteEntryLinkAsync(DeleteEntryLinkRequest request, CancellationToken cancellationToken) Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryLinkRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteEntryLinkRequest request = new gcdv::DeleteEntryLinkRequest
{
EntryLinkName = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]"),
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.DeleteEntryLinkAsync(request);
DeleteEntryLinkAsync(EntryLinkName, CallSettings)
public virtual Task DeleteEntryLinkAsync(EntryLinkName name, CallSettings callSettings = null) Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryLinkNameRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryLinkName name = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]");
// Make the request
gcdv::EntryLink response = await catalogServiceClient.DeleteEntryLinkAsync(name);
DeleteEntryLinkAsync(EntryLinkName, CancellationToken)
public virtual Task DeleteEntryLinkAsync(EntryLinkName name, CancellationToken cancellationToken) Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryLinkNameRequired. The resource name of the Entry Link:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryLinkName name = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]");
// Make the request
gcdv::EntryLink response = await catalogServiceClient.DeleteEntryLinkAsync(name);
DeleteEntryLinkAsync(string, CallSettings)
public virtual Task DeleteEntryLinkAsync(string name, CallSettings callSettings = null) Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entryLinks/[ENTRY_LINK]";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.DeleteEntryLinkAsync(name);
DeleteEntryLinkAsync(string, CancellationToken)
public virtual Task DeleteEntryLinkAsync(string name, CancellationToken cancellationToken) Deletes an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry Link:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entryLinks/[ENTRY_LINK]";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.DeleteEntryLinkAsync(name);
DeleteEntryType(DeleteEntryTypeRequest, CallSettings)
public virtual Operation DeleteEntryType(DeleteEntryTypeRequest request, CallSettings callSettings = null) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteEntryType(request);
// Poll until the returned long-running operation is complete
Operation 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 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 DeleteEntryType(EntryTypeName name, CallSettings callSettings = null) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryTypeNameRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteEntryType(name);
// Poll until the returned long-running operation is complete
Operation 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 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 DeleteEntryType(string name, CallSettings callSettings = null) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.DeleteEntryType(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryTypeAsync(DeleteEntryTypeRequest request, CallSettings callSettings = null) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryTypeAsync(DeleteEntryTypeRequest request, CancellationToken cancellationToken) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryTypeAsync(EntryTypeName name, CallSettings callSettings = null) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryTypeNameRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryTypeAsync(EntryTypeName name, CancellationToken cancellationToken) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryTypeNameRequired. The resource name of the EntryType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryTypeAsync(string name, CallSettings callSettings = null) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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> DeleteEntryTypeAsync(string name, CancellationToken cancellationToken) Deletes an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.DeleteEntryTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 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;
}
DeleteMetadataFeed(DeleteMetadataFeedRequest, CallSettings)
public virtual Operation DeleteMetadataFeed(DeleteMetadataFeedRequest request, CallSettings callSettings = null) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::DeleteMetadataFeedRequest request = new gcdv::DeleteMetadataFeedRequest
{
MetadataFeedName = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]"),
};
// Make the request
Operation response = catalogServiceClient.DeleteMetadataFeed(request);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = catalogServiceClient.PollOnceDeleteMetadataFeed(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;
}
DeleteMetadataFeed(MetadataFeedName, CallSettings)
public virtual Operation DeleteMetadataFeed(MetadataFeedName name, CallSettings callSettings = null) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataFeedNameRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::MetadataFeedName name = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]");
// Make the request
Operation response = catalogServiceClient.DeleteMetadataFeed(name);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = catalogServiceClient.PollOnceDeleteMetadataFeed(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;
}
DeleteMetadataFeed(string, CallSettings)
public virtual Operation DeleteMetadataFeed(string name, CallSettings callSettings = null) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataFeeds/[METADATA_FEED]";
// Make the request
Operation response = catalogServiceClient.DeleteMetadataFeed(name);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = catalogServiceClient.PollOnceDeleteMetadataFeed(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;
}
DeleteMetadataFeedAsync(DeleteMetadataFeedRequest, CallSettings)
public virtual Task> DeleteMetadataFeedAsync(DeleteMetadataFeedRequest request, CallSettings callSettings = null) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteMetadataFeedRequest request = new gcdv::DeleteMetadataFeedRequest
{
MetadataFeedName = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]"),
};
// Make the request
Operation response = await catalogServiceClient.DeleteMetadataFeedAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = await catalogServiceClient.PollOnceDeleteMetadataFeedAsync(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;
}
DeleteMetadataFeedAsync(DeleteMetadataFeedRequest, CancellationToken)
public virtual Task> DeleteMetadataFeedAsync(DeleteMetadataFeedRequest request, CancellationToken cancellationToken) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMetadataFeedRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteMetadataFeedRequest request = new gcdv::DeleteMetadataFeedRequest
{
MetadataFeedName = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]"),
};
// Make the request
Operation response = await catalogServiceClient.DeleteMetadataFeedAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = await catalogServiceClient.PollOnceDeleteMetadataFeedAsync(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;
}
DeleteMetadataFeedAsync(MetadataFeedName, CallSettings)
public virtual Task> DeleteMetadataFeedAsync(MetadataFeedName name, CallSettings callSettings = null) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataFeedNameRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataFeedName name = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]");
// Make the request
Operation response = await catalogServiceClient.DeleteMetadataFeedAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = await catalogServiceClient.PollOnceDeleteMetadataFeedAsync(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;
}
DeleteMetadataFeedAsync(MetadataFeedName, CancellationToken)
public virtual Task> DeleteMetadataFeedAsync(MetadataFeedName name, CancellationToken cancellationToken) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataFeedNameRequired. The resource name of the metadata feed, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataFeedName name = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]");
// Make the request
Operation response = await catalogServiceClient.DeleteMetadataFeedAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = await catalogServiceClient.PollOnceDeleteMetadataFeedAsync(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;
}
DeleteMetadataFeedAsync(string, CallSettings)
public virtual Task> DeleteMetadataFeedAsync(string name, CallSettings callSettings = null) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataFeeds/[METADATA_FEED]";
// Make the request
Operation response = await catalogServiceClient.DeleteMetadataFeedAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = await catalogServiceClient.PollOnceDeleteMetadataFeedAsync(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;
}
DeleteMetadataFeedAsync(string, CancellationToken)
public virtual Task> DeleteMetadataFeedAsync(string name, CancellationToken cancellationToken) Deletes a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata feed, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataFeeds/[METADATA_FEED]";
// Make the request
Operation response = await catalogServiceClient.DeleteMetadataFeedAsync(name);
// Poll until the returned long-running operation is complete
Operation 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 retrievedResponse = await catalogServiceClient.PollOnceDeleteMetadataFeedAsync(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)Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
AspectTypeNameRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AspectType |
The RPC response. |
// 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)Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AspectType |
The RPC response. |
// 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)Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AspectType |
The RPC response. |
// 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 GetAspectTypeAsync(AspectTypeName name, CallSettings callSettings = null) Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
AspectTypeNameRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAspectType |
A Task containing the RPC response. |
// 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 GetAspectTypeAsync(AspectTypeName name, CancellationToken cancellationToken) Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
AspectTypeNameRequired. The resource name of the AspectType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAspectType |
A Task containing the RPC response. |
// 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 GetAspectTypeAsync(GetAspectTypeRequest request, CallSettings callSettings = null) Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAspectType |
A Task containing the RPC response. |
// 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 GetAspectTypeAsync(GetAspectTypeRequest request, CancellationToken cancellationToken) Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAspectTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAspectType |
A Task containing the RPC response. |
// 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 GetAspectTypeAsync(string name, CallSettings callSettings = null) Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the AspectType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAspectType |
A Task containing the RPC response. |
// 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 GetAspectTypeAsync(string name, CancellationToken cancellationToken) Gets an AspectType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the AspectType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAspectType |
A Task containing the RPC response. |
// 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 an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 GetEntryAsync(EntryName name, CallSettings callSettings = null) Gets an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 GetEntryAsync(EntryName name, CancellationToken cancellationToken) Gets an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The resource name of the Entry:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 GetEntryAsync(GetEntryRequest request, CallSettings callSettings = null) Gets an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 GetEntryAsync(GetEntryRequest request, CancellationToken cancellationToken) Gets an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 GetEntryAsync(string name, CallSettings callSettings = null) Gets an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 GetEntryAsync(string name, CancellationToken cancellationToken) Gets an Entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// 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)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// 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)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// 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 GetEntryGroupAsync(EntryGroupName name, CallSettings callSettings = null) Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// 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 GetEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken) Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The resource name of the EntryGroup:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// 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 GetEntryGroupAsync(GetEntryGroupRequest request, CallSettings callSettings = null) Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// 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 GetEntryGroupAsync(GetEntryGroupRequest request, CancellationToken cancellationToken) Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// 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 GetEntryGroupAsync(string name, CallSettings callSettings = null) Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryGroup:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// 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 GetEntryGroupAsync(string name, CancellationToken cancellationToken) Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryGroup:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// 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);
GetEntryLink(EntryLinkName, CallSettings)
public virtual EntryLink GetEntryLink(EntryLinkName name, CallSettings callSettings = null)Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryLinkNameRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryLinkName name = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]");
// Make the request
gcdv::EntryLink response = catalogServiceClient.GetEntryLink(name);
GetEntryLink(GetEntryLinkRequest, CallSettings)
public virtual EntryLink GetEntryLink(GetEntryLinkRequest request, CallSettings callSettings = null)Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::GetEntryLinkRequest request = new gcdv::GetEntryLinkRequest
{
EntryLinkName = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]"),
};
// Make the request
gcdv::EntryLink response = catalogServiceClient.GetEntryLink(request);
GetEntryLink(string, CallSettings)
public virtual EntryLink GetEntryLink(string name, CallSettings callSettings = null)Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entryLinks/[ENTRY_LINK]";
// Make the request
gcdv::EntryLink response = catalogServiceClient.GetEntryLink(name);
GetEntryLinkAsync(EntryLinkName, CallSettings)
public virtual Task GetEntryLinkAsync(EntryLinkName name, CallSettings callSettings = null) Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryLinkNameRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryLinkName name = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]");
// Make the request
gcdv::EntryLink response = await catalogServiceClient.GetEntryLinkAsync(name);
GetEntryLinkAsync(EntryLinkName, CancellationToken)
public virtual Task GetEntryLinkAsync(EntryLinkName name, CancellationToken cancellationToken) Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryLinkNameRequired. The resource name of the Entry Link:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryLinkName name = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]");
// Make the request
gcdv::EntryLink response = await catalogServiceClient.GetEntryLinkAsync(name);
GetEntryLinkAsync(GetEntryLinkRequest, CallSettings)
public virtual Task GetEntryLinkAsync(GetEntryLinkRequest request, CallSettings callSettings = null) Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryLinkRequest request = new gcdv::GetEntryLinkRequest
{
EntryLinkName = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]"),
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.GetEntryLinkAsync(request);
GetEntryLinkAsync(GetEntryLinkRequest, CancellationToken)
public virtual Task GetEntryLinkAsync(GetEntryLinkRequest request, CancellationToken cancellationToken) Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryLinkRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetEntryLinkRequest request = new gcdv::GetEntryLinkRequest
{
EntryLinkName = gcdv::EntryLinkName.FromProjectLocationEntryGroupEntryLink("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY_LINK]"),
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.GetEntryLinkAsync(request);
GetEntryLinkAsync(string, CallSettings)
public virtual Task GetEntryLinkAsync(string name, CallSettings callSettings = null) Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry Link:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entryLinks/[ENTRY_LINK]";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.GetEntryLinkAsync(name);
GetEntryLinkAsync(string, CancellationToken)
public virtual Task GetEntryLinkAsync(string name, CancellationToken cancellationToken) Gets an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the Entry Link:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entryLinks/[ENTRY_LINK]";
// Make the request
gcdv::EntryLink response = await catalogServiceClient.GetEntryLinkAsync(name);
GetEntryType(EntryTypeName, CallSettings)
public virtual EntryType GetEntryType(EntryTypeName name, CallSettings callSettings = null)Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryTypeNameRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryType |
The RPC response. |
// 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)Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryType |
The RPC response. |
// 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)Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryType |
The RPC response. |
// 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 GetEntryTypeAsync(EntryTypeName name, CallSettings callSettings = null) Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryTypeNameRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryType |
A Task containing the RPC response. |
// 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 GetEntryTypeAsync(EntryTypeName name, CancellationToken cancellationToken) Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryTypeNameRequired. The resource name of the EntryType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryType |
A Task containing the RPC response. |
// 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 GetEntryTypeAsync(GetEntryTypeRequest request, CallSettings callSettings = null) Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryType |
A Task containing the RPC response. |
// 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 GetEntryTypeAsync(GetEntryTypeRequest request, CancellationToken cancellationToken) Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryType |
A Task containing the RPC response. |
// 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 GetEntryTypeAsync(string name, CallSettings callSettings = null) Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryType:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryType |
A Task containing the RPC response. |
// 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 GetEntryTypeAsync(string name, CancellationToken cancellationToken) Gets an EntryType.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the EntryType:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryType |
A Task containing the RPC response. |
// 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);
GetMetadataFeed(GetMetadataFeedRequest, CallSettings)
public virtual MetadataFeed GetMetadataFeed(GetMetadataFeedRequest request, CallSettings callSettings = null)Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MetadataFeed |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::GetMetadataFeedRequest request = new gcdv::GetMetadataFeedRequest
{
MetadataFeedName = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]"),
};
// Make the request
gcdv::MetadataFeed response = catalogServiceClient.GetMetadataFeed(request);
GetMetadataFeed(MetadataFeedName, CallSettings)
public virtual MetadataFeed GetMetadataFeed(MetadataFeedName name, CallSettings callSettings = null)Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataFeedNameRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MetadataFeed |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::MetadataFeedName name = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]");
// Make the request
gcdv::MetadataFeed response = catalogServiceClient.GetMetadataFeed(name);
GetMetadataFeed(string, CallSettings)
public virtual MetadataFeed GetMetadataFeed(string name, CallSettings callSettings = null)Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MetadataFeed |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataFeeds/[METADATA_FEED]";
// Make the request
gcdv::MetadataFeed response = catalogServiceClient.GetMetadataFeed(name);
GetMetadataFeedAsync(GetMetadataFeedRequest, CallSettings)
public virtual Task GetMetadataFeedAsync(GetMetadataFeedRequest request, CallSettings callSettings = null) Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataFeed |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetMetadataFeedRequest request = new gcdv::GetMetadataFeedRequest
{
MetadataFeedName = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]"),
};
// Make the request
gcdv::MetadataFeed response = await catalogServiceClient.GetMetadataFeedAsync(request);
GetMetadataFeedAsync(GetMetadataFeedRequest, CancellationToken)
public virtual Task GetMetadataFeedAsync(GetMetadataFeedRequest request, CancellationToken cancellationToken) Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMetadataFeedRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataFeed |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetMetadataFeedRequest request = new gcdv::GetMetadataFeedRequest
{
MetadataFeedName = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]"),
};
// Make the request
gcdv::MetadataFeed response = await catalogServiceClient.GetMetadataFeedAsync(request);
GetMetadataFeedAsync(MetadataFeedName, CallSettings)
public virtual Task GetMetadataFeedAsync(MetadataFeedName name, CallSettings callSettings = null) Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataFeedNameRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataFeed |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataFeedName name = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]");
// Make the request
gcdv::MetadataFeed response = await catalogServiceClient.GetMetadataFeedAsync(name);
GetMetadataFeedAsync(MetadataFeedName, CancellationToken)
public virtual Task GetMetadataFeedAsync(MetadataFeedName name, CancellationToken cancellationToken) Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataFeedNameRequired. The resource name of the metadata feed, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataFeed |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataFeedName name = gcdv::MetadataFeedName.FromProjectLocationMetadataFeed("[PROJECT]", "[LOCATION]", "[METADATA_FEED]");
// Make the request
gcdv::MetadataFeed response = await catalogServiceClient.GetMetadataFeedAsync(name);
GetMetadataFeedAsync(string, CallSettings)
public virtual Task GetMetadataFeedAsync(string name, CallSettings callSettings = null) Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata feed, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataFeed |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataFeeds/[METADATA_FEED]";
// Make the request
gcdv::MetadataFeed response = await catalogServiceClient.GetMetadataFeedAsync(name);
GetMetadataFeedAsync(string, CancellationToken)
public virtual Task GetMetadataFeedAsync(string name, CancellationToken cancellationToken) Gets a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata feed, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataFeed |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataFeeds/[METADATA_FEED]";
// Make the request
gcdv::MetadataFeed response = await catalogServiceClient.GetMetadataFeedAsync(name);
GetMetadataJob(GetMetadataJobRequest, CallSettings)
public virtual MetadataJob GetMetadataJob(GetMetadataJobRequest request, CallSettings callSettings = null)Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMetadataJobRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MetadataJob |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::GetMetadataJobRequest request = new gcdv::GetMetadataJobRequest
{
MetadataJobName = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]"),
};
// Make the request
gcdv::MetadataJob response = catalogServiceClient.GetMetadataJob(request);
GetMetadataJob(MetadataJobName, CallSettings)
public virtual MetadataJob GetMetadataJob(MetadataJobName name, CallSettings callSettings = null)Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataJobNameRequired. The resource name of the metadata job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MetadataJob |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::MetadataJobName name = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]");
// Make the request
gcdv::MetadataJob response = catalogServiceClient.GetMetadataJob(name);
GetMetadataJob(string, CallSettings)
public virtual MetadataJob GetMetadataJob(string name, CallSettings callSettings = null)Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MetadataJob |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataJobs/[METADATAJOB]";
// Make the request
gcdv::MetadataJob response = catalogServiceClient.GetMetadataJob(name);
GetMetadataJobAsync(GetMetadataJobRequest, CallSettings)
public virtual Task GetMetadataJobAsync(GetMetadataJobRequest request, CallSettings callSettings = null) Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMetadataJobRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataJob |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetMetadataJobRequest request = new gcdv::GetMetadataJobRequest
{
MetadataJobName = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]"),
};
// Make the request
gcdv::MetadataJob response = await catalogServiceClient.GetMetadataJobAsync(request);
GetMetadataJobAsync(GetMetadataJobRequest, CancellationToken)
public virtual Task GetMetadataJobAsync(GetMetadataJobRequest request, CancellationToken cancellationToken) Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMetadataJobRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataJob |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetMetadataJobRequest request = new gcdv::GetMetadataJobRequest
{
MetadataJobName = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]"),
};
// Make the request
gcdv::MetadataJob response = await catalogServiceClient.GetMetadataJobAsync(request);
GetMetadataJobAsync(MetadataJobName, CallSettings)
public virtual Task GetMetadataJobAsync(MetadataJobName name, CallSettings callSettings = null) Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataJobNameRequired. The resource name of the metadata job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataJob |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataJobName name = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]");
// Make the request
gcdv::MetadataJob response = await catalogServiceClient.GetMetadataJobAsync(name);
GetMetadataJobAsync(MetadataJobName, CancellationToken)
public virtual Task GetMetadataJobAsync(MetadataJobName name, CancellationToken cancellationToken) Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
name |
MetadataJobNameRequired. The resource name of the metadata job, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataJob |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataJobName name = gcdv::MetadataJobName.FromProjectLocationMetadataJob("[PROJECT]", "[LOCATION]", "[METADATAJOB]");
// Make the request
gcdv::MetadataJob response = await catalogServiceClient.GetMetadataJobAsync(name);
GetMetadataJobAsync(string, CallSettings)
public virtual Task GetMetadataJobAsync(string name, CallSettings callSettings = null) Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata job, in the format
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataJob |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataJobs/[METADATAJOB]";
// Make the request
gcdv::MetadataJob response = await catalogServiceClient.GetMetadataJobAsync(name);
GetMetadataJobAsync(string, CancellationToken)
public virtual Task GetMetadataJobAsync(string name, CancellationToken cancellationToken) Gets a metadata job.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The resource name of the metadata job, in the format
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMetadataJob |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/metadataJobs/[METADATAJOB]";
// Make the request
gcdv::MetadataJob response = await catalogServiceClient.GetMetadataJobAsync(name);
ListAspectTypes(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable ListAspectTypes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists AspectType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the AspectType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAspectTypesResponseAspectType |
A pageable sequence of AspectType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable 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 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 ListAspectTypes(ListAspectTypesRequest request, CallSettings callSettings = null) Lists AspectType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAspectTypesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAspectTypesResponseAspectType |
A pageable sequence of AspectType resources. |
// 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 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 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 ListAspectTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists AspectType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the AspectType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAspectTypesResponseAspectType |
A pageable sequence of AspectType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable 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 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 ListAspectTypesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists AspectType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the AspectType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAspectTypesResponseAspectType |
A pageable asynchronous sequence of AspectType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListAspectTypesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListAspectTypesAsync(ListAspectTypesRequest request, CallSettings callSettings = null) Lists AspectType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAspectTypesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAspectTypesResponseAspectType |
A pageable asynchronous sequence of AspectType resources. |
// 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 response = catalogServiceClient.ListAspectTypesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListAspectTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists AspectType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the AspectType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAspectTypesResponseAspectType |
A pageable asynchronous sequence of AspectType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListAspectTypesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntries(EntryGroupName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists Entries within an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntriesResponseEntry |
A pageable sequence of Entry resources. |
// 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 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 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 ListEntries(ListEntriesRequest request, CallSettings callSettings = null) Lists Entries within an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntriesResponseEntry |
A pageable sequence of Entry resources. |
// 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 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 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 ListEntries(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists Entries within an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntriesResponseEntry |
A pageable sequence of Entry resources. |
// 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 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 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 ListEntriesAsync(EntryGroupName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists Entries within an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The resource name of the parent Entry Group:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntriesResponseEntry |
A pageable asynchronous sequence of Entry resources. |
// 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 response = catalogServiceClient.ListEntriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntriesAsync(ListEntriesRequest request, CallSettings callSettings = null) Lists Entries within an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntriesResponseEntry |
A pageable asynchronous sequence of Entry resources. |
// 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 response = catalogServiceClient.ListEntriesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntriesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists Entries within an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent Entry Group:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntriesResponseEntry |
A pageable asynchronous sequence of Entry resources. |
// 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 response = catalogServiceClient.ListEntriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntryGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryGroup resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the entryGroup location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntryGroupsResponseEntryGroup |
A pageable sequence of EntryGroup resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable 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 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 ListEntryGroups(ListEntryGroupsRequest request, CallSettings callSettings = null) Lists EntryGroup resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntryGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntryGroupsResponseEntryGroup |
A pageable sequence of EntryGroup resources. |
// 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 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 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 ListEntryGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryGroup resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the entryGroup location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntryGroupsResponseEntryGroup |
A pageable sequence of EntryGroup resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable 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 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 ListEntryGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryGroup resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the entryGroup location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListEntryGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntryGroupsAsync(ListEntryGroupsRequest request, CallSettings callSettings = null) Lists EntryGroup resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntryGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup |
A pageable asynchronous sequence of EntryGroup resources. |
// 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 response = catalogServiceClient.ListEntryGroupsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntryGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryGroup resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the entryGroup location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListEntryGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntryTypes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the EntryType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntryTypesResponseEntryType |
A pageable sequence of EntryType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable 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 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 ListEntryTypes(ListEntryTypesRequest request, CallSettings callSettings = null) Lists EntryType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntryTypesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntryTypesResponseEntryType |
A pageable sequence of EntryType resources. |
// 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 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 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 ListEntryTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the EntryType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntryTypesResponseEntryType |
A pageable sequence of EntryType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable 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 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 ListEntryTypesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the EntryType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntryTypesResponseEntryType |
A pageable asynchronous sequence of EntryType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListEntryTypesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntryTypesAsync(ListEntryTypesRequest request, CallSettings callSettings = null) Lists EntryType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntryTypesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntryTypesResponseEntryType |
A pageable asynchronous sequence of EntryType resources. |
// 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 response = catalogServiceClient.ListEntryTypesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 ListEntryTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists EntryType resources in a project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the EntryType location, of the form:
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntryTypesResponseEntryType |
A pageable asynchronous sequence of EntryType resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListEntryTypesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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;
ListMetadataFeeds(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable ListMetadataFeeds(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Retrieve a list of MetadataFeeds.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMetadataFeedsResponseMetadataFeed |
A pageable sequence of MetadataFeed resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable response = catalogServiceClient.ListMetadataFeeds(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::MetadataFeed 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::ListMetadataFeedsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataFeed 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 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::MetadataFeed 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;
ListMetadataFeeds(ListMetadataFeedsRequest, CallSettings)
public virtual PagedEnumerable ListMetadataFeeds(ListMetadataFeedsRequest request, CallSettings callSettings = null) Retrieve a list of MetadataFeeds.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMetadataFeedsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMetadataFeedsResponseMetadataFeed |
A pageable sequence of MetadataFeed resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::ListMetadataFeedsRequest request = new gcdv::ListMetadataFeedsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable response = catalogServiceClient.ListMetadataFeeds(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::MetadataFeed 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::ListMetadataFeedsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataFeed 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 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::MetadataFeed 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;
ListMetadataFeeds(string, string, int?, CallSettings)
public virtual PagedEnumerable ListMetadataFeeds(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Retrieve a list of MetadataFeeds.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMetadataFeedsResponseMetadataFeed |
A pageable sequence of MetadataFeed resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable response = catalogServiceClient.ListMetadataFeeds(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::MetadataFeed 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::ListMetadataFeedsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataFeed 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 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::MetadataFeed 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;
ListMetadataFeedsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable ListMetadataFeedsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Retrieve a list of MetadataFeeds.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMetadataFeedsResponseMetadataFeed |
A pageable asynchronous sequence of MetadataFeed resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListMetadataFeedsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::MetadataFeed item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListMetadataFeedsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataFeed 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 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::MetadataFeed 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;
ListMetadataFeedsAsync(ListMetadataFeedsRequest, CallSettings)
public virtual PagedAsyncEnumerable ListMetadataFeedsAsync(ListMetadataFeedsRequest request, CallSettings callSettings = null) Retrieve a list of MetadataFeeds.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMetadataFeedsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMetadataFeedsResponseMetadataFeed |
A pageable asynchronous sequence of MetadataFeed resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListMetadataFeedsRequest request = new gcdv::ListMetadataFeedsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListMetadataFeedsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::MetadataFeed item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListMetadataFeedsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataFeed 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 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::MetadataFeed 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;
ListMetadataFeedsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable ListMetadataFeedsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Retrieve a list of MetadataFeeds.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMetadataFeedsResponseMetadataFeed |
A pageable asynchronous sequence of MetadataFeed resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListMetadataFeedsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::MetadataFeed item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListMetadataFeedsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataFeed 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 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::MetadataFeed 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;
ListMetadataJobs(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable ListMetadataJobs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists metadata jobs.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMetadataJobsResponseMetadataJob |
A pageable sequence of MetadataJob resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable response = catalogServiceClient.ListMetadataJobs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::MetadataJob 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::ListMetadataJobsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataJob 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 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::MetadataJob 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;
ListMetadataJobs(ListMetadataJobsRequest, CallSettings)
public virtual PagedEnumerable ListMetadataJobs(ListMetadataJobsRequest request, CallSettings callSettings = null) Lists metadata jobs.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMetadataJobsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMetadataJobsResponseMetadataJob |
A pageable sequence of MetadataJob resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::ListMetadataJobsRequest request = new gcdv::ListMetadataJobsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable response = catalogServiceClient.ListMetadataJobs(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::MetadataJob 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::ListMetadataJobsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataJob 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 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::MetadataJob 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;
ListMetadataJobs(string, string, int?, CallSettings)
public virtual PagedEnumerable ListMetadataJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists metadata jobs.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMetadataJobsResponseMetadataJob |
A pageable sequence of MetadataJob resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable response = catalogServiceClient.ListMetadataJobs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::MetadataJob 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::ListMetadataJobsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataJob 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 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::MetadataJob 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;
ListMetadataJobsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable ListMetadataJobsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists metadata jobs.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMetadataJobsResponseMetadataJob |
A pageable asynchronous sequence of MetadataJob resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListMetadataJobsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::MetadataJob item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListMetadataJobsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataJob 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 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::MetadataJob 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;
ListMetadataJobsAsync(ListMetadataJobsRequest, CallSettings)
public virtual PagedAsyncEnumerable ListMetadataJobsAsync(ListMetadataJobsRequest request, CallSettings callSettings = null) Lists metadata jobs.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMetadataJobsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMetadataJobsResponseMetadataJob |
A pageable asynchronous sequence of MetadataJob resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListMetadataJobsRequest request = new gcdv::ListMetadataJobsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListMetadataJobsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::MetadataJob item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListMetadataJobsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataJob 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 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::MetadataJob 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;
ListMetadataJobsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable ListMetadataJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Lists metadata jobs.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The resource name of the parent location, in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMetadataJobsResponseMetadataJob |
A pageable asynchronous sequence of MetadataJob resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.ListMetadataJobsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::MetadataJob item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListMetadataJobsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::MetadataJob 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 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::MetadataJob 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;
LookupContext(LookupContextRequest, CallSettings)
public virtual LookupContextResponse LookupContext(LookupContextRequest request, CallSettings callSettings = null)Looks up LLM Context for the specified resources.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupContextRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LookupContextResponse |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::LookupContextRequest request = new gcdv::LookupContextRequest
{
Name = "",
ResourcesAsEntryNames =
{
gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
},
Context = "",
Options = { { "", "" }, },
};
// Make the request
gcdv::LookupContextResponse response = catalogServiceClient.LookupContext(request);
LookupContextAsync(LookupContextRequest, CallSettings)
public virtual Task LookupContextAsync(LookupContextRequest request, CallSettings callSettings = null) Looks up LLM Context for the specified resources.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupContextRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLookupContextResponse |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::LookupContextRequest request = new gcdv::LookupContextRequest
{
Name = "",
ResourcesAsEntryNames =
{
gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
},
Context = "",
Options = { { "", "" }, },
};
// Make the request
gcdv::LookupContextResponse response = await catalogServiceClient.LookupContextAsync(request);
LookupContextAsync(LookupContextRequest, CancellationToken)
public virtual Task LookupContextAsync(LookupContextRequest request, CancellationToken cancellationToken) Looks up LLM Context for the specified resources.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupContextRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskLookupContextResponse |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::LookupContextRequest request = new gcdv::LookupContextRequest
{
Name = "",
ResourcesAsEntryNames =
{
gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
},
Context = "",
Options = { { "", "" }, },
};
// Make the request
gcdv::LookupContextResponse response = await catalogServiceClient.LookupContextAsync(request);
LookupEntry(LookupEntryRequest, CallSettings)
public virtual Entry LookupEntry(LookupEntryRequest request, CallSettings callSettings = null)Looks up an entry by name using the permission on the source system.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 LookupEntryAsync(LookupEntryRequest request, CallSettings callSettings = null) Looks up an entry by name using the permission on the source system.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 LookupEntryAsync(LookupEntryRequest request, CancellationToken cancellationToken) Looks up an entry by name using the permission on the source system.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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);
LookupEntryLinks(LookupEntryLinksRequest, CallSettings)
public virtual PagedEnumerable LookupEntryLinks(LookupEntryLinksRequest request, CallSettings callSettings = null) Looks up Entry Links referencing the specified Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryLinksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableLookupEntryLinksResponseEntryLink |
A pageable sequence of EntryLink resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::LookupEntryLinksRequest request = new gcdv::LookupEntryLinksRequest
{
Name = "",
EntryAsEntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
EntryMode = gcdv::LookupEntryLinksRequest.Types.EntryMode.Unspecified,
EntryLinkTypes = { "", },
};
// Make the request
PagedEnumerable response = catalogServiceClient.LookupEntryLinks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::EntryLink 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::LookupEntryLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::EntryLink 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 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::EntryLink 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;
LookupEntryLinksAsync(LookupEntryLinksRequest, CallSettings)
public virtual PagedAsyncEnumerable LookupEntryLinksAsync(LookupEntryLinksRequest request, CallSettings callSettings = null) Looks up Entry Links referencing the specified Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryLinksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableLookupEntryLinksResponseEntryLink |
A pageable asynchronous sequence of EntryLink resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::LookupEntryLinksRequest request = new gcdv::LookupEntryLinksRequest
{
Name = "",
EntryAsEntryName = gcdv::EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
EntryMode = gcdv::LookupEntryLinksRequest.Types.EntryMode.Unspecified,
EntryLinkTypes = { "", },
};
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.LookupEntryLinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::EntryLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::LookupEntryLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::EntryLink 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 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::EntryLink 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;
ModifyEntry(ModifyEntryRequest, CallSettings)
public virtual Entry ModifyEntry(ModifyEntryRequest request, CallSettings callSettings = null)Modifies an entry using the permission on the source system.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::ModifyEntryRequest request = new gcdv::ModifyEntryRequest
{
Name = "",
Entry = new gcdv::Entry(),
UpdateMask = new FieldMask(),
DeleteMissingAspects = false,
AspectKeys = { "", },
};
// Make the request
gcdv::Entry response = catalogServiceClient.ModifyEntry(request);
ModifyEntryAsync(ModifyEntryRequest, CallSettings)
public virtual Task ModifyEntryAsync(ModifyEntryRequest request, CallSettings callSettings = null) Modifies an entry using the permission on the source system.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ModifyEntryRequest request = new gcdv::ModifyEntryRequest
{
Name = "",
Entry = new gcdv::Entry(),
UpdateMask = new FieldMask(),
DeleteMissingAspects = false,
AspectKeys = { "", },
};
// Make the request
gcdv::Entry response = await catalogServiceClient.ModifyEntryAsync(request);
ModifyEntryAsync(ModifyEntryRequest, CancellationToken)
public virtual Task ModifyEntryAsync(ModifyEntryRequest request, CancellationToken cancellationToken) Modifies an entry using the permission on the source system.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::ModifyEntryRequest request = new gcdv::ModifyEntryRequest
{
Name = "",
Entry = new gcdv::Entry(),
UpdateMask = new FieldMask(),
DeleteMissingAspects = false,
AspectKeys = { "", },
};
// Make the request
gcdv::Entry response = await catalogServiceClient.ModifyEntryAsync(request);
PollOnceCreateAspectType(string, CallSettings)
public virtual Operation PollOnceCreateAspectType(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of CreateAspectType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAspectTypeOperationMetadata |
The result of polling the operation. |
PollOnceCreateAspectTypeAsync(string, CallSettings)
public virtual Task> PollOnceCreateAspectTypeAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateAspectType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateEntryGroup(string, CallSettings)
public virtual Operation PollOnceCreateEntryGroup(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of CreateEntryGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryGroupOperationMetadata |
The result of polling the operation. |
PollOnceCreateEntryGroupAsync(string, CallSettings)
public virtual Task> PollOnceCreateEntryGroupAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateEntryGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateEntryType(string, CallSettings)
public virtual Operation PollOnceCreateEntryType(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of CreateEntryType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryTypeOperationMetadata |
The result of polling the operation. |
PollOnceCreateEntryTypeAsync(string, CallSettings)
public virtual Task> PollOnceCreateEntryTypeAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateEntryType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateMetadataFeed(string, CallSettings)
public virtual Operation PollOnceCreateMetadataFeed(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of CreateMetadataFeed
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataFeedOperationMetadata |
The result of polling the operation. |
PollOnceCreateMetadataFeedAsync(string, CallSettings)
public virtual Task> PollOnceCreateMetadataFeedAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateMetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateMetadataJob(string, CallSettings)
public virtual Operation PollOnceCreateMetadataJob(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of CreateMetadataJob
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataJobOperationMetadata |
The result of polling the operation. |
PollOnceCreateMetadataJobAsync(string, CallSettings)
public virtual Task> PollOnceCreateMetadataJobAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateMetadataJob.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataJobOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteAspectType(string, CallSettings)
public virtual Operation PollOnceDeleteAspectType(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of DeleteAspectType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteAspectTypeAsync(string, CallSettings)
public virtual Task> PollOnceDeleteAspectTypeAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteAspectType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteEntryGroup(string, CallSettings)
public virtual Operation PollOnceDeleteEntryGroup(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of DeleteEntryGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteEntryGroupAsync(string, CallSettings)
public virtual Task> PollOnceDeleteEntryGroupAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteEntryGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteEntryType(string, CallSettings)
public virtual Operation PollOnceDeleteEntryType(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of DeleteEntryType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteEntryTypeAsync(string, CallSettings)
public virtual Task> PollOnceDeleteEntryTypeAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteEntryType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteMetadataFeed(string, CallSettings)
public virtual Operation PollOnceDeleteMetadataFeed(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of DeleteMetadataFeed
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteMetadataFeedAsync(string, CallSettings)
public virtual Task> PollOnceDeleteMetadataFeedAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteMetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateAspectType(string, CallSettings)
public virtual Operation PollOnceUpdateAspectType(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of UpdateAspectType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAspectTypeOperationMetadata |
The result of polling the operation. |
PollOnceUpdateAspectTypeAsync(string, CallSettings)
public virtual Task> PollOnceUpdateAspectTypeAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateAspectType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateEntryGroup(string, CallSettings)
public virtual Operation PollOnceUpdateEntryGroup(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of UpdateEntryGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryGroupOperationMetadata |
The result of polling the operation. |
PollOnceUpdateEntryGroupAsync(string, CallSettings)
public virtual Task> PollOnceUpdateEntryGroupAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateEntryGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateEntryType(string, CallSettings)
public virtual Operation PollOnceUpdateEntryType(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of UpdateEntryType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryTypeOperationMetadata |
The result of polling the operation. |
PollOnceUpdateEntryTypeAsync(string, CallSettings)
public virtual Task> PollOnceUpdateEntryTypeAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateEntryType.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateMetadataFeed(string, CallSettings)
public virtual Operation PollOnceUpdateMetadataFeed(string operationName, CallSettings callSettings = null) Poll an operation once, using an operationName from a previous invocation of UpdateMetadataFeed
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataFeedOperationMetadata |
The result of polling the operation. |
PollOnceUpdateMetadataFeedAsync(string, CallSettings)
public virtual Task> PollOnceUpdateMetadataFeedAsync(string operationName, CallSettings callSettings = null) Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateMetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A task representing the result of polling the operation. |
SearchEntries(LocationName, string, string, int?, CallSettings)
public virtual PagedEnumerable SearchEntries(LocationName name, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Searches for Entries matching the given query and scope.
| Parameters | |
|---|---|
| Name | Description |
name |
LocationNameRequired. The project to which the request should be attributed in the
following form: |
query |
stringRequired. The query against which entries in scope should be matched. The query syntax is defined in Search syntax for Dataplex Universal Catalog. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchEntriesResponseSearchEntriesResult |
A pageable sequence of SearchEntriesResult resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
LocationName name = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string query = "";
// Make the request
PagedEnumerable 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 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(SearchEntriesRequest, CallSettings)
public virtual PagedEnumerable SearchEntries(SearchEntriesRequest request, CallSettings callSettings = null) Searches for Entries matching the given query and scope.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchEntriesResponseSearchEntriesResult |
A pageable sequence of SearchEntriesResult resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::SearchEntriesRequest request = new gcdv::SearchEntriesRequest
{
LocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Query = "",
OrderBy = "",
Scope = "",
SemanticSearch = false,
};
// Make the request
PagedEnumerable 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 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 SearchEntries(string name, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Searches for Entries matching the given query and scope.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The project to which the request should be attributed in the
following form: |
query |
stringRequired. The query against which entries in scope should be matched. The query syntax is defined in Search syntax for Dataplex Universal Catalog. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchEntriesResponseSearchEntriesResult |
A pageable sequence of SearchEntriesResult resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]";
string query = "";
// Make the request
PagedEnumerable 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 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(LocationName, string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable SearchEntriesAsync(LocationName name, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Searches for Entries matching the given query and scope.
| Parameters | |
|---|---|
| Name | Description |
name |
LocationNameRequired. The project to which the request should be attributed in the
following form: |
query |
stringRequired. The query against which entries in scope should be matched. The query syntax is defined in Search syntax for Dataplex Universal Catalog. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchEntriesResponseSearchEntriesResult |
A pageable asynchronous sequence of SearchEntriesResult resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName name = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string query = "";
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.SearchEntriesAsync(name, query);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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(SearchEntriesRequest, CallSettings)
public virtual PagedAsyncEnumerable SearchEntriesAsync(SearchEntriesRequest request, CallSettings callSettings = null) Searches for Entries matching the given query and scope.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchEntriesResponseSearchEntriesResult |
A pageable asynchronous sequence of SearchEntriesResult resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::SearchEntriesRequest request = new gcdv::SearchEntriesRequest
{
LocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Query = "",
OrderBy = "",
Scope = "",
SemanticSearch = false,
};
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.SearchEntriesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 SearchEntriesAsync(string name, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null) Searches for Entries matching the given query and scope.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The project to which the request should be attributed in the
following form: |
query |
stringRequired. The query against which entries in scope should be matched. The query syntax is defined in Search syntax for Dataplex Universal Catalog. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchEntriesResponseSearchEntriesResult |
A pageable asynchronous sequence of SearchEntriesResult resources. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]";
string query = "";
// Make the request
PagedAsyncEnumerable response = catalogServiceClient.SearchEntriesAsync(name, query);
// Iterate over all response items, lazily performing RPCs as required
await 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
await 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 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 | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
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 UpdateAspectType(AspectType aspectType, FieldMask updateMask, CallSettings callSettings = null) Updates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
aspectType |
AspectTypeRequired. AspectType Resource |
updateMask |
FieldMaskRequired. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAspectTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.UpdateAspectType(aspectType, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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 UpdateAspectType(UpdateAspectTypeRequest request, CallSettings callSettings = null) Updates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAspectTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.UpdateAspectType(request);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateAspectTypeAsync(AspectType aspectType, FieldMask updateMask, CallSettings callSettings = null) Updates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
aspectType |
AspectTypeRequired. AspectType Resource |
updateMask |
FieldMaskRequired. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateAspectTypeAsync(aspectType, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateAspectTypeAsync(AspectType aspectType, FieldMask updateMask, CancellationToken cancellationToken) Updates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
aspectType |
AspectTypeRequired. AspectType Resource |
updateMask |
FieldMaskRequired. Mask of fields to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateAspectTypeAsync(aspectType, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateAspectTypeAsync(UpdateAspectTypeRequest request, CallSettings callSettings = null) Updates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAspectTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateAspectTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateAspectTypeAsync(UpdateAspectTypeRequest request, CancellationToken cancellationToken) Updates an AspectType.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAspectTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAspectTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateAspectTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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 | |
|---|---|
| Name | Description |
entry |
EntryRequired. Entry resource. |
updateMask |
FieldMaskOptional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects". If the update_mask is empty, the service will update all modifiable fields present in the request. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// 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 UpdateEntryAsync(Entry entry, FieldMask updateMask, CallSettings callSettings = null) Updates an Entry.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Entry resource. |
updateMask |
FieldMaskOptional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects". If the update_mask is empty, the service will update all modifiable fields present in the request. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 UpdateEntryAsync(Entry entry, FieldMask updateMask, CancellationToken cancellationToken) Updates an Entry.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Entry resource. |
updateMask |
FieldMaskOptional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects". If the update_mask is empty, the service will update all modifiable fields present in the request. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 UpdateEntryAsync(UpdateEntryRequest request, CallSettings callSettings = null) Updates an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 UpdateEntryAsync(UpdateEntryRequest request, CancellationToken cancellationToken) Updates an Entry.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// 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 UpdateEntryGroup(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null) Updates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
updateMask |
FieldMaskRequired. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryGroupOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.UpdateEntryGroup(entryGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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 UpdateEntryGroup(UpdateEntryGroupRequest request, CallSettings callSettings = null) Updates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryGroupOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.UpdateEntryGroup(request);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null) Updates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
updateMask |
FieldMaskRequired. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryGroupAsync(entryGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CancellationToken cancellationToken) Updates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. EntryGroup Resource. |
updateMask |
FieldMaskRequired. Mask of fields to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryGroupAsync(entryGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryGroupAsync(UpdateEntryGroupRequest request, CallSettings callSettings = null) Updates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryGroupAsync(UpdateEntryGroupRequest request, CancellationToken cancellationToken) Updates an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryGroupOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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;
}
UpdateEntryLink(EntryLink, CallSettings)
public virtual EntryLink UpdateEntryLink(EntryLink entryLink, CallSettings callSettings = null)Updates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
entryLink |
EntryLinkRequired. Entry Link resource. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::EntryLink entryLink = new gcdv::EntryLink();
// Make the request
gcdv::EntryLink response = catalogServiceClient.UpdateEntryLink(entryLink);
UpdateEntryLink(UpdateEntryLinkRequest, CallSettings)
public virtual EntryLink UpdateEntryLink(UpdateEntryLinkRequest request, CallSettings callSettings = null)Updates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryLink |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateEntryLinkRequest request = new gcdv::UpdateEntryLinkRequest
{
EntryLink = new gcdv::EntryLink(),
AllowMissing = false,
AspectKeys = { "", },
};
// Make the request
gcdv::EntryLink response = catalogServiceClient.UpdateEntryLink(request);
UpdateEntryLinkAsync(EntryLink, CallSettings)
public virtual Task UpdateEntryLinkAsync(EntryLink entryLink, CallSettings callSettings = null) Updates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
entryLink |
EntryLinkRequired. Entry Link resource. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryLink entryLink = new gcdv::EntryLink();
// Make the request
gcdv::EntryLink response = await catalogServiceClient.UpdateEntryLinkAsync(entryLink);
UpdateEntryLinkAsync(EntryLink, CancellationToken)
public virtual Task UpdateEntryLinkAsync(EntryLink entryLink, CancellationToken cancellationToken) Updates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
entryLink |
EntryLinkRequired. Entry Link resource. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::EntryLink entryLink = new gcdv::EntryLink();
// Make the request
gcdv::EntryLink response = await catalogServiceClient.UpdateEntryLinkAsync(entryLink);
UpdateEntryLinkAsync(UpdateEntryLinkRequest, CallSettings)
public virtual Task UpdateEntryLinkAsync(UpdateEntryLinkRequest request, CallSettings callSettings = null) Updates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryLinkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryLinkRequest request = new gcdv::UpdateEntryLinkRequest
{
EntryLink = new gcdv::EntryLink(),
AllowMissing = false,
AspectKeys = { "", },
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.UpdateEntryLinkAsync(request);
UpdateEntryLinkAsync(UpdateEntryLinkRequest, CancellationToken)
public virtual Task UpdateEntryLinkAsync(UpdateEntryLinkRequest request, CancellationToken cancellationToken) Updates an Entry Link.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryLinkRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryLink |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateEntryLinkRequest request = new gcdv::UpdateEntryLinkRequest
{
EntryLink = new gcdv::EntryLink(),
AllowMissing = false,
AspectKeys = { "", },
};
// Make the request
gcdv::EntryLink response = await catalogServiceClient.UpdateEntryLinkAsync(request);
UpdateEntryType(EntryType, FieldMask, CallSettings)
public virtual Operation UpdateEntryType(EntryType entryType, FieldMask updateMask, CallSettings callSettings = null) Updates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
entryType |
EntryTypeRequired. EntryType Resource. |
updateMask |
FieldMaskRequired. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.UpdateEntryType(entryType, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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 UpdateEntryType(UpdateEntryTypeRequest request, CallSettings callSettings = null) Updates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEntryTypeOperationMetadata |
The RPC response. |
// 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 response = catalogServiceClient.UpdateEntryType(request);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryTypeAsync(EntryType entryType, FieldMask updateMask, CallSettings callSettings = null) Updates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
entryType |
EntryTypeRequired. EntryType Resource. |
updateMask |
FieldMaskRequired. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryTypeAsync(entryType, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryTypeAsync(EntryType entryType, FieldMask updateMask, CancellationToken cancellationToken) Updates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
entryType |
EntryTypeRequired. EntryType Resource. |
updateMask |
FieldMaskRequired. Mask of fields to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryTypeAsync(entryType, updateMask);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryTypeAsync(UpdateEntryTypeRequest request, CallSettings callSettings = null) Updates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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> UpdateEntryTypeAsync(UpdateEntryTypeRequest request, CancellationToken cancellationToken) Updates an EntryType.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryTypeRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEntryTypeOperationMetadata |
A Task containing the RPC response. |
// 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 response = await catalogServiceClient.UpdateEntryTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation 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 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;
}
UpdateMetadataFeed(MetadataFeed, FieldMask, CallSettings)
public virtual Operation UpdateMetadataFeed(MetadataFeed metadataFeed, FieldMask updateMask, CallSettings callSettings = null) Updates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
metadataFeed |
MetadataFeedRequired. Update description.
Only fields specified in |
updateMask |
FieldMaskOptional. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataFeedOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
FieldMask updateMask = new FieldMask();
// Make the request
Operation response = catalogServiceClient.UpdateMetadataFeed(metadataFeed, updateMask);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceUpdateMetadataFeed(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
UpdateMetadataFeed(UpdateMetadataFeedRequest, CallSettings)
public virtual Operation UpdateMetadataFeed(UpdateMetadataFeedRequest request, CallSettings callSettings = null) Updates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataFeedOperationMetadata |
The RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = gcdv::CatalogServiceClient.Create();
// Initialize request argument(s)
gcdv::UpdateMetadataFeedRequest request = new gcdv::UpdateMetadataFeedRequest
{
MetadataFeed = new gcdv::MetadataFeed(),
UpdateMask = new FieldMask(),
ValidateOnly = false,
};
// Make the request
Operation response = catalogServiceClient.UpdateMetadataFeed(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = catalogServiceClient.PollOnceUpdateMetadataFeed(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
UpdateMetadataFeedAsync(MetadataFeed, FieldMask, CallSettings)
public virtual Task> UpdateMetadataFeedAsync(MetadataFeed metadataFeed, FieldMask updateMask, CallSettings callSettings = null) Updates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
metadataFeed |
MetadataFeedRequired. Update description.
Only fields specified in |
updateMask |
FieldMaskOptional. Mask of fields to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
FieldMask updateMask = new FieldMask();
// Make the request
Operation response = await catalogServiceClient.UpdateMetadataFeedAsync(metadataFeed, updateMask);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceUpdateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
UpdateMetadataFeedAsync(MetadataFeed, FieldMask, CancellationToken)
public virtual Task> UpdateMetadataFeedAsync(MetadataFeed metadataFeed, FieldMask updateMask, CancellationToken cancellationToken) Updates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
metadataFeed |
MetadataFeedRequired. Update description.
Only fields specified in |
updateMask |
FieldMaskOptional. Mask of fields to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::MetadataFeed metadataFeed = new gcdv::MetadataFeed();
FieldMask updateMask = new FieldMask();
// Make the request
Operation response = await catalogServiceClient.UpdateMetadataFeedAsync(metadataFeed, updateMask);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceUpdateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
UpdateMetadataFeedAsync(UpdateMetadataFeedRequest, CallSettings)
public virtual Task> UpdateMetadataFeedAsync(UpdateMetadataFeedRequest request, CallSettings callSettings = null) Updates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMetadataFeedRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateMetadataFeedRequest request = new gcdv::UpdateMetadataFeedRequest
{
MetadataFeed = new gcdv::MetadataFeed(),
UpdateMask = new FieldMask(),
ValidateOnly = false,
};
// Make the request
Operation response = await catalogServiceClient.UpdateMetadataFeedAsync(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceUpdateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}
UpdateMetadataFeedAsync(UpdateMetadataFeedRequest, CancellationToken)
public virtual Task> UpdateMetadataFeedAsync(UpdateMetadataFeedRequest request, CancellationToken cancellationToken) Updates a MetadataFeed.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMetadataFeedRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMetadataFeedOperationMetadata |
A Task containing the RPC response. |
// Create client
gcdv::CatalogServiceClient catalogServiceClient = await gcdv::CatalogServiceClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateMetadataFeedRequest request = new gcdv::UpdateMetadataFeedRequest
{
MetadataFeed = new gcdv::MetadataFeed(),
UpdateMask = new FieldMask(),
ValidateOnly = false,
};
// Make the request
Operation response = await catalogServiceClient.UpdateMetadataFeedAsync(request);
// Poll until the returned long-running operation is complete
Operation completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
gcdv::MetadataFeed result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation retrievedResponse = await catalogServiceClient.PollOnceUpdateMetadataFeedAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
gcdv::MetadataFeed retrievedResult = retrievedResponse.Result;
}