Contact Center AI Insights v1 API - Class ContactCenterInsightsClient (2.4.0)

public abstract class ContactCenterInsightsClient

Reference documentation and code samples for the Contact Center AI Insights v1 API class ContactCenterInsightsClient.

ContactCenterInsights client wrapper, for convenient use.

Inheritance

object > ContactCenterInsightsClient

Namespace

GoogleCloudGoogle.Cloud.ContactCenterInsightsV1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Remarks

An API that lets users analyze and explore their business conversation data.

Properties

BulkAnalyzeConversationsOperationsClient

public virtual OperationsClient BulkAnalyzeConversationsOperationsClient { get; }

The long-running operations client for BulkAnalyzeConversations.

Property Value
TypeDescription
OperationsClient

CreateAnalysisOperationsClient

public virtual OperationsClient CreateAnalysisOperationsClient { get; }

The long-running operations client for CreateAnalysis.

Property Value
TypeDescription
OperationsClient

CreateIssueModelOperationsClient

public virtual OperationsClient CreateIssueModelOperationsClient { get; }

The long-running operations client for CreateIssueModel.

Property Value
TypeDescription
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

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

Property Value
TypeDescription
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default ContactCenterInsights scopes.

Property Value
TypeDescription
IReadOnlyListstring
Remarks

The default ContactCenterInsights scopes are:

DeleteIssueModelOperationsClient

public virtual OperationsClient DeleteIssueModelOperationsClient { get; }

The long-running operations client for DeleteIssueModel.

Property Value
TypeDescription
OperationsClient

DeployIssueModelOperationsClient

public virtual OperationsClient DeployIssueModelOperationsClient { get; }

The long-running operations client for DeployIssueModel.

Property Value
TypeDescription
OperationsClient

ExportInsightsDataOperationsClient

public virtual OperationsClient ExportInsightsDataOperationsClient { get; }

The long-running operations client for ExportInsightsData.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual ContactCenterInsights.ContactCenterInsightsClient GrpcClient { get; }

The underlying gRPC ContactCenterInsights client

Property Value
TypeDescription
ContactCenterInsightsContactCenterInsightsClient

IngestConversationsOperationsClient

public virtual OperationsClient IngestConversationsOperationsClient { get; }

The long-running operations client for IngestConversations.

Property Value
TypeDescription
OperationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

UndeployIssueModelOperationsClient

public virtual OperationsClient UndeployIssueModelOperationsClient { get; }

The long-running operations client for UndeployIssueModel.

Property Value
TypeDescription
OperationsClient

Methods

BulkAnalyzeConversations(LocationName, string, float, CallSettings)

public virtual Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> BulkAnalyzeConversations(LocationName parent, string filter, float analysisPercentage, CallSettings callSettings = null)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
parentLocationName

Required. The parent resource to create analyses in.

filterstring

Required. Filter used to select the subset of conversations to analyze.

analysisPercentagefloat

Required. Percentage of selected conversation to analyze, between [0, 100].

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string filter = "";
float analysisPercentage = 0F;
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = contactCenterInsightsClient.BulkAnalyzeConversations(parent, filter, analysisPercentage);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversations(BulkAnalyzeConversationsRequest, CallSettings)

public virtual Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> BulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, CallSettings callSettings = null)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
BulkAnalyzeConversationsRequest request = new BulkAnalyzeConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    AnalysisPercentage = 0F,
    AnnotatorSelector = new AnnotatorSelector(),
};
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = contactCenterInsightsClient.BulkAnalyzeConversations(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversations(string, string, float, CallSettings)

public virtual Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> BulkAnalyzeConversations(string parent, string filter, float analysisPercentage, CallSettings callSettings = null)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
parentstring

Required. The parent resource to create analyses in.

filterstring

Required. Filter used to select the subset of conversations to analyze.

analysisPercentagefloat

Required. Percentage of selected conversation to analyze, between [0, 100].

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string filter = "";
float analysisPercentage = 0F;
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = contactCenterInsightsClient.BulkAnalyzeConversations(parent, filter, analysisPercentage);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversationsAsync(LocationName, string, float, CallSettings)

public virtual Task<Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata>> BulkAnalyzeConversationsAsync(LocationName parent, string filter, float analysisPercentage, CallSettings callSettings = null)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
parentLocationName

Required. The parent resource to create analyses in.

filterstring

Required. Filter used to select the subset of conversations to analyze.

analysisPercentagefloat

Required. Percentage of selected conversation to analyze, between [0, 100].

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string filter = "";
float analysisPercentage = 0F;
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversationsAsync(LocationName, string, float, CancellationToken)

public virtual Task<Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata>> BulkAnalyzeConversationsAsync(LocationName parent, string filter, float analysisPercentage, CancellationToken cancellationToken)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
parentLocationName

Required. The parent resource to create analyses in.

filterstring

Required. Filter used to select the subset of conversations to analyze.

analysisPercentagefloat

Required. Percentage of selected conversation to analyze, between [0, 100].

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string filter = "";
float analysisPercentage = 0F;
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest, CallSettings)

public virtual Task<Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata>> BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest request, CallSettings callSettings = null)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkAnalyzeConversationsRequest request = new BulkAnalyzeConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    AnalysisPercentage = 0F,
    AnnotatorSelector = new AnnotatorSelector(),
};
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest, CancellationToken)

public virtual Task<Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata>> BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest request, CancellationToken cancellationToken)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
BulkAnalyzeConversationsRequest request = new BulkAnalyzeConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    AnalysisPercentage = 0F,
    AnnotatorSelector = new AnnotatorSelector(),
};
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversationsAsync(string, string, float, CallSettings)

public virtual Task<Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata>> BulkAnalyzeConversationsAsync(string parent, string filter, float analysisPercentage, CallSettings callSettings = null)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
parentstring

Required. The parent resource to create analyses in.

filterstring

Required. Filter used to select the subset of conversations to analyze.

analysisPercentagefloat

Required. Percentage of selected conversation to analyze, between [0, 100].

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string filter = "";
float analysisPercentage = 0F;
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

BulkAnalyzeConversationsAsync(string, string, float, CancellationToken)

public virtual Task<Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata>> BulkAnalyzeConversationsAsync(string parent, string filter, float analysisPercentage, CancellationToken cancellationToken)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
parentstring

Required. The parent resource to create analyses in.

filterstring

Required. Filter used to select the subset of conversations to analyze.

analysisPercentagefloat

Required. Percentage of selected conversation to analyze, between [0, 100].

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string filter = "";
float analysisPercentage = 0F;
// Make the request
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result;
}

CalculateIssueModelStats(CalculateIssueModelStatsRequest, CallSettings)

public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(CalculateIssueModelStatsRequest request, CallSettings callSettings = null)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CalculateIssueModelStatsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CalculateIssueModelStatsRequest request = new CalculateIssueModelStatsRequest
{
    IssueModelAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(request);

CalculateIssueModelStats(IssueModelName, CallSettings)

public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(IssueModelName issueModel, CallSettings callSettings = null)

Gets an issue model's statistics.

Parameters
NameDescription
issueModelIssueModelName

Required. The resource name of the issue model to query against.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CalculateIssueModelStatsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueModelName issueModel = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(issueModel);

CalculateIssueModelStats(string, CallSettings)

public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(string issueModel, CallSettings callSettings = null)

Gets an issue model's statistics.

Parameters
NameDescription
issueModelstring

Required. The resource name of the issue model to query against.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CalculateIssueModelStatsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string issueModel = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(issueModel);

CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest, CallSettings)

public virtual Task<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest request, CallSettings callSettings = null)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCalculateIssueModelStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CalculateIssueModelStatsRequest request = new CalculateIssueModelStatsRequest
{
    IssueModelAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(request);

CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest, CancellationToken)

public virtual Task<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest request, CancellationToken cancellationToken)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCalculateIssueModelStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CalculateIssueModelStatsRequest request = new CalculateIssueModelStatsRequest
{
    IssueModelAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(request);

CalculateIssueModelStatsAsync(IssueModelName, CallSettings)

public virtual Task<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(IssueModelName issueModel, CallSettings callSettings = null)

Gets an issue model's statistics.

Parameters
NameDescription
issueModelIssueModelName

Required. The resource name of the issue model to query against.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCalculateIssueModelStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName issueModel = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel);

CalculateIssueModelStatsAsync(IssueModelName, CancellationToken)

public virtual Task<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(IssueModelName issueModel, CancellationToken cancellationToken)

Gets an issue model's statistics.

Parameters
NameDescription
issueModelIssueModelName

Required. The resource name of the issue model to query against.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCalculateIssueModelStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName issueModel = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel);

CalculateIssueModelStatsAsync(string, CallSettings)

public virtual Task<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(string issueModel, CallSettings callSettings = null)

Gets an issue model's statistics.

Parameters
NameDescription
issueModelstring

Required. The resource name of the issue model to query against.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCalculateIssueModelStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string issueModel = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel);

CalculateIssueModelStatsAsync(string, CancellationToken)

public virtual Task<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(string issueModel, CancellationToken cancellationToken)

Gets an issue model's statistics.

Parameters
NameDescription
issueModelstring

Required. The resource name of the issue model to query against.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCalculateIssueModelStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string issueModel = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel);

CalculateStats(LocationName, CallSettings)

public virtual CalculateStatsResponse CalculateStats(LocationName location, CallSettings callSettings = null)

Gets conversation statistics.

Parameters
NameDescription
locationLocationName

Required. The location of the conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CalculateStatsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(location);

CalculateStats(CalculateStatsRequest, CallSettings)

public virtual CalculateStatsResponse CalculateStats(CalculateStatsRequest request, CallSettings callSettings = null)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CalculateStatsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CalculateStatsRequest request = new CalculateStatsRequest
{
    LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(request);

CalculateStats(string, CallSettings)

public virtual CalculateStatsResponse CalculateStats(string location, CallSettings callSettings = null)

Gets conversation statistics.

Parameters
NameDescription
locationstring

Required. The location of the conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CalculateStatsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(location);

CalculateStatsAsync(LocationName, CallSettings)

public virtual Task<CalculateStatsResponse> CalculateStatsAsync(LocationName location, CallSettings callSettings = null)

Gets conversation statistics.

Parameters
NameDescription
locationLocationName

Required. The location of the conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCalculateStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location);

CalculateStatsAsync(LocationName, CancellationToken)

public virtual Task<CalculateStatsResponse> CalculateStatsAsync(LocationName location, CancellationToken cancellationToken)

Gets conversation statistics.

Parameters
NameDescription
locationLocationName

Required. The location of the conversations.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCalculateStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location);

CalculateStatsAsync(CalculateStatsRequest, CallSettings)

public virtual Task<CalculateStatsResponse> CalculateStatsAsync(CalculateStatsRequest request, CallSettings callSettings = null)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCalculateStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CalculateStatsRequest request = new CalculateStatsRequest
{
    LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(request);

CalculateStatsAsync(CalculateStatsRequest, CancellationToken)

public virtual Task<CalculateStatsResponse> CalculateStatsAsync(CalculateStatsRequest request, CancellationToken cancellationToken)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCalculateStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CalculateStatsRequest request = new CalculateStatsRequest
{
    LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(request);

CalculateStatsAsync(string, CallSettings)

public virtual Task<CalculateStatsResponse> CalculateStatsAsync(string location, CallSettings callSettings = null)

Gets conversation statistics.

Parameters
NameDescription
locationstring

Required. The location of the conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCalculateStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location);

CalculateStatsAsync(string, CancellationToken)

public virtual Task<CalculateStatsResponse> CalculateStatsAsync(string location, CancellationToken cancellationToken)

Gets conversation statistics.

Parameters
NameDescription
locationstring

Required. The location of the conversations.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCalculateStatsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location);

Create()

public static ContactCenterInsightsClient Create()

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

Returns
TypeDescription
ContactCenterInsightsClient

The created ContactCenterInsightsClient.

CreateAnalysis(ConversationName, Analysis, CallSettings)

public virtual Operation<Analysis, CreateAnalysisOperationMetadata> CreateAnalysis(ConversationName parent, Analysis analysis, CallSettings callSettings = null)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
parentConversationName

Required. The parent resource of the analysis.

analysisAnalysis

Required. The analysis to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAnalysisCreateAnalysisOperationMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
Analysis analysis = new Analysis();
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = contactCenterInsightsClient.CreateAnalysis(parent, analysis);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysis(CreateAnalysisRequest, CallSettings)

public virtual Operation<Analysis, CreateAnalysisOperationMetadata> CreateAnalysis(CreateAnalysisRequest request, CallSettings callSettings = null)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
requestCreateAnalysisRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAnalysisCreateAnalysisOperationMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateAnalysisRequest request = new CreateAnalysisRequest
{
    ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Analysis = new Analysis(),
};
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = contactCenterInsightsClient.CreateAnalysis(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysis(string, Analysis, CallSettings)

public virtual Operation<Analysis, CreateAnalysisOperationMetadata> CreateAnalysis(string parent, Analysis analysis, CallSettings callSettings = null)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
parentstring

Required. The parent resource of the analysis.

analysisAnalysis

Required. The analysis to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAnalysisCreateAnalysisOperationMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
Analysis analysis = new Analysis();
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = contactCenterInsightsClient.CreateAnalysis(parent, analysis);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(ConversationName, Analysis, CallSettings)

public virtual Task<Operation<Analysis, CreateAnalysisOperationMetadata>> CreateAnalysisAsync(ConversationName parent, Analysis analysis, CallSettings callSettings = null)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
parentConversationName

Required. The parent resource of the analysis.

analysisAnalysis

Required. The analysis to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAnalysisCreateAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
Analysis analysis = new Analysis();
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(ConversationName, Analysis, CancellationToken)

public virtual Task<Operation<Analysis, CreateAnalysisOperationMetadata>> CreateAnalysisAsync(ConversationName parent, Analysis analysis, CancellationToken cancellationToken)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
parentConversationName

Required. The parent resource of the analysis.

analysisAnalysis

Required. The analysis to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAnalysisCreateAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
Analysis analysis = new Analysis();
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(CreateAnalysisRequest, CallSettings)

public virtual Task<Operation<Analysis, CreateAnalysisOperationMetadata>> CreateAnalysisAsync(CreateAnalysisRequest request, CallSettings callSettings = null)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
requestCreateAnalysisRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAnalysisCreateAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateAnalysisRequest request = new CreateAnalysisRequest
{
    ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Analysis = new Analysis(),
};
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = await contactCenterInsightsClient.CreateAnalysisAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(CreateAnalysisRequest, CancellationToken)

public virtual Task<Operation<Analysis, CreateAnalysisOperationMetadata>> CreateAnalysisAsync(CreateAnalysisRequest request, CancellationToken cancellationToken)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
requestCreateAnalysisRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAnalysisCreateAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateAnalysisRequest request = new CreateAnalysisRequest
{
    ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Analysis = new Analysis(),
};
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = await contactCenterInsightsClient.CreateAnalysisAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(string, Analysis, CallSettings)

public virtual Task<Operation<Analysis, CreateAnalysisOperationMetadata>> CreateAnalysisAsync(string parent, Analysis analysis, CallSettings callSettings = null)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
parentstring

Required. The parent resource of the analysis.

analysisAnalysis

Required. The analysis to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAnalysisCreateAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
Analysis analysis = new Analysis();
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(string, Analysis, CancellationToken)

public virtual Task<Operation<Analysis, CreateAnalysisOperationMetadata>> CreateAnalysisAsync(string parent, Analysis analysis, CancellationToken cancellationToken)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
parentstring

Required. The parent resource of the analysis.

analysisAnalysis

Required. The analysis to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAnalysisCreateAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
Analysis analysis = new Analysis();
// Make the request
Operation<Analysis, CreateAnalysisOperationMetadata> response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, CreateAnalysisOperationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAsync(CancellationToken)

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

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

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskContactCenterInsightsClient

The task representing the created ContactCenterInsightsClient.

CreateConversation(LocationName, Conversation, string, CallSettings)

public virtual Conversation CreateConversation(LocationName parent, Conversation conversation, string conversationId, CallSettings callSettings = null)

Creates a conversation.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the conversation.

conversationConversation

Required. The conversation resource to create.

conversationIdstring

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Conversation conversation = new Conversation();
string conversationId = "";
// Make the request
Conversation response = contactCenterInsightsClient.CreateConversation(parent, conversation, conversationId);

CreateConversation(CreateConversationRequest, CallSettings)

public virtual Conversation CreateConversation(CreateConversationRequest request, CallSettings callSettings = null)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateConversationRequest request = new CreateConversationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Conversation = new Conversation(),
    ConversationId = "",
};
// Make the request
Conversation response = contactCenterInsightsClient.CreateConversation(request);

CreateConversation(string, Conversation, string, CallSettings)

public virtual Conversation CreateConversation(string parent, Conversation conversation, string conversationId, CallSettings callSettings = null)

Creates a conversation.

Parameters
NameDescription
parentstring

Required. The parent resource of the conversation.

conversationConversation

Required. The conversation resource to create.

conversationIdstring

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Conversation conversation = new Conversation();
string conversationId = "";
// Make the request
Conversation response = contactCenterInsightsClient.CreateConversation(parent, conversation, conversationId);

CreateConversationAsync(LocationName, Conversation, string, CallSettings)

public virtual Task<Conversation> CreateConversationAsync(LocationName parent, Conversation conversation, string conversationId, CallSettings callSettings = null)

Creates a conversation.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the conversation.

conversationConversation

Required. The conversation resource to create.

conversationIdstring

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Conversation conversation = new Conversation();
string conversationId = "";
// Make the request
Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId);

CreateConversationAsync(LocationName, Conversation, string, CancellationToken)

public virtual Task<Conversation> CreateConversationAsync(LocationName parent, Conversation conversation, string conversationId, CancellationToken cancellationToken)

Creates a conversation.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the conversation.

conversationConversation

Required. The conversation resource to create.

conversationIdstring

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Conversation conversation = new Conversation();
string conversationId = "";
// Make the request
Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId);

CreateConversationAsync(CreateConversationRequest, CallSettings)

public virtual Task<Conversation> CreateConversationAsync(CreateConversationRequest request, CallSettings callSettings = null)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateConversationRequest request = new CreateConversationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Conversation = new Conversation(),
    ConversationId = "",
};
// Make the request
Conversation response = await contactCenterInsightsClient.CreateConversationAsync(request);

CreateConversationAsync(CreateConversationRequest, CancellationToken)

public virtual Task<Conversation> CreateConversationAsync(CreateConversationRequest request, CancellationToken cancellationToken)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateConversationRequest request = new CreateConversationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Conversation = new Conversation(),
    ConversationId = "",
};
// Make the request
Conversation response = await contactCenterInsightsClient.CreateConversationAsync(request);

CreateConversationAsync(string, Conversation, string, CallSettings)

public virtual Task<Conversation> CreateConversationAsync(string parent, Conversation conversation, string conversationId, CallSettings callSettings = null)

Creates a conversation.

Parameters
NameDescription
parentstring

Required. The parent resource of the conversation.

conversationConversation

Required. The conversation resource to create.

conversationIdstring

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Conversation conversation = new Conversation();
string conversationId = "";
// Make the request
Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId);

CreateConversationAsync(string, Conversation, string, CancellationToken)

public virtual Task<Conversation> CreateConversationAsync(string parent, Conversation conversation, string conversationId, CancellationToken cancellationToken)

Creates a conversation.

Parameters
NameDescription
parentstring

Required. The parent resource of the conversation.

conversationConversation

Required. The conversation resource to create.

conversationIdstring

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Conversation conversation = new Conversation();
string conversationId = "";
// Make the request
Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId);

CreateIssueModel(LocationName, IssueModel, CallSettings)

public virtual Operation<IssueModel, CreateIssueModelMetadata> CreateIssueModel(LocationName parent, IssueModel issueModel, CallSettings callSettings = null)

Creates an issue model.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the issue model.

issueModelIssueModel

Required. The issue model to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIssueModelCreateIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
IssueModel issueModel = new IssueModel();
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = contactCenterInsightsClient.CreateIssueModel(parent, issueModel);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModel(CreateIssueModelRequest, CallSettings)

public virtual Operation<IssueModel, CreateIssueModelMetadata> CreateIssueModel(CreateIssueModelRequest request, CallSettings callSettings = null)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIssueModelCreateIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateIssueModelRequest request = new CreateIssueModelRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    IssueModel = new IssueModel(),
};
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = contactCenterInsightsClient.CreateIssueModel(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModel(string, IssueModel, CallSettings)

public virtual Operation<IssueModel, CreateIssueModelMetadata> CreateIssueModel(string parent, IssueModel issueModel, CallSettings callSettings = null)

Creates an issue model.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue model.

issueModelIssueModel

Required. The issue model to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIssueModelCreateIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
IssueModel issueModel = new IssueModel();
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = contactCenterInsightsClient.CreateIssueModel(parent, issueModel);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModelAsync(LocationName, IssueModel, CallSettings)

public virtual Task<Operation<IssueModel, CreateIssueModelMetadata>> CreateIssueModelAsync(LocationName parent, IssueModel issueModel, CallSettings callSettings = null)

Creates an issue model.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the issue model.

issueModelIssueModel

Required. The issue model to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIssueModelCreateIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
IssueModel issueModel = new IssueModel();
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModelAsync(LocationName, IssueModel, CancellationToken)

public virtual Task<Operation<IssueModel, CreateIssueModelMetadata>> CreateIssueModelAsync(LocationName parent, IssueModel issueModel, CancellationToken cancellationToken)

Creates an issue model.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the issue model.

issueModelIssueModel

Required. The issue model to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationIssueModelCreateIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
IssueModel issueModel = new IssueModel();
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModelAsync(CreateIssueModelRequest, CallSettings)

public virtual Task<Operation<IssueModel, CreateIssueModelMetadata>> CreateIssueModelAsync(CreateIssueModelRequest request, CallSettings callSettings = null)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIssueModelCreateIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateIssueModelRequest request = new CreateIssueModelRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    IssueModel = new IssueModel(),
};
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = await contactCenterInsightsClient.CreateIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModelAsync(CreateIssueModelRequest, CancellationToken)

public virtual Task<Operation<IssueModel, CreateIssueModelMetadata>> CreateIssueModelAsync(CreateIssueModelRequest request, CancellationToken cancellationToken)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationIssueModelCreateIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateIssueModelRequest request = new CreateIssueModelRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    IssueModel = new IssueModel(),
};
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = await contactCenterInsightsClient.CreateIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModelAsync(string, IssueModel, CallSettings)

public virtual Task<Operation<IssueModel, CreateIssueModelMetadata>> CreateIssueModelAsync(string parent, IssueModel issueModel, CallSettings callSettings = null)

Creates an issue model.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue model.

issueModelIssueModel

Required. The issue model to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIssueModelCreateIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
IssueModel issueModel = new IssueModel();
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreateIssueModelAsync(string, IssueModel, CancellationToken)

public virtual Task<Operation<IssueModel, CreateIssueModelMetadata>> CreateIssueModelAsync(string parent, IssueModel issueModel, CancellationToken cancellationToken)

Creates an issue model.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue model.

issueModelIssueModel

Required. The issue model to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationIssueModelCreateIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
IssueModel issueModel = new IssueModel();
// Make the request
Operation<IssueModel, CreateIssueModelMetadata> response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IssueModel, CreateIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IssueModel retrievedResult = retrievedResponse.Result;
}

CreatePhraseMatcher(LocationName, PhraseMatcher, CallSettings)

public virtual PhraseMatcher CreatePhraseMatcher(LocationName parent, PhraseMatcher phraseMatcher, CallSettings callSettings = null)

Creates a phrase matcher.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

phraseMatcherPhraseMatcher

Required. The phrase matcher resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PhraseMatcher phraseMatcher = new PhraseMatcher();
// Make the request
PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(parent, phraseMatcher);

CreatePhraseMatcher(CreatePhraseMatcherRequest, CallSettings)

public virtual PhraseMatcher CreatePhraseMatcher(CreatePhraseMatcherRequest request, CallSettings callSettings = null)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreatePhraseMatcherRequest request = new CreatePhraseMatcherRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PhraseMatcher = new PhraseMatcher(),
};
// Make the request
PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(request);

CreatePhraseMatcher(string, PhraseMatcher, CallSettings)

public virtual PhraseMatcher CreatePhraseMatcher(string parent, PhraseMatcher phraseMatcher, CallSettings callSettings = null)

Creates a phrase matcher.

Parameters
NameDescription
parentstring

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

phraseMatcherPhraseMatcher

Required. The phrase matcher resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PhraseMatcher phraseMatcher = new PhraseMatcher();
// Make the request
PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(parent, phraseMatcher);

CreatePhraseMatcherAsync(LocationName, PhraseMatcher, CallSettings)

public virtual Task<PhraseMatcher> CreatePhraseMatcherAsync(LocationName parent, PhraseMatcher phraseMatcher, CallSettings callSettings = null)

Creates a phrase matcher.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

phraseMatcherPhraseMatcher

Required. The phrase matcher resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PhraseMatcher phraseMatcher = new PhraseMatcher();
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher);

CreatePhraseMatcherAsync(LocationName, PhraseMatcher, CancellationToken)

public virtual Task<PhraseMatcher> CreatePhraseMatcherAsync(LocationName parent, PhraseMatcher phraseMatcher, CancellationToken cancellationToken)

Creates a phrase matcher.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

phraseMatcherPhraseMatcher

Required. The phrase matcher resource to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PhraseMatcher phraseMatcher = new PhraseMatcher();
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher);

CreatePhraseMatcherAsync(CreatePhraseMatcherRequest, CallSettings)

public virtual Task<PhraseMatcher> CreatePhraseMatcherAsync(CreatePhraseMatcherRequest request, CallSettings callSettings = null)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreatePhraseMatcherRequest request = new CreatePhraseMatcherRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PhraseMatcher = new PhraseMatcher(),
};
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(request);

CreatePhraseMatcherAsync(CreatePhraseMatcherRequest, CancellationToken)

public virtual Task<PhraseMatcher> CreatePhraseMatcherAsync(CreatePhraseMatcherRequest request, CancellationToken cancellationToken)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreatePhraseMatcherRequest request = new CreatePhraseMatcherRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PhraseMatcher = new PhraseMatcher(),
};
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(request);

CreatePhraseMatcherAsync(string, PhraseMatcher, CallSettings)

public virtual Task<PhraseMatcher> CreatePhraseMatcherAsync(string parent, PhraseMatcher phraseMatcher, CallSettings callSettings = null)

Creates a phrase matcher.

Parameters
NameDescription
parentstring

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

phraseMatcherPhraseMatcher

Required. The phrase matcher resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PhraseMatcher phraseMatcher = new PhraseMatcher();
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher);

CreatePhraseMatcherAsync(string, PhraseMatcher, CancellationToken)

public virtual Task<PhraseMatcher> CreatePhraseMatcherAsync(string parent, PhraseMatcher phraseMatcher, CancellationToken cancellationToken)

Creates a phrase matcher.

Parameters
NameDescription
parentstring

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

phraseMatcherPhraseMatcher

Required. The phrase matcher resource to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PhraseMatcher phraseMatcher = new PhraseMatcher();
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher);

CreateView(LocationName, View, CallSettings)

public virtual View CreateView(LocationName parent, View view, CallSettings callSettings = null)

Creates a view.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

viewView

Required. The view resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
View view = new View();
// Make the request
View response = contactCenterInsightsClient.CreateView(parent, view);

CreateView(CreateViewRequest, CallSettings)

public virtual View CreateView(CreateViewRequest request, CallSettings callSettings = null)

Creates a view.

Parameters
NameDescription
requestCreateViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
CreateViewRequest request = new CreateViewRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    View = new View(),
};
// Make the request
View response = contactCenterInsightsClient.CreateView(request);

CreateView(string, View, CallSettings)

public virtual View CreateView(string parent, View view, CallSettings callSettings = null)

Creates a view.

Parameters
NameDescription
parentstring

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

viewView

Required. The view resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
View view = new View();
// Make the request
View response = contactCenterInsightsClient.CreateView(parent, view);

CreateViewAsync(LocationName, View, CallSettings)

public virtual Task<View> CreateViewAsync(LocationName parent, View view, CallSettings callSettings = null)

Creates a view.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

viewView

Required. The view resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
View view = new View();
// Make the request
View response = await contactCenterInsightsClient.CreateViewAsync(parent, view);

CreateViewAsync(LocationName, View, CancellationToken)

public virtual Task<View> CreateViewAsync(LocationName parent, View view, CancellationToken cancellationToken)

Creates a view.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

viewView

Required. The view resource to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
View view = new View();
// Make the request
View response = await contactCenterInsightsClient.CreateViewAsync(parent, view);

CreateViewAsync(CreateViewRequest, CallSettings)

public virtual Task<View> CreateViewAsync(CreateViewRequest request, CallSettings callSettings = null)

Creates a view.

Parameters
NameDescription
requestCreateViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateViewRequest request = new CreateViewRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    View = new View(),
};
// Make the request
View response = await contactCenterInsightsClient.CreateViewAsync(request);

CreateViewAsync(CreateViewRequest, CancellationToken)

public virtual Task<View> CreateViewAsync(CreateViewRequest request, CancellationToken cancellationToken)

Creates a view.

Parameters
NameDescription
requestCreateViewRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
CreateViewRequest request = new CreateViewRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    View = new View(),
};
// Make the request
View response = await contactCenterInsightsClient.CreateViewAsync(request);

CreateViewAsync(string, View, CallSettings)

public virtual Task<View> CreateViewAsync(string parent, View view, CallSettings callSettings = null)

Creates a view.

Parameters
NameDescription
parentstring

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

viewView

Required. The view resource to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
View view = new View();
// Make the request
View response = await contactCenterInsightsClient.CreateViewAsync(parent, view);

CreateViewAsync(string, View, CancellationToken)

public virtual Task<View> CreateViewAsync(string parent, View view, CancellationToken cancellationToken)

Creates a view.

Parameters
NameDescription
parentstring

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/&lt;Project ID>/locations/&lt;Location ID> or projects/&lt;Project Number>/locations/&lt;Location ID>

viewView

Required. The view resource to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
View view = new View();
// Make the request
View response = await contactCenterInsightsClient.CreateViewAsync(parent, view);

DeleteAnalysis(AnalysisName, CallSettings)

public virtual void DeleteAnalysis(AnalysisName name, CallSettings callSettings = null)

Deletes an analysis.

Parameters
NameDescription
nameAnalysisName

Required. The name of the analysis to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]");
// Make the request
contactCenterInsightsClient.DeleteAnalysis(name);

DeleteAnalysis(DeleteAnalysisRequest, CallSettings)

public virtual void DeleteAnalysis(DeleteAnalysisRequest request, CallSettings callSettings = null)

Deletes an analysis.

Parameters
NameDescription
requestDeleteAnalysisRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteAnalysisRequest request = new DeleteAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"),
};
// Make the request
contactCenterInsightsClient.DeleteAnalysis(request);

DeleteAnalysis(string, CallSettings)

public virtual void DeleteAnalysis(string name, CallSettings callSettings = null)

Deletes an analysis.

Parameters
NameDescription
namestring

Required. The name of the analysis to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]";
// Make the request
contactCenterInsightsClient.DeleteAnalysis(name);

DeleteAnalysisAsync(AnalysisName, CallSettings)

public virtual Task DeleteAnalysisAsync(AnalysisName name, CallSettings callSettings = null)

Deletes an analysis.

Parameters
NameDescription
nameAnalysisName

Required. The name of the analysis to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]");
// Make the request
await contactCenterInsightsClient.DeleteAnalysisAsync(name);

DeleteAnalysisAsync(AnalysisName, CancellationToken)

public virtual Task DeleteAnalysisAsync(AnalysisName name, CancellationToken cancellationToken)

Deletes an analysis.

Parameters
NameDescription
nameAnalysisName

Required. The name of the analysis to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]");
// Make the request
await contactCenterInsightsClient.DeleteAnalysisAsync(name);

DeleteAnalysisAsync(DeleteAnalysisRequest, CallSettings)

public virtual Task DeleteAnalysisAsync(DeleteAnalysisRequest request, CallSettings callSettings = null)

Deletes an analysis.

Parameters
NameDescription
requestDeleteAnalysisRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteAnalysisRequest request = new DeleteAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"),
};
// Make the request
await contactCenterInsightsClient.DeleteAnalysisAsync(request);

DeleteAnalysisAsync(DeleteAnalysisRequest, CancellationToken)

public virtual Task DeleteAnalysisAsync(DeleteAnalysisRequest request, CancellationToken cancellationToken)

Deletes an analysis.

Parameters
NameDescription
requestDeleteAnalysisRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteAnalysisRequest request = new DeleteAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"),
};
// Make the request
await contactCenterInsightsClient.DeleteAnalysisAsync(request);

DeleteAnalysisAsync(string, CallSettings)

public virtual Task DeleteAnalysisAsync(string name, CallSettings callSettings = null)

Deletes an analysis.

Parameters
NameDescription
namestring

Required. The name of the analysis to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]";
// Make the request
await contactCenterInsightsClient.DeleteAnalysisAsync(name);

DeleteAnalysisAsync(string, CancellationToken)

public virtual Task DeleteAnalysisAsync(string name, CancellationToken cancellationToken)

Deletes an analysis.

Parameters
NameDescription
namestring

Required. The name of the analysis to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]";
// Make the request
await contactCenterInsightsClient.DeleteAnalysisAsync(name);

DeleteConversation(ConversationName, CallSettings)

public virtual void DeleteConversation(ConversationName name, CallSettings callSettings = null)

Deletes a conversation.

Parameters
NameDescription
nameConversationName

Required. The name of the conversation to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
contactCenterInsightsClient.DeleteConversation(name);

DeleteConversation(DeleteConversationRequest, CallSettings)

public virtual void DeleteConversation(DeleteConversationRequest request, CallSettings callSettings = null)

Deletes a conversation.

Parameters
NameDescription
requestDeleteConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteConversationRequest request = new DeleteConversationRequest
{
    ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Force = false,
};
// Make the request
contactCenterInsightsClient.DeleteConversation(request);

DeleteConversation(string, CallSettings)

public virtual void DeleteConversation(string name, CallSettings callSettings = null)

Deletes a conversation.

Parameters
NameDescription
namestring

Required. The name of the conversation to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
contactCenterInsightsClient.DeleteConversation(name);

DeleteConversationAsync(ConversationName, CallSettings)

public virtual Task DeleteConversationAsync(ConversationName name, CallSettings callSettings = null)

Deletes a conversation.

Parameters
NameDescription
nameConversationName

Required. The name of the conversation to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
await contactCenterInsightsClient.DeleteConversationAsync(name);

DeleteConversationAsync(ConversationName, CancellationToken)

public virtual Task DeleteConversationAsync(ConversationName name, CancellationToken cancellationToken)

Deletes a conversation.

Parameters
NameDescription
nameConversationName

Required. The name of the conversation to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
await contactCenterInsightsClient.DeleteConversationAsync(name);

DeleteConversationAsync(DeleteConversationRequest, CallSettings)

public virtual Task DeleteConversationAsync(DeleteConversationRequest request, CallSettings callSettings = null)

Deletes a conversation.

Parameters
NameDescription
requestDeleteConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteConversationRequest request = new DeleteConversationRequest
{
    ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Force = false,
};
// Make the request
await contactCenterInsightsClient.DeleteConversationAsync(request);

DeleteConversationAsync(DeleteConversationRequest, CancellationToken)

public virtual Task DeleteConversationAsync(DeleteConversationRequest request, CancellationToken cancellationToken)

Deletes a conversation.

Parameters
NameDescription
requestDeleteConversationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteConversationRequest request = new DeleteConversationRequest
{
    ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Force = false,
};
// Make the request
await contactCenterInsightsClient.DeleteConversationAsync(request);

DeleteConversationAsync(string, CallSettings)

public virtual Task DeleteConversationAsync(string name, CallSettings callSettings = null)

Deletes a conversation.

Parameters
NameDescription
namestring

Required. The name of the conversation to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
await contactCenterInsightsClient.DeleteConversationAsync(name);

DeleteConversationAsync(string, CancellationToken)

public virtual Task DeleteConversationAsync(string name, CancellationToken cancellationToken)

Deletes a conversation.

Parameters
NameDescription
namestring

Required. The name of the conversation to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
await contactCenterInsightsClient.DeleteConversationAsync(name);

DeleteIssue(DeleteIssueRequest, CallSettings)

public virtual void DeleteIssue(DeleteIssueRequest request, CallSettings callSettings = null)

Deletes an issue.

Parameters
NameDescription
requestDeleteIssueRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteIssueRequest request = new DeleteIssueRequest
{
    IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"),
};
// Make the request
contactCenterInsightsClient.DeleteIssue(request);

DeleteIssue(IssueName, CallSettings)

public virtual void DeleteIssue(IssueName name, CallSettings callSettings = null)

Deletes an issue.

Parameters
NameDescription
nameIssueName

Required. The name of the issue to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]");
// Make the request
contactCenterInsightsClient.DeleteIssue(name);

DeleteIssue(string, CallSettings)

public virtual void DeleteIssue(string name, CallSettings callSettings = null)

Deletes an issue.

Parameters
NameDescription
namestring

Required. The name of the issue to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]";
// Make the request
contactCenterInsightsClient.DeleteIssue(name);

DeleteIssueAsync(DeleteIssueRequest, CallSettings)

public virtual Task DeleteIssueAsync(DeleteIssueRequest request, CallSettings callSettings = null)

Deletes an issue.

Parameters
NameDescription
requestDeleteIssueRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteIssueRequest request = new DeleteIssueRequest
{
    IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"),
};
// Make the request
await contactCenterInsightsClient.DeleteIssueAsync(request);

DeleteIssueAsync(DeleteIssueRequest, CancellationToken)

public virtual Task DeleteIssueAsync(DeleteIssueRequest request, CancellationToken cancellationToken)

Deletes an issue.

Parameters
NameDescription
requestDeleteIssueRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteIssueRequest request = new DeleteIssueRequest
{
    IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"),
};
// Make the request
await contactCenterInsightsClient.DeleteIssueAsync(request);

DeleteIssueAsync(IssueName, CallSettings)

public virtual Task DeleteIssueAsync(IssueName name, CallSettings callSettings = null)

Deletes an issue.

Parameters
NameDescription
nameIssueName

Required. The name of the issue to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]");
// Make the request
await contactCenterInsightsClient.DeleteIssueAsync(name);

DeleteIssueAsync(IssueName, CancellationToken)

public virtual Task DeleteIssueAsync(IssueName name, CancellationToken cancellationToken)

Deletes an issue.

Parameters
NameDescription
nameIssueName

Required. The name of the issue to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]");
// Make the request
await contactCenterInsightsClient.DeleteIssueAsync(name);

DeleteIssueAsync(string, CallSettings)

public virtual Task DeleteIssueAsync(string name, CallSettings callSettings = null)

Deletes an issue.

Parameters
NameDescription
namestring

Required. The name of the issue to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]";
// Make the request
await contactCenterInsightsClient.DeleteIssueAsync(name);

DeleteIssueAsync(string, CancellationToken)

public virtual Task DeleteIssueAsync(string name, CancellationToken cancellationToken)

Deletes an issue.

Parameters
NameDescription
namestring

Required. The name of the issue to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]";
// Make the request
await contactCenterInsightsClient.DeleteIssueAsync(name);

DeleteIssueModel(DeleteIssueModelRequest, CallSettings)

public virtual Operation<Empty, DeleteIssueModelMetadata> DeleteIssueModel(DeleteIssueModelRequest request, CallSettings callSettings = null)

Deletes an issue model.

Parameters
NameDescription
requestDeleteIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteIssueModelRequest request = new DeleteIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = contactCenterInsightsClient.DeleteIssueModel(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(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;
}

DeleteIssueModel(IssueModelName, CallSettings)

public virtual Operation<Empty, DeleteIssueModelMetadata> DeleteIssueModel(IssueModelName name, CallSettings callSettings = null)

Deletes an issue model.

Parameters
NameDescription
nameIssueModelName

Required. The name of the issue model to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = contactCenterInsightsClient.DeleteIssueModel(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(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;
}

DeleteIssueModel(string, CallSettings)

public virtual Operation<Empty, DeleteIssueModelMetadata> DeleteIssueModel(string name, CallSettings callSettings = null)

Deletes an issue model.

Parameters
NameDescription
namestring

Required. The name of the issue model to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = contactCenterInsightsClient.DeleteIssueModel(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(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;
}

DeleteIssueModelAsync(DeleteIssueModelRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteIssueModelMetadata>> DeleteIssueModelAsync(DeleteIssueModelRequest request, CallSettings callSettings = null)

Deletes an issue model.

Parameters
NameDescription
requestDeleteIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteIssueModelRequest request = new DeleteIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = await contactCenterInsightsClient.DeleteIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(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;
}

DeleteIssueModelAsync(DeleteIssueModelRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteIssueModelMetadata>> DeleteIssueModelAsync(DeleteIssueModelRequest request, CancellationToken cancellationToken)

Deletes an issue model.

Parameters
NameDescription
requestDeleteIssueModelRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteIssueModelRequest request = new DeleteIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = await contactCenterInsightsClient.DeleteIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(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;
}

DeleteIssueModelAsync(IssueModelName, CallSettings)

public virtual Task<Operation<Empty, DeleteIssueModelMetadata>> DeleteIssueModelAsync(IssueModelName name, CallSettings callSettings = null)

Deletes an issue model.

Parameters
NameDescription
nameIssueModelName

Required. The name of the issue model to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = await contactCenterInsightsClient.DeleteIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(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;
}

DeleteIssueModelAsync(IssueModelName, CancellationToken)

public virtual Task<Operation<Empty, DeleteIssueModelMetadata>> DeleteIssueModelAsync(IssueModelName name, CancellationToken cancellationToken)

Deletes an issue model.

Parameters
NameDescription
nameIssueModelName

Required. The name of the issue model to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = await contactCenterInsightsClient.DeleteIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(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;
}

DeleteIssueModelAsync(string, CallSettings)

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

Deletes an issue model.

Parameters
NameDescription
namestring

Required. The name of the issue model to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = await contactCenterInsightsClient.DeleteIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(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;
}

DeleteIssueModelAsync(string, CancellationToken)

public virtual Task<Operation<Empty, DeleteIssueModelMetadata>> DeleteIssueModelAsync(string name, CancellationToken cancellationToken)

Deletes an issue model.

Parameters
NameDescription
namestring

Required. The name of the issue model to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<Empty, DeleteIssueModelMetadata> response = await contactCenterInsightsClient.DeleteIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(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;
}

DeletePhraseMatcher(DeletePhraseMatcherRequest, CallSettings)

public virtual void DeletePhraseMatcher(DeletePhraseMatcherRequest request, CallSettings callSettings = null)

Deletes a phrase matcher.

Parameters
NameDescription
requestDeletePhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeletePhraseMatcherRequest request = new DeletePhraseMatcherRequest
{
    PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"),
};
// Make the request
contactCenterInsightsClient.DeletePhraseMatcher(request);

DeletePhraseMatcher(PhraseMatcherName, CallSettings)

public virtual void DeletePhraseMatcher(PhraseMatcherName name, CallSettings callSettings = null)

Deletes a phrase matcher.

Parameters
NameDescription
namePhraseMatcherName

Required. The name of the phrase matcher to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]");
// Make the request
contactCenterInsightsClient.DeletePhraseMatcher(name);

DeletePhraseMatcher(string, CallSettings)

public virtual void DeletePhraseMatcher(string name, CallSettings callSettings = null)

Deletes a phrase matcher.

Parameters
NameDescription
namestring

Required. The name of the phrase matcher to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]";
// Make the request
contactCenterInsightsClient.DeletePhraseMatcher(name);

DeletePhraseMatcherAsync(DeletePhraseMatcherRequest, CallSettings)

public virtual Task DeletePhraseMatcherAsync(DeletePhraseMatcherRequest request, CallSettings callSettings = null)

Deletes a phrase matcher.

Parameters
NameDescription
requestDeletePhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeletePhraseMatcherRequest request = new DeletePhraseMatcherRequest
{
    PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"),
};
// Make the request
await contactCenterInsightsClient.DeletePhraseMatcherAsync(request);

DeletePhraseMatcherAsync(DeletePhraseMatcherRequest, CancellationToken)

public virtual Task DeletePhraseMatcherAsync(DeletePhraseMatcherRequest request, CancellationToken cancellationToken)

Deletes a phrase matcher.

Parameters
NameDescription
requestDeletePhraseMatcherRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeletePhraseMatcherRequest request = new DeletePhraseMatcherRequest
{
    PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"),
};
// Make the request
await contactCenterInsightsClient.DeletePhraseMatcherAsync(request);

DeletePhraseMatcherAsync(PhraseMatcherName, CallSettings)

public virtual Task DeletePhraseMatcherAsync(PhraseMatcherName name, CallSettings callSettings = null)

Deletes a phrase matcher.

Parameters
NameDescription
namePhraseMatcherName

Required. The name of the phrase matcher to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]");
// Make the request
await contactCenterInsightsClient.DeletePhraseMatcherAsync(name);

DeletePhraseMatcherAsync(PhraseMatcherName, CancellationToken)

public virtual Task DeletePhraseMatcherAsync(PhraseMatcherName name, CancellationToken cancellationToken)

Deletes a phrase matcher.

Parameters
NameDescription
namePhraseMatcherName

Required. The name of the phrase matcher to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]");
// Make the request
await contactCenterInsightsClient.DeletePhraseMatcherAsync(name);

DeletePhraseMatcherAsync(string, CallSettings)

public virtual Task DeletePhraseMatcherAsync(string name, CallSettings callSettings = null)

Deletes a phrase matcher.

Parameters
NameDescription
namestring

Required. The name of the phrase matcher to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]";
// Make the request
await contactCenterInsightsClient.DeletePhraseMatcherAsync(name);

DeletePhraseMatcherAsync(string, CancellationToken)

public virtual Task DeletePhraseMatcherAsync(string name, CancellationToken cancellationToken)

Deletes a phrase matcher.

Parameters
NameDescription
namestring

Required. The name of the phrase matcher to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]";
// Make the request
await contactCenterInsightsClient.DeletePhraseMatcherAsync(name);

DeleteView(DeleteViewRequest, CallSettings)

public virtual void DeleteView(DeleteViewRequest request, CallSettings callSettings = null)

Deletes a view.

Parameters
NameDescription
requestDeleteViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeleteViewRequest request = new DeleteViewRequest
{
    ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"),
};
// Make the request
contactCenterInsightsClient.DeleteView(request);

DeleteView(ViewName, CallSettings)

public virtual void DeleteView(ViewName name, CallSettings callSettings = null)

Deletes a view.

Parameters
NameDescription
nameViewName

Required. The name of the view to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]");
// Make the request
contactCenterInsightsClient.DeleteView(name);

DeleteView(string, CallSettings)

public virtual void DeleteView(string name, CallSettings callSettings = null)

Deletes a view.

Parameters
NameDescription
namestring

Required. The name of the view to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]";
// Make the request
contactCenterInsightsClient.DeleteView(name);

DeleteViewAsync(DeleteViewRequest, CallSettings)

public virtual Task DeleteViewAsync(DeleteViewRequest request, CallSettings callSettings = null)

Deletes a view.

Parameters
NameDescription
requestDeleteViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteViewRequest request = new DeleteViewRequest
{
    ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"),
};
// Make the request
await contactCenterInsightsClient.DeleteViewAsync(request);

DeleteViewAsync(DeleteViewRequest, CancellationToken)

public virtual Task DeleteViewAsync(DeleteViewRequest request, CancellationToken cancellationToken)

Deletes a view.

Parameters
NameDescription
requestDeleteViewRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeleteViewRequest request = new DeleteViewRequest
{
    ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"),
};
// Make the request
await contactCenterInsightsClient.DeleteViewAsync(request);

DeleteViewAsync(ViewName, CallSettings)

public virtual Task DeleteViewAsync(ViewName name, CallSettings callSettings = null)

Deletes a view.

Parameters
NameDescription
nameViewName

Required. The name of the view to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]");
// Make the request
await contactCenterInsightsClient.DeleteViewAsync(name);

DeleteViewAsync(ViewName, CancellationToken)

public virtual Task DeleteViewAsync(ViewName name, CancellationToken cancellationToken)

Deletes a view.

Parameters
NameDescription
nameViewName

Required. The name of the view to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]");
// Make the request
await contactCenterInsightsClient.DeleteViewAsync(name);

DeleteViewAsync(string, CallSettings)

public virtual Task DeleteViewAsync(string name, CallSettings callSettings = null)

Deletes a view.

Parameters
NameDescription
namestring

Required. The name of the view to delete.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]";
// Make the request
await contactCenterInsightsClient.DeleteViewAsync(name);

DeleteViewAsync(string, CancellationToken)

public virtual Task DeleteViewAsync(string name, CancellationToken cancellationToken)

Deletes a view.

Parameters
NameDescription
namestring

Required. The name of the view to delete.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]";
// Make the request
await contactCenterInsightsClient.DeleteViewAsync(name);

DeployIssueModel(DeployIssueModelRequest, CallSettings)

public virtual Operation<DeployIssueModelResponse, DeployIssueModelMetadata> DeployIssueModel(DeployIssueModelRequest request, CallSettings callSettings = null)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
requestDeployIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeployIssueModelResponseDeployIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
DeployIssueModelRequest request = new DeployIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = contactCenterInsightsClient.DeployIssueModel(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModel(IssueModelName, CallSettings)

public virtual Operation<DeployIssueModelResponse, DeployIssueModelMetadata> DeployIssueModel(IssueModelName name, CallSettings callSettings = null)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
nameIssueModelName

Required. The issue model to deploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeployIssueModelResponseDeployIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = contactCenterInsightsClient.DeployIssueModel(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModel(string, CallSettings)

public virtual Operation<DeployIssueModelResponse, DeployIssueModelMetadata> DeployIssueModel(string name, CallSettings callSettings = null)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
namestring

Required. The issue model to deploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeployIssueModelResponseDeployIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = contactCenterInsightsClient.DeployIssueModel(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModelAsync(DeployIssueModelRequest, CallSettings)

public virtual Task<Operation<DeployIssueModelResponse, DeployIssueModelMetadata>> DeployIssueModelAsync(DeployIssueModelRequest request, CallSettings callSettings = null)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
requestDeployIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeployIssueModelRequest request = new DeployIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = await contactCenterInsightsClient.DeployIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModelAsync(DeployIssueModelRequest, CancellationToken)

public virtual Task<Operation<DeployIssueModelResponse, DeployIssueModelMetadata>> DeployIssueModelAsync(DeployIssueModelRequest request, CancellationToken cancellationToken)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
requestDeployIssueModelRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
DeployIssueModelRequest request = new DeployIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = await contactCenterInsightsClient.DeployIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModelAsync(IssueModelName, CallSettings)

public virtual Task<Operation<DeployIssueModelResponse, DeployIssueModelMetadata>> DeployIssueModelAsync(IssueModelName name, CallSettings callSettings = null)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
nameIssueModelName

Required. The issue model to deploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = await contactCenterInsightsClient.DeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModelAsync(IssueModelName, CancellationToken)

public virtual Task<Operation<DeployIssueModelResponse, DeployIssueModelMetadata>> DeployIssueModelAsync(IssueModelName name, CancellationToken cancellationToken)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
nameIssueModelName

Required. The issue model to deploy.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = await contactCenterInsightsClient.DeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModelAsync(string, CallSettings)

public virtual Task<Operation<DeployIssueModelResponse, DeployIssueModelMetadata>> DeployIssueModelAsync(string name, CallSettings callSettings = null)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
namestring

Required. The issue model to deploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = await contactCenterInsightsClient.DeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

DeployIssueModelAsync(string, CancellationToken)

public virtual Task<Operation<DeployIssueModelResponse, DeployIssueModelMetadata>> DeployIssueModelAsync(string name, CancellationToken cancellationToken)

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
NameDescription
namestring

Required. The issue model to deploy.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> response = await contactCenterInsightsClient.DeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployIssueModelResponse, DeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsData(LocationName, CallSettings)

public virtual Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> ExportInsightsData(LocationName parent, CallSettings callSettings = null)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
parentLocationName

Required. The parent resource to export data from.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportInsightsDataResponseExportInsightsDataMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = contactCenterInsightsClient.ExportInsightsData(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsData(ExportInsightsDataRequest, CallSettings)

public virtual Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> ExportInsightsData(ExportInsightsDataRequest request, CallSettings callSettings = null)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
requestExportInsightsDataRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportInsightsDataResponseExportInsightsDataMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ExportInsightsDataRequest request = new ExportInsightsDataRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    BigQueryDestination = new ExportInsightsDataRequest.Types.BigQueryDestination(),
    Filter = "",
    KmsKey = "",
    WriteDisposition = ExportInsightsDataRequest.Types.WriteDisposition.Unspecified,
};
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = contactCenterInsightsClient.ExportInsightsData(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsData(string, CallSettings)

public virtual Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> ExportInsightsData(string parent, CallSettings callSettings = null)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
parentstring

Required. The parent resource to export data from.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportInsightsDataResponseExportInsightsDataMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = contactCenterInsightsClient.ExportInsightsData(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsDataAsync(LocationName, CallSettings)

public virtual Task<Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata>> ExportInsightsDataAsync(LocationName parent, CallSettings callSettings = null)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
parentLocationName

Required. The parent resource to export data from.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsDataAsync(LocationName, CancellationToken)

public virtual Task<Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata>> ExportInsightsDataAsync(LocationName parent, CancellationToken cancellationToken)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
parentLocationName

Required. The parent resource to export data from.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsDataAsync(ExportInsightsDataRequest, CallSettings)

public virtual Task<Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata>> ExportInsightsDataAsync(ExportInsightsDataRequest request, CallSettings callSettings = null)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
requestExportInsightsDataRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ExportInsightsDataRequest request = new ExportInsightsDataRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    BigQueryDestination = new ExportInsightsDataRequest.Types.BigQueryDestination(),
    Filter = "",
    KmsKey = "",
    WriteDisposition = ExportInsightsDataRequest.Types.WriteDisposition.Unspecified,
};
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = await contactCenterInsightsClient.ExportInsightsDataAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsDataAsync(ExportInsightsDataRequest, CancellationToken)

public virtual Task<Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata>> ExportInsightsDataAsync(ExportInsightsDataRequest request, CancellationToken cancellationToken)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
requestExportInsightsDataRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ExportInsightsDataRequest request = new ExportInsightsDataRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    BigQueryDestination = new ExportInsightsDataRequest.Types.BigQueryDestination(),
    Filter = "",
    KmsKey = "",
    WriteDisposition = ExportInsightsDataRequest.Types.WriteDisposition.Unspecified,
};
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = await contactCenterInsightsClient.ExportInsightsDataAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsDataAsync(string, CallSettings)

public virtual Task<Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata>> ExportInsightsDataAsync(string parent, CallSettings callSettings = null)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
parentstring

Required. The parent resource to export data from.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

ExportInsightsDataAsync(string, CancellationToken)

public virtual Task<Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata>> ExportInsightsDataAsync(string parent, CancellationToken cancellationToken)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
parentstring

Required. The parent resource to export data from.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportInsightsDataResponse retrievedResult = retrievedResponse.Result;
}

GetAnalysis(AnalysisName, CallSettings)

public virtual Analysis GetAnalysis(AnalysisName name, CallSettings callSettings = null)

Gets an analysis.

Parameters
NameDescription
nameAnalysisName

Required. The name of the analysis to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Analysis

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]");
// Make the request
Analysis response = contactCenterInsightsClient.GetAnalysis(name);

GetAnalysis(GetAnalysisRequest, CallSettings)

public virtual Analysis GetAnalysis(GetAnalysisRequest request, CallSettings callSettings = null)

Gets an analysis.

Parameters
NameDescription
requestGetAnalysisRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Analysis

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetAnalysisRequest request = new GetAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"),
};
// Make the request
Analysis response = contactCenterInsightsClient.GetAnalysis(request);

GetAnalysis(string, CallSettings)

public virtual Analysis GetAnalysis(string name, CallSettings callSettings = null)

Gets an analysis.

Parameters
NameDescription
namestring

Required. The name of the analysis to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Analysis

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]";
// Make the request
Analysis response = contactCenterInsightsClient.GetAnalysis(name);

GetAnalysisAsync(AnalysisName, CallSettings)

public virtual Task<Analysis> GetAnalysisAsync(AnalysisName name, CallSettings callSettings = null)

Gets an analysis.

Parameters
NameDescription
nameAnalysisName

Required. The name of the analysis to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]");
// Make the request
Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name);

GetAnalysisAsync(AnalysisName, CancellationToken)

public virtual Task<Analysis> GetAnalysisAsync(AnalysisName name, CancellationToken cancellationToken)

Gets an analysis.

Parameters
NameDescription
nameAnalysisName

Required. The name of the analysis to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]");
// Make the request
Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name);

GetAnalysisAsync(GetAnalysisRequest, CallSettings)

public virtual Task<Analysis> GetAnalysisAsync(GetAnalysisRequest request, CallSettings callSettings = null)

Gets an analysis.

Parameters
NameDescription
requestGetAnalysisRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetAnalysisRequest request = new GetAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"),
};
// Make the request
Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(request);

GetAnalysisAsync(GetAnalysisRequest, CancellationToken)

public virtual Task<Analysis> GetAnalysisAsync(GetAnalysisRequest request, CancellationToken cancellationToken)

Gets an analysis.

Parameters
NameDescription
requestGetAnalysisRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetAnalysisRequest request = new GetAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"),
};
// Make the request
Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(request);

GetAnalysisAsync(string, CallSettings)

public virtual Task<Analysis> GetAnalysisAsync(string name, CallSettings callSettings = null)

Gets an analysis.

Parameters
NameDescription
namestring

Required. The name of the analysis to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]";
// Make the request
Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name);

GetAnalysisAsync(string, CancellationToken)

public virtual Task<Analysis> GetAnalysisAsync(string name, CancellationToken cancellationToken)

Gets an analysis.

Parameters
NameDescription
namestring

Required. The name of the analysis to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]";
// Make the request
Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name);

GetConversation(ConversationName, CallSettings)

public virtual Conversation GetConversation(ConversationName name, CallSettings callSettings = null)

Gets a conversation.

Parameters
NameDescription
nameConversationName

Required. The name of the conversation to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
Conversation response = contactCenterInsightsClient.GetConversation(name);

GetConversation(GetConversationRequest, CallSettings)

public virtual Conversation GetConversation(GetConversationRequest request, CallSettings callSettings = null)

Gets a conversation.

Parameters
NameDescription
requestGetConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetConversationRequest request = new GetConversationRequest
{
    ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    View = ConversationView.Unspecified,
};
// Make the request
Conversation response = contactCenterInsightsClient.GetConversation(request);

GetConversation(string, CallSettings)

public virtual Conversation GetConversation(string name, CallSettings callSettings = null)

Gets a conversation.

Parameters
NameDescription
namestring

Required. The name of the conversation to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
Conversation response = contactCenterInsightsClient.GetConversation(name);

GetConversationAsync(ConversationName, CallSettings)

public virtual Task<Conversation> GetConversationAsync(ConversationName name, CallSettings callSettings = null)

Gets a conversation.

Parameters
NameDescription
nameConversationName

Required. The name of the conversation to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
Conversation response = await contactCenterInsightsClient.GetConversationAsync(name);

GetConversationAsync(ConversationName, CancellationToken)

public virtual Task<Conversation> GetConversationAsync(ConversationName name, CancellationToken cancellationToken)

Gets a conversation.

Parameters
NameDescription
nameConversationName

Required. The name of the conversation to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
Conversation response = await contactCenterInsightsClient.GetConversationAsync(name);

GetConversationAsync(GetConversationRequest, CallSettings)

public virtual Task<Conversation> GetConversationAsync(GetConversationRequest request, CallSettings callSettings = null)

Gets a conversation.

Parameters
NameDescription
requestGetConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetConversationRequest request = new GetConversationRequest
{
    ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    View = ConversationView.Unspecified,
};
// Make the request
Conversation response = await contactCenterInsightsClient.GetConversationAsync(request);

GetConversationAsync(GetConversationRequest, CancellationToken)

public virtual Task<Conversation> GetConversationAsync(GetConversationRequest request, CancellationToken cancellationToken)

Gets a conversation.

Parameters
NameDescription
requestGetConversationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetConversationRequest request = new GetConversationRequest
{
    ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    View = ConversationView.Unspecified,
};
// Make the request
Conversation response = await contactCenterInsightsClient.GetConversationAsync(request);

GetConversationAsync(string, CallSettings)

public virtual Task<Conversation> GetConversationAsync(string name, CallSettings callSettings = null)

Gets a conversation.

Parameters
NameDescription
namestring

Required. The name of the conversation to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
Conversation response = await contactCenterInsightsClient.GetConversationAsync(name);

GetConversationAsync(string, CancellationToken)

public virtual Task<Conversation> GetConversationAsync(string name, CancellationToken cancellationToken)

Gets a conversation.

Parameters
NameDescription
namestring

Required. The name of the conversation to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
Conversation response = await contactCenterInsightsClient.GetConversationAsync(name);

GetIssue(GetIssueRequest, CallSettings)

public virtual Issue GetIssue(GetIssueRequest request, CallSettings callSettings = null)

Gets an issue.

Parameters
NameDescription
requestGetIssueRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Issue

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetIssueRequest request = new GetIssueRequest
{
    IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"),
};
// Make the request
Issue response = contactCenterInsightsClient.GetIssue(request);

GetIssue(IssueName, CallSettings)

public virtual Issue GetIssue(IssueName name, CallSettings callSettings = null)

Gets an issue.

Parameters
NameDescription
nameIssueName

Required. The name of the issue to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Issue

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]");
// Make the request
Issue response = contactCenterInsightsClient.GetIssue(name);

GetIssue(string, CallSettings)

public virtual Issue GetIssue(string name, CallSettings callSettings = null)

Gets an issue.

Parameters
NameDescription
namestring

Required. The name of the issue to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Issue

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]";
// Make the request
Issue response = contactCenterInsightsClient.GetIssue(name);

GetIssueAsync(GetIssueRequest, CallSettings)

public virtual Task<Issue> GetIssueAsync(GetIssueRequest request, CallSettings callSettings = null)

Gets an issue.

Parameters
NameDescription
requestGetIssueRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetIssueRequest request = new GetIssueRequest
{
    IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"),
};
// Make the request
Issue response = await contactCenterInsightsClient.GetIssueAsync(request);

GetIssueAsync(GetIssueRequest, CancellationToken)

public virtual Task<Issue> GetIssueAsync(GetIssueRequest request, CancellationToken cancellationToken)

Gets an issue.

Parameters
NameDescription
requestGetIssueRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetIssueRequest request = new GetIssueRequest
{
    IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"),
};
// Make the request
Issue response = await contactCenterInsightsClient.GetIssueAsync(request);

GetIssueAsync(IssueName, CallSettings)

public virtual Task<Issue> GetIssueAsync(IssueName name, CallSettings callSettings = null)

Gets an issue.

Parameters
NameDescription
nameIssueName

Required. The name of the issue to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]");
// Make the request
Issue response = await contactCenterInsightsClient.GetIssueAsync(name);

GetIssueAsync(IssueName, CancellationToken)

public virtual Task<Issue> GetIssueAsync(IssueName name, CancellationToken cancellationToken)

Gets an issue.

Parameters
NameDescription
nameIssueName

Required. The name of the issue to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]");
// Make the request
Issue response = await contactCenterInsightsClient.GetIssueAsync(name);

GetIssueAsync(string, CallSettings)

public virtual Task<Issue> GetIssueAsync(string name, CallSettings callSettings = null)

Gets an issue.

Parameters
NameDescription
namestring

Required. The name of the issue to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]";
// Make the request
Issue response = await contactCenterInsightsClient.GetIssueAsync(name);

GetIssueAsync(string, CancellationToken)

public virtual Task<Issue> GetIssueAsync(string name, CancellationToken cancellationToken)

Gets an issue.

Parameters
NameDescription
namestring

Required. The name of the issue to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]";
// Make the request
Issue response = await contactCenterInsightsClient.GetIssueAsync(name);

GetIssueModel(GetIssueModelRequest, CallSettings)

public virtual IssueModel GetIssueModel(GetIssueModelRequest request, CallSettings callSettings = null)

Gets an issue model.

Parameters
NameDescription
requestGetIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IssueModel

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetIssueModelRequest request = new GetIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
IssueModel response = contactCenterInsightsClient.GetIssueModel(request);

GetIssueModel(IssueModelName, CallSettings)

public virtual IssueModel GetIssueModel(IssueModelName name, CallSettings callSettings = null)

Gets an issue model.

Parameters
NameDescription
nameIssueModelName

Required. The name of the issue model to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IssueModel

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
IssueModel response = contactCenterInsightsClient.GetIssueModel(name);

GetIssueModel(string, CallSettings)

public virtual IssueModel GetIssueModel(string name, CallSettings callSettings = null)

Gets an issue model.

Parameters
NameDescription
namestring

Required. The name of the issue model to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IssueModel

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
IssueModel response = contactCenterInsightsClient.GetIssueModel(name);

GetIssueModelAsync(GetIssueModelRequest, CallSettings)

public virtual Task<IssueModel> GetIssueModelAsync(GetIssueModelRequest request, CallSettings callSettings = null)

Gets an issue model.

Parameters
NameDescription
requestGetIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetIssueModelRequest request = new GetIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(request);

GetIssueModelAsync(GetIssueModelRequest, CancellationToken)

public virtual Task<IssueModel> GetIssueModelAsync(GetIssueModelRequest request, CancellationToken cancellationToken)

Gets an issue model.

Parameters
NameDescription
requestGetIssueModelRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetIssueModelRequest request = new GetIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(request);

GetIssueModelAsync(IssueModelName, CallSettings)

public virtual Task<IssueModel> GetIssueModelAsync(IssueModelName name, CallSettings callSettings = null)

Gets an issue model.

Parameters
NameDescription
nameIssueModelName

Required. The name of the issue model to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name);

GetIssueModelAsync(IssueModelName, CancellationToken)

public virtual Task<IssueModel> GetIssueModelAsync(IssueModelName name, CancellationToken cancellationToken)

Gets an issue model.

Parameters
NameDescription
nameIssueModelName

Required. The name of the issue model to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name);

GetIssueModelAsync(string, CallSettings)

public virtual Task<IssueModel> GetIssueModelAsync(string name, CallSettings callSettings = null)

Gets an issue model.

Parameters
NameDescription
namestring

Required. The name of the issue model to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name);

GetIssueModelAsync(string, CancellationToken)

public virtual Task<IssueModel> GetIssueModelAsync(string name, CancellationToken cancellationToken)

Gets an issue model.

Parameters
NameDescription
namestring

Required. The name of the issue model to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name);

GetPhraseMatcher(GetPhraseMatcherRequest, CallSettings)

public virtual PhraseMatcher GetPhraseMatcher(GetPhraseMatcherRequest request, CallSettings callSettings = null)

Gets a phrase matcher.

Parameters
NameDescription
requestGetPhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetPhraseMatcherRequest request = new GetPhraseMatcherRequest
{
    PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"),
};
// Make the request
PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(request);

GetPhraseMatcher(PhraseMatcherName, CallSettings)

public virtual PhraseMatcher GetPhraseMatcher(PhraseMatcherName name, CallSettings callSettings = null)

Gets a phrase matcher.

Parameters
NameDescription
namePhraseMatcherName

Required. The name of the phrase matcher to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]");
// Make the request
PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(name);

GetPhraseMatcher(string, CallSettings)

public virtual PhraseMatcher GetPhraseMatcher(string name, CallSettings callSettings = null)

Gets a phrase matcher.

Parameters
NameDescription
namestring

Required. The name of the phrase matcher to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]";
// Make the request
PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(name);

GetPhraseMatcherAsync(GetPhraseMatcherRequest, CallSettings)

public virtual Task<PhraseMatcher> GetPhraseMatcherAsync(GetPhraseMatcherRequest request, CallSettings callSettings = null)

Gets a phrase matcher.

Parameters
NameDescription
requestGetPhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetPhraseMatcherRequest request = new GetPhraseMatcherRequest
{
    PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"),
};
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(request);

GetPhraseMatcherAsync(GetPhraseMatcherRequest, CancellationToken)

public virtual Task<PhraseMatcher> GetPhraseMatcherAsync(GetPhraseMatcherRequest request, CancellationToken cancellationToken)

Gets a phrase matcher.

Parameters
NameDescription
requestGetPhraseMatcherRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetPhraseMatcherRequest request = new GetPhraseMatcherRequest
{
    PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"),
};
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(request);

GetPhraseMatcherAsync(PhraseMatcherName, CallSettings)

public virtual Task<PhraseMatcher> GetPhraseMatcherAsync(PhraseMatcherName name, CallSettings callSettings = null)

Gets a phrase matcher.

Parameters
NameDescription
namePhraseMatcherName

Required. The name of the phrase matcher to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]");
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name);

GetPhraseMatcherAsync(PhraseMatcherName, CancellationToken)

public virtual Task<PhraseMatcher> GetPhraseMatcherAsync(PhraseMatcherName name, CancellationToken cancellationToken)

Gets a phrase matcher.

Parameters
NameDescription
namePhraseMatcherName

Required. The name of the phrase matcher to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]");
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name);

GetPhraseMatcherAsync(string, CallSettings)

public virtual Task<PhraseMatcher> GetPhraseMatcherAsync(string name, CallSettings callSettings = null)

Gets a phrase matcher.

Parameters
NameDescription
namestring

Required. The name of the phrase matcher to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]";
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name);

GetPhraseMatcherAsync(string, CancellationToken)

public virtual Task<PhraseMatcher> GetPhraseMatcherAsync(string name, CancellationToken cancellationToken)

Gets a phrase matcher.

Parameters
NameDescription
namestring

Required. The name of the phrase matcher to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]";
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name);

GetSettings(GetSettingsRequest, CallSettings)

public virtual Settings GetSettings(GetSettingsRequest request, CallSettings callSettings = null)

Gets project-level settings.

Parameters
NameDescription
requestGetSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Settings

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetSettingsRequest request = new GetSettingsRequest
{
    SettingsName = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Settings response = contactCenterInsightsClient.GetSettings(request);

GetSettings(SettingsName, CallSettings)

public virtual Settings GetSettings(SettingsName name, CallSettings callSettings = null)

Gets project-level settings.

Parameters
NameDescription
nameSettingsName

Required. The name of the settings resource to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Settings

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
SettingsName name = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Settings response = contactCenterInsightsClient.GetSettings(name);

GetSettings(string, CallSettings)

public virtual Settings GetSettings(string name, CallSettings callSettings = null)

Gets project-level settings.

Parameters
NameDescription
namestring

Required. The name of the settings resource to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Settings

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/settings";
// Make the request
Settings response = contactCenterInsightsClient.GetSettings(name);

GetSettingsAsync(GetSettingsRequest, CallSettings)

public virtual Task<Settings> GetSettingsAsync(GetSettingsRequest request, CallSettings callSettings = null)

Gets project-level settings.

Parameters
NameDescription
requestGetSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetSettingsRequest request = new GetSettingsRequest
{
    SettingsName = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Settings response = await contactCenterInsightsClient.GetSettingsAsync(request);

GetSettingsAsync(GetSettingsRequest, CancellationToken)

public virtual Task<Settings> GetSettingsAsync(GetSettingsRequest request, CancellationToken cancellationToken)

Gets project-level settings.

Parameters
NameDescription
requestGetSettingsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetSettingsRequest request = new GetSettingsRequest
{
    SettingsName = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Settings response = await contactCenterInsightsClient.GetSettingsAsync(request);

GetSettingsAsync(SettingsName, CallSettings)

public virtual Task<Settings> GetSettingsAsync(SettingsName name, CallSettings callSettings = null)

Gets project-level settings.

Parameters
NameDescription
nameSettingsName

Required. The name of the settings resource to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
SettingsName name = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Settings response = await contactCenterInsightsClient.GetSettingsAsync(name);

GetSettingsAsync(SettingsName, CancellationToken)

public virtual Task<Settings> GetSettingsAsync(SettingsName name, CancellationToken cancellationToken)

Gets project-level settings.

Parameters
NameDescription
nameSettingsName

Required. The name of the settings resource to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
SettingsName name = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Settings response = await contactCenterInsightsClient.GetSettingsAsync(name);

GetSettingsAsync(string, CallSettings)

public virtual Task<Settings> GetSettingsAsync(string name, CallSettings callSettings = null)

Gets project-level settings.

Parameters
NameDescription
namestring

Required. The name of the settings resource to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/settings";
// Make the request
Settings response = await contactCenterInsightsClient.GetSettingsAsync(name);

GetSettingsAsync(string, CancellationToken)

public virtual Task<Settings> GetSettingsAsync(string name, CancellationToken cancellationToken)

Gets project-level settings.

Parameters
NameDescription
namestring

Required. The name of the settings resource to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/settings";
// Make the request
Settings response = await contactCenterInsightsClient.GetSettingsAsync(name);

GetView(GetViewRequest, CallSettings)

public virtual View GetView(GetViewRequest request, CallSettings callSettings = null)

Gets a view.

Parameters
NameDescription
requestGetViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
GetViewRequest request = new GetViewRequest
{
    ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"),
};
// Make the request
View response = contactCenterInsightsClient.GetView(request);

GetView(ViewName, CallSettings)

public virtual View GetView(ViewName name, CallSettings callSettings = null)

Gets a view.

Parameters
NameDescription
nameViewName

Required. The name of the view to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]");
// Make the request
View response = contactCenterInsightsClient.GetView(name);

GetView(string, CallSettings)

public virtual View GetView(string name, CallSettings callSettings = null)

Gets a view.

Parameters
NameDescription
namestring

Required. The name of the view to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]";
// Make the request
View response = contactCenterInsightsClient.GetView(name);

GetViewAsync(GetViewRequest, CallSettings)

public virtual Task<View> GetViewAsync(GetViewRequest request, CallSettings callSettings = null)

Gets a view.

Parameters
NameDescription
requestGetViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetViewRequest request = new GetViewRequest
{
    ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"),
};
// Make the request
View response = await contactCenterInsightsClient.GetViewAsync(request);

GetViewAsync(GetViewRequest, CancellationToken)

public virtual Task<View> GetViewAsync(GetViewRequest request, CancellationToken cancellationToken)

Gets a view.

Parameters
NameDescription
requestGetViewRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
GetViewRequest request = new GetViewRequest
{
    ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"),
};
// Make the request
View response = await contactCenterInsightsClient.GetViewAsync(request);

GetViewAsync(ViewName, CallSettings)

public virtual Task<View> GetViewAsync(ViewName name, CallSettings callSettings = null)

Gets a view.

Parameters
NameDescription
nameViewName

Required. The name of the view to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]");
// Make the request
View response = await contactCenterInsightsClient.GetViewAsync(name);

GetViewAsync(ViewName, CancellationToken)

public virtual Task<View> GetViewAsync(ViewName name, CancellationToken cancellationToken)

Gets a view.

Parameters
NameDescription
nameViewName

Required. The name of the view to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]");
// Make the request
View response = await contactCenterInsightsClient.GetViewAsync(name);

GetViewAsync(string, CallSettings)

public virtual Task<View> GetViewAsync(string name, CallSettings callSettings = null)

Gets a view.

Parameters
NameDescription
namestring

Required. The name of the view to get.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]";
// Make the request
View response = await contactCenterInsightsClient.GetViewAsync(name);

GetViewAsync(string, CancellationToken)

public virtual Task<View> GetViewAsync(string name, CancellationToken cancellationToken)

Gets a view.

Parameters
NameDescription
namestring

Required. The name of the view to get.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]";
// Make the request
View response = await contactCenterInsightsClient.GetViewAsync(name);

IngestConversations(LocationName, CallSettings)

public virtual Operation<IngestConversationsResponse, IngestConversationsMetadata> IngestConversations(LocationName parent, CallSettings callSettings = null)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
parentLocationName

Required. The parent resource for new conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIngestConversationsResponseIngestConversationsMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = contactCenterInsightsClient.IngestConversations(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversations(IngestConversationsRequest, CallSettings)

public virtual Operation<IngestConversationsResponse, IngestConversationsMetadata> IngestConversations(IngestConversationsRequest request, CallSettings callSettings = null)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
requestIngestConversationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIngestConversationsResponseIngestConversationsMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IngestConversationsRequest request = new IngestConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    GcsSource = new IngestConversationsRequest.Types.GcsSource(),
    TranscriptObjectConfig = new IngestConversationsRequest.Types.TranscriptObjectConfig(),
    ConversationConfig = new IngestConversationsRequest.Types.ConversationConfig(),
};
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = contactCenterInsightsClient.IngestConversations(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversations(string, CallSettings)

public virtual Operation<IngestConversationsResponse, IngestConversationsMetadata> IngestConversations(string parent, CallSettings callSettings = null)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
parentstring

Required. The parent resource for new conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIngestConversationsResponseIngestConversationsMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = contactCenterInsightsClient.IngestConversations(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversationsAsync(LocationName, CallSettings)

public virtual Task<Operation<IngestConversationsResponse, IngestConversationsMetadata>> IngestConversationsAsync(LocationName parent, CallSettings callSettings = null)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
parentLocationName

Required. The parent resource for new conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIngestConversationsResponseIngestConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = await contactCenterInsightsClient.IngestConversationsAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversationsAsync(LocationName, CancellationToken)

public virtual Task<Operation<IngestConversationsResponse, IngestConversationsMetadata>> IngestConversationsAsync(LocationName parent, CancellationToken cancellationToken)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
parentLocationName

Required. The parent resource for new conversations.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationIngestConversationsResponseIngestConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = await contactCenterInsightsClient.IngestConversationsAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversationsAsync(IngestConversationsRequest, CallSettings)

public virtual Task<Operation<IngestConversationsResponse, IngestConversationsMetadata>> IngestConversationsAsync(IngestConversationsRequest request, CallSettings callSettings = null)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
requestIngestConversationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIngestConversationsResponseIngestConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IngestConversationsRequest request = new IngestConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    GcsSource = new IngestConversationsRequest.Types.GcsSource(),
    TranscriptObjectConfig = new IngestConversationsRequest.Types.TranscriptObjectConfig(),
    ConversationConfig = new IngestConversationsRequest.Types.ConversationConfig(),
};
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = await contactCenterInsightsClient.IngestConversationsAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversationsAsync(IngestConversationsRequest, CancellationToken)

public virtual Task<Operation<IngestConversationsResponse, IngestConversationsMetadata>> IngestConversationsAsync(IngestConversationsRequest request, CancellationToken cancellationToken)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
requestIngestConversationsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationIngestConversationsResponseIngestConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IngestConversationsRequest request = new IngestConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    GcsSource = new IngestConversationsRequest.Types.GcsSource(),
    TranscriptObjectConfig = new IngestConversationsRequest.Types.TranscriptObjectConfig(),
    ConversationConfig = new IngestConversationsRequest.Types.ConversationConfig(),
};
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = await contactCenterInsightsClient.IngestConversationsAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversationsAsync(string, CallSettings)

public virtual Task<Operation<IngestConversationsResponse, IngestConversationsMetadata>> IngestConversationsAsync(string parent, CallSettings callSettings = null)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
parentstring

Required. The parent resource for new conversations.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIngestConversationsResponseIngestConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = await contactCenterInsightsClient.IngestConversationsAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

IngestConversationsAsync(string, CancellationToken)

public virtual Task<Operation<IngestConversationsResponse, IngestConversationsMetadata>> IngestConversationsAsync(string parent, CancellationToken cancellationToken)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
parentstring

Required. The parent resource for new conversations.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationIngestConversationsResponseIngestConversationsMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
Operation<IngestConversationsResponse, IngestConversationsMetadata> response = await contactCenterInsightsClient.IngestConversationsAsync(parent);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestConversationsResponse, IngestConversationsMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    IngestConversationsResponse retrievedResult = retrievedResponse.Result;
}

ListAnalyses(ConversationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAnalysesResponse, Analysis> ListAnalyses(ConversationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists analyses.

Parameters
NameDescription
parentConversationName

Required. The parent resource of the analyses.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAnalysesResponseAnalysis

A pageable sequence of Analysis resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
PagedEnumerable<ListAnalysesResponse, Analysis> response = contactCenterInsightsClient.ListAnalyses(parent);

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

ListAnalyses(ListAnalysesRequest, CallSettings)

public virtual PagedEnumerable<ListAnalysesResponse, Analysis> ListAnalyses(ListAnalysesRequest request, CallSettings callSettings = null)

Lists analyses.

Parameters
NameDescription
requestListAnalysesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAnalysesResponseAnalysis

A pageable sequence of Analysis resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListAnalysesRequest request = new ListAnalysesRequest
{
    ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListAnalysesResponse, Analysis> response = contactCenterInsightsClient.ListAnalyses(request);

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

ListAnalyses(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAnalysesResponse, Analysis> ListAnalyses(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists analyses.

Parameters
NameDescription
parentstring

Required. The parent resource of the analyses.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAnalysesResponseAnalysis

A pageable sequence of Analysis resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
PagedEnumerable<ListAnalysesResponse, Analysis> response = contactCenterInsightsClient.ListAnalyses(parent);

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

ListAnalysesAsync(ConversationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAnalysesResponse, Analysis> ListAnalysesAsync(ConversationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists analyses.

Parameters
NameDescription
parentConversationName

Required. The parent resource of the analyses.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAnalysesResponseAnalysis

A pageable asynchronous sequence of Analysis resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]");
// Make the request
PagedAsyncEnumerable<ListAnalysesResponse, Analysis> response = contactCenterInsightsClient.ListAnalysesAsync(parent);

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

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

ListAnalysesAsync(ListAnalysesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAnalysesResponse, Analysis> ListAnalysesAsync(ListAnalysesRequest request, CallSettings callSettings = null)

Lists analyses.

Parameters
NameDescription
requestListAnalysesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAnalysesResponseAnalysis

A pageable asynchronous sequence of Analysis resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListAnalysesRequest request = new ListAnalysesRequest
{
    ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListAnalysesResponse, Analysis> response = contactCenterInsightsClient.ListAnalysesAsync(request);

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

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

ListAnalysesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAnalysesResponse, Analysis> ListAnalysesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists analyses.

Parameters
NameDescription
parentstring

Required. The parent resource of the analyses.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAnalysesResponseAnalysis

A pageable asynchronous sequence of Analysis resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]";
// Make the request
PagedAsyncEnumerable<ListAnalysesResponse, Analysis> response = contactCenterInsightsClient.ListAnalysesAsync(parent);

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

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

ListConversations(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListConversationsResponse, Conversation> ListConversations(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists conversations.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the conversation.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListConversationsResponseConversation

A pageable sequence of Conversation resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListConversationsResponse, Conversation> response = contactCenterInsightsClient.ListConversations(parent);

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

ListConversations(ListConversationsRequest, CallSettings)

public virtual PagedEnumerable<ListConversationsResponse, Conversation> ListConversations(ListConversationsRequest request, CallSettings callSettings = null)

Lists conversations.

Parameters
NameDescription
requestListConversationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListConversationsResponseConversation

A pageable sequence of Conversation resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListConversationsRequest request = new ListConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    View = ConversationView.Unspecified,
};
// Make the request
PagedEnumerable<ListConversationsResponse, Conversation> response = contactCenterInsightsClient.ListConversations(request);

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

ListConversations(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListConversationsResponse, Conversation> ListConversations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists conversations.

Parameters
NameDescription
parentstring

Required. The parent resource of the conversation.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListConversationsResponseConversation

A pageable sequence of Conversation resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListConversationsResponse, Conversation> response = contactCenterInsightsClient.ListConversations(parent);

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

ListConversationsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListConversationsResponse, Conversation> ListConversationsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists conversations.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the conversation.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListConversationsResponseConversation

A pageable asynchronous sequence of Conversation resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListConversationsResponse, Conversation> response = contactCenterInsightsClient.ListConversationsAsync(parent);

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

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

ListConversationsAsync(ListConversationsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListConversationsResponse, Conversation> ListConversationsAsync(ListConversationsRequest request, CallSettings callSettings = null)

Lists conversations.

Parameters
NameDescription
requestListConversationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListConversationsResponseConversation

A pageable asynchronous sequence of Conversation resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListConversationsRequest request = new ListConversationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    View = ConversationView.Unspecified,
};
// Make the request
PagedAsyncEnumerable<ListConversationsResponse, Conversation> response = contactCenterInsightsClient.ListConversationsAsync(request);

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

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

ListConversationsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListConversationsResponse, Conversation> ListConversationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists conversations.

Parameters
NameDescription
parentstring

Required. The parent resource of the conversation.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListConversationsResponseConversation

A pageable asynchronous sequence of Conversation resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListConversationsResponse, Conversation> response = contactCenterInsightsClient.ListConversationsAsync(parent);

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

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

ListIssueModels(LocationName, CallSettings)

public virtual ListIssueModelsResponse ListIssueModels(LocationName parent, CallSettings callSettings = null)

Lists issue models.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the issue model.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListIssueModelsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(parent);

ListIssueModels(ListIssueModelsRequest, CallSettings)

public virtual ListIssueModelsResponse ListIssueModels(ListIssueModelsRequest request, CallSettings callSettings = null)

Lists issue models.

Parameters
NameDescription
requestListIssueModelsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListIssueModelsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListIssueModelsRequest request = new ListIssueModelsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(request);

ListIssueModels(string, CallSettings)

public virtual ListIssueModelsResponse ListIssueModels(string parent, CallSettings callSettings = null)

Lists issue models.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue model.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListIssueModelsResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(parent);

ListIssueModelsAsync(LocationName, CallSettings)

public virtual Task<ListIssueModelsResponse> ListIssueModelsAsync(LocationName parent, CallSettings callSettings = null)

Lists issue models.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the issue model.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListIssueModelsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent);

ListIssueModelsAsync(LocationName, CancellationToken)

public virtual Task<ListIssueModelsResponse> ListIssueModelsAsync(LocationName parent, CancellationToken cancellationToken)

Lists issue models.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the issue model.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListIssueModelsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent);

ListIssueModelsAsync(ListIssueModelsRequest, CallSettings)

public virtual Task<ListIssueModelsResponse> ListIssueModelsAsync(ListIssueModelsRequest request, CallSettings callSettings = null)

Lists issue models.

Parameters
NameDescription
requestListIssueModelsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListIssueModelsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListIssueModelsRequest request = new ListIssueModelsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(request);

ListIssueModelsAsync(ListIssueModelsRequest, CancellationToken)

public virtual Task<ListIssueModelsResponse> ListIssueModelsAsync(ListIssueModelsRequest request, CancellationToken cancellationToken)

Lists issue models.

Parameters
NameDescription
requestListIssueModelsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListIssueModelsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListIssueModelsRequest request = new ListIssueModelsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(request);

ListIssueModelsAsync(string, CallSettings)

public virtual Task<ListIssueModelsResponse> ListIssueModelsAsync(string parent, CallSettings callSettings = null)

Lists issue models.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue model.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListIssueModelsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent);

ListIssueModelsAsync(string, CancellationToken)

public virtual Task<ListIssueModelsResponse> ListIssueModelsAsync(string parent, CancellationToken cancellationToken)

Lists issue models.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue model.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListIssueModelsResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent);

ListIssues(IssueModelName, CallSettings)

public virtual ListIssuesResponse ListIssues(IssueModelName parent, CallSettings callSettings = null)

Lists issues.

Parameters
NameDescription
parentIssueModelName

Required. The parent resource of the issue.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListIssuesResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueModelName parent = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
ListIssuesResponse response = contactCenterInsightsClient.ListIssues(parent);

ListIssues(ListIssuesRequest, CallSettings)

public virtual ListIssuesResponse ListIssues(ListIssuesRequest request, CallSettings callSettings = null)

Lists issues.

Parameters
NameDescription
requestListIssuesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListIssuesResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListIssuesRequest request = new ListIssuesRequest
{
    ParentAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
ListIssuesResponse response = contactCenterInsightsClient.ListIssues(request);

ListIssues(string, CallSettings)

public virtual ListIssuesResponse ListIssues(string parent, CallSettings callSettings = null)

Lists issues.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListIssuesResponse

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
ListIssuesResponse response = contactCenterInsightsClient.ListIssues(parent);

ListIssuesAsync(IssueModelName, CallSettings)

public virtual Task<ListIssuesResponse> ListIssuesAsync(IssueModelName parent, CallSettings callSettings = null)

Lists issues.

Parameters
NameDescription
parentIssueModelName

Required. The parent resource of the issue.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListIssuesResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName parent = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent);

ListIssuesAsync(IssueModelName, CancellationToken)

public virtual Task<ListIssuesResponse> ListIssuesAsync(IssueModelName parent, CancellationToken cancellationToken)

Lists issues.

Parameters
NameDescription
parentIssueModelName

Required. The parent resource of the issue.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListIssuesResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName parent = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent);

ListIssuesAsync(ListIssuesRequest, CallSettings)

public virtual Task<ListIssuesResponse> ListIssuesAsync(ListIssuesRequest request, CallSettings callSettings = null)

Lists issues.

Parameters
NameDescription
requestListIssuesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListIssuesResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListIssuesRequest request = new ListIssuesRequest
{
    ParentAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(request);

ListIssuesAsync(ListIssuesRequest, CancellationToken)

public virtual Task<ListIssuesResponse> ListIssuesAsync(ListIssuesRequest request, CancellationToken cancellationToken)

Lists issues.

Parameters
NameDescription
requestListIssuesRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListIssuesResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListIssuesRequest request = new ListIssuesRequest
{
    ParentAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(request);

ListIssuesAsync(string, CallSettings)

public virtual Task<ListIssuesResponse> ListIssuesAsync(string parent, CallSettings callSettings = null)

Lists issues.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListIssuesResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent);

ListIssuesAsync(string, CancellationToken)

public virtual Task<ListIssuesResponse> ListIssuesAsync(string parent, CancellationToken cancellationToken)

Lists issues.

Parameters
NameDescription
parentstring

Required. The parent resource of the issue.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListIssuesResponse

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent);

ListPhraseMatchers(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListPhraseMatchersResponse, PhraseMatcher> ListPhraseMatchers(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists phrase matchers.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the phrase matcher.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListPhraseMatchersResponsePhraseMatcher

A pageable sequence of PhraseMatcher resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListPhraseMatchersResponse, PhraseMatcher> response = contactCenterInsightsClient.ListPhraseMatchers(parent);

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

ListPhraseMatchers(ListPhraseMatchersRequest, CallSettings)

public virtual PagedEnumerable<ListPhraseMatchersResponse, PhraseMatcher> ListPhraseMatchers(ListPhraseMatchersRequest request, CallSettings callSettings = null)

Lists phrase matchers.

Parameters
NameDescription
requestListPhraseMatchersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListPhraseMatchersResponsePhraseMatcher

A pageable sequence of PhraseMatcher resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListPhraseMatchersRequest request = new ListPhraseMatchersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListPhraseMatchersResponse, PhraseMatcher> response = contactCenterInsightsClient.ListPhraseMatchers(request);

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

ListPhraseMatchers(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListPhraseMatchersResponse, PhraseMatcher> ListPhraseMatchers(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists phrase matchers.

Parameters
NameDescription
parentstring

Required. The parent resource of the phrase matcher.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListPhraseMatchersResponsePhraseMatcher

A pageable sequence of PhraseMatcher resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListPhraseMatchersResponse, PhraseMatcher> response = contactCenterInsightsClient.ListPhraseMatchers(parent);

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

ListPhraseMatchersAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPhraseMatchersResponse, PhraseMatcher> ListPhraseMatchersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists phrase matchers.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the phrase matcher.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListPhraseMatchersResponsePhraseMatcher

A pageable asynchronous sequence of PhraseMatcher resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListPhraseMatchersResponse, PhraseMatcher> response = contactCenterInsightsClient.ListPhraseMatchersAsync(parent);

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

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

ListPhraseMatchersAsync(ListPhraseMatchersRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListPhraseMatchersResponse, PhraseMatcher> ListPhraseMatchersAsync(ListPhraseMatchersRequest request, CallSettings callSettings = null)

Lists phrase matchers.

Parameters
NameDescription
requestListPhraseMatchersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListPhraseMatchersResponsePhraseMatcher

A pageable asynchronous sequence of PhraseMatcher resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListPhraseMatchersRequest request = new ListPhraseMatchersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListPhraseMatchersResponse, PhraseMatcher> response = contactCenterInsightsClient.ListPhraseMatchersAsync(request);

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

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

ListPhraseMatchersAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPhraseMatchersResponse, PhraseMatcher> ListPhraseMatchersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists phrase matchers.

Parameters
NameDescription
parentstring

Required. The parent resource of the phrase matcher.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListPhraseMatchersResponsePhraseMatcher

A pageable asynchronous sequence of PhraseMatcher resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListPhraseMatchersResponse, PhraseMatcher> response = contactCenterInsightsClient.ListPhraseMatchersAsync(parent);

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

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

ListViews(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListViewsResponse, View> ListViews(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists views.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the views.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListViewsResponseView

A pageable sequence of View resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListViewsResponse, View> response = contactCenterInsightsClient.ListViews(parent);

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

ListViews(ListViewsRequest, CallSettings)

public virtual PagedEnumerable<ListViewsResponse, View> ListViews(ListViewsRequest request, CallSettings callSettings = null)

Lists views.

Parameters
NameDescription
requestListViewsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListViewsResponseView

A pageable sequence of View resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
ListViewsRequest request = new ListViewsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListViewsResponse, View> response = contactCenterInsightsClient.ListViews(request);

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

ListViews(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListViewsResponse, View> ListViews(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists views.

Parameters
NameDescription
parentstring

Required. The parent resource of the views.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListViewsResponseView

A pageable sequence of View resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListViewsResponse, View> response = contactCenterInsightsClient.ListViews(parent);

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

ListViewsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListViewsResponse, View> ListViewsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists views.

Parameters
NameDescription
parentLocationName

Required. The parent resource of the views.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListViewsResponseView

A pageable asynchronous sequence of View resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListViewsResponse, View> response = contactCenterInsightsClient.ListViewsAsync(parent);

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

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

ListViewsAsync(ListViewsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListViewsResponse, View> ListViewsAsync(ListViewsRequest request, CallSettings callSettings = null)

Lists views.

Parameters
NameDescription
requestListViewsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListViewsResponseView

A pageable asynchronous sequence of View resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
ListViewsRequest request = new ListViewsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListViewsResponse, View> response = contactCenterInsightsClient.ListViewsAsync(request);

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

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

ListViewsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListViewsResponse, View> ListViewsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists views.

Parameters
NameDescription
parentstring

Required. The parent resource of the views.

pageTokenstring

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

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListViewsResponseView

A pageable asynchronous sequence of View resources.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListViewsResponse, View> response = contactCenterInsightsClient.ListViewsAsync(parent);

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

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

PollOnceBulkAnalyzeConversations(string, CallSettings)

public virtual Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata> PollOnceBulkAnalyzeConversations(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

The result of polling the operation.

PollOnceBulkAnalyzeConversationsAsync(string, CallSettings)

public virtual Task<Operation<BulkAnalyzeConversationsResponse, BulkAnalyzeConversationsMetadata>> PollOnceBulkAnalyzeConversationsAsync(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata

A task representing the result of polling the operation.

PollOnceCreateAnalysis(string, CallSettings)

public virtual Operation<Analysis, CreateAnalysisOperationMetadata> PollOnceCreateAnalysis(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAnalysisCreateAnalysisOperationMetadata

The result of polling the operation.

PollOnceCreateAnalysisAsync(string, CallSettings)

public virtual Task<Operation<Analysis, CreateAnalysisOperationMetadata>> PollOnceCreateAnalysisAsync(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAnalysisCreateAnalysisOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateIssueModel(string, CallSettings)

public virtual Operation<IssueModel, CreateIssueModelMetadata> PollOnceCreateIssueModel(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIssueModelCreateIssueModelMetadata

The result of polling the operation.

PollOnceCreateIssueModelAsync(string, CallSettings)

public virtual Task<Operation<IssueModel, CreateIssueModelMetadata>> PollOnceCreateIssueModelAsync(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIssueModelCreateIssueModelMetadata

A task representing the result of polling the operation.

PollOnceDeleteIssueModel(string, CallSettings)

public virtual Operation<Empty, DeleteIssueModelMetadata> PollOnceDeleteIssueModel(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteIssueModelMetadata

The result of polling the operation.

PollOnceDeleteIssueModelAsync(string, CallSettings)

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

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteIssueModelMetadata

A task representing the result of polling the operation.

PollOnceDeployIssueModel(string, CallSettings)

public virtual Operation<DeployIssueModelResponse, DeployIssueModelMetadata> PollOnceDeployIssueModel(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeployIssueModelResponseDeployIssueModelMetadata

The result of polling the operation.

PollOnceDeployIssueModelAsync(string, CallSettings)

public virtual Task<Operation<DeployIssueModelResponse, DeployIssueModelMetadata>> PollOnceDeployIssueModelAsync(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata

A task representing the result of polling the operation.

PollOnceExportInsightsData(string, CallSettings)

public virtual Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata> PollOnceExportInsightsData(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportInsightsDataResponseExportInsightsDataMetadata

The result of polling the operation.

PollOnceExportInsightsDataAsync(string, CallSettings)

public virtual Task<Operation<ExportInsightsDataResponse, ExportInsightsDataMetadata>> PollOnceExportInsightsDataAsync(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata

A task representing the result of polling the operation.

PollOnceIngestConversations(string, CallSettings)

public virtual Operation<IngestConversationsResponse, IngestConversationsMetadata> PollOnceIngestConversations(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationIngestConversationsResponseIngestConversationsMetadata

The result of polling the operation.

PollOnceIngestConversationsAsync(string, CallSettings)

public virtual Task<Operation<IngestConversationsResponse, IngestConversationsMetadata>> PollOnceIngestConversationsAsync(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationIngestConversationsResponseIngestConversationsMetadata

A task representing the result of polling the operation.

PollOnceUndeployIssueModel(string, CallSettings)

public virtual Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> PollOnceUndeployIssueModel(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationUndeployIssueModelResponseUndeployIssueModelMetadata

The result of polling the operation.

PollOnceUndeployIssueModelAsync(string, CallSettings)

public virtual Task<Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata>> PollOnceUndeployIssueModelAsync(string operationName, CallSettings callSettings = null)

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

Parameters
NameDescription
operationNamestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata

A task representing the result of polling the operation.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

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

Returns
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

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

UndeployIssueModel(IssueModelName, CallSettings)

public virtual Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> UndeployIssueModel(IssueModelName name, CallSettings callSettings = null)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
nameIssueModelName

Required. The issue model to undeploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationUndeployIssueModelResponseUndeployIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = contactCenterInsightsClient.UndeployIssueModel(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModel(UndeployIssueModelRequest, CallSettings)

public virtual Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> UndeployIssueModel(UndeployIssueModelRequest request, CallSettings callSettings = null)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
requestUndeployIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationUndeployIssueModelResponseUndeployIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UndeployIssueModelRequest request = new UndeployIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = contactCenterInsightsClient.UndeployIssueModel(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModel(string, CallSettings)

public virtual Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> UndeployIssueModel(string name, CallSettings callSettings = null)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
namestring

Required. The issue model to undeploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationUndeployIssueModelResponseUndeployIssueModelMetadata

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = contactCenterInsightsClient.UndeployIssueModel(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModelAsync(IssueModelName, CallSettings)

public virtual Task<Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata>> UndeployIssueModelAsync(IssueModelName name, CallSettings callSettings = null)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
nameIssueModelName

Required. The issue model to undeploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = await contactCenterInsightsClient.UndeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModelAsync(IssueModelName, CancellationToken)

public virtual Task<Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata>> UndeployIssueModelAsync(IssueModelName name, CancellationToken cancellationToken)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
nameIssueModelName

Required. The issue model to undeploy.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = await contactCenterInsightsClient.UndeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModelAsync(UndeployIssueModelRequest, CallSettings)

public virtual Task<Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata>> UndeployIssueModelAsync(UndeployIssueModelRequest request, CallSettings callSettings = null)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
requestUndeployIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UndeployIssueModelRequest request = new UndeployIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = await contactCenterInsightsClient.UndeployIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModelAsync(UndeployIssueModelRequest, CancellationToken)

public virtual Task<Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata>> UndeployIssueModelAsync(UndeployIssueModelRequest request, CancellationToken cancellationToken)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
requestUndeployIssueModelRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UndeployIssueModelRequest request = new UndeployIssueModelRequest
{
    IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"),
};
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = await contactCenterInsightsClient.UndeployIssueModelAsync(request);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModelAsync(string, CallSettings)

public virtual Task<Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata>> UndeployIssueModelAsync(string name, CallSettings callSettings = null)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
namestring

Required. The issue model to undeploy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = await contactCenterInsightsClient.UndeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UndeployIssueModelAsync(string, CancellationToken)

public virtual Task<Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata>> UndeployIssueModelAsync(string name, CancellationToken cancellationToken)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
namestring

Required. The issue model to undeploy.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]";
// Make the request
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> response = await contactCenterInsightsClient.UndeployIssueModelAsync(name);

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

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<UndeployIssueModelResponse, UndeployIssueModelMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    UndeployIssueModelResponse retrievedResult = retrievedResponse.Result;
}

UpdateConversation(Conversation, FieldMask, CallSettings)

public virtual Conversation UpdateConversation(Conversation conversation, FieldMask updateMask, CallSettings callSettings = null)

Updates a conversation.

Parameters
NameDescription
conversationConversation

Required. The new values for the conversation.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
Conversation conversation = new Conversation();
FieldMask updateMask = new FieldMask();
// Make the request
Conversation response = contactCenterInsightsClient.UpdateConversation(conversation, updateMask);

UpdateConversation(UpdateConversationRequest, CallSettings)

public virtual Conversation UpdateConversation(UpdateConversationRequest request, CallSettings callSettings = null)

Updates a conversation.

Parameters
NameDescription
requestUpdateConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Conversation

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateConversationRequest request = new UpdateConversationRequest
{
    Conversation = new Conversation(),
    UpdateMask = new FieldMask(),
};
// Make the request
Conversation response = contactCenterInsightsClient.UpdateConversation(request);

UpdateConversationAsync(Conversation, FieldMask, CallSettings)

public virtual Task<Conversation> UpdateConversationAsync(Conversation conversation, FieldMask updateMask, CallSettings callSettings = null)

Updates a conversation.

Parameters
NameDescription
conversationConversation

Required. The new values for the conversation.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
Conversation conversation = new Conversation();
FieldMask updateMask = new FieldMask();
// Make the request
Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(conversation, updateMask);

UpdateConversationAsync(Conversation, FieldMask, CancellationToken)

public virtual Task<Conversation> UpdateConversationAsync(Conversation conversation, FieldMask updateMask, CancellationToken cancellationToken)

Updates a conversation.

Parameters
NameDescription
conversationConversation

Required. The new values for the conversation.

updateMaskFieldMask

The list of fields to be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
Conversation conversation = new Conversation();
FieldMask updateMask = new FieldMask();
// Make the request
Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(conversation, updateMask);

UpdateConversationAsync(UpdateConversationRequest, CallSettings)

public virtual Task<Conversation> UpdateConversationAsync(UpdateConversationRequest request, CallSettings callSettings = null)

Updates a conversation.

Parameters
NameDescription
requestUpdateConversationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateConversationRequest request = new UpdateConversationRequest
{
    Conversation = new Conversation(),
    UpdateMask = new FieldMask(),
};
// Make the request
Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(request);

UpdateConversationAsync(UpdateConversationRequest, CancellationToken)

public virtual Task<Conversation> UpdateConversationAsync(UpdateConversationRequest request, CancellationToken cancellationToken)

Updates a conversation.

Parameters
NameDescription
requestUpdateConversationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskConversation

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateConversationRequest request = new UpdateConversationRequest
{
    Conversation = new Conversation(),
    UpdateMask = new FieldMask(),
};
// Make the request
Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(request);

UpdateIssue(Issue, FieldMask, CallSettings)

public virtual Issue UpdateIssue(Issue issue, FieldMask updateMask, CallSettings callSettings = null)

Updates an issue.

Parameters
NameDescription
issueIssue

Required. The new values for the issue.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Issue

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
Issue issue = new Issue();
FieldMask updateMask = new FieldMask();
// Make the request
Issue response = contactCenterInsightsClient.UpdateIssue(issue, updateMask);

UpdateIssue(UpdateIssueRequest, CallSettings)

public virtual Issue UpdateIssue(UpdateIssueRequest request, CallSettings callSettings = null)

Updates an issue.

Parameters
NameDescription
requestUpdateIssueRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Issue

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateIssueRequest request = new UpdateIssueRequest
{
    Issue = new Issue(),
    UpdateMask = new FieldMask(),
};
// Make the request
Issue response = contactCenterInsightsClient.UpdateIssue(request);

UpdateIssueAsync(Issue, FieldMask, CallSettings)

public virtual Task<Issue> UpdateIssueAsync(Issue issue, FieldMask updateMask, CallSettings callSettings = null)

Updates an issue.

Parameters
NameDescription
issueIssue

Required. The new values for the issue.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
Issue issue = new Issue();
FieldMask updateMask = new FieldMask();
// Make the request
Issue response = await contactCenterInsightsClient.UpdateIssueAsync(issue, updateMask);

UpdateIssueAsync(Issue, FieldMask, CancellationToken)

public virtual Task<Issue> UpdateIssueAsync(Issue issue, FieldMask updateMask, CancellationToken cancellationToken)

Updates an issue.

Parameters
NameDescription
issueIssue

Required. The new values for the issue.

updateMaskFieldMask

The list of fields to be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
Issue issue = new Issue();
FieldMask updateMask = new FieldMask();
// Make the request
Issue response = await contactCenterInsightsClient.UpdateIssueAsync(issue, updateMask);

UpdateIssueAsync(UpdateIssueRequest, CallSettings)

public virtual Task<Issue> UpdateIssueAsync(UpdateIssueRequest request, CallSettings callSettings = null)

Updates an issue.

Parameters
NameDescription
requestUpdateIssueRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateIssueRequest request = new UpdateIssueRequest
{
    Issue = new Issue(),
    UpdateMask = new FieldMask(),
};
// Make the request
Issue response = await contactCenterInsightsClient.UpdateIssueAsync(request);

UpdateIssueAsync(UpdateIssueRequest, CancellationToken)

public virtual Task<Issue> UpdateIssueAsync(UpdateIssueRequest request, CancellationToken cancellationToken)

Updates an issue.

Parameters
NameDescription
requestUpdateIssueRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssue

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateIssueRequest request = new UpdateIssueRequest
{
    Issue = new Issue(),
    UpdateMask = new FieldMask(),
};
// Make the request
Issue response = await contactCenterInsightsClient.UpdateIssueAsync(request);

UpdateIssueModel(IssueModel, FieldMask, CallSettings)

public virtual IssueModel UpdateIssueModel(IssueModel issueModel, FieldMask updateMask, CallSettings callSettings = null)

Updates an issue model.

Parameters
NameDescription
issueModelIssueModel

Required. The new values for the issue model.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IssueModel

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
IssueModel issueModel = new IssueModel();
FieldMask updateMask = new FieldMask();
// Make the request
IssueModel response = contactCenterInsightsClient.UpdateIssueModel(issueModel, updateMask);

UpdateIssueModel(UpdateIssueModelRequest, CallSettings)

public virtual IssueModel UpdateIssueModel(UpdateIssueModelRequest request, CallSettings callSettings = null)

Updates an issue model.

Parameters
NameDescription
requestUpdateIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IssueModel

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateIssueModelRequest request = new UpdateIssueModelRequest
{
    IssueModel = new IssueModel(),
    UpdateMask = new FieldMask(),
};
// Make the request
IssueModel response = contactCenterInsightsClient.UpdateIssueModel(request);

UpdateIssueModelAsync(IssueModel, FieldMask, CallSettings)

public virtual Task<IssueModel> UpdateIssueModelAsync(IssueModel issueModel, FieldMask updateMask, CallSettings callSettings = null)

Updates an issue model.

Parameters
NameDescription
issueModelIssueModel

Required. The new values for the issue model.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModel issueModel = new IssueModel();
FieldMask updateMask = new FieldMask();
// Make the request
IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(issueModel, updateMask);

UpdateIssueModelAsync(IssueModel, FieldMask, CancellationToken)

public virtual Task<IssueModel> UpdateIssueModelAsync(IssueModel issueModel, FieldMask updateMask, CancellationToken cancellationToken)

Updates an issue model.

Parameters
NameDescription
issueModelIssueModel

Required. The new values for the issue model.

updateMaskFieldMask

The list of fields to be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
IssueModel issueModel = new IssueModel();
FieldMask updateMask = new FieldMask();
// Make the request
IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(issueModel, updateMask);

UpdateIssueModelAsync(UpdateIssueModelRequest, CallSettings)

public virtual Task<IssueModel> UpdateIssueModelAsync(UpdateIssueModelRequest request, CallSettings callSettings = null)

Updates an issue model.

Parameters
NameDescription
requestUpdateIssueModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateIssueModelRequest request = new UpdateIssueModelRequest
{
    IssueModel = new IssueModel(),
    UpdateMask = new FieldMask(),
};
// Make the request
IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(request);

UpdateIssueModelAsync(UpdateIssueModelRequest, CancellationToken)

public virtual Task<IssueModel> UpdateIssueModelAsync(UpdateIssueModelRequest request, CancellationToken cancellationToken)

Updates an issue model.

Parameters
NameDescription
requestUpdateIssueModelRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskIssueModel

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateIssueModelRequest request = new UpdateIssueModelRequest
{
    IssueModel = new IssueModel(),
    UpdateMask = new FieldMask(),
};
// Make the request
IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(request);

UpdatePhraseMatcher(PhraseMatcher, FieldMask, CallSettings)

public virtual PhraseMatcher UpdatePhraseMatcher(PhraseMatcher phraseMatcher, FieldMask updateMask, CallSettings callSettings = null)

Updates a phrase matcher.

Parameters
NameDescription
phraseMatcherPhraseMatcher

Required. The new values for the phrase matcher.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
PhraseMatcher phraseMatcher = new PhraseMatcher();
FieldMask updateMask = new FieldMask();
// Make the request
PhraseMatcher response = contactCenterInsightsClient.UpdatePhraseMatcher(phraseMatcher, updateMask);

UpdatePhraseMatcher(UpdatePhraseMatcherRequest, CallSettings)

public virtual PhraseMatcher UpdatePhraseMatcher(UpdatePhraseMatcherRequest request, CallSettings callSettings = null)

Updates a phrase matcher.

Parameters
NameDescription
requestUpdatePhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PhraseMatcher

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdatePhraseMatcherRequest request = new UpdatePhraseMatcherRequest
{
    PhraseMatcher = new PhraseMatcher(),
    UpdateMask = new FieldMask(),
};
// Make the request
PhraseMatcher response = contactCenterInsightsClient.UpdatePhraseMatcher(request);

UpdatePhraseMatcherAsync(PhraseMatcher, FieldMask, CallSettings)

public virtual Task<PhraseMatcher> UpdatePhraseMatcherAsync(PhraseMatcher phraseMatcher, FieldMask updateMask, CallSettings callSettings = null)

Updates a phrase matcher.

Parameters
NameDescription
phraseMatcherPhraseMatcher

Required. The new values for the phrase matcher.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
PhraseMatcher phraseMatcher = new PhraseMatcher();
FieldMask updateMask = new FieldMask();
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(phraseMatcher, updateMask);

UpdatePhraseMatcherAsync(PhraseMatcher, FieldMask, CancellationToken)

public virtual Task<PhraseMatcher> UpdatePhraseMatcherAsync(PhraseMatcher phraseMatcher, FieldMask updateMask, CancellationToken cancellationToken)

Updates a phrase matcher.

Parameters
NameDescription
phraseMatcherPhraseMatcher

Required. The new values for the phrase matcher.

updateMaskFieldMask

The list of fields to be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
PhraseMatcher phraseMatcher = new PhraseMatcher();
FieldMask updateMask = new FieldMask();
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(phraseMatcher, updateMask);

UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest, CallSettings)

public virtual Task<PhraseMatcher> UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest request, CallSettings callSettings = null)

Updates a phrase matcher.

Parameters
NameDescription
requestUpdatePhraseMatcherRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdatePhraseMatcherRequest request = new UpdatePhraseMatcherRequest
{
    PhraseMatcher = new PhraseMatcher(),
    UpdateMask = new FieldMask(),
};
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(request);

UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest, CancellationToken)

public virtual Task<PhraseMatcher> UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest request, CancellationToken cancellationToken)

Updates a phrase matcher.

Parameters
NameDescription
requestUpdatePhraseMatcherRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskPhraseMatcher

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdatePhraseMatcherRequest request = new UpdatePhraseMatcherRequest
{
    PhraseMatcher = new PhraseMatcher(),
    UpdateMask = new FieldMask(),
};
// Make the request
PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(request);

UpdateSettings(Settings, FieldMask, CallSettings)

public virtual Settings UpdateSettings(Settings settings, FieldMask updateMask, CallSettings callSettings = null)

Updates project-level settings.

Parameters
NameDescription
settingsSettings

Required. The new settings values.

updateMaskFieldMask

Required. The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Settings

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
Settings settings = new Settings();
FieldMask updateMask = new FieldMask();
// Make the request
Settings response = contactCenterInsightsClient.UpdateSettings(settings, updateMask);

UpdateSettings(UpdateSettingsRequest, CallSettings)

public virtual Settings UpdateSettings(UpdateSettingsRequest request, CallSettings callSettings = null)

Updates project-level settings.

Parameters
NameDescription
requestUpdateSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Settings

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateSettingsRequest request = new UpdateSettingsRequest
{
    Settings = new Settings(),
    UpdateMask = new FieldMask(),
};
// Make the request
Settings response = contactCenterInsightsClient.UpdateSettings(request);

UpdateSettingsAsync(Settings, FieldMask, CallSettings)

public virtual Task<Settings> UpdateSettingsAsync(Settings settings, FieldMask updateMask, CallSettings callSettings = null)

Updates project-level settings.

Parameters
NameDescription
settingsSettings

Required. The new settings values.

updateMaskFieldMask

Required. The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
Settings settings = new Settings();
FieldMask updateMask = new FieldMask();
// Make the request
Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(settings, updateMask);

UpdateSettingsAsync(Settings, FieldMask, CancellationToken)

public virtual Task<Settings> UpdateSettingsAsync(Settings settings, FieldMask updateMask, CancellationToken cancellationToken)

Updates project-level settings.

Parameters
NameDescription
settingsSettings

Required. The new settings values.

updateMaskFieldMask

Required. The list of fields to be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
Settings settings = new Settings();
FieldMask updateMask = new FieldMask();
// Make the request
Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(settings, updateMask);

UpdateSettingsAsync(UpdateSettingsRequest, CallSettings)

public virtual Task<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CallSettings callSettings = null)

Updates project-level settings.

Parameters
NameDescription
requestUpdateSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateSettingsRequest request = new UpdateSettingsRequest
{
    Settings = new Settings(),
    UpdateMask = new FieldMask(),
};
// Make the request
Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(request);

UpdateSettingsAsync(UpdateSettingsRequest, CancellationToken)

public virtual Task<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CancellationToken cancellationToken)

Updates project-level settings.

Parameters
NameDescription
requestUpdateSettingsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSettings

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateSettingsRequest request = new UpdateSettingsRequest
{
    Settings = new Settings(),
    UpdateMask = new FieldMask(),
};
// Make the request
Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(request);

UpdateView(UpdateViewRequest, CallSettings)

public virtual View UpdateView(UpdateViewRequest request, CallSettings callSettings = null)

Updates a view.

Parameters
NameDescription
requestUpdateViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UpdateViewRequest request = new UpdateViewRequest
{
    View = new View(),
    UpdateMask = new FieldMask(),
};
// Make the request
View response = contactCenterInsightsClient.UpdateView(request);

UpdateView(View, FieldMask, CallSettings)

public virtual View UpdateView(View view, FieldMask updateMask, CallSettings callSettings = null)

Updates a view.

Parameters
NameDescription
viewView

Required. The new view.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
View

The RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
View view = new View();
FieldMask updateMask = new FieldMask();
// Make the request
View response = contactCenterInsightsClient.UpdateView(view, updateMask);

UpdateViewAsync(UpdateViewRequest, CallSettings)

public virtual Task<View> UpdateViewAsync(UpdateViewRequest request, CallSettings callSettings = null)

Updates a view.

Parameters
NameDescription
requestUpdateViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateViewRequest request = new UpdateViewRequest
{
    View = new View(),
    UpdateMask = new FieldMask(),
};
// Make the request
View response = await contactCenterInsightsClient.UpdateViewAsync(request);

UpdateViewAsync(UpdateViewRequest, CancellationToken)

public virtual Task<View> UpdateViewAsync(UpdateViewRequest request, CancellationToken cancellationToken)

Updates a view.

Parameters
NameDescription
requestUpdateViewRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UpdateViewRequest request = new UpdateViewRequest
{
    View = new View(),
    UpdateMask = new FieldMask(),
};
// Make the request
View response = await contactCenterInsightsClient.UpdateViewAsync(request);

UpdateViewAsync(View, FieldMask, CallSettings)

public virtual Task<View> UpdateViewAsync(View view, FieldMask updateMask, CallSettings callSettings = null)

Updates a view.

Parameters
NameDescription
viewView

Required. The new view.

updateMaskFieldMask

The list of fields to be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
View view = new View();
FieldMask updateMask = new FieldMask();
// Make the request
View response = await contactCenterInsightsClient.UpdateViewAsync(view, updateMask);

UpdateViewAsync(View, FieldMask, CancellationToken)

public virtual Task<View> UpdateViewAsync(View view, FieldMask updateMask, CancellationToken cancellationToken)

Updates a view.

Parameters
NameDescription
viewView

Required. The new view.

updateMaskFieldMask

The list of fields to be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskView

A Task containing the RPC response.

Example
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
View view = new View();
FieldMask updateMask = new FieldMask();
// Make the request
View response = await contactCenterInsightsClient.UpdateViewAsync(view, updateMask);