public abstract class ContactCenterInsightsClientReference documentation and code samples for the Contact Center AI Insights v1 API class ContactCenterInsightsClient.
ContactCenterInsights client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.ContactCenterInsights.V1Assembly
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 | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateAnalysisOperationsClient
public virtual OperationsClient CreateAnalysisOperationsClient { get; }The long-running operations client for CreateAnalysis.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateIssueModelOperationsClient
public virtual OperationsClient CreateIssueModelOperationsClient { get; }The long-running operations client for CreateIssueModel.
| Property Value | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default ContactCenterInsights scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default ContactCenterInsights scopes are:
DeleteIssueModelOperationsClient
public virtual OperationsClient DeleteIssueModelOperationsClient { get; }The long-running operations client for DeleteIssueModel.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeployIssueModelOperationsClient
public virtual OperationsClient DeployIssueModelOperationsClient { get; }The long-running operations client for DeployIssueModel.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ExportInsightsDataOperationsClient
public virtual OperationsClient ExportInsightsDataOperationsClient { get; }The long-running operations client for ExportInsightsData.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public virtual ContactCenterInsights.ContactCenterInsightsClient GrpcClient { get; }The underlying gRPC ContactCenterInsights client
| Property Value | |
|---|---|
| Type | Description |
ContactCenterInsightsContactCenterInsightsClient |
|
IngestConversationsOperationsClient
public virtual OperationsClient IngestConversationsOperationsClient { get; }The long-running operations client for IngestConversations.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
UndeployIssueModelOperationsClient
public virtual OperationsClient UndeployIssueModelOperationsClient { get; }The long-running operations client for UndeployIssueModel.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UploadConversationOperationsClient
public virtual OperationsClient UploadConversationOperationsClient { get; }The long-running operations client for UploadConversation.
| Property Value | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource to create analyses in. |
filter |
stringRequired. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
floatRequired. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
BulkAnalyzeConversationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource to create analyses in. |
filter |
stringRequired. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
floatRequired. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource to create analyses in. |
filter |
stringRequired. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
floatRequired. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource to create analyses in. |
filter |
stringRequired. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
floatRequired. Percentage of selected conversation to analyze, between [0, 100]. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
BulkAnalyzeConversationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
BulkAnalyzeConversationsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource to create analyses in. |
filter |
stringRequired. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
floatRequired. Percentage of selected conversation to analyze, between [0, 100]. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource to create analyses in. |
filter |
stringRequired. Filter used to select the subset of conversations to analyze. |
analysisPercentage |
floatRequired. Percentage of selected conversation to analyze, between [0, 100]. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBulkAnalyzeConversationsResponseBulkAnalyzeConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CalculateIssueModelStatsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CalculateIssueModelStatsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
IssueModelNameRequired. The resource name of the issue model to query against. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CalculateIssueModelStatsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
stringRequired. The resource name of the issue model to query against. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CalculateIssueModelStatsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CalculateIssueModelStatsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateIssueModelStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CalculateIssueModelStatsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateIssueModelStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
IssueModelNameRequired. The resource name of the issue model to query against. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateIssueModelStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
IssueModelNameRequired. The resource name of the issue model to query against. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateIssueModelStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
stringRequired. The resource name of the issue model to query against. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateIssueModelStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
stringRequired. The resource name of the issue model to query against. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateIssueModelStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
location |
LocationNameRequired. The location of the conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CalculateStatsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
location |
stringRequired. The location of the conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
location |
LocationNameRequired. The location of the conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
location |
LocationNameRequired. The location of the conversations. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CalculateStatsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CalculateStatsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
location |
stringRequired. The location of the conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
location |
stringRequired. The location of the conversations. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateStatsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
parent |
ConversationNameRequired. The parent resource of the analysis. |
analysis |
AnalysisRequired. The analysis to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAnalysisCreateAnalysisOperationMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateAnalysisRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAnalysisCreateAnalysisOperationMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the analysis. |
analysis |
AnalysisRequired. The analysis to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAnalysisCreateAnalysisOperationMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
ConversationNameRequired. The parent resource of the analysis. |
analysis |
AnalysisRequired. The analysis to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalysisCreateAnalysisOperationMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
ConversationNameRequired. The parent resource of the analysis. |
analysis |
AnalysisRequired. The analysis to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalysisCreateAnalysisOperationMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateAnalysisRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalysisCreateAnalysisOperationMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateAnalysisRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalysisCreateAnalysisOperationMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the analysis. |
analysis |
AnalysisRequired. The analysis to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalysisCreateAnalysisOperationMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the analysis. |
analysis |
AnalysisRequired. The analysis to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalysisCreateAnalysisOperationMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the conversation. |
conversation |
ConversationRequired. The conversation resource to create. |
conversationId |
stringA 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 |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the conversation. |
conversation |
ConversationRequired. The conversation resource to create. |
conversationId |
stringA 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 |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the conversation. |
conversation |
ConversationRequired. The conversation resource to create. |
conversationId |
stringA 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 |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the conversation. |
conversation |
ConversationRequired. The conversation resource to create. |
conversationId |
stringA 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 |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateConversationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the conversation. |
conversation |
ConversationRequired. The conversation resource to create. |
conversationId |
stringA 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 |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the conversation. |
conversation |
ConversationRequired. The conversation resource to create. |
conversationId |
stringA 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 |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the issue model. |
issueModel |
IssueModelRequired. The issue model to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIssueModelCreateIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIssueModelCreateIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue model. |
issueModel |
IssueModelRequired. The issue model to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIssueModelCreateIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the issue model. |
issueModel |
IssueModelRequired. The issue model to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIssueModelCreateIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the issue model. |
issueModel |
IssueModelRequired. The issue model to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIssueModelCreateIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIssueModelCreateIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateIssueModelRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIssueModelCreateIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue model. |
issueModel |
IssueModelRequired. The issue model to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIssueModelCreateIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue model. |
issueModel |
IssueModelRequired. The issue model to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIssueModelCreateIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcherRequired. The phrase matcher resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreatePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcherRequired. The phrase matcher resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcherRequired. The phrase matcher resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcherRequired. The phrase matcher resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreatePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreatePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcherRequired. The phrase matcher resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcherRequired. The phrase matcher resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
ViewRequired. The view resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
ViewRequired. The view resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
ViewRequired. The view resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
ViewRequired. The view resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
CreateViewRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
ViewRequired. The view resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the view. Required. The location to create
a view for.
Format: |
view |
ViewRequired. The view resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
AnalysisNameRequired. The name of the analysis to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteAnalysisRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the analysis to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
AnalysisNameRequired. The name of the analysis to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
AnalysisNameRequired. The name of the analysis to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteAnalysisRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
request |
DeleteAnalysisRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the analysis to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the analysis to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ConversationNameRequired. The name of the conversation to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the conversation to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
ConversationNameRequired. The name of the conversation to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ConversationNameRequired. The name of the conversation to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
request |
DeleteConversationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the conversation to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the conversation to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteIssueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueNameRequired. The name of the issue to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteIssueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
request |
DeleteIssueRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
name |
IssueNameRequired. The name of the issue to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueNameRequired. The name of the issue to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The name of the issue model to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue model to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteIssueModelRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The name of the issue model to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The name of the issue model to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue model to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue model to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeletePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
PhraseMatcherNameRequired. The name of the phrase matcher to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the phrase matcher to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
request |
DeletePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
request |
DeletePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
name |
PhraseMatcherNameRequired. The name of the phrase matcher to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
PhraseMatcherNameRequired. The name of the phrase matcher to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the phrase matcher to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the phrase matcher to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
ViewNameRequired. The name of the view to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the view to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 | |
|---|---|
| Name | Description |
request |
DeleteViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
request |
DeleteViewRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 | |
|---|---|
| Name | Description |
name |
ViewNameRequired. The name of the view to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ViewNameRequired. The name of the view to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the view to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the view to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeployIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployIssueModelResponseDeployIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The issue model to deploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployIssueModelResponseDeployIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The issue model to deploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployIssueModelResponseDeployIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeployIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
DeployIssueModelRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The issue model to deploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The issue model to deploy. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The issue model to deploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The issue model to deploy. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployIssueModelResponseDeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource to export data from. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportInsightsDataResponseExportInsightsDataMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ExportInsightsDataRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportInsightsDataResponseExportInsightsDataMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource to export data from. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportInsightsDataResponseExportInsightsDataMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource to export data from. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource to export data from. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ExportInsightsDataRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ExportInsightsDataRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource to export data from. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource to export data from. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportInsightsDataResponseExportInsightsDataMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
AnalysisNameRequired. The name of the analysis to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Analysis |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetAnalysisRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Analysis |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the analysis to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Analysis |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
AnalysisNameRequired. The name of the analysis to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnalysis |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
AnalysisNameRequired. The name of the analysis to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAnalysis |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetAnalysisRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnalysis |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetAnalysisRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAnalysis |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the analysis to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnalysis |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the analysis to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAnalysis |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ConversationNameRequired. The name of the conversation to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the conversation to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ConversationNameRequired. The name of the conversation to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ConversationNameRequired. The name of the conversation to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetConversationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the conversation to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the conversation to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetIssueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Issue |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueNameRequired. The name of the issue to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Issue |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Issue |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetIssueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetIssueRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueNameRequired. The name of the issue to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueNameRequired. The name of the issue to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IssueModel |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The name of the issue model to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IssueModel |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue model to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IssueModel |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetIssueModelRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The name of the issue model to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The name of the issue model to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue model to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the issue model to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetPhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
PhraseMatcherNameRequired. The name of the phrase matcher to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the phrase matcher to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetPhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetPhraseMatcherRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
PhraseMatcherNameRequired. The name of the phrase matcher to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
PhraseMatcherNameRequired. The name of the phrase matcher to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the phrase matcher to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the phrase matcher to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Settings |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
SettingsNameRequired. The name of the settings resource to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Settings |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the settings resource to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Settings |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetSettingsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
SettingsNameRequired. The name of the settings resource to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
SettingsNameRequired. The name of the settings resource to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the settings resource to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the settings resource to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ViewNameRequired. The name of the view to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the view to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
GetViewRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ViewNameRequired. The name of the view to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
ViewNameRequired. The name of the view to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the view to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the view to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource for new conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIngestConversationsResponseIngestConversationsMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
IngestConversationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIngestConversationsResponseIngestConversationsMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource for new conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIngestConversationsResponseIngestConversationsMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource for new conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestConversationsResponseIngestConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource for new conversations. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestConversationsResponseIngestConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
IngestConversationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestConversationsResponseIngestConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
IngestConversationsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestConversationsResponseIngestConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource for new conversations. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestConversationsResponseIngestConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource for new conversations. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestConversationsResponseIngestConversationsMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
ConversationNameRequired. The parent resource of the analyses. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAnalysesResponseAnalysis |
A pageable sequence of Analysis resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListAnalysesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAnalysesResponseAnalysis |
A pageable sequence of Analysis resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the analyses. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAnalysesResponseAnalysis |
A pageable sequence of Analysis resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
ConversationNameRequired. The parent resource of the analyses. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAnalysesResponseAnalysis |
A pageable asynchronous sequence of Analysis resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListAnalysesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAnalysesResponseAnalysis |
A pageable asynchronous sequence of Analysis resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the analyses. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAnalysesResponseAnalysis |
A pageable asynchronous sequence of Analysis resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the conversation. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListConversationsResponseConversation |
A pageable sequence of Conversation resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListConversationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListConversationsResponseConversation |
A pageable sequence of Conversation resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the conversation. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListConversationsResponseConversation |
A pageable sequence of Conversation resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the conversation. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListConversationsResponseConversation |
A pageable asynchronous sequence of Conversation resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListConversationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListConversationsResponseConversation |
A pageable asynchronous sequence of Conversation resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the conversation. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListConversationsResponseConversation |
A pageable asynchronous sequence of Conversation resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the issue model. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListIssueModelsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ListIssueModelsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListIssueModelsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue model. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListIssueModelsResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the issue model. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssueModelsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the issue model. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssueModelsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ListIssueModelsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssueModelsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ListIssueModelsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssueModelsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue model. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssueModelsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue model. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssueModelsResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
IssueModelNameRequired. The parent resource of the issue. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListIssuesResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ListIssuesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListIssuesResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListIssuesResponse |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
IssueModelNameRequired. The parent resource of the issue. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssuesResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
IssueModelNameRequired. The parent resource of the issue. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssuesResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ListIssuesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssuesResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
ListIssuesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssuesResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssuesResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the issue. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskListIssuesResponse |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the phrase matcher. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPhraseMatchersResponsePhraseMatcher |
A pageable sequence of PhraseMatcher resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListPhraseMatchersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPhraseMatchersResponsePhraseMatcher |
A pageable sequence of PhraseMatcher resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the phrase matcher. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPhraseMatchersResponsePhraseMatcher |
A pageable sequence of PhraseMatcher resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the phrase matcher. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPhraseMatchersResponsePhraseMatcher |
A pageable asynchronous sequence of PhraseMatcher resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListPhraseMatchersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPhraseMatchersResponsePhraseMatcher |
A pageable asynchronous sequence of PhraseMatcher resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the phrase matcher. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPhraseMatchersResponsePhraseMatcher |
A pageable asynchronous sequence of PhraseMatcher resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the views. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListViewsResponseView |
A pageable sequence of View resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListViewsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListViewsResponseView |
A pageable sequence of View resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the views. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListViewsResponseView |
A pageable sequence of View resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource of the views. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListViewsResponseView |
A pageable asynchronous sequence of View resources. |
// 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 | |
|---|---|
| Name | Description |
request |
ListViewsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListViewsResponseView |
A pageable asynchronous sequence of View resources. |
// 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 | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the views. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListViewsResponseView |
A pageable asynchronous sequence of View resources. |
// 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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata |
A task representing the result of polling the operation. |
PollOnceUploadConversation(string, CallSettings)
public virtual Operation<Conversation, UploadConversationMetadata> PollOnceUploadConversation(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of UploadConversation
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationConversationUploadConversationMetadata |
The result of polling the operation. |
PollOnceUploadConversationAsync(string, CallSettings)
public virtual Task<Operation<Conversation, UploadConversationMetadata>> PollOnceUploadConversationAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UploadConversation.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationConversationUploadConversationMetadata |
A task representing the result of polling the operation. |
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The issue model to undeploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationUndeployIssueModelResponseUndeployIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UndeployIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationUndeployIssueModelResponseUndeployIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The issue model to undeploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationUndeployIssueModelResponseUndeployIssueModelMetadata |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The issue model to undeploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
IssueModelNameRequired. The issue model to undeploy. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UndeployIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UndeployIssueModelRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The issue model to undeploy. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
name |
stringRequired. The issue model to undeploy. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIssueModelResponseUndeployIssueModelMetadata |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
conversation |
ConversationRequired. The new values for the conversation. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Conversation |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
conversation |
ConversationRequired. The new values for the conversation. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
conversation |
ConversationRequired. The new values for the conversation. |
updateMask |
FieldMaskThe list of fields to be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateConversationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issue |
IssueRequired. The new values for the issue. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Issue |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateIssueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Issue |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
issue |
IssueRequired. The new values for the issue. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issue |
IssueRequired. The new values for the issue. |
updateMask |
FieldMaskThe list of fields to be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateIssueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateIssueRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssue |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
IssueModelRequired. The new values for the issue model. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IssueModel |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IssueModel |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
IssueModelRequired. The new values for the issue model. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
issueModel |
IssueModelRequired. The new values for the issue model. |
updateMask |
FieldMaskThe list of fields to be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateIssueModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateIssueModelRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskIssueModel |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
phraseMatcher |
PhraseMatcherRequired. The new values for the phrase matcher. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdatePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
phraseMatcher |
PhraseMatcherRequired. The new values for the phrase matcher. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
phraseMatcher |
PhraseMatcherRequired. The new values for the phrase matcher. |
updateMask |
FieldMaskThe list of fields to be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdatePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdatePhraseMatcherRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseMatcher |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
settings |
SettingsRequired. The new settings values. |
updateMask |
FieldMaskRequired. The list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Settings |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Settings |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
settings |
SettingsRequired. The new settings values. |
updateMask |
FieldMaskRequired. The list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
settings |
SettingsRequired. The new settings values. |
updateMask |
FieldMaskRequired. The list of fields to be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateSettingsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
view |
ViewRequired. The new view. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
View |
The RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
request |
UpdateViewRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
view |
ViewRequired. The new view. |
updateMask |
FieldMaskThe list of fields to be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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 | |
|---|---|
| Name | Description |
view |
ViewRequired. The new view. |
updateMask |
FieldMaskThe list of fields to be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskView |
A Task containing the RPC response. |
// 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);
UploadConversation(UploadConversationRequest, CallSettings)
public virtual Operation<Conversation, UploadConversationMetadata> UploadConversation(UploadConversationRequest request, CallSettings callSettings = null)Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationConversationUploadConversationMetadata |
The RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create();
// Initialize request argument(s)
UploadConversationRequest request = new UploadConversationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Conversation = new Conversation(),
ConversationId = "",
RedactionConfig = new RedactionConfig(),
};
// Make the request
Operation<Conversation, UploadConversationMetadata> response = contactCenterInsightsClient.UploadConversation(request);
// Poll until the returned long-running operation is complete
Operation<Conversation, UploadConversationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Conversation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Conversation, UploadConversationMetadata> retrievedResponse = contactCenterInsightsClient.PollOnceUploadConversation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Conversation retrievedResult = retrievedResponse.Result;
}
UploadConversationAsync(UploadConversationRequest, CallSettings)
public virtual Task<Operation<Conversation, UploadConversationMetadata>> UploadConversationAsync(UploadConversationRequest request, CallSettings callSettings = null)Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadConversationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationConversationUploadConversationMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UploadConversationRequest request = new UploadConversationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Conversation = new Conversation(),
ConversationId = "",
RedactionConfig = new RedactionConfig(),
};
// Make the request
Operation<Conversation, UploadConversationMetadata> response = await contactCenterInsightsClient.UploadConversationAsync(request);
// Poll until the returned long-running operation is complete
Operation<Conversation, UploadConversationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Conversation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Conversation, UploadConversationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUploadConversationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Conversation retrievedResult = retrievedResponse.Result;
}
UploadConversationAsync(UploadConversationRequest, CancellationToken)
public virtual Task<Operation<Conversation, UploadConversationMetadata>> UploadConversationAsync(UploadConversationRequest request, CancellationToken cancellationToken)Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadConversationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationConversationUploadConversationMetadata |
A Task containing the RPC response. |
// Create client
ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync();
// Initialize request argument(s)
UploadConversationRequest request = new UploadConversationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Conversation = new Conversation(),
ConversationId = "",
RedactionConfig = new RedactionConfig(),
};
// Make the request
Operation<Conversation, UploadConversationMetadata> response = await contactCenterInsightsClient.UploadConversationAsync(request);
// Poll until the returned long-running operation is complete
Operation<Conversation, UploadConversationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Conversation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Conversation, UploadConversationMetadata> retrievedResponse = await contactCenterInsightsClient.PollOnceUploadConversationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Conversation retrievedResult = retrievedResponse.Result;
}